:root {
    --primary-color: #0f3460;
    --secondary-color: #e94560;
    --text-color: #333333;
    --text-light: #777777;
    --bg-light: #f5f5f5;
    --white: #ffffff;
    --transition: all 0.3s ease-in-out;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

.py-large {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.mt-4 {
    margin-top: 2rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-large {
    padding: 14px 32px;
    font-size: 1.1rem;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-light {
    background-color: var(--white);
    color: var(--secondary-color);
}

.btn-light:hover {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

/* Top Header */
.top-header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 8px 0;
    font-size: 0.85rem;
    z-index: 1001;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.top-header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-header-left span,
.top-header-right span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: 20px;
}

.top-header-left span:first-child {
    margin-left: 0;
}

@media (max-width: 768px) {
    .top-header {
        display: none;
    }
    .navbar {
        top: 0 !important;
    }
}

/* Navbar */
.navbar {
    position: fixed;
    top: 35px;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(0,0,0,0.05);
    padding: 15px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
}

.logo-sharda {
    color: var(--primary-color);
}

.logo-global {
    color: var(--secondary-color);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    color: var(--primary-color);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--secondary-color);
    position: relative;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(10, 25, 47, 0.7), rgba(10, 25, 47, 0.8)),
                url('images/6b38a9a137.jpg') center/cover no-repeat;
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    color: var(--white);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(15, 52, 96, 0.9), rgba(15, 52, 96, 0.4));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

/* About Section */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.section-badge {
    display: inline-block;
    padding: 5px 15px;
    background-color: rgba(233, 69, 96, 0.1);
    color: var(--secondary-color);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.about-text h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 30px;
}

.feature-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.feature-list i {
    color: var(--secondary-color);
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stat-box {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-bottom: 3px solid var(--secondary-color);
    transition: var(--transition);
}

.stat-box:hover {
    transform: translateY(-5px);
}

.stat-box h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-box p {
    color: var(--text-light);
    font-weight: 500;
}

/* Facilities */
.section-title {
    font-size: 2.5rem;
    color: #0ea5e9; /* Light Blue */
    margin-bottom: 10px;
}

.section-subtitle {
    color: var(--text-light);
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.grid-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.gallery-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.gallery-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.img-wrapper {
    height: 200px;
    overflow: hidden;
}

.img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-card:hover .img-wrapper img {
    transform: scale(1.1);
}

.card-content {
    padding: 20px;
    text-align: left;
}

.card-content h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.card-content p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), #1a1a2e);
    color: var(--white);
    padding: 80px 0;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Footer */
footer {
    background-color: #0b0b1a;
    color: #aaaaaa;
    padding-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-info h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.footer-info p {
    line-height: 1.8;
}

.footer-links h4, .footer-contact h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-contact ul li {
    margin-bottom: 15px;
    display: flex;
    gap: 15px;
}

.footer-contact i {
    color: var(--secondary-color);
    margin-top: 5px;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards;
}

.delay-1 { animation-delay: 0.3s; }
.delay-2 { animation-delay: 0.6s; }

.delay-3 { animation-delay: 0.9s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.animate-on-scroll.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Home Stats Section */
.home-stats-section {
    padding: 60px 0 20px 0;
    background-color: var(--white);
    position: relative;
    z-index: 10;
    margin-top: -80px; /* pull up over the hero */
}

.home-stats-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.home-stat-card {
    background-color: #eff3ff;
    border-radius: 12px;
    padding: 40px 20px;
    flex: 1;
    min-width: 220px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    transition: var(--transition);
}

.home-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(37, 84, 199, 0.1);
}

.home-stat-card .stat-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px auto;
    background-color: #dfe5fa;
    color: #2554c7;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.home-stat-card h3 {
    color: #2554c7;
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 5px;
}

.home-stat-card p {
    color: #7a8499;
    font-size: 0.95rem;
    font-weight: 500;
}

/* Leadership Section */
.leadership-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 20px;
}

.leader-card {
    display: flex;
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    align-items: stretch;
    min-height: 400px;
}

.leader-image {
    flex: 0 0 45%;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    position: relative;
}

.leader-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 320px;
    height: 380px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
}

.leader-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: var(--transition);
}

.leader-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px 20px 20px 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%);
    color: var(--white);
    z-index: 2;
}

.leader-card:hover .leader-image-wrapper {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.leader-card:hover .leader-image-wrapper img {
    transform: scale(1.05);
}

.leader-image-overlay h3 {
    font-size: 1.8rem;
    margin-bottom: 2px;
}

.leader-image-overlay p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.leader-content {
    flex: 1;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.quote-icon {
    font-size: 3rem;
    color: #e0e7ff;
    margin-bottom: -15px;
    line-height: 1;
}

.leader-msg {
    font-size: 1.1rem;
    font-style: italic;
    color: #4b5563;
    margin-bottom: 20px;
    line-height: 1.8;
}

.leader-divider {
    border: none;
    height: 2px;
    background-color: #2563eb;
    width: 40px;
    margin-bottom: 25px;
}

.leader-points-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px 20px;
}

.leader-points-grid li {
    font-size: 0.85rem;
    color: #1f2937;
    font-weight: 600;
    position: relative;
    padding-left: 15px;
    line-height: 1.4;
}

.leader-points-grid li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 6px;
    height: 6px;
    background-color: #2563eb;
    border-radius: 50%;
}

/* Responsive */
@media (max-width: 992px) {
    .about-container {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .leader-card, .leader-card[style*="flex-direction: row-reverse;"] {
        flex-direction: column !important;
    }

    .leader-image {
        width: 100%;
        min-height: auto;
        padding: 40px 20px;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
    }

    .leader-points-grid {
        grid-template-columns: 1fr;
    }
}
