:root {
    /* Colors extracted/inferred from reference */
    --color-primary: #1e2b45;
    /* Dark Blue */
    --color-accent: #c5a96f;
    /* Gold/Beige */
    --color-text-dark: #333333;
    --color-text-light: #ffffff;
    --color-bg-light: #f9f9f9;
    --color-border: #e0e0e0;

    /* Fonts */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Roboto', sans-serif;

    /* Spacing */
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 32px;
    --spacing-xl: 64px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--color-text-dark);
    line-height: 1.6;
    background-color: var(--color-bg-light);
    overflow-x: hidden;
    /* Prevent horizontal scroll globally */
    overflow-wrap: break-word;
    /* Prevent long words from breaking layout */
}

/* Global Media Reset for Responsiveness */
img,
video,
iframe {
    max-width: 100%;
    height: auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    overflow-wrap: break-word;
    /* Ensure headings also wrap */
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 2px solid transparent;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--color-accent);
    color: var(--color-primary);
}

.btn-primary:hover {
    background-color: #d4b87f;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(197, 169, 111, 0.4);
}

.btn-outline {
    border-color: var(--color-text-light);
    color: var(--color-text-light);
    background: transparent;
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* ===== HEADER ===== */
.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.top-bar {
    background-color: var(--color-primary);
    color: var(--color-text-light);
    font-size: 13px;
    padding: 8px 0;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-nav {
    display: flex;
    gap: 24px;
}

.top-nav a {
    color: var(--color-text-light);
    opacity: 0.9;
}

.top-nav a:hover {
    opacity: 1;
    color: var(--color-accent);
}

.top-contact {
    display: flex;
    gap: 24px;
}

.top-contact a {
    color: var(--color-text-light);
    opacity: 0.9;
}

.top-contact a:hover {
    opacity: 1;
    color: var(--color-accent);
}

/* ===== LOGO AREA ===== */
.logo-area {
    background: white;
    padding: 20px 0;
    border-bottom: 1px solid #e5e5e5;
}

.logo-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.logo-box {
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-logo {
    max-height: 90px;
    width: auto;
}

.nav-bar-wrapper {
    background: var(--color-primary);
    position: relative;
}

.nav-bar-wrapper .container {
    position: relative;
}

.hamburger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
}

.hamburger-menu span {
    width: 25px;
    height: 3px;
    background-color: var(--color-primary);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger-menu.active span {
    background-color: var(--color-accent);
}

.hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}


.main-nav ul {
    display: flex;
    justify-content: center;
    gap: 0;
}

.main-nav li {
    position: relative;
}

.main-nav a {
    display: block;
    padding: 16px 24px;
    color: var(--color-text-light);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.main-nav a:hover,
.main-nav a.active {
    background-color: rgba(197, 169, 111, 0.2);
    color: var(--color-accent);
}

/* Submenu Styles */
.submenu {
    display: none !important;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--color-primary);
    min-width: 220px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    flex-direction: column;
    gap: 0;
}

.has-submenu:hover .submenu {
    display: flex !important;
}

.submenu li {
    display: block;
    width: 100%;
    border-bottom: none;
}

.submenu a {
    padding: 12px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 13px;
    white-space: nowrap;
    display: block;
    width: 100%;
}

.submenu a:hover {
    background-color: rgba(197, 169, 111, 0.3);
    padding-left: 25px;
}


/* ===== HERO SECTION ===== */
.hero-section {
    position: relative;
    height: 600px;
    background: linear-gradient(135deg, rgba(30, 43, 69, 0.85) 0%, rgba(45, 66, 99, 0.75) 100%),
        url('../assets/hero_bg.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 43, 69, 0.85) 0%, rgba(45, 66, 99, 0.75) 100%);
}

.hero-container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 700px;
}

.hero-content h1 {
    font-size: 56px;
    color: var(--color-text-light);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content h1 .highlight {
    color: var(--color-accent);
    font-style: italic;
}

.hero-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

.enquire-tab {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: var(--color-accent);
    color: var(--color-primary);
    padding: 24px 12px;
    writing-mode: vertical-rl;
    font-weight: 700;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 3;
}

.enquire-tab:hover {
    background: #d4b87f;
    padding-right: 16px;
}

/* ===== MARQUEE SECTION ===== */
.marquee-section {
    background: var(--color-accent);
    padding: 12px 0;
    overflow: hidden;
    position: relative;
}

.marquee-container {
    width: 100%;
    overflow: hidden;
}

.marquee-content {
    display: flex;
    animation: marquee 30s linear infinite;
    white-space: nowrap;
}

.marquee-item {
    display: inline-block;
    padding: 0 80px;
    font-size: 16px;
    font-weight: 600;
    color: var(--color-primary);
}

.marquee-item a {
    color: var(--color-primary);
    text-decoration: underline;
    text-decoration-color: transparent;
    transition: all 0.3s ease;
}

.marquee-item a:hover {
    text-decoration-color: var(--color-primary);
    color: #0f1a2e;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ===== LEADERSHIP SECTION ===== */
.leadership-section {
    padding: 100px 0 80px;
    background: white;
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.leadership-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: white;
}

.leadership-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.card-blue {
    background: linear-gradient(135deg, #2d4263 0%, #1e2b45 100%);
}

.card-dark {
    background: linear-gradient(135deg, #1e2b45 0%, #0f1a2e 100%);
}

.card-top-border {
    height: 6px;
    background: linear-gradient(90deg, #c5a96f 0%, #d4b87f 100%);
}

.leader-image {
    display: flex;
    justify-content: center;
    padding: 30px 0 20px;
}

.leader-image img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 5px solid rgba(255, 255, 255, 0.3);
    object-fit: cover;
}

.leader-content {
    padding: 0 30px 30px;
    text-align: left;
}

.leader-label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
    margin-bottom: 5px;
}

.leader-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: white;
    font-family: var(--font-heading);
}

.leader-message {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
    opacity: 0.95;
    text-align: justify;
}

.leader-name {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 5px;
    font-style: italic;
}

.leader-position {
    font-size: 13px;
    opacity: 0.85;
    font-style: italic;
}

/* ===== STATS SECTION ===== */
.stats-section {
    background: var(--color-primary);
    padding: 40px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.stat-item {
    text-align: center;
    color: var(--color-text-light);
}

.stat-item h3 {
    font-size: 48px;
    color: var(--color-accent);
    margin-bottom: 8px;
    font-weight: 700;
}

.stat-item p {
    font-size: 12px;
    letter-spacing: 1.5px;
    opacity: 0.9;
}

/* ===== SECTION TITLE CENTER ===== */
.section-title-center {
    text-align: center;
    margin-bottom: 50px;
}

.section-title-center h2 {
    font-size: 36px;
    color: var(--color-primary);
    margin-bottom: 12px;
}

.section-title-center p {
    font-size: 16px;
    color: #666;
}

/* ===== WHY CHOOSE US SECTION ===== */
.why-choose-section {
    padding: 80px 0;
    background: var(--color-bg-light);
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.why-item {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.why-item:hover {
    transform: translateY(-5px);
    border-color: var(--color-accent);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.why-icon {
    font-size: 56px;
    margin-bottom: 20px;
}

.why-item h4 {
    font-size: 20px;
    color: var(--color-primary);
    margin-bottom: 12px;
    font-family: var(--font-heading);
}

.why-item p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* ===== PROGRAMS SECTION ===== */
.programs-section {
    padding: 80px 0;
    background: white;
}

.program-layout {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 50px;
    align-items: start;
}

.program-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.program-image img {
    width: 100%;
    height: auto;
    display: block;
}

.program-badge-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--color-accent);
    color: var(--color-primary);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.program-details {
    padding: 20px 0;
}

.program-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--color-accent);
}

.program-header h3 {
    font-size: 32px;
    color: var(--color-primary);
    margin: 0;
    font-family: var(--font-heading);
}

.program-tag {
    background: var(--color-accent);
    color: var(--color-primary);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.program-overview {
    margin-bottom: 30px;
}

.program-overview h4,
.program-highlights h4 {
    font-size: 20px;
    color: var(--color-primary);
    margin-bottom: 15px;
    font-family: var(--font-heading);
}

.program-overview p {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
    text-align: justify;
}

.program-highlights {
    margin-bottom: 30px;
}

.program-features {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.program-features li {
    font-size: 14px;
    color: #555;
    padding-left: 0;
}

.program-actions {
    display: flex;
    gap: 16px;
}

.btn-outline-dark {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: transparent;
}

.btn-outline-dark:hover {
    background-color: var(--color-primary);
    color: white;
    transform: translateY(-2px);
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-section {
    padding: 80px 0;
    background: var(--color-bg-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.testimonial-highlight {
    border: 2px solid var(--color-accent);
}

.quote-icon {
    font-size: 72px;
    color: var(--color-accent);
    opacity: 0.2;
    line-height: 1;
    margin-bottom: 10px;
    font-family: Georgia, serif;
}

.testimonial-text {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--color-accent);
}

.author-info h5 {
    font-size: 16px;
    color: var(--color-primary);
    margin-bottom: 4px;
    font-weight: 600;
}

.author-info p {
    font-size: 13px;
    color: #888;
}

/* ===== FEATURES SECTION ===== */
.features-section {
    padding: 80px 0;
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    transition: all 0.3s ease;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    border-color: var(--color-accent);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 16px;
    color: var(--color-primary);
}

.feature-card p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.7;
}

.feature-link {
    color: var(--color-accent);
    font-weight: 500;
    font-size: 14px;
}

.feature-link:hover {
    color: var(--color-primary);
}

/* ===== GALLERY SECTION ===== */
.gallery-section {
    padding: 80px 0;
    background: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    height: 250px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(30, 43, 69, 0.9) 0%, transparent 100%);
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h4 {
    color: white;
    font-size: 18px;
    margin: 0;
}

.gallery-cta {
    text-align: center;
}

/* ===== VIDEO SECTION ===== */
.video-section {
    padding: 80px 0;
    background: var(--color-bg-light);
}

.video-container {
    max-width: 900px;
    margin: 0 auto;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ===== PLACEMENT PARTNERS SECTION ===== */
.partners-section {
    padding: 80px 0;
    background: white;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    align-items: center;
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    transition: all 0.3s ease;
}

.partner-logo img {
    max-width: 100%;
    height: auto;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.partner-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

/* ===== CTA BANNER ===== */
.cta-banner {
    background: linear-gradient(135deg, #1e2b45 0%, #2d4263 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(197,169,111,0.1)"/></svg>');
    opacity: 0.3;
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 42px;
    color: white;
    margin-bottom: 16px;
    font-family: var(--font-heading);
}

.cta-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* ===== HAPPENINGS SECTION ===== */
.happenings-section {
    padding: 80px 0;
    background: var(--color-bg-light);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 36px;
    color: var(--color-primary);
}

.view-all {
    color: var(--color-accent);
    font-weight: 500;
    font-size: 14px;
}

.view-all:hover {
    color: var(--color-primary);
}

.happenings-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
}

.news-featured {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.news-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-featured:hover .news-image img {
    transform: scale(1.05);
}

.news-badge {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: var(--color-accent);
    color: var(--color-primary);
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
}

.news-content {
    padding: 24px;
}

.news-content h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--color-primary);
}

.news-content p {
    color: #666;
    line-height: 1.7;
}

.events-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.event-item {
    display: flex;
    gap: 20px;
    background: white;
    padding: 24px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.event-item:hover {
    transform: translateX(8px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.event-date {
    background: var(--color-primary);
    color: white;
    padding: 12px 16px;
    border-radius: 8px;
    text-align: center;
    min-width: 70px;
    height: fit-content;
}

.event-date .day {
    display: block;
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
}

.event-date .month {
    display: block;
    font-size: 14px;
    text-transform: uppercase;
    margin-top: 4px;
}

.event-info h4 {
    font-size: 18px;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.event-info p {
    font-size: 14px;
    color: #666;
    margin-bottom: 4px;
}

/* ===== FOOTER ===== */
.main-footer {
    background: var(--color-primary);
    color: var(--color-text-light);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-logo .gavel {
    font-size: 32px;
}

.footer-logo h3 {
    color: var(--color-text-light);
    font-size: 20px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--color-accent);
    color: var(--color-primary);
    transform: translateY(-3px);
}


.footer-col h4 {
    color: var(--color-accent);
    font-size: 14px;
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.footer-col a:hover {
    color: var(--color-accent);
    padding-left: 4px;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    line-height: 1.7;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
}

.footer-legal a:hover {
    color: var(--color-accent);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .top-bar-inner {
        flex-direction: column;
        gap: 8px;
        text-align: center;
        padding: 5px 0;
    }

    .top-contact {
        flex-direction: column;
        gap: 4px;
        align-items: center;
        width: 100%;
    }

    /* Fix for long email overflow */
    .top-contact a {
        font-size: 12px;
        word-break: break-all;
        /* Ensures long emails wrap */
        display: inline-block;
        padding: 2px 10px;
        line-height: 1.4;
    }

    .logo-text h1 {
        font-size: 16px;
        /* Slightly smaller to prevent text wrap issues next to logo */
        line-height: 1.2;
    }

    .hamburger-menu {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--color-primary);
        transition: right 0.3s ease;
        z-index: 999;
        overflow-y: auto;
        padding-top: 60px;
    }

    .main-nav.active {
        right: 0;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
    }

    .main-nav li {
        border-bottom: 1px solid rgba(197, 169, 111, 0.2);
    }

    .main-nav a {
        padding: 16px 20px;
    }

    /* Mobile Submenu Styles */
    .submenu {
        position: static;
        display: none;
        background: rgba(0, 0, 0, 0.2);
        box-shadow: none;
    }

    .has-submenu.active .submenu {
        display: block;
    }

    .submenu a {
        padding-left: 35px;
        font-size: 13px;
    }

    .submenu a:hover {
        padding-left: 40px;
    }

    .logo-area {
        padding: 10px 0;
    }

    .logo-inner {
        justify-content: flex-start;
        padding-left: 15px;
        gap: 10px;
    }

    .logo-box {
        justify-content: flex-start;
        flex-shrink: 0;
    }

    .main-logo {
        max-height: 45px;
        /* Slightly smaller logo for mobile */
    }


    .hero-content h1 {
        font-size: 32px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .leadership-grid {
        grid-template-columns: 1fr;
    }

    .program-layout {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .program-image {
        max-width: 100%;
    }

    .program-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .program-features {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .happenings-grid {
        grid-template-columns: 1fr;
    }

    .why-choose-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .programs-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .cta-content h2 {
        font-size: 24px;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

/* ===== UNDER CONSTRUCTION POPUP ===== */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.popup-overlay.show {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background: white;
    padding: 40px;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-top: 5px solid var(--color-accent);
}

.popup-overlay.show .popup-content {
    transform: translateY(0);
}

.popup-header {
    margin-bottom: 20px;
}

.popup-header i {
    font-size: 48px;
    color: var(--color-accent);
    margin-bottom: 16px;
    background: rgba(197, 169, 111, 0.1);
    width: 90px;
    height: 90px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.popup-header h2 {
    font-size: 24px;
    color: var(--color-primary);
    margin: 0;
}

.popup-body p {
    color: #666;
    margin-bottom: 30px;
    font-size: 16px;
    line-height: 1.6;
}

.popup-content .btn-primary {
    width: 100%;
    padding: 16px;
    font-size: 16px;
    border: none;
}