:root {
    /* Color Palette */
    --primary-color: #0a2463;
    --secondary-color: #3e92cc;
    --accent-color: #1e88e5;
    --success-color: #00c853;
    --dark-bg: #0d1b2a;
    --light-bg: #f8f9fa;
    --text-dark: #1a1a1a;
    --text-light: #ffffff;
    --text-muted: #6c757d;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #0a2463 0%, #3e92cc 100%);
    --gradient-secondary: linear-gradient(135deg, #1e88e5 0%, #00c853 100%);
    --gradient-overlay: linear-gradient(135deg, rgba(10, 36, 99, 0.9) 0%, rgba(62, 146, 204, 0.8) 100%);
    
    /* Spacing */
    --section-padding: 100px 0;
    --card-padding: 2rem;
    
    /* Typography */
    --font-heading: 'Inter', sans-serif;
    --font-body: 'Roboto', sans-serif;
    
    /* Effects */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
}

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

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
}

/* Navigation */
.navbar {
    padding: 1rem 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(10, 36, 99, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
}

.navbar-brand {
    font-size: 1.3rem;
    font-weight: 700;
    font-family: var(--font-heading);
    transition: var(--transition);
}

.navbar-brand:hover {
    transform: translateY(-2px);
}

.nav-link {
    font-weight: 500;
    margin: 0 0.5rem;
    position: relative;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-primary);
    color: var(--text-light);
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.05)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,138.7C960,139,1056,117,1152,101.3C1248,85,1344,75,1392,69.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    background-position: bottom;
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(30, 136, 229, 0.2) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    margin-bottom: 3rem;
    opacity: 0.95;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    margin-top: 3rem;
}

.cta-text {
    font-size: clamp(1.3rem, 2.5vw, 2rem);
    font-weight: 600;
    margin-bottom: 2rem;
}

.btn-cta {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-primary {
    background: var(--accent-color);
    border: none;
}

.btn-primary:hover {
    background: #1565c0;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--text-light);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    color: var(--text-light);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Section Styling */
.section-padding {
    padding: var(--section-padding);
}

.section-header {
    margin-bottom: 4rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.section-divider {
    width: 80px;
    height: 4px;
    background: var(--gradient-secondary);
    margin: 0 auto 1rem;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
}

/* Glass Card Effect */
.glass-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: var(--card-padding);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

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

/* Pillar Cards */
.pillar-card {
    height: 100%;
    text-align: center;
}

.pillar-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--text-light);
    transition: var(--transition);
}

.pillar-card:hover .pillar-icon {
    transform: rotate(10deg) scale(1.1);
}

.pillar-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.pillar-card p {
    color: var(--text-muted);
    font-size: 1rem;
}

/* Mission & Vision Cards */
.mission-vision-card {
    text-align: center;
    padding: 3rem 2rem;
}

.mv-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
    background: var(--gradient-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--text-light);
    transition: var(--transition);
}

.mission-vision-card:hover .mv-icon {
    transform: scale(1.1);
}

.mission-vision-card h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.mission-vision-card p {
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* Value Cards */
.value-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
}

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

.value-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1rem;
    background: var(--gradient-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--text-light);
}

.value-card h4 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.value-card p {
    color: var(--text-muted);
    margin: 0;
}

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

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gradient-primary);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-light);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    box-shadow: var(--shadow-md);
}

.timeline-content {
    width: calc(50% - 50px);
    padding: 1.5rem;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: auto;
    text-align: right;
}

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

.timeline-content h4 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

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

/* Service Cards */
.service-card {
    text-align: center;
    padding: 2.5rem 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-secondary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--text-light);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-card h4 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin: 0;
}

/* Why Choose Us Cards */
.why-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.why-card:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
}

.why-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-color);
    opacity: 0.3;
    min-width: 60px;
}

.why-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.why-content i {
    font-size: 1.5rem;
    color: var(--success-color);
}

.why-content p {
    margin: 0;
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 500;
}

/* CTA Section */
.bg-gradient {
    background: var(--gradient-primary);
    color: var(--text-light);
}

.cta-box {
    padding: 3rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-box h2 {
    color: var(--text-light);
}

.cta-box .lead {
    font-size: 1.2rem;
    opacity: 0.95;
}

/* Footer */
.footer {
    background: var(--dark-bg);
    color: var(--text-light);
    padding: 3rem 0 1.5rem;
}

.footer h5 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.footer-links,
.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

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

.footer-contact li {
    color: rgba(255, 255, 255, 0.7);
}

.footer hr {
    border-color: rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 991px) {
    .timeline::before {
        left: 30px;
    }
    
    .timeline-icon {
        left: 30px;
    }
    
    .timeline-item {
        flex-direction: row !important;
    }
    
    .timeline-content {
        width: calc(100% - 100px);
        margin-left: auto !important;
        text-align: left !important;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
        --card-padding: 1.5rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .btn-cta {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
    
    .why-card {
        flex-direction: column;
        text-align: center;
    }
    
    .why-number {
        min-width: auto;
    }
}

/* Utility Classes */
.bg-light {
    background-color: var(--light-bg) !important;
}

/* Smooth Animations */
[data-aos] {
    pointer-events: auto;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}
