/* ==========================================================================
   CSS Variables & Global Styles
   ========================================================================== */
:root {
    /* Colors */
    --primary: #2563EB; /* Royal Blue */
    --primary-dark: #1D4ED8;
    --navy: #0F172A; /* Deep Navy for premium contrast */
    --navy-light: #1E293B;
    --white: #FFFFFF;
    --bg-soft: #F8FAFC; /* Soft Gray */
    --accent: #D4AF37; /* Gold accent */
    --accent-light: #FDF6E3;
    
    /* Typography */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Text Colors */
    --text-dark: #0F172A;
    --text-muted: #475569;
    --text-light: #F1F5F9;
    
    /* Layout */
    --container-width: 1200px;
    --section-padding: 5rem 0;
    
    /* Effects */
    --shadow-soft: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
    --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-gold: 0 10px 25px -5px rgba(212, 175, 55, 0.2);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --radius: 12px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--navy);
    line-height: 1.2;
}

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

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

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

section {
    padding: var(--section-padding);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--accent);
    border-radius: 2px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn-primary, .btn-secondary, .btn-icon, .btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-heading);
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    border: 2px solid var(--primary);
    box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background-color: var(--accent);
    color: var(--navy);
    border: 2px solid var(--accent);
    box-shadow: var(--shadow-gold);
}

.btn-secondary:hover {
    background-color: transparent;
    color: var(--accent);
    transform: translateY(-2px);
}

.btn-icon {
    background-color: var(--navy);
    color: var(--white);
    border: 2px solid var(--navy);
}

.btn-icon:hover {
    background-color: var(--navy-light);
    border-color: var(--navy-light);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1.25rem 0;
    transition: var(--transition);
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.navbar.scrolled {
    padding: 0.75rem 0;
    box-shadow: var(--shadow-soft);
}

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

.logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--navy);
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-dark);
}

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

.nav-links .btn-outline {
    padding: 0.5rem 1.25rem;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--navy);
    cursor: pointer;
}

/* ==========================================================================
   Floating WhatsApp
   ========================================================================== */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
    z-index: 999;
    transition: var(--transition);
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.4);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    padding-top: 150px;
    padding-bottom: 5rem;
    background: linear-gradient(135deg, var(--white) 0%, var(--bg-soft) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-intro {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-profile-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow-hover);
    border-top: 5px solid var(--primary);
}

.hero-profile-img {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    display: block;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.about-content p:last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   Education Section
   ========================================================================== */
.edu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.edu-card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    border: 1px solid #E2E8F0;
}

.edu-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}

.edu-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.edu-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.edu-subject {
    color: var(--accent);
    font-weight: 600;
    font-size: 1.1rem;
}

/* ==========================================================================
   Journey Section (Timeline)
   ========================================================================== */
.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 100%;
    background-color: var(--primary);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    top: 0;
    left: -2.45rem;
    width: 20px;
    height: 20px;
    background-color: var(--accent);
    border: 4px solid var(--white);
    border-radius: 50%;
    box-shadow: 0 0 0 2px var(--primary);
}

.timeline-content {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.timeline-content:hover {
    box-shadow: var(--shadow-hover);
    transform: translateX(5px);
}

.timeline-year {
    display: inline-block;
    background: var(--navy);
    color: var(--white);
    padding: 0.25rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.timeline-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: var(--text-muted);
}

/* ==========================================================================
   Leadership Section
   ========================================================================== */
.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.leadership-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid #E2E8F0;
}

.leadership-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.card-accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--navy));
}

.leadership-card h3 {
    font-size: 1.25rem;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.leadership-card p {
    color: var(--text-muted);
    font-weight: 500;
}

/* ==========================================================================
   Achievements Section
   ========================================================================== */
.award-showcase {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    border-radius: 20px;
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    color: var(--white);
    max-width: 900px;
    margin: 0 auto;
    box-shadow: var(--shadow-hover);
}

.award-showcase::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212,175,55,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.award-icon-wrapper {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 3rem;
    color: var(--accent);
    border: 2px solid var(--accent);
}

.award-title {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.award-year {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.award-desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ==========================================================================
   Social Service Section
   ========================================================================== */
.social-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.social-item {
    background: var(--white);
    padding: 1.5rem 2rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid #E2E8F0;
    transition: var(--transition);
}

.social-item:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: translateY(-3px);
}

.social-item i {
    font-size: 1.5rem;
    color: var(--accent);
}

.social-item:hover i {
    color: var(--white);
}

.social-item h3 {
    font-size: 1rem;
    font-family: var(--font-body);
    font-weight: 600;
    color: inherit;
    margin: 0;
}

/* ==========================================================================
   Media Section
   ========================================================================== */
.media-subtitle {
    text-align: center;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-top: -2rem;
    margin-bottom: 3rem;
}

.media-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.media-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    font-weight: 600;
    font-size: 1.1rem;
}

.media-card i {
    font-size: 1.5rem;
}

.media-card.x-twitter:hover { background: #000; color: #fff; }
.media-card.youtube:hover { background: #FF0000; color: #fff; }
.media-card.linkedin:hover { background: #0077B5; color: #fff; }
.media-card.facebook:hover { background: #1877F2; color: #fff; }
.media-card.instagram:hover { 
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); 
    color: #fff; 
}

/* ==========================================================================
   Gallery Section
   ========================================================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-placeholder {
    background: var(--bg-soft);
    height: 250px;
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: var(--text-muted);
    border: 2px dashed #CBD5E1;
    transition: var(--transition);
}

.gallery-placeholder:hover {
    border-color: var(--primary);
    background: rgba(37, 99, 235, 0.05);
    color: var(--primary);
}

.gallery-placeholder i {
    font-size: 2.5rem;
}

.gallery-placeholder span {
    font-weight: 600;
    font-size: 1.1rem;
}

/* ==========================================================================
   Testimonials Section
   ========================================================================== */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    position: relative;
}

.quote-icon {
    position: absolute;
    top: 2rem;
    left: 2rem;
    font-size: 3rem;
    color: var(--bg-soft);
    z-index: 0;
}

.testimonial-card p {
    position: relative;
    z-index: 1;
    font-size: 1.05rem;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.testimonial-card h4 {
    position: relative;
    z-index: 1;
    color: var(--navy);
    font-size: 1.1rem;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-cta {
    text-align: center;
    font-size: 1.5rem;
    font-family: var(--font-heading);
    color: var(--primary);
    font-weight: 600;
    margin-top: -2rem;
    margin-bottom: 4rem;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    background: var(--white);
    padding: 4rem;
    border-radius: 20px;
    box-shadow: var(--shadow-hover);
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.icon-circle {
    width: 60px;
    height: 60px;
    background: var(--bg-soft);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
}

.info-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.info-item a {
    color: var(--text-muted);
}

.info-item a:hover {
    color: var(--primary);
}

.contact-social {
    display: flex;
    gap: 1rem;
    margin-top: 3rem;
}

.contact-social a {
    width: 45px;
    height: 45px;
    background: var(--navy);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

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

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 1px solid #CBD5E1;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--bg-soft);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background: var(--navy);
    color: var(--white);
    padding: 4rem 0 0;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    padding-bottom: 3rem;
}

.footer-brand h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.5rem;
}

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

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 1.5rem 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 992px) {
    .hero-container,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .hero {
        padding-top: 120px;
        text-align: center;
    }

    .hero-intro {
        margin: 0 auto 2.5rem auto;
    }

    .hero-ctas {
        justify-content: center;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .contact-wrapper {
        padding: 3rem 2rem;
    }

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

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        transition: var(--transition);
    }
    
    .nav-links.active {
        left: 0;
    }

    .nav-links a {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-profile-card {
        padding: 1rem;
        max-width: 400px;
        margin: 0 auto;
    }

    .edu-grid,
    .gallery-grid,
    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .award-showcase {
        padding: 3rem 1.5rem;
    }

    .award-title {
        font-size: 1.5rem;
    }

    .timeline {
        padding-left: 1rem;
    }

    .timeline::before {
        left: 0;
    }

    .timeline-dot {
        left: -2.7rem;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-intro {
        font-size: 1rem;
    }

    .btn-primary, .btn-secondary, .btn-icon {
        width: 100%;
        padding: 0.75rem 1rem;
    }

    .leadership-grid {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        padding: 2rem 1.5rem;
    }

    .info-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .contact-social {
        justify-content: center;
    }

    .section-title {
        font-size: 1.75rem;
    }
    
    .floating-whatsapp {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        bottom: 20px;
        right: 20px;
    }
}
