/* Color Scheme: Navy #0F2C5C | Coral #FF6B35 */

:root {
    --primary: #0F2C5C;
    --accent: #FF6B35;
    --light-bg: #F8F9FA;
    --text-dark: #2C3E50;
    --text-light: #6C757D;
    --white: #FFFFFF;
}
#header {
    position: sticky;
    top: 0;
    z-index: 1050;
}


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

html, body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}

/* Navbar */
.navbar {
    background-color: var(--primary) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.brand-accent {
    color: var(--accent);
}

.navbar-nav .nav-link {
    margin-left: 1rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--accent) !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary) 0%, #1a3a7a 100%);
    color: white;
    padding: 120px 0;
    min-height: 600px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 107, 53, 0.1);
    border-radius: 50%;
    z-index: 0;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease;
}

.hero-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
}

/* Buttons */
.btn-accent {
    background-color: var(--accent);
    border-color: var(--accent);
    color: white;
    font-weight: 600;
    padding: 0.75rem 2rem;
    transition: all 0.3s ease;
}

.btn-accent:hover {
    background-color: #E55A25;
    border-color: #E55A25;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

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

.btn-primary:hover {
    background-color: #0a1e3f;
    border-color: #0a1e3f;
}

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

/* Feature Cards */
.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid #e9ecef;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h4 {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Program Cards */
.program-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--accent);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(15, 44, 92, 0.15);
}

.program-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.program-card h4 {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.program-card a {
    display: inline-block;
    margin-top: 1rem;
}

/* Testimonial Cards */
.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border-top: 3px solid var(--accent);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.testimonial-card .stars {
    font-size: 0.9rem;
}

.testimonial-card p {
    color: var(--text-dark);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, #1a3a7a 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 107, 53, 0.15);
    border-radius: 50%;
    z-index: 0;
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    font-weight: 700;
    font-size: 2.5rem;
}

.cta-section p {
    font-size: 1.1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section .btn-light {
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-section .btn-light:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

/* Modal */
.modal-header {
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 1.5rem;
}

.modal-title {
    font-weight: 600;
    color: var(--primary);
}

.form-label {
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.form-control {
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 0.65rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

/* Footer */
footer {
    background-color: var(--primary) !important;
    color: white;
}

footer h6 {
    color: white;
    font-weight: 600;
}

footer a {
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--accent) !important;
}

.text-white-50 {
    color: rgba(255, 255, 255, 0.7);
}

/* Sections */
section {
    scroll-margin-top: 70px;
}

h2 {
    color: var(--primary);
    margin-bottom: 2rem;
}

/* Backgrounds */
.bg-primary {
    background-color: var(--primary) !important;
}

.bg-light {
    background-color: var(--light-bg) !important;
}

.accent-color {
    color: var(--accent);
}

/* Badge */
.badge {
    background-color: var(--accent) !important;
    color: white;
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
    border-radius: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        padding: 80px 0;
        min-height: 500px;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-section p {
        font-size: 1rem;
    }

    .cta-section h2 {
        font-size: 1.8rem;
    }

    .cta-section p {
        font-size: 1rem;
    }

    .d-flex.gap-3 {
        flex-direction: column;
    }

    .d-flex.gap-3 .btn {
        width: 100%;
    }

    .navbar-brand {
        font-size: 1.2rem;
    }

    .feature-card,
    .program-card,
    .testimonial-card {
        margin-bottom: 1.5rem;
    }
}

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

/* Utilities */
.max-width {
    max-width: 700px;
}

hr {
    opacity: 0.2;
}

.hero-slider {
    position: relative;
}

.hero-img {
    height: 65vh;        /* desktop height */
    object-fit: cover;
}

@media (max-width: 768px) {
    .hero-img {
        height: 40vh;    /* mobile height */
    }
}


.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        rgba(0, 0, 0, 0.55),
        rgba(0, 0, 0, 0.55)
    );
    display: flex;
    align-items: center;
}
@media (min-width: 992px) {
    .navbar .dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
    }
}
/* Facility Card Image Fix */
.facility-card img {
    width: 100%;
    height: 220px;        /* fixed height */
    object-fit: cover;   /* image crop ho kar fit hogi */
}

/* Card hover effect (optional) */
.facility-card {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.facility-card:hover {
    transform: translateY(-5px);
}

