@charset "utf-8";
/* CSS Document */
:root {
    /* DIU Brand Colors — extracted from daffodilvarsity.edu.bd */
    --navy: #002652;          /* dominant dark navy — primary brand */
    --navy-dark: #001535;     /* deepest navy for top bar / footer */
    --navy-mid: #034EA2;      /* bright blue — buttons & links */
    --navy-light: #e8eef8;    /* light navy tint for bg surfaces */
    --teal: #05B2B2;          /* teal accent — highlights & tags */
    --teal-light: #d0f5f5;    /* light teal for badges */
    --teal-dark: #037a7a;     /* darker teal for hover */
    --accent: #F5A623;        /* warm gold — CTAs */
    --white: #ffffff;
    --off-white: #f3f4f9;     /* matches DIU section bg */
    --text: #0b172b;          /* near-black navy text */
    --text-muted: #677d98;    /* muted slate — matches DIU body copy */
    --border: #d0d4df;
    --radius: 12px;
    --shadow: 0 4px 24px rgba(0,38,82,0.12);
    --transition: 0.3s cubic-bezier(.4,0,.2,1);
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body { font-family: 'DM Sans', sans-serif; color: var(--text); background: var(--white); }

  /* ===== TOP BAR ===== */
  .top-bar {
    background: var(--navy-dark);
    color: #a8c4e8;
    font-size: 12px;
    padding: 6px 0;
  }
  .top-bar-inner {
    max-width: 1200px; margin: auto; padding: 0 20px;
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px;
  }
  .top-bar a { color: #a8c4e8; text-decoration: none; }
  .top-bar a:hover { color: var(--teal); }

  /* ===== NAVBAR ===== */
  nav {
    background: var(--white);
    box-shadow: 0 2px 16px rgba(0,38,82,0.10);
    position: sticky; top: 0; z-index: 1000;
  }
  .nav-inner {
    max-width: 1200px; margin: auto; padding: 0 20px;
    display: flex; align-items: center; justify-content: space-between;
    height: 68px;
  }
  .logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
  .logo-icon {
    width: 44px; height: 44px; border-radius: 10px;
    background: linear-gradient(135deg, var(--navy), var(--navy-mid));
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-weight: 700; font-size: 16px; letter-spacing: -0.5px;
  }
  .logo-text { line-height: 1.2; }
  .logo-text strong { display: block; font-size: 14px; font-weight: 600; color: var(--navy); }
  .logo-text span { font-size: 11px; color: var(--text-muted); }

  .nav-links { display: flex; align-items: center; gap: 2px; list-style: none; }
  .nav-links > li { position: relative; }
  .nav-links > li > a {
    display: block; padding: 8px 14px; font-size: 14px; font-weight: 500;
    color: var(--text); text-decoration: none; border-radius: 8px;
    transition: var(--transition);
  }
  .nav-links > li > a:hover, .nav-links > li > a.active { background: var(--navy-light); color: var(--navy); }
  .has-dropdown > a::after { content: ' ▾'; font-size: 10px; }

  .dropdown {
    display: none; position: absolute; top: 110%; left: 0;
    background: var(--white); border-radius: var(--radius);
    box-shadow: var(--shadow); min-width: 200px;
    border: 1px solid var(--border); overflow: hidden; z-index: 999;
  }
  .dropdown a {
    display: block; padding: 10px 18px; font-size: 13px;
    color: var(--text); text-decoration: none; transition: var(--transition);
    border-bottom: 1px solid var(--border);
  }
  .dropdown a:last-child { border-bottom: none; }
  .dropdown a:hover { background: var(--navy-light); color: var(--navy); padding-left: 24px; }
  .has-dropdown:hover .dropdown { display: block; animation: fadeDown 0.2s ease; }

  @keyframes fadeDown { from { opacity:0; transform:translateY(-8px); } to { opacity:1; transform:translateY(0); } }

  .nav-cta {
    background: linear-gradient(135deg, var(--navy), var(--navy-mid));
    color: #fff !important; border-radius: 8px !important;
    padding: 8px 18px !important; font-weight: 600 !important;
  }
  .nav-cta:hover { opacity: 0.88; background: linear-gradient(135deg, var(--navy), var(--navy-mid)) !important; }

  .hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
  .hamburger span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: var(--transition); }

  /* ===== HERO SLIDER ===== */
  .hero { position: relative; overflow: hidden; height: 580px; }
  .slides { display: flex; height: 100%; transition: transform 0.7s cubic-bezier(.77,0,.18,1); }
  .slide {
    min-width: 100%; height: 100%; position: relative;
    display: flex; align-items: center;
  }
  .slide-bg {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center; overflow: hidden;
  }
  .slide-bg-grad {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(0,38,82,0.92) 0%, rgba(3,78,162,0.80) 100%);
    z-index: 1;
  }
  .slide-bg-grad img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover; object-position: center;
    display: block; z-index: 0;
  }
  .slide-pattern {
    position: absolute; inset: 0; opacity: 0.06;
    background-image: radial-gradient(circle at 2px 2px, white 1px, transparent 0);
    background-size: 32px 32px; z-index: 2;
  }
  .slide-content {
    position: relative; z-index: 3; max-width: 1200px; margin: auto;
    padding: 0 60px; display: flex; align-items: center; gap: 48px; width: 100%;
  }
  .slide-text { flex: 1; color: #fff; min-width: 0; }
  .slide-badge {
    display: inline-block; background: rgba(255,255,255,0.15); color: #fff;
    font-size: 12px; font-weight: 600; padding: 5px 14px;
    border-radius: 20px; letter-spacing: 1px; text-transform: uppercase;
    border: 1px solid rgba(255,255,255,0.3); margin-bottom: 18px;
  }
  .slide-title {
    font-family: 'Playfair Display', serif; font-size: clamp(26px, 4vw, 52px);
    line-height: 1.15; font-weight: 700; margin-bottom: 16px;
  }
  .slide-title span { color: var(--accent); }
  .slide-desc { font-size: 16px; opacity: 0.88; line-height: 1.7; max-width: 540px; margin-bottom: 28px; }
  .slide-actions { display: flex; gap: 12px; flex-wrap: wrap; }
  .btn-primary {
    background: var(--accent); color: #1a1a00; padding: 12px 28px;
    border-radius: 8px; font-weight: 600; text-decoration: none; font-size: 15px;
    display: inline-block; transition: var(--transition);
  }
  .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(245,166,35,0.35); }
  .btn-outline {
    background: transparent; color: #fff; padding: 11px 26px;
    border-radius: 8px; font-weight: 600; text-decoration: none; font-size: 15px;
    border: 2px solid rgba(255,255,255,0.6); display: inline-block; transition: var(--transition);
  }
  .btn-outline:hover { background: rgba(255,255,255,0.15); }

  /* Right side stat cards — desktop only */
  .slide-visual { flex: 0 0 300px; }
  .slide-card-stack { position: relative; height: 220px; }
  .stat-card {
    position: absolute; background: rgba(255,255,255,0.12);
    backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.25);
    border-radius: var(--radius); padding: 16px 20px; color: #fff; text-align: center;
  }
  .stat-card .num { font-family:'Playfair Display',serif; font-size: 32px; font-weight: 700; }
  .stat-card .lbl { font-size: 12px; opacity: 0.8; margin-top: 4px; }
  .stat-card:nth-child(1) { top:0; left:0; width:140px; }
  .stat-card:nth-child(2) { top:60px; right:0; width:140px; }
  .stat-card:nth-child(3) { bottom:0; left:30px; width:160px; }

  /* Hero controls */
  .hero-controls {
    position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
    display: flex; gap: 10px; align-items: center; z-index: 10;
  }
  .dot {
    width: 10px; height: 10px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.6);
    background: transparent; cursor: pointer; transition: var(--transition);
  }
  .dot.active { background: #fff; border-color: #fff; width: 28px; border-radius: 5px; }
  .hero-arrow {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(255,255,255,0.15); border: 2px solid rgba(255,255,255,0.4);
    color: #fff; width: 44px; height: 44px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; font-size: 18px; z-index: 10; transition: var(--transition);
  }
  .hero-arrow:hover { background: rgba(255,255,255,0.3); }
  .hero-arrow.prev { left: 12px; }
  .hero-arrow.next { right: 12px; }

  /* ===== HERO RESPONSIVE ===== */
  @media (max-width: 900px) {
    .hero { height: 520px; }
    .slide-content { padding: 0 56px; }
    .slide-visual { display: none; }
    .slide-desc { font-size: 15px; }
  }
  @media (max-width: 600px) {
    .hero { height: auto; min-height: 420px; }
    .slide { align-items: center; padding: 60px 0 80px; }
    .slide-content { padding: 0 52px; gap: 0; }
    .slide-visual { display: none; }
    .slide-badge { font-size: 11px; padding: 4px 12px; margin-bottom: 14px; }
    .slide-title { font-size: clamp(22px, 6vw, 32px); margin-bottom: 12px; }
    .slide-desc { font-size: 14px; margin-bottom: 22px; }
    .btn-primary, .btn-outline { padding: 10px 20px; font-size: 14px; }
    .hero-arrow { width: 36px; height: 36px; font-size: 15px; }
    .hero-arrow.prev { left: 8px; }
    .hero-arrow.next { right: 8px; }
    .hero-controls { bottom: 16px; }
    .dot { width: 8px; height: 8px; }
    .dot.active { width: 22px; }
  }
  @media (max-width: 380px) {
    .slide-title { font-size: 20px; }
    .slide-desc { font-size: 13px; }
    .slide-actions { flex-direction: column; gap: 8px; }
    .btn-primary, .btn-outline { text-align: center; }
  }

  /* ===== QUICK LINKS ===== */
  .quick-links {
    background: var(--off-white);
    border-bottom: 1px solid var(--border);
  }
  .quick-links-inner {
    max-width: 1200px; margin: auto; padding: 0 20px;
    display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0;
  }
  .ql-item {
    display: flex; align-items: center; gap: 14px;
    padding: 20px 24px; text-decoration: none; color: var(--text);
    border-right: 1px solid var(--border); transition: var(--transition);
  }
  .ql-item:last-child { border-right: none; }
  .ql-item:hover { background: var(--white); color: var(--teal); }
  .ql-icon {
    width: 44px; height: 44px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center; font-size: 20px;
    flex-shrink: 0;
  }
  .ql-icon.g { background: var(--teal-light); }
  .ql-icon.b { background: var(--navy-light); }
  .ql-label { font-size: 14px; font-weight: 600; line-height: 1.3; }
  .ql-sub { font-size: 12px; color: var(--text-muted); }

  /* ===== SECTION ===== */
  section { padding: 80px 20px; }
  .container { max-width: 1200px; margin: auto; }
  .section-tag {
    display: inline-block; background: var(--teal-light); color: var(--navy-dark);
    font-size: 12px; font-weight: 600; padding: 4px 14px; border-radius: 20px;
    letter-spacing: 0.8px; text-transform: uppercase; margin-bottom: 12px;
  }
  .section-title {
    font-family: 'Playfair Display', serif; font-size: clamp(26px, 3vw, 40px);
    font-weight: 700; line-height: 1.2; color: var(--text); margin-bottom: 12px;
  }
  .section-title span { color: var(--navy-mid); }
  .section-sub { font-size: 16px; color: var(--text-muted); max-width: 580px; line-height: 1.7; }
  .section-head { margin-bottom: 48px; }
  .section-head.center { text-align: center; }
  .section-head.center .section-sub { margin: 0 auto; }

  /* ===== SERVICES ===== */
  .services-bg { background: var(--off-white); }
  .services-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px;
  }
  .service-card {
    background: var(--white); border-radius: var(--radius);
    border: 1px solid var(--border); padding: 28px;
    transition: var(--transition); position: relative; overflow: hidden;
  }
  .service-card::before {
    content: ''; position: absolute; top: 0; left: 0;
    width: 4px; height: 100%;
    background: linear-gradient(180deg, var(--teal), var(--navy-mid));
    border-radius: 0 4px 4px 0;
  }
  .service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--teal-light); }
  .service-icon {
    width: 52px; height: 52px; border-radius: 12px;
    background: linear-gradient(135deg, var(--teal-light), var(--navy-light));
    display: flex; align-items: center; justify-content: center;
    font-size: 24px; margin-bottom: 16px;
  }
  .service-title { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
  .service-desc { font-size: 14px; color: var(--text-muted); line-height: 1.7; margin-bottom: 16px; }
  .service-link { font-size: 13px; color: var(--navy-mid); font-weight: 600; text-decoration: none; }
  .service-link:hover { color: var(--teal); text-decoration: underline; }

  /* ===== ABOUT ===== */
  .about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
  @media(max-width:768px){ .about-grid { grid-template-columns: 1fr; } }
  .about-visual { position: relative; }
  .about-img-wrap {
    border-radius: 16px; overflow: hidden;
    background: linear-gradient(135deg, var(--teal), var(--navy-mid));
    height: 380px; display: flex; align-items: center; justify-content: center;
    position: relative;
  }
  .about-pattern {
    position: absolute; inset: 0; opacity: 0.1;
    background-image: radial-gradient(circle at 2px 2px, white 1px, transparent 0);
    background-size: 24px 24px;
  }
  .about-img-content { position: relative; z-index: 1; text-align: center; color: #fff; padding: 40px; }
  .about-img-content .big-num {
    font-family: 'Playfair Display', serif; font-size: 72px; font-weight: 700; line-height: 1;
  }
  .about-img-content p { font-size: 16px; opacity: 0.85; margin-top: 8px; }
  .about-badge {
    position: absolute; bottom: -20px; right: -20px;
    background: var(--white); border-radius: 12px; box-shadow: var(--shadow);
    padding: 16px 20px; border: 1px solid var(--border); display: flex; gap: 12px; align-items: center;
  }
  .about-badge-icon { font-size: 28px; }
  .about-badge-text strong { display: block; font-size: 20px; color: var(--teal); }
  .about-badge-text span { font-size: 12px; color: var(--text-muted); }
  .about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
  .af-item {
    display: flex; gap: 12px; align-items: flex-start;
    background: var(--off-white); border-radius: 10px; padding: 14px;
    border: 1px solid var(--border);
  }
  .af-icon { font-size: 20px; flex-shrink: 0; }
  .af-label { font-size: 13px; font-weight: 600; }
  .af-sub { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

  /* ===== STATS ===== */
  .stats-section {
    background: linear-gradient(135deg, var(--navy-dark), var(--navy));
    position: relative; overflow: hidden;
  }
  .stats-section::before {
    content: ''; position: absolute; inset: 0; opacity: 0.05;
    background-image: radial-gradient(circle at 2px 2px, white 1px, transparent 0);
    background-size: 32px 32px;
  }
  .stats-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 24px; position: relative; z-index: 1;
  }
  .stat-item { text-align: center; color: #fff; padding: 32px 20px; }
  .stat-num {
    font-family: 'Playfair Display', serif; font-size: 52px;
    font-weight: 700; line-height: 1; color: var(--accent);
  }
  .stat-label { font-size: 14px; opacity: 0.8; margin-top: 8px; }

  /* ===== BLOG ===== */
  .blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
  .blog-card {
    background: var(--white); border-radius: var(--radius);
    border: 1px solid var(--border); overflow: hidden; transition: var(--transition);
  }
  .blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
  .blog-thumb {
    height: 200px; display: flex; align-items: center; justify-content: center;
    font-size: 48px; position: relative; overflow: hidden;
  }
  .blog-thumb-overlay {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center; font-size: 48px;
  }
  .blog-meta { padding: 20px; }
  .blog-cat {
    display: inline-block; background: var(--teal-light); color: var(--navy-dark);
    font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 12px;
    margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.5px;
  }
  .blog-title { font-size: 17px; font-weight: 600; line-height: 1.4; margin-bottom: 8px; }
  .blog-excerpt { font-size: 13px; color: var(--text-muted); line-height: 1.7; margin-bottom: 16px; }
  .blog-footer { display: flex; justify-content: space-between; align-items: center; }
  .blog-date { font-size: 12px; color: var(--text-muted); }
  .blog-read { font-size: 13px; color: var(--navy-mid); font-weight: 600; text-decoration: none; }

  /* ===== TESTIMONIALS ===== */
  .testimonials-bg { background: var(--off-white); }

  /* Outer row: arrow | viewport | arrow */
  .testi-carousel-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
  }

  .testi-viewport {
    flex: 1;
    overflow: hidden;
    min-width: 0;
  }

  .testi-track {
    display: flex;
    transition: transform 0.55s cubic-bezier(.77,0,.18,1);
    will-change: transform;
  }

  /* Each slide = 3-column grid on desktop */
  .testi-slide {
    min-width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 4px 2px 8px;
    align-items: stretch;
  }

  .testi-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 28px 24px;
    border: 1px solid var(--border);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
  }
  .testi-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }

  .testi-quote {
    font-size: 48px; color: var(--teal-light); font-family: serif;
    line-height: 0.75; margin-bottom: 14px; display: block;
  }
  .testi-text {
    font-size: 14px; color: var(--text-muted); line-height: 1.8;
    margin-bottom: 20px; font-style: italic; flex: 1;
  }
  .testi-author { display: flex; gap: 12px; align-items: center; margin-top: auto; }
  .testi-avatar {
    width: 46px; height: 46px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 15px; color: #fff; flex-shrink: 0;
  }
  .testi-name { font-size: 14px; font-weight: 600; }
  .testi-role { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
  .testi-stars { color: var(--accent); font-size: 13px; margin-top: 3px; }

  /* Arrow buttons — sit beside the viewport, never overlapping */
  .testi-arrow {
    flex-shrink: 0;
    width: 48px; height: 48px; border-radius: 50%;
    background: var(--white); border: 1.5px solid var(--border);
    box-shadow: 0 2px 12px rgba(0,0,0,0.10);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; font-size: 20px; color: var(--navy-dark);
    transition: var(--transition); user-select: none; line-height: 1;
  }
  .testi-arrow:hover {
    background: var(--navy); color: #fff;
    border-color: var(--navy); box-shadow: 0 4px 16px rgba(0,38,82,0.25);
  }
  .testi-arrow:active { transform: scale(0.93); }
  .testi-arrow.disabled { opacity: 0.32; pointer-events: none; }

  /* Dots */
  .testi-dots {
    display: flex; justify-content: center; align-items: center;
    gap: 8px; margin-top: 28px;
  }
  .testi-dot {
    width: 9px; height: 9px; border-radius: 50%;
    background: var(--border); border: none; cursor: pointer;
    padding: 0; transition: var(--transition);
  }
  .testi-dot.active {
    background: var(--navy); width: 26px; border-radius: 5px;
  }

  /* Mobile: shrink padding, smaller arrows */
  @media(max-width: 600px) {
    .testi-card { padding: 24px 20px; min-height: auto; }
    .testi-text { font-size: 15px; }
    .testi-arrow { width: 38px; height: 38px; font-size: 16px; }
    .testi-carousel-wrap { gap: 10px; }
  }
    /* Testimonials Carousel*/
  .carousel img {
        width: 70px;
        max-height: 70px;
        border-radius: 50%;
        margin-right: 1rem;
        overflow: hidden;
  }
  .carousel-inner {
        padding: 1em;
    }

    @media screen and (min-width: 576px) {
        .carousel-inner {
            display: flex;
            width: 90%;
            margin-inline: auto;
            padding: 1em 0;
            overflow: hidden;
        }
        .carousel-item {
            display: block;
            margin-right: 0;
            flex: 0 0 calc(100% / 2);
        }
    }
    @media screen and (min-width: 768px) {
        .carousel-item {
            display: block;
            margin-right: 0;
            flex: 0 0 calc(100% / 3);
        }
    }
    .carousel .card {
        margin: 0 0.5em;
        border: 0;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 3rem;
        height: 3rem;
        background-color: grey;
        border-radius: 50%;
        top: 50%;
        transform: translateY(-50%);
    }

  /* ===== ACTIVITIES ===== */
  .activities-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(345px, 1fr)); gap: 20px; }
  .activity-card {
    border-radius: var(--radius); padding: 28px 20px; text-align: center;
    transition: var(--transition); border: 1px solid var(--border); cursor: pointer;
    text-decoration: none; display: block; color: var(--text);
  }
  .activity-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
  .activity-icon { font-size: 36px; margin-bottom: 12px; display: block; }
  .activity-name { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
  .activity-count { font-size: 12px; color: var(--text-muted); }

  /* ===== NEWSLETTER ===== */
  .newsletter-section {
    background: linear-gradient(135deg, var(--navy-dark), var(--teal-dark));
    text-align: center; position: relative; overflow: hidden;
  }
  .newsletter-section::before {
    content:''; position:absolute; inset:0; opacity:0.05;
    background-image: radial-gradient(circle at 2px 2px, white 1px, transparent 0);
    background-size:28px 28px;
  }
  .newsletter-content { position: relative; z-index: 1; color: #fff; max-width: 580px; margin: auto; }
  .newsletter-content h2 {
    font-family: 'Playfair Display', serif; font-size: 36px; font-weight: 700; margin-bottom: 12px;
  }
  .newsletter-content p { font-size: 16px; opacity: 0.85; margin-bottom: 28px; }
  .newsletter-form { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
  .newsletter-form input {
    flex: 1; min-width: 220px; padding: 13px 18px;
    border-radius: 8px; border: none; font-size: 15px; outline: none;
    font-family: 'DM Sans', sans-serif;
  }
  .newsletter-form button {
    background: var(--accent); color: #1a1a00; padding: 13px 28px;
    border-radius: 8px; border: none; font-size: 15px; font-weight: 600;
    cursor: pointer; font-family: 'DM Sans', sans-serif; transition: var(--transition);
  }
  .newsletter-form button:hover { opacity: 0.9; }

  /* ===== FOOTER ===== */
  footer {
    background: var(--navy-dark); color: #8aa8cc;
  }
  .footer-top {
    max-width: 1200px; margin: auto; padding: 60px 20px 40px;
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
  }
  @media(max-width:900px){ .footer-top { grid-template-columns: 1fr 1fr; } }
  @media(max-width:580px){ .footer-top { grid-template-columns: 1fr; } }
  .footer-brand { }
  .footer-logo {
    display: flex; align-items: center; gap: 12px; margin-bottom: 16px;
  }
  .footer-logo-icon {
    width: 40px; height: 40px; border-radius: 10px;
    background: linear-gradient(135deg, var(--teal), var(--navy-mid));
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-weight: 700; font-size: 14px;
  }
  .footer-logo-text strong { display: block; color: #fff; font-size: 14px; }
  .footer-logo-text span { font-size: 11px; }
  .footer-desc { font-size: 14px; line-height: 1.7; margin-bottom: 20px; }
  .footer-socials { display: flex; gap: 10px; }
  .social-btn {
    width: 36px; height: 36px; border-radius: 8px;
    background: rgba(255,255,255,0.08); display: flex; align-items: center;
    justify-content: center; font-size: 16px; text-decoration: none;
    transition: var(--transition); border: 1px solid rgba(255,255,255,0.12);
  }
  .social-btn:hover { background: var(--teal); }
  .footer-col h4 { color: #fff; font-size: 15px; font-weight: 600; margin-bottom: 18px; }
  .footer-col ul { list-style: none; }
  .footer-col ul li { margin-bottom: 10px; }
  .footer-col ul li a { color: #8aa8cc; text-decoration: none; font-size: 14px; transition: var(--transition); }
  .footer-col ul li a:hover { color: var(--teal); padding-left: 4px; }
  .footer-contact-item { display: flex; gap: 10px; margin-bottom: 12px; font-size: 14px; align-items: flex-start; color: #8aa8cc; }
  .footer-contact-item span:first-child { font-size: 16px; flex-shrink: 0; }
  .footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    max-width: 1200px; margin: auto; padding: 20px;
    display: flex; justify-content: space-between; align-items: center;
    font-size: 13px; flex-wrap: wrap; gap: 12px; color: #8aa8cc;
  }
  .footer-bottom a { color: #8aa8cc; text-decoration: none; }
  .footer-bottom a:hover { color: var(--teal); }
  .footer-bottom-links { display: flex; gap: 20px; }

  /* ===== MOBILE NAV ===== */
  .mobile-nav {
    display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5);
    z-index: 2000; align-items: flex-start; justify-content: flex-end;
  }
  .mobile-nav.open { display: flex; }
  .mobile-nav-panel {
    width: 280px; height: 100%; background: var(--white); overflow-y: auto;
    padding: 20px; display: flex; flex-direction: column;
  }
  .mobile-nav-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
  .mobile-nav-close { font-size: 24px; cursor: pointer; color: var(--text); background: none; border: none; }
  .mobile-links { list-style: none; }
  .mobile-links > li { border-bottom: 1px solid var(--border); }
  .mobile-links > li > a {
    display: block; padding: 14px 0; font-size: 15px; font-weight: 500;
    color: var(--text); text-decoration: none;
  }
  .mobile-sub { display: none; padding-left: 16px; }
  .mobile-sub a { display: block; padding: 10px 0; font-size: 14px; color: var(--text-muted); text-decoration: none; }
  .mobile-sub.show { display: block; }
  .has-sub-toggle::after { content: ' ▾'; font-size: 11px; float: right; }

  @media(max-width: 900px) {
    .nav-links { display: none; }
    .hamburger { display: flex; }
  }
  @media(max-width:600px) {
    section { padding: 60px 16px; }
  }

