/* Color Palette Extracted from S&C Hla Tun Academy Crest:
   Deep Navy Blue: #1A365D
   Gold Accent: #D4AF37
   Light Gold: #FFF9E6
   Light Slate Background: #F4F6F9
*/

:root {
    --primary-navy: #1A365D;
    --navy-dark: #122543;
    --accent-gold: #D4AF37;
    --gold-light: #FFF9E6;
    --bg-light: #F4F6F9;
    --white: #FFFFFF;
    --text-dark: #1A365D;
    --text-muted: #526075;
    --border-color: #E2E8F0;
    --font-heading: 'Cinzel', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}
/* =========================================
   Language Switcher & Bilingual Support for Academy Page
   ========================================= */

/* Navbar Right Container */
.nav-right {
    display: flex;
    align-items: center;
    margin-left: 20px;
    flex-shrink: 0;
  }
  
  /* Custom Dropdown Styling */
  .custom-dropdown {
    position: relative;
  }
  
  .dropdown-trigger {
    width: 100px !important;
    height: 40px;
    background-color: #0b192c;
    color: #ffffff;
    border: 2px solid #0b192c;
    padding: 6px 12px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    white-space: nowrap;
    box-sizing: border-box;
    transition: background-color 0.2s ease;
  }
  
  .dropdown-trigger:hover {
    background-color: #1e3e62;
  }
  
  #selected-lang-label {
    font-weight: 800;
    letter-spacing: 0.5px;
  }
  
  .chevron {
    font-size: 11px;
    transition: transform 0.2s ease;
  }
  
  .custom-dropdown.open .chevron {
    transform: rotate(180deg);
  }
  
  /* Dropdown Menu List */
  .dropdown-menu {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    background-color: #ffffff;
    border: 2px solid #0b192c;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    width: 170px;
    z-index: 1100;
    overflow: hidden;
  }
  
  .custom-dropdown.open .dropdown-menu {
    display: block;
  }
  
  .dropdown-item {
    width: 100%;
    padding: 10px 14px;
    background: none;
    border: none;
    text-align: left;
    font-size: 14px;
    font-weight: 600;
    color: #0b192c;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background-color 0.2s ease;
  }
  
  .dropdown-item:hover {
    background-color: #FFF8D6;
  }
  
  .dropdown-item.active {
    background-color: var(--text-muted);
    font-weight: 700;
  }
  
  .check-mark {
    margin-left: auto;
    font-size: 13px;
    opacity: 0;
  }
  
  .dropdown-item.active .check-mark {
    opacity: 1;
  }
  
  /* Burmese Language Font Styling */
  body.lang-my {
    font-family: 'Padauk', sans-serif !important;
    line-height: 1.7;
  }
  
  body.lang-my h1, 
  body.lang-my h2, 
  body.lang-my h3 {
    font-family: 'Padauk', sans-serif !important;
  }

/* Navbar */
.navbar {
    background-color: var(--white);
    border-bottom: 2px solid var(--accent-gold);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(26, 54, 93, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo-img {
    height: 52px;
    width: auto;
    object-fit: contain;
    border-radius: 4px;
}

.academy-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 18px;
    color: var(--primary-navy);
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: var(--primary-navy);
    font-weight: 600;
    font-size: 14px;
    padding: 8px 14px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    transition: all 0.2s ease;
}

.nav-links a:hover {
    color: var(--primary-navy);
    background-color: var(--gold-light);
    border-color: var(--accent-gold);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--primary-navy) 100%);
    color: var(--white);
    padding: 90px 0;
    text-align: center;
    border-bottom: 4px solid var(--accent-gold);
}

.hero-content {
    max-width: 800px;
}

.badge {
    display: inline-block;
    background-color: rgba(212, 175, 55, 0.15);
    color: var(--accent-gold);
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
    border: 1px solid var(--accent-gold);
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 40px;
    line-height: 1.2;
    margin-bottom: 18px;
    color: var(--white);
}

.hero p {
    font-size: 19px;
    color: #CBD5E0;
    font-weight: 300;
}

/* Sections */
.section {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.section-title {
    text-align: center;
    margin-bottom: 48px;
}

.section-title h2 {
    font-family: var(--font-heading);
    font-size: 28px;
    color: var(--primary-navy);
}

.divider {
    width: 60px;
    height: 3px;
    background-color: var(--accent-gold);
    margin: 12px auto 0;
    border-radius: 2px;
}

/* Profile / Overview Card */
.profile-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 48px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(26, 54, 93, 0.05);
}

.profile-card h2 {
    font-family: var(--font-heading);
    color: var(--primary-navy);
    font-size: 26px;
}

.lead-text {
    font-size: 19px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-top: 24px;
}

/* Grid Layout */
.grid {
    display: grid;
    gap: 28px;
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* Card Styling */
.card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 32px 26px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(26, 54, 93, 0.08);
}

.card-icon {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-navy);
    background-color: var(--gold-light);
    border: 1px solid var(--accent-gold);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.card h3 {
    font-family: var(--font-heading);
    color: var(--primary-navy);
    font-size: 19px;
    margin-bottom: 12px;
}

.card p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
}

.card-gold {
    border-top: 4px solid var(--accent-gold);
}

.service-card {
    border-left: 4px solid var(--primary-navy);
}

/* Footer */
.footer {
    background-color: var(--navy-dark);
    color: var(--accent-gold);
    padding: 32px 0;
    text-align: center;
    font-size: 14px;
    border-top: 2px solid var(--accent-gold);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        height: auto;
        padding: 16px;
        gap: 16px;
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
        text-align: center;
        gap: 10px;
    }

    .nav-links a {
        display: block;
        width: 100%;
    }

    .hero h1 {
        font-size: 30px;
    }

    .hero p {
        font-size: 16px;
    }

    .profile-card {
        padding: 28px 20px;
    }

    .lead-text {
        font-size: 16px;
    }
}