/* CSS Variables */
:root {
    --primary-color: #2e3192; /* Navy Blue from logo */
    --primary-dark: #232578;
    --secondary-color: #ffd700; /* Gold/Yellow from logo */
    --secondary-dark: #e6c200;
    --accent-color: #e63946; /* Red from logo */
    --text-color: #333;
    --light-text: #fff;
    --dark-text: #222;
    --light-bg: #f8f9fa;
    --dark-bg: #343a40;
    --gray-900: #212529;
    --gray-800: #343a40;
    --gray-700: #495057;
    --gray-600: #6c757d;
    --gray-500: #adb5bd;
    --gray-400: #ced4da;
    --gray-300: #dee2e6;
    --gray-200: #e9ecef;
    --gray-100: #f8f9fa;
    --border-color: #dee2e6;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
        0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
    --border-radius: 0.5rem;
    --border-radius-lg: 1rem;
    --border-radius-full: 9999px;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius-full);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--light-text);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--secondary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.btn-white {
    background-color: white;
    color: var(--primary-color);
}

.btn-white:hover {
    background-color: var(--gray-100);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.divider {
    width: 5rem;
    height: 0.25rem;
    background-color: var(--secondary-color);
    margin: 0 auto 1rem;
}

.section-desc {
    max-width: 36rem;
    margin: 0 auto;
    color: var(--gray-600);
    font-size: 1.125rem;
}

/* Announcement Bar */
.announcement-bar {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 0.5rem 0;
}

.announcement-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.announcement-bar p {
    font-size: 0.875rem;
    font-weight: 500;
    margin: 0;
}

.announcement-bar a {
    color: var(--light-text);
    font-weight: 700;
    transition: var(--transition);
}

.announcement-bar a:hover {
    color: var(--secondary-color);
}

/* Header */
header {
    background-color: white;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    height: 4rem;
    width: auto;
}

.logo-text h1 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.2;
    margin: 0;
}

.logo-text p {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent-color);
    margin: 0;
}

nav {
    display: flex;
    align-items: center;
    gap: 1rem; /* Add gap between nav items */
}

.main-nav {
    display: none;
}

@media (min-width: 1024px) {
    .main-nav {
        display: flex;
        gap: 2rem;
        list-style: none;
        margin: 0;
        padding: 0;
    }
}

.main-nav li a {
    color: var(--primary-color);
    font-weight: 600;
    padding: 0.5rem 0;
    position: relative;
}

.main-nav li a:hover {
    color: var(--accent-color);
}

.main-nav li a.active {
    color: var(--primary-color);
    border-bottom: 2px solid var(--secondary-color);
}

/* Fixed Enroll Now button */
.enroll-btn {
    display: none;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 0.625rem 1.25rem;
    border-radius: var(--border-radius-full);
    font-weight: 600;
    transition: var(--transition);
    white-space: nowrap; /* Prevent text wrapping */
}

.enroll-btn:hover {
    background-color: var(--secondary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

@media (min-width: 768px) {
    .enroll-btn {
        display: inline-block;
    }
}

.mobile-menu-btn {
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 1.5rem;
    cursor: pointer;
}

@media (min-width: 1024px) {
    .mobile-menu-btn {
        display: none;
    }
}

/* Page Banner */
.page-banner {
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
        url("about-banner.jpg") no-repeat center center/cover;
    color: var(--light-text);
    padding: 5rem 0;
    text-align: center;
}

.page-banner h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.breadcrumbs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1rem;
}

.breadcrumbs a {
    color: var(--secondary-color);
}

.breadcrumbs span {
    color: var(--gray-300);
}

/* About Story Section */
.about-story {
    padding: 5rem 0;
    background-color: white;
}

.story-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

@media (min-width: 768px) {
    .story-content {
        flex-direction: row;
        align-items: center;
    }
}

.story-image {
    position: relative;
}

@media (min-width: 768px) {
    .story-image {
        width: 40%;
    }
}

.story-image-wrapper {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.story-image-wrapper::before {
    content: "";
    position: absolute;
    top: -10px;
    left: -10px;
    width: 100px;
    height: 100px;
    background-color: var(--secondary-color);
    z-index: -1;
    border-radius: var(--border-radius);
}

.story-image-wrapper::after {
    content: "";
    position: absolute;
    bottom: -10px;
    right: -10px;
    width: 100px;
    height: 100px;
    background-color: var(--primary-color);
    z-index: -1;
    border-radius: var(--border-radius);
}

.story-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-lg);
}

.story-text {
    flex: 1;
}

.story-text h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.story-text .divider {
    margin: 0 0 1.5rem;
}

.story-text p {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* Mission & Vision Section */
.mission-vision {
    padding: 5rem 0;
    background-color: var(--gray-50);
}

.mission-vision-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .mission-vision-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

.mission-box,
.vision-box {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.mission-box {
    border-top: 4px solid var(--primary-color);
}

.vision-box {
    border-top: 4px solid var(--secondary-color);
}

.mission-box h3,
.vision-box h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--gray-200);
}

.mission-box p,
.vision-box p {
    color: var(--gray-600);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.mission-box ul {
    list-style-type: none;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.mission-box ul li {
    position: relative;
    margin-bottom: 0.75rem;
    color: var(--gray-600);
}

.mission-box ul li:before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: -1.5rem;
}

.mission-box .motto {
    font-style: italic;
    font-weight: 600;
    color: var(--primary-color);
    margin-top: auto;
    padding-top: 1rem;
}

/* Core Values Section */
.core-values {
    padding: 5rem 0;
    background-color: white;
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 576px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .values-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.value-card {
    background-color: var(--light-bg);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-bottom: 3px solid var(--secondary-color);
}

.value-icon {
    width: 4rem;
    height: 4rem;
    background-color: rgba(46, 49, 146, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.value-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.value-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.value-card p {
    color: var(--gray-600);
    margin: 0;
}

/* Leadership Section */
.leadership {
    padding: 5rem 0;
    background-color: var(--gray-50);
}

.leadership-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 576px) {
    .leadership-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .leadership-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.leader-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.leader-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.leader-image {
    height: 250px;
    overflow: hidden;
}

.leader-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.leader-info {
    padding: 1.5rem;
    text-align: center;
}

.leader-info h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.leader-info p {
    color: var(--gray-600);
    margin: 0;
    font-size: 0.9rem;
}

.leader-info .position {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Timeline Section */
.timeline-section {
    padding: 5rem 0;
    background-color: white;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::after {
    content: "";
    position: absolute;
    width: 4px;
    background-color: var(--gray-300);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
}

.timeline-item::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: var(--secondary-color);
    border: 4px solid var(--primary-color);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-left {
    left: 0;
}

.timeline-right {
    left: 50%;
}

.timeline-left::after {
    right: -10px;
}

.timeline-right::after {
    left: -10px;
}

.timeline-content {
    padding: 20px;
    background-color: white;
    position: relative;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.timeline-content h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.timeline-content .year {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: var(--primary-color);
    color: white;
    border-radius: var(--border-radius-full);
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.timeline-content p {
    color: var(--gray-600);
    margin: 0;
}

@media screen and (max-width: 768px) {
    .timeline::after {
        left: 31px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .timeline-item::after {
        left: 21px;
    }

    .timeline-right {
        left: 0;
    }
}

/* Call to Action */
.cta {
    padding: 4rem 0;
    background-color: var(--primary-color);
    position: relative;
    overflow: hidden;
}

.cta-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("cta-pattern.png");
    background-repeat: repeat;
    opacity: 0.1;
}

.cta-content {
    position: relative;
    z-index: 1;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    text-align: center;
    color: white;
    max-width: 64rem;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

/* Footer */
footer {
    background-color: var(--gray-900);
    color: white;
    padding: 4rem 0 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer-logo img {
    height: 4rem;
    width: auto;
    background-color: white;
    border-radius: 50%;
    padding: 0.25rem;
}

.footer-logo-text h3 {
    font-weight: 700;
    font-size: 1.125rem;
    line-height: 1.2;
    margin: 0;
}

.footer-logo-text p {
    color: var(--secondary-color);
    font-size: 0.875rem;
    margin: 0;
}

.footer-about p {
    color: var(--gray-400);
    margin-bottom: 1rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    color: var(--gray-400);
    transition: var(--transition);
}

.footer-social a:hover {
    color: var(--secondary-color);
}

.footer-heading {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--gray-700);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--gray-400);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--gray-400);
}

.footer-contact li i {
    color: var(--secondary-color);
    margin-top: 0.25rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-800);
    color: var(--gray-500);
    font-size: 0.875rem;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 20rem;
    height: 100vh;
    background-color: var(--primary-color);
    z-index: 1000;
    padding: 2rem;
    transition: right 0.3s ease;
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.mobile-menu li {
    margin-bottom: 1rem;
}

.mobile-menu a {
    color: white;
    font-size: 1.125rem;
    font-weight: 600;
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu .btn {
    margin-top: 1rem;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
}

.overlay.active {
    display: block;
}

/* Utility Classes */
.text-primary {
    color: var(--primary-color);
}

.text-secondary {
    color: var(--secondary-color);
}

.text-accent {
    color: var(--accent-color);
}

.bg-gray-50 {
    background-color: var(--gray-100);
}

.mb-0 {
    margin-bottom: 0;
}
