/* ===================================
   RESET & BASE STYLES
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette - Royal Blue, Maroon, Gold */
    --royal-blue: #1e3a8a;
    --dark-blue: #0f172a;
    --light-blue: #3b82f6;
    --maroon: #800020;
    --dark-maroon: #5c0016;
    --gold: #d4af37;
    --light-gold: #f4d03f;
    --white: #ffffff;
    --off-white: #f8fafc;
    --light-gray: #e2e8f0;
    --gray: #64748b;
    --dark-gray: #334155;

    /* Typography */
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;

    /* Spacing */
    --section-padding: 100px;
    --container-padding: 20px;

    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--dark-gray);
    line-height: 1.7;
    overflow-x: hidden;
    background-color: var(--white);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

/* ===================================
   UTILITY CLASSES
   =================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 20px;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--maroon), var(--gold));
    margin: 0 auto 20px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--royal-blue) 50%, var(--maroon) 100%);
    color: var(--white);
    padding: 60px 20px;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: center;
}

.hero-image-container {
    position: relative;
}

.hero-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3),
                0 0 0 10px rgba(212, 175, 55, 0.2);
    border: 5px solid var(--gold);
    transition: var(--transition-smooth);
}

.hero-image:hover {
    transform: scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4),
                0 0 0 10px rgba(212, 175, 55, 0.3);
}

.hero-text {
    text-align: left;
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 10px;
    font-style: italic;
    color: var(--light-gold);
}

.hero-author {
    font-size: 1rem;
    color: var(--gold);
    margin-bottom: 30px;
    font-style: italic;
}

.hero-subheading {
    font-family: var(--font-sans);
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 20px;
    color: var(--white);
}

.hero-name {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
}

.hero-title {
    font-size: 1.1rem;
    color: var(--light-gray);
    margin-bottom: 40px;
}

.cta-button {
    display: inline-block;
    padding: 16px 40px;
    background: linear-gradient(135deg, var(--gold), var(--light-gold));
    color: var(--dark-blue);
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: var(--transition-smooth);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.5);
    background: linear-gradient(135deg, var(--light-gold), var(--gold));
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-indicator span {
    display: block;
    width: 30px;
    height: 50px;
    border: 2px solid var(--gold);
    border-radius: 25px;
    position: relative;
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    width: 6px;
    height: 10px;
    background: var(--gold);
    border-radius: 3px;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0%, 100% {
        top: 10px;
        opacity: 1;
    }
    50% {
        top: 25px;
        opacity: 0.5;
    }
}

/* ===================================
   ANIMATIONS
   =================================== */
.fade-in {
    animation: fadeIn 1s ease-in;
}

.fade-in-up {
    animation: fadeInUp 1s ease-out;
}

.fade-in-up.delay-1 {
    animation-delay: 0.2s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.fade-in-up.delay-2 {
    animation-delay: 0.4s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.fade-in-up.delay-3 {
    animation-delay: 0.6s;
    opacity: 0;
    animation-fill-mode: forwards;
}

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

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================
   CHANCELLOR MESSAGE SECTION
   =================================== */
.chancellor-message {
    padding: var(--section-padding) 0;
    background: linear-gradient(135deg, var(--maroon) 0%, var(--dark-maroon) 100%);
    position: relative;
    overflow: hidden;
}

.chancellor-message::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.message-content {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    color: var(--white);
}

.quote-icon {
    font-size: 120px;
    line-height: 0.5;
    color: var(--gold);
    font-family: var(--font-serif);
    opacity: 0.3;
    margin-bottom: 20px;
}

.chancellor-quote {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 30px;
    position: relative;
}

.quote-attribution {
    font-size: 1.2rem;
    color: var(--gold);
    font-weight: 600;
}

/* ===================================
   ABOUT SECTION
   =================================== */
.about {
    padding: var(--section-padding) 0;
    background-color: var(--off-white);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.9;
}

.about-intro {
    font-size: 1.3rem;
    color: var(--dark-blue);
    margin-bottom: 30px;
    line-height: 1.8;
}

.about-text p {
    margin-bottom: 25px;
}

.about-text strong {
    color: var(--maroon);
    font-weight: 600;
}

.linkedin-link {
    margin-top: 40px;
    text-align: center;
}

.social-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    background-color: #0077b5;
    color: var(--white);
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition-smooth);
    box-shadow: 0 5px 15px rgba(0, 119, 181, 0.3);
}

.social-button:hover {
    background-color: #005582;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 119, 181, 0.4);
}

/* ===================================
   INSTITUTIONS SECTION
   =================================== */
.institutions {
    padding: var(--section-padding) 0;
    background: linear-gradient(to bottom, var(--white), var(--off-white));
}

.institutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.institution-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition-smooth);
    border: 2px solid transparent;
}

.institution-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border-color: var(--gold);
}

.card-image {
    padding: 40px;
    background: linear-gradient(135deg, var(--royal-blue), var(--maroon));
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

.institution-logo {
    max-width: 200px;
    height: auto;
    filter: brightness(0) invert(1);
}

.card-content {
    padding: 30px;
}

.card-title {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    color: var(--dark-blue);
    margin-bottom: 15px;
}

.card-description {
    font-size: 1rem;
    color: var(--gray);
    margin-bottom: 20px;
    line-height: 1.7;
}

.card-features {
    list-style: none;
    margin-bottom: 25px;
}

.card-features li {
    padding: 8px 0;
    color: var(--dark-gray);
    font-size: 0.95rem;
}

.card-link {
    display: inline-block;
    color: var(--maroon);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.card-link:hover {
    color: var(--gold);
    transform: translateX(5px);
}

/* ===================================
   LEADERSHIP SECTION
   =================================== */
.leadership {
    padding: var(--section-padding) 0;
    background-color: var(--white);
}

.vision-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.vision-card {
    text-align: center;
    padding: 40px 30px;
    background: var(--off-white);
    border-radius: 15px;
    transition: var(--transition-smooth);
    border: 2px solid transparent;
}

.vision-card:hover {
    transform: translateY(-5px);
    background: var(--white);
    border-color: var(--gold);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.vision-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.vision-card h3 {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    color: var(--dark-blue);
    margin-bottom: 15px;
}

.vision-card p {
    color: var(--gray);
    line-height: 1.7;
}

/* ===================================
   IMPACT SECTION
   =================================== */
.impact {
    padding: var(--section-padding) 0;
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--royal-blue) 100%);
    position: relative;
    overflow: hidden;
}

.impact-overlay {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(128, 0, 32, 0.1) 0%, transparent 50%);
}

.section-header.light .section-title,
.section-header.light .section-subtitle {
    color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-top: 60px;
    position: relative;
    z-index: 2;
}

.stat-card {
    text-align: center;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 2px solid rgba(212, 175, 55, 0.3);
    transition: var(--transition-smooth);
}

.stat-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--gold);
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 10px;
}

.stat-number::after {
    content: '+';
    margin-left: 5px;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--white);
    font-weight: 500;
}

/* ===================================
   ACHIEVEMENTS / TIMELINE SECTION
   =================================== */
.achievements {
    padding: var(--section-padding) 0;
    background: linear-gradient(to bottom, var(--off-white), var(--white));
}

.timeline {
    max-width: 900px;
    margin: 60px auto 0;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, var(--maroon), var(--gold));
    transform: translateX(-50%);
}

.timeline-item {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 40px;
    margin-bottom: 60px;
    position: relative;
}

.timeline-item:nth-child(even) .timeline-year {
    order: 3;
}

.timeline-item:nth-child(even) .timeline-content {
    order: 1;
    text-align: right;
}

.timeline-year {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--maroon);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.timeline-year::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--gold);
    border-radius: 50%;
    border: 4px solid var(--white);
    box-shadow: 0 0 0 4px var(--maroon);
}

.timeline-item:nth-child(odd) .timeline-year::after {
    right: -50px;
}

.timeline-item:nth-child(even) .timeline-year::after {
    left: -50px;
}

.timeline-content {
    padding: 30px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition-smooth);
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.timeline-content h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--dark-blue);
    margin-bottom: 10px;
}

.timeline-content p {
    color: var(--gray);
    line-height: 1.7;
}

/* ===================================
   FUTURE-READY SECTION
   =================================== */
.future-ready {
    padding: var(--section-padding) 0;
    background: var(--white);
}

.future-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 35px;
    margin-top: 40px;
}

.future-card {
    text-align: center;
    padding: 40px 25px;
    background: linear-gradient(135deg, var(--off-white), var(--white));
    border-radius: 15px;
    border: 2px solid var(--light-gray);
    transition: var(--transition-smooth);
}

.future-card:hover {
    transform: translateY(-8px);
    border-color: var(--gold);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.future-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.future-card h3 {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    color: var(--dark-blue);
    margin-bottom: 12px;
}

.future-card p {
    color: var(--gray);
    line-height: 1.7;
}

/* ===================================
   HOLISTIC DEVELOPMENT SECTION
   =================================== */
.holistic {
    padding: var(--section-padding) 0;
    background: linear-gradient(135deg, var(--maroon) 0%, var(--dark-maroon) 100%);
    color: var(--white);
}

.holistic-content {
    max-width: 900px;
    margin: 0 auto;
}

.holistic h2 {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 30px;
    text-align: center;
}

.holistic-intro {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 30px;
    text-align: center;
}

.holistic-list {
    list-style: none;
    margin-top: 40px;
}

.holistic-list li {
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 1.1rem;
    line-height: 1.8;
}

.holistic-list li:last-child {
    border-bottom: none;
}

.holistic-list strong {
    color: var(--gold);
    font-weight: 600;
}

/* ===================================
   CALL TO ACTION SECTION
   =================================== */
.cta-section {
    padding: var(--section-padding) 0;
    background: linear-gradient(135deg, var(--royal-blue) 0%, var(--dark-blue) 100%);
    color: var(--white);
    text-align: center;
}

.cta-title {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 20px;
}

.cta-text {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button.primary {
    background: linear-gradient(135deg, var(--gold), var(--light-gold));
    color: var(--dark-blue);
}

.cta-button.secondary {
    background: transparent;
    border: 2px solid var(--gold);
    color: var(--gold);
}

.cta-button.secondary:hover {
    background: var(--gold);
    color: var(--dark-blue);
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    padding: 60px 0 30px;
    background-color: var(--dark-blue);
    color: var(--white);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    color: var(--gold);
    margin-bottom: 20px;
}

.footer-section p {
    margin-bottom: 10px;
    color: var(--light-gray);
    font-size: 0.95rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--light-gray);
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--gold);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 175, 55, 0.2);
    border-radius: 50%;
    transition: var(--transition-smooth);
}

.social-links a:hover {
    background: var(--gold);
    transform: translateY(-3px);
}

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

.footer-bottom p {
    color: var(--light-gray);
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.footer-tagline {
    color: var(--gold);
    font-style: italic;
    font-family: var(--font-serif);
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 968px) {
    :root {
        --section-padding: 70px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text {
        text-align: center;
    }

    .hero-image {
        margin: 0 auto;
    }

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

    .hero-subheading {
        font-size: 1.2rem;
    }

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

    .timeline::before {
        left: 30px;
    }

    .timeline-item {
        grid-template-columns: auto 1fr;
        gap: 30px;
        padding-left: 30px;
    }

    .timeline-item:nth-child(even) .timeline-year {
        order: 1;
    }

    .timeline-item:nth-child(even) .timeline-content {
        order: 2;
        text-align: left;
    }

    .timeline-year::after {
        left: -30px !important;
    }

    .timeline-content {
        padding: 20px;
    }
}

@media (max-width: 640px) {
    :root {
        --section-padding: 50px;
    }

    .hero {
        padding: 40px 15px;
    }

    .hero-headline {
        font-size: 1.5rem;
    }

    .hero-name {
        font-size: 1.5rem;
    }

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

    .chancellor-quote {
        font-size: 1.2rem;
    }

    .institutions-grid,
    .vision-cards,
    .future-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .cta-button {
        width: 100%;
    }
}

/* ===================================
   ACCESSIBILITY
   =================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for keyboard navigation */
a:focus,
button:focus {
    outline: 3px solid var(--gold);
    outline-offset: 3px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --royal-blue: #0000ff;
        --maroon: #800000;
        --gold: #ffd700;
    }
}