
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Enable GPU acceleration for better performance */
.program-card,
.campus-card,
.staff-card,
.btn,
.logo,
.back-btn {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-perspective: 1000px;
    perspective: 1000px;
}

:root {
    --primary-color: #1e5f3e;
    --secondary-color: #2c8657;
    --accent-color: #d4af37;
    --text-dark: #1a1a1a;
    --text-light: #555;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --border-light: #e5e5e5;
    --success-light: #e8f5e9;
    --success-dark: #2e7d32;
    --info-light: #e3f2fd;
    --info-color: #2196f3;
    --gray-medium: #555;
    --gray-light: #aaa;
    --error-light: #fee;
    --error-color: #c33;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

body.no-scroll {
    overflow: hidden;
}

/* Utility Classes */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-05 { margin-bottom: 0.5rem; }
.mb-075 { margin-bottom: 0.75rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.d-inline-block { display: inline-block; }
.flex-center { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.section-intro {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.section-intro-wide {
    max-width: 750px;
    margin: 0 auto 2rem auto;
    line-height: 1.8;
}

.text-large {
    font-size: 1.1rem;
    line-height: 1.8;
}

.text-subtitle {
    margin: 2rem 0;
    font-size: 1.1rem;
}

.section-header {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.logo-image {
    width: 40px;
    height: 40px;
    object-fit: contain;
    margin-right: 8px;
}

.color-text-light {
    color: var(--text-light);
}

.color-primary {
    color: var(--primary-color);
}

.color-accent {
    color: var(--accent-color);
}

.font-size-105 {
    font-size: 1.05rem;
}

.font-size-095 {
    font-size: 0.95rem;
}

.font-size-09 {
    font-size: 0.9rem;
}

.font-weight-600 {
    font-weight: 600;
}

.my-3 {
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.my-2 {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.mt-05 {
    margin-top: 0.5rem;
}

.mt-15 {
    margin-top: 1.5rem;
}

.mt-80 {
    margin-top: 80px;
}

.line-height-16 {
    line-height: 1.6;
}

.font-style-normal {
    font-style: normal;
}

.word-break-all {
    word-break: break-word;
}

.text-underline {
    text-decoration: underline;
}

.form-error-box {
    background: #fee;
    border: 1px solid #c33;
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1rem;
    color: #c33;
}

.form-success-box {
    text-align: center;
    padding: 2rem;
    background: #e8f5e9;
    border-radius: 8px;
    margin-top: 1rem;
}

/* Accessibility Utilities */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    z-index: 10000;
    font-weight: 600;
}

.skip-link:focus {
    top: 0;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Focus Indicators for Accessibility */
*:focus-visible {
    outline: 3px solid var(--accent-color);
    outline-offset: 2px;
}

.btn:focus-visible,
button:focus-visible {
    outline: 3px solid rgba(212, 175, 55, 0.8);
    outline-offset: 3px;
}

a:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* Header Styles */
header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: box-shadow 0.3s ease;
}

/* Prevent fixed header from covering section titles when navigating via anchor links */
section[id] {
    scroll-margin-top: 100px;
}

/* Reduce scroll margin on mobile for better space utilization */
@media (max-width: 768px) {
    section[id] {
        scroll-margin-top: 90px;
    }
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    transition: transform 0.3s ease;
    will-change: transform;
}

.logo:hover {
    transform: translate3d(0, -2px, 0);
}

.logo img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-links a:hover:after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.mobile-menu span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.mobile-menu[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Announcement Banner */
.announcement-banner {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--accent-color), #c9a832);
    color: var(--text-dark);
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.announcement-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.75rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.announcement-label {
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.announcement-text {
    font-size: 0.95rem;
    font-weight: 500;
}

.announcement-btn {
    background: var(--white);
    color: var(--text-dark);
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    white-space: nowrap;
}

.announcement-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

@media (max-width: 768px) {
    .announcement-content {
        padding: 0.6rem 1rem;
        gap: 0.5rem;
        text-align: center;
    }

    .announcement-label {
        font-size: 0.85rem;
        width: 100%;
    }

    .announcement-text {
        font-size: 0.85rem;
        width: 100%;
    }

    .announcement-btn {
        font-size: 0.85rem;
        padding: 0.35rem 1rem;
    }
}

/* Hero Section */
.hero {
    margin-top: 130px;
    background:
        linear-gradient(135deg, rgba(30, 95, 62, 0.92), rgba(44, 134, 87, 0.92)),
        url('/assets/pattern.png') center/cover repeat;
    background-blend-mode: overlay;
    color: var(--white);
    /* OLD: padding: 5rem 2rem; */
    padding: 2rem 2rem; /* ↓ reduced top space */
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -30%;
    left: -30%;
    width: 160%;
    height: 160%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><pattern id="dots" x="0" y="0" width="25" height="25" patternUnits="userSpaceOnUse"><circle cx="4" cy="4" r="1.5" fill="rgba(255,255,255,0.02)"/></pattern><rect width="100" height="100" fill="url(%23dots)"/></svg>') no-repeat;
    background-size: cover;
    transform: rotate(15deg);
    z-index: 1; /* Lift it slightly above base but still below content */
    opacity: 0.2; /* Make it more subtle */
    pointer-events: none;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2; /* Ensure it's above ::before */
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease;
}

.hero .subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hadith-quote {
    background: rgba(255,255,255,0.1);
    padding: 1.5rem;
    border-radius: 10px;
    margin: 2rem 0;
    font-style: italic;
    animation: fadeInUp 0.8s ease 0.4s both;
}

/* Program Selection */
.program-selection {
    padding: 2rem 2rem;
    background: var(--bg-light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
    position: relative;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent-color);
}

.program-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.program-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    will-change: transform;
}

.program-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.program-card:hover::before {
    transform: scaleX(1);
}

.program-card:hover {
    transform: translate3d(0, -5px, 0);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.program-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: var(--white);
}

.program-card h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.program-options {
    list-style: none;
    margin: 1.5rem 0;
}

.program-options li {
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    transition: transform 0.3s ease, color 0.3s ease;
}

.program-options li:hover {
    transform: translateX(10px);
    color: var(--primary-color);
}

.program-options li:last-child {
    border-bottom: none;
}

.program-options li::before {
    content: '✓';
    color: var(--accent-color);
    font-weight: bold;
    margin-right: 10px;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
    will-change: transform;
}

.btn:hover {
    transform: translate3d(0, -2px, 0);
    box-shadow: 0 5px 15px rgba(30, 95, 62, 0.3);
}

.btn-gold {
    background: linear-gradient(135deg, #F4C542, #EAB308);
    color: #1F2937;
    font-weight: 700;
}

.btn-gold:hover {
    background: linear-gradient(135deg, #EAB308, #dca307);
    color: #111827;
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(234, 179, 8, 0.3);
}

.btn-lg {
    padding: 1rem 2.2rem;
    font-size: 1.05rem;
}

/* Program Details Sections */
.program-details {
    display: none;
    padding: 4rem 2rem;
    animation: fadeIn 0.5s ease;
    padding-top: 180px;
}

.program-details.active {
    display: block;
}

.campus-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.campus-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    will-change: transform;
}

.campus-card:hover {
    transform: translate3d(0, -3px, 0);
    box-shadow: 0 5px 20px rgba(0,0,0,0.12);
}

.campus-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.campus-info {
    color: var(--text-light);
    line-height: 1.8;
}

.campus-info p {
    margin-bottom: 0.5rem;
}

.price-badge {
background: var(--secondary-color);
color: white;
padding: 0.4rem 1rem;
border-radius: 20px;
font-size: 1rem;
font-weight: 600;
display: inline-block;
}

.badge {
    background: var(--accent-color);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.curriculum-list {
    list-style: none;
    margin: 1rem 0;
}

.curriculum-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.curriculum-list li:before {
    content: '•';
    color: var(--accent-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* About Section - Now always visible */
.about-section {
    padding: 4rem 2rem;
    background: var(--white);
}

/* Footer */
footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 3rem 2rem 1rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.footer-section p, .footer-section li {
    opacity: 0.9;
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    opacity: 0.8;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 30px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Scroll animation class */
.animate-in {
    animation: fadeInUp 0.8s ease both;
}

/* Back Button */
.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    margin-bottom: 2rem;
    font-weight: 600;
    transition: transform 0.3s ease;
    will-change: transform;
}

.back-btn:hover {
    transform: translate3d(-5px, 0, 0);
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu {
        display: flex;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .program-card h3 {
        font-size: 1.5rem;
    }
    .contact-form {
        padding: 1.5rem 1rem;
    }

    .contact-form .form-group label {
        font-size: 0.95rem;
    }

    .btn {
        width: 100%;
        padding: 1rem;
    }
}


/* Mobile Navigation */
.mobile-nav {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    z-index: 999;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mobile-nav.active {
    max-height: 100vh;
}

.mobile-nav ul {
    list-style: none;
    padding: 1rem;
}

.mobile-nav li {
    border-bottom: 1px solid var(--border-light);
}

.mobile-nav a {
    display: block;
    padding: 1rem;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.mobile-nav a:hover {
    background-color: var(--bg-light);
    color: var(--primary-color);
}

/* Make entire nav items clickable (anchor/button fills the <li>) */
.nav-links li { position: relative; }

.nav-links li > a,
.nav-links li > button.dropdown-toggle {
  display: block;          /* fills the li area */
  width: 100%;
  padding: 0.75rem 0.5rem; /* bigger tap target */
  text-align: left;
}

/* Reset dropdown button to look like a link */
.dropdown-toggle {
  background: none;
  border: 0;
  font: inherit;
  color: var(--text-dark);
  cursor: pointer;
  position: relative; /* for underline effect */
}

/* Share your existing link styles with the button toggles */
.nav-links a,
.dropdown-toggle {
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease;
  color: var(--text-dark);
}

.nav-links a:hover,
.dropdown-toggle:hover { color: var(--primary-color); }

/* Optional: subtle hover on entire li row */
.nav-links > li:hover { background: rgba(0,0,0,0.04); }

/* Alert Box */
.alert {
    background: #e8f5e9;
    border-left: 4px solid var(--secondary-color);
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 5px;
}

.highlight-box {
    background: linear-gradient(135deg, #f5f5f5, #ffffff);
    border: 1px solid var(--border-light);
    border-radius: 10px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

/* Staff Section - Now hidden by default */
.staff-section {
    display: none;
    padding: 4rem 2rem;
    background: var(--bg-light);
}

.staff-section.active {
    display: block;
}

.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.staff-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    will-change: transform;
}

.staff-card:hover {
    transform: translate3d(0, -3px, 0);
    box-shadow: 0 5px 20px rgba(0,0,0,0.12);
}

.staff-card h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.staff-card p {
    color: var(--text-light);
    font-size: 0.9rem;
}
.donate-section {
background-color: #f8f9fa; /* Light gray */
padding: 60px 20px;
text-align: center;
}

.donate-options {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 20px;
margin: 30px 0;
}

.donate-box {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  padding: 20px;

  flex: 1 1 280px;
  max-width: 320px;

  /* Center content */
  display: flex;
  flex-direction: column;       /* stack items vertically */
  align-items: center;          /* center horizontally */
  justify-content: center;      /* center vertically if fixed height */
  text-align: center;
}

.donate-box a.btn {
margin-top: 10px;
display: inline-block;
}

.donate-legal {
font-size: 0.85rem;
color: #555;
margin-top: 30px;
}
.closed-program {
opacity: 0.5;
pointer-events: none;
filter: grayscale(100%);
}
.closed-program .btn,
.closed-program a {
pointer-events: none;
cursor: not-allowed;
opacity: 0.6;
}
.closed-badge {
background-color: #aaa;
color: white;
font-size: 0.85rem;
padding: 0.2rem 0.5rem;
border-radius: 4px;
margin-left: 1rem;
vertical-align: middle;
}
.registration-closed-badge {
background-color: #aaa;
color: white;
font-size: 0.75rem;
padding: 0.2rem 0.4rem;
border-radius: 4px;
margin-left: 0.5rem;
display: inline-block;
}
.contact-form-section {
padding: 60px 20px;
background-color: #fff;
}

/* Duplicate .container removed - see line 265 for definition */

.contact-form {
background: #fff;
padding: 30px 20px;
border-radius: 8px;
box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.form-group input,
.form-group select,
.form-group textarea {
width: 100%;
padding: 12px;
font-size: 1rem;
border: 1px solid #ccc;
border-radius: 6px;
margin-top: 6px;
margin-bottom: 16px;
box-sizing: border-box;
}

textarea#contactMessage {
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 1rem;
    background: #f9f9f9;
    transition: border-color 0.2s ease, background-color 0.2s ease;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--text-dark);
    width: 100%;
    min-height: 150px;
    resize: vertical;
}

textarea#contactMessage:focus {
    border-color: var(--primary-color);
    outline: none;
    background: #fff;
}

textarea::placeholder {
    font-style: italic;
    color: #aaa;
}

#successMessage {
    display: none;
    text-align: center;
    padding: 2rem;
    background: #e8f5e9;
    border-radius: 8px;
    margin-top: 1rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

#successMessage.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

#successMessage h3 {
    color: #2e7d32;
}

#successMessage p {
    color: #1b5e20;
}
        /* === Top-Level Dropdown === */
.nav-links li.dropdown {
position: relative;
}

.dropdown-menu {
display: none;
position: absolute;
top: 100%;
left: 0;
background: var(--white);
min-width: 220px;
box-shadow: 0 4px 8px rgba(0,0,0,0.08);
z-index: 999;
padding: 0.5rem 0;
border-radius: 6px;
}

.dropdown:hover .dropdown-menu {
display: block;
}

/* === Submenu Level === */
.dropdown-sub {
position: relative;
}

.dropdown-submenu {
display: none;
position: absolute;
top: 0;
left: 100%;
background: var(--white);
min-width: 220px;
box-shadow: 0 4px 8px rgba(0,0,0,0.08);
z-index: 999;
padding: 0.5rem 0;
border-radius: 6px;
}

.dropdown-sub:hover .dropdown-submenu {
display: block;
}

.dropdown-menu a,
.dropdown-submenu a {
display: block;
padding: 0.5rem 1rem;
color: var(--text-dark);
text-decoration: none;
white-space: nowrap;
font-weight: 500;
}

.dropdown-menu a:hover,
.dropdown-submenu a:hover {
background-color: var(--primary-color);
color: white;
border-radius: 4px;
}