/* Global site styles extracted from layouts/app.blade.php and footer partial */

/* ====== Base Theme Variables and Resets ====== */
:root {
  --primary-color: #015862;
  --primary-color-rgb: 1, 88, 98;
  --secondary-color: #F9D200;
  --secondary-color-rgb: 249, 210, 0;
  --accent-color: #F57F25;
  --accent-color-rgb: 245, 127, 37;
  --success-color: #3EB850;
  --success-color-rgb: 62, 184, 80;
  --highlight-color: #CADD2D;
  --highlight-color-rgb: 202, 221, 45;
  --warning-color: #F57F25;
  --danger-color: #dc3545;
  --info-color: #3EB850;
  --light-color: #f8f9fa;
  --text-primary: #015862;
  --text-secondary: #2c5530;
  --text-muted: #6c757d;
  --text-light: #ffffff;
  --bg-primary: linear-gradient(135deg, #015862 0%, #3EB850 100%);
  --bg-secondary: linear-gradient(135deg, #F9D200 0%, #F57F25 100%);
  --bg-accent: linear-gradient(135deg, #F57F25 0%, #CADD2D 100%);
  --bg-warm: linear-gradient(135deg, #F57F25 0%, #F9D200 100%);
  --bg-cool: linear-gradient(135deg, #015862 0%, #3EB850 100%);
  --bg-highlight: linear-gradient(135deg, #CADD2D 0%, #3EB850 100%);
  --navy-light: #015862;
  --navy-lighter: #3EB850;
  --dark-color: #015862;
  --dark-color-rgb: 1, 88, 98;
}

* { box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; line-height: 1.6; overflow-x: hidden; }

/* ====== Keyframes ====== */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px);} to { opacity: 1; transform: translateY(0);} }
@keyframes fadeInLeft { from { opacity: 0; transform: translateX(-30px);} to { opacity: 1; transform: translateX(0);} }
@keyframes fadeInRight { from { opacity: 0; transform: translateX(30px);} to { opacity: 1; transform: translateX(0);} }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-30px);} to { opacity: 1; transform: translateY(0);} }
@keyframes pulse { 0% { transform: scale(1);} 50% { transform: scale(1.05);} 100% { transform: scale(1);} }
@keyframes bounce { 0%,20%,53%,80%,100% { transform: translateY(0);} 40%,43% { transform: translateY(-10px);} 70% { transform: translateY(-5px);} 90% { transform: translateY(-2px);} }
@keyframes gradientShift { 0% { background-position: 0% 50%;} 50% { background-position: 100% 50%;} 100% { background-position: 0% 50%;} }
@keyframes float { 0% { transform: translateY(0px);} 50% { transform: translateY(-10px);} 100% { transform: translateY(0px);} }
@keyframes typewriter { from { width: 0;} to { width: 100%;} }
@keyframes blink { from, to { border-color: transparent;} 50% { border-color: var(--primary-color);} }

/* ====== Utility animation classes ====== */
.animate-fade-in-up { animation: fadeInUp 0.8s ease-out forwards; }
.animate-fade-in-left { animation: fadeInLeft 0.8s ease-out forwards; }
.animate-fade-in-right { animation: fadeInRight 0.8s ease-out forwards; }
.animate-fade-in-down { animation: fadeInDown 0.8s ease-out forwards; }
.animate-pulse { animation: pulse 2s infinite; }
.animate-bounce { animation: bounce 2s infinite; }
.animate-float { animation: float 3s ease-in-out infinite; }
.animate-on-scroll { opacity: 0; transform: translateY(30px); transition: all 0.8s ease-out; }
.animate-on-scroll.animated { opacity: 1; transform: translateY(0); }
.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }
.animate-delay-5 { animation-delay: 0.5s; }

/* ====== Navbar and Buttons ====== */
.navbar-brand { font-weight: 700; font-size: 1.5rem; color: var(--primary-color) !important; transition: all 0.3s ease; position: relative; }
.navbar-brand:hover { transform: scale(1.05); color: var(--secondary-color) !important; }
.navbar-brand .logo-img { height: 55px; width: auto; transition: transform 0.3s ease; filter: drop-shadow(0 3px 6px rgba(0,0,0,0.15)); }
.navbar-brand:hover .logo-img { transform: scale(1.1); }
.btn-primary { background: linear-gradient(45deg, var(--primary-color), var(--success-color)); background-size: 200% 200%; border: none; position: relative; overflow: hidden; transition: all 0.3s ease; transform: perspective(1px) translateZ(0); color: #fff; }
.btn-primary::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent); transition: left 0.5s; }
.btn-primary:hover { background-position: 100% 0; transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0,0,0,0.3); }
.btn-primary:hover::before { left: 100%; }
.btn-secondary { background: linear-gradient(45deg, var(--secondary-color), #dc2626); background-size: 200% 200%; border: none; position: relative; overflow: hidden; transition: all 0.3s ease; }
.btn-secondary:hover { background-position: 100% 0; transform: translateY(-2px); box-shadow: 0 8px 25px rgba(220,38,38,0.3); }
.btn-outline-primary { border: 2px solid var(--primary-color); color: var(--primary-color); background: transparent; position: relative; overflow: hidden; transition: all 0.3s ease; }
.btn-outline-primary::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: var(--primary-color); transition: left 0.3s ease; z-index: -1; }
.btn-outline-primary:hover { color: #fff; border-color: var(--primary-color); transform: translateY(-2px); }
.btn-outline-primary:hover::before { left: 0; }
.text-primary { color: var(--primary-color) !important; }
.text-accent-color { color: var(--accent-color) !important; }
.bg-primary { background-color: var(--primary-color) !important; }

/* ====== Hero / Carousel ====== */
.hero-slider-section { 
    position: relative; 
    z-index: 1; 
    overflow: hidden;
}

/* Hero Slide Structure */
.hero-slide {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Background Image Container */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Hero Slide Link */
.hero-slide-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    position: relative;
    z-index: 3; /* Ensure link is above other elements */
    pointer-events: auto; /* Ensure link can receive clicks */
}

.hero-slide-link:hover {
    text-decoration: none;
    color: inherit;
}

.hero-slide-link img {
    pointer-events: none; /* Prevent image from interfering with link clicks */
}

.hero-slide-link:focus {
    outline: none;
}

/* Ensure the link area is fully clickable */
.hero-slide-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 4; /* Ensure this pseudo-element is above everything */
    cursor: pointer;
    pointer-events: auto; /* Ensure this element can receive clicks */
}

/* Ensure buttons are clickable above the pseudo-element */
.hero-btn {
    position: relative;
    z-index: 5; /* Above the pseudo-element */
}

/* Hero Content */
.hero-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    display: flex;
    align-items: center;
    color: white;
    pointer-events: none; /* Allow clicks to pass through to underlying elements */
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    line-height: 1.6;
    opacity: 0.9;
}

.hero-buttons {
    margin-top: 2rem;
}

.hero-btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    pointer-events: auto; /* Re-enable clicks for buttons */
}

.hero-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.btn-outline-light {
    border: 2px solid white;
    color: white;
    background: transparent;
}

.btn-outline-light:hover {
    background: white;
    color: var(--primary-color, #015862);
    border-color: white;
}

/* Responsive Hero Content */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-btn {
        padding: 0.875rem 1.75rem;
        font-size: 1rem;
    }
}

@media (max-width: 767.98px) {
    .hero-title {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 1.25rem;
    }
    
    .hero-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .hero-content .col-lg-8 {
        text-align: center;
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
    }
    
    .hero-btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.85rem;
    }
}

/* Gradient Overlay - Hidden by default */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: none; /* Hide overlay by default */
}

/* Fallback Background */
.hero-fallback-bg {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #F9D200 0%, #F57F25 100%);
}

/* Content Wrapper */




/* Carousel Controls - Moved to carousel.css */

/* Hero Illustration */
.hero-illustration {
    text-align: center;
    animation: float 6s ease-in-out infinite;
}

/* Show overlay on larger screens */
@media (min-width: 992px) {
    .hero-overlay {
        display: block !important;
        z-index: 1; /* Keep overlay below content and link */
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Animation Classes */
.animate-fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-delay-1 {
    animation-delay: 0.2s;
}

.animate-delay-2 {
    animation-delay: 0.4s;
}

.animate-delay-3 {
    animation-delay: 0.6s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Carousel Fade Effect - Moved to carousel.css */

/* ====== Modal / Testimonials / Cards ====== */
.registration-modal-content { border: none; border-radius: 25px; box-shadow: 0 30px 60px rgba(0,0,0,0.3); overflow: hidden; background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%); }
.modal-icon { width: 80px; height: 80px; background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto; animation: modalIconPulse 2s infinite; box-shadow: 0 8px 25px rgba(249,210,0,0.3); }
.modal-icon i { font-size: 2.5rem; color: #fff; }
@keyframes modalIconPulse { 0%,100% { transform: scale(1);} 50% { transform: scale(1.1);} }
.benefits-list { list-style: none; padding: 0; }
.benefits-list li { padding: 8px 0; font-size: 14px; display: flex; align-items: center; }
.urgency-banner { background: linear-gradient(135deg, rgba(249,210,0,0.1) 0%, rgba(245,127,37,0.1) 100%); border-radius: 15px; padding: 15px; border-left: 4px solid var(--secondary-color); border: 2px solid rgba(245,127,37,0.2); }
.feature-card { transition: all 0.4s cubic-bezier(0.175,0.885,0.32,1.275); border: none; box-shadow: 0 4px 6px rgba(0,0,0,0.1); background: #fff; position: relative; overflow: hidden; border-radius: 15px; }
.feature-card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(45deg, var(--primary-color), var(--secondary-color)); opacity: 0; transition: opacity 0.3s ease; }
.feature-card:hover { transform: translateY(-10px) rotateX(5deg); box-shadow: 0 20px 40px rgba(0,0,0,0.2); }
.feature-card:hover::before { opacity: 0.05; }
.feature-card .card-body { position: relative; z-index: 1; }
.feature-card i { transition: all 0.3s ease; }
.feature-card:hover i { transform: scale(1.2) rotate(10deg); color: var(--primary-color); }
.testimonial-card { transition: all 0.3s ease; background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%); border-radius: 15px; height: 100%; }
.testimonial-card:hover { transform: translateY(-8px); box-shadow: 0 15px 35px rgba(0,0,0,0.1) !important; }
.testimonial-avatar { border: 3px solid var(--primary-color); object-fit: cover; transition: all 0.3s ease; box-shadow: 0 4px 15px rgba(0,0,0,0.1); }
.testimonial-avatar:hover { transform: scale(1.1); border-color: var(--secondary-color); }
.course-badge { background-color: var(--secondary-color); color: #fff; padding: 0.25rem 0.75rem; border-radius: 1rem; font-size: 0.875rem; font-weight: 500; }
.stats-section { background-color: var(--light-color); }

/* ====== Navbar links ====== */
.navbar { z-index: 1030 !important; padding: 0.9rem 0; box-shadow: 0 2px 20px rgba(0,0,0,0.1); }
.navbar-nav { margin: 0 auto; }
.navbar-nav .nav-item { margin: 0 0.3rem; }
.navbar-nav .nav-link { font-weight: 500; font-size: 0.85rem; transition: all 0.3s ease; position: relative; overflow: hidden; display: flex; align-items: center; padding: 0.75rem 1rem; margin: 0 0.2rem; border-radius: 8px; color: var(--dark-color) !important; }
.navbar-nav .nav-link i { transition: all 0.3s ease; color: var(--dark-color); font-size: 0.9rem; margin-right: 0.5rem; width: 16px; text-align: center; }
.navbar-nav .nav-link::before { content: ''; position: absolute; bottom: 0; left: 50%; width: 0; height: 3px; background: linear-gradient(45deg, var(--primary-color), var(--secondary-color)); transition: all 0.3s ease; transform: translateX(-50%); border-radius: 2px; }
.navbar-nav .nav-link:hover { color: var(--primary-color) !important; transform: translateY(-1px); background-color: rgba(1,88,98,0.1); box-shadow: 0 2px 8px rgba(1,88,98,0.2); }
.navbar-nav .nav-link:hover i { color: var(--secondary-color); transform: scale(1.1) rotate(5deg); }
.navbar-nav .nav-link:hover::before { width: 80%; }
.navbar-nav .nav-link.active { background-color: rgba(1,88,98,0.15); box-shadow: 0 2px 8px rgba(1,88,98,0.3); }
.navbar-nav .nav-link.active i { color: var(--secondary-color); }
.navbar-nav .nav-link.active::before { width: 80%; }
.dropdown-menu { border: none; box-shadow: 0 10px 40px rgba(0,0,0,0.15); border-radius: 10px; padding: 0.5rem 0; margin-top: 0.5rem; opacity: 0; transform: translateY(-10px); transition: all 0.3s ease; pointer-events: none; }
.dropdown:hover .dropdown-menu { opacity: 1; transform: translateY(0); pointer-events: auto; }
.dropdown-item { transition: all 0.3s ease; padding: 0.5rem 1.5rem; position: relative; }
.dropdown-item::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--primary-color); transform: scaleY(0); transition: transform 0.3s ease; }
.dropdown-item:hover { background-color: rgba(19,38,91,0.1); color: var(--primary-color); padding-left: 2rem; }
.dropdown-item:hover::before { transform: scaleY(1); }

/* ====== Social links hover ====== */
.footer .text-light { transition: all 0.3s ease; }
.footer a.text-light { position: relative; display: inline-block; transition: all 0.3s ease; }
.footer a.text-light:hover { color: var(--secondary-color) !important; transform: translateY(-3px) scale(1.2); }
.footer a.text-light i { transition: all 0.3s ease; }
.footer a.text-light:hover i { animation: bounce 1s ease; }

/* ====== Contact Widget ====== */
#contact-widget-container { position: fixed !important; top: 0 !important; left: 0 !important; width: 100vw !important; height: 100vh !important; pointer-events: none !important; z-index: 999999 !important; overflow: visible !important; }
.contact-widget { position: absolute !important; bottom: 20px !important; right: 20px !important; z-index: 1 !important; pointer-events: none; display: flex !important; flex-direction: column; gap: 15px; margin: 0 !important; padding: 0 !important; float: none !important; clear: none !important; top: auto !important; left: auto !important; }
.contact-widget * { pointer-events: auto; }
.contact-widget .contact-btn { box-sizing: border-box !important; border-radius: 50% !important; transition: all 0.3s ease !important; animation: pulseGlow 2s ease-in-out infinite, float 3s ease-in-out infinite !important; }
.contact-btn { width: 55px; height: 55px; border-radius: 50%; display: flex; align-items: center; justify-content: center; text-decoration: none; transition: all 0.3s ease; box-shadow: 0 4px 20px rgba(0,0,0,0.2); animation: pulseGlow 2s ease-in-out infinite; position: relative; overflow: hidden; }
.contact-btn:nth-child(1){animation-delay:0s;} .contact-btn:nth-child(2){animation-delay:0.7s;} .contact-btn:nth-child(3){animation-delay:1.4s;}
.contact-btn::before { content: ''; position: absolute; inset: 0; border-radius: 50%; background: rgba(255,255,255,0.3); transform: scale(0); transition: transform 0.3s ease; }
.contact-btn:hover::before { transform: scale(1); }
.contact-btn.facebook { background: #1877f2; }
.contact-btn.zalo { background: #0068ff; }
.contact-btn.phone { background: #25d366; }
.contact-btn:hover { transform: scale(1.15) translateX(-8px); box-shadow: 0 8px 30px rgba(0,0,0,0.4); animation-play-state: paused; }
.contact-btn i { color: #fff; font-size: 20px; position: relative; z-index: 2; transition: transform 0.3s ease; }
.contact-btn:hover i { transform: scale(1.1) rotate(5deg); }
@keyframes pulseGlow { 0%,100%{ box-shadow: 0 4px 20px rgba(0,0,0,0.2); transform: scale(1);} 50%{ box-shadow: 0 6px 30px rgba(0,0,0,0.4); transform: scale(1.05);} }

/* ====== Global layout fixes ====== */
body { margin: 0 !important; padding: 0 !important; overflow-x: hidden; }
main { margin: 0 !important; padding: 0 !important; }
.footer { margin: 0 !important; }
.parallax-element { transition: transform 0.1s ease-out; }
.text-reveal { overflow: hidden; position: relative; }
.text-reveal .text-content { display: inline-block; opacity: 0; transform: translateY(100%); animation: textReveal 0.8s ease-out forwards; }
@keyframes textReveal { to { opacity: 1; transform: translateY(0);} }
.counter { font-weight: bold; font-size: 2rem; }
.glow-effect { position: relative; }
.glow-effect::before { content: ''; position: absolute; top: -2px; left: -2px; right: -2px; bottom: -2px; background: linear-gradient(45deg, var(--primary-color), var(--secondary-color), var(--primary-color)); border-radius: inherit; opacity: 0; filter: blur(10px); transition: opacity 0.3s ease; z-index: -1; }
.glow-effect:hover::before { opacity: 0.7; }

/* Loading spinner */
.loading-spinner { display: inline-block; width: 20px; height: 20px; border: 3px solid rgba(255,255,255,.3); border-radius: 50%; border-top-color: #fff; animation: spin 1s ease-in-out infinite; }
@keyframes spin { to { transform: rotate(360deg);} }

/* ====== Footer Styles (from partial) ====== */
.footer { background: linear-gradient(135deg, var(--primary-color) 0%, #013a42 100%); position: relative; overflow: hidden; }
.footer::before { content: ''; position: absolute; inset: 0; background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="footerPattern" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23footerPattern)"/></svg>'); pointer-events: none; }
.footer .container { position: relative; z-index: 1; }
.contact-item { display: flex; align-items: flex-start; transition: all 0.3s ease; }
.contact-item:hover { transform: translateX(5px); }
.contact-item i { width: 20px; flex-shrink: 0; margin-top: 2px; }
.social-link { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.1); transition: all 0.3s ease; font-size: 1.1rem; }
.social-link:hover { background: var(--secondary-color); color: var(--primary-color) !important; transform: translateY(-3px) scale(1.1); box-shadow: 0 5px 15px rgba(249,210,0,0.3); }
.branch-item { transition: all 0.3s ease; border-left: 3px solid transparent; }
.branch-item:hover { background: rgba(255,255,255,0.15) !important; border-left-color: var(--secondary-color); transform: translateX(5px); }
.program-link { transition: all 0.3s ease; border-left: 3px solid transparent; }
.program-link:hover { background: rgba(255,255,255,0.1) !important; border-left-color: var(--secondary-color); transform: translateX(5px); }
.program-link:hover .program-arrow i { transform: translateX(5px); color: var(--secondary-color) !important; }
.program-link:hover .text-white { color: var(--secondary-color) !important; }
.footer-links a { transition: all 0.3s ease; position: relative; }
.footer-links a::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 2px; background: var(--secondary-color); transition: width 0.3s ease; }
.footer-links a:hover::after { width: 100%; }
.footer-links a:hover { color: var(--secondary-color) !important; }

/* ====== Responsive snippets from layout/footer ====== */
@media (max-width: 992px) and (min-width: 769px) { .navbar-brand .logo-img { height: 50px; } }
@media (max-width: 768px) {
  .navbar-brand .logo-img { height: 45px; }
  .footer-logo { height: 35px; }
  .navbar-nav .nav-link { font-size: 0.85rem; padding: 0.6rem 0.8rem; margin: 0.1rem 0; }
  body { font-size: 16px !important; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
  * { -webkit-tap-highlight-color: rgba(1,88,98,0.2); }
  html { scroll-behavior: smooth; -webkit-overflow-scrolling: touch; }
  .container-fluid { padding-left: 15px; padding-right: 15px; }
  .modal { padding: 0 !important; }
  .contact-widget { bottom: 15px !important; right: 15px !important; gap: 10px !important; z-index: 1 !important; }
  .contact-btn { width: 45px; height: 45px; }
  .contact-btn i { font-size: 16px; }
  .footer .col-lg-4 { margin-bottom: 2rem !important; }
  .branch-item, .program-item { margin-bottom: 1rem !important; }
  .social-link { width: 35px; height: 35px; font-size: 1rem; }
  .footer-links { text-align: center !important; margin-top: 1rem; }
  .footer-links a { display: inline-block; margin: 0.2rem 0.5rem; }
}
@media (max-width: 576px) {
  .contact-widget { bottom: 10px !important; right: 10px !important; gap: 8px !important; }
  .contact-btn { width: 40px; height: 40px; }
  .contact-btn i { font-size: 14px; }
  .footer { padding: 2rem 0 !important; }
  .footer h5 { font-size: 1.1rem; }
  .contact-item, .branch-item .small, .program-info .small { font-size: 0.8rem !important; }
  .program-icon i { font-size: 1rem !important; }
}

/* ====== Benefits Grid for Registration Modal ====== */
.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(1, 88, 98, 0.05) 0%, rgba(62, 184, 80, 0.05) 100%);
    border: 1px solid rgba(1, 88, 98, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.benefit-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--success-color));
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(1, 88, 98, 0.15);
    border-color: rgba(1, 88, 98, 0.2);
}

.benefit-item:hover::before {
    transform: scaleY(1);
}

.benefit-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--success-color));
    border-radius: 50%;
    margin-right: 1rem;
    position: relative;
    z-index: 1;
}

.benefit-icon i {
    font-size: 1.1rem;
    color: white;
}

.benefit-content {
    flex: 1;
    min-width: 0;
}

.benefit-title {
    font-weight: 600;
    color: var(--primary-color);
    margin: 0 0 0.5rem 0;
    font-size: 0.95rem;
    line-height: 1.4;
}

.benefit-description {
    color: var(--text-muted);
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.5;
    opacity: 0.9;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .benefits-grid {
        gap: 0.75rem;
    }
    
    .benefit-item {
        padding: 0.75rem;
    }
    
    .benefit-icon {
        width: 35px;
        height: 35px;
        margin-right: 0.75rem;
    }
    
    .benefit-icon i {
        font-size: 1rem;
    }
    
    .benefit-title {
        font-size: 0.9rem;
    }
    
    .benefit-description {
        font-size: 0.8rem;
    }
}


