:root {
    --color-primary: #0e3b6f;
    --color-secondary: #1f7a8c;
    --color-accent: #f5a524;
    --color-dark: #0d1b2a;
    --color-light: #f4f7fb;
    --color-text: #1b263b;
    --radius: 1rem;
    --shadow-soft: 0 12px 30px rgba(13, 27, 42, 0.08);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Manrope', sans-serif;
    color: var(--color-text);
    line-height: 1.7;
    background: #ffffff;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Source Serif 4', serif;
    color: var(--color-dark);
    line-height: 1.2;
}

a {
    color: inherit;
    text-decoration: none;
}

.site-header .navbar {
    background: linear-gradient(110deg, var(--color-primary), #19589b 45%, var(--color-secondary));
    padding-top: 0.9rem;
    padding-bottom: 0.9rem;
}

.navbar-brand {
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.navbar-brand strong {
    font-size: 1rem;
    letter-spacing: 0.2px;
}

.navbar-brand small {
    font-size: 0.74rem;
    opacity: 0.9;
}

.brand-mark {
    width: 2.3rem;
    height: 2.3rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.35);
    font-weight: 800;
}

.navbar .nav-link {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    margin-left: 0.5rem;
}

.navbar .nav-link.active,
.navbar .nav-link:hover {
    color: #fff;
}

.hero-section {
    position: relative;
    padding: 5.5rem 0;
    overflow: hidden;
    background: radial-gradient(circle at 10% 20%, #235ca4, #0e3059 60%, #0a1d35);
    color: #f6f9ff;
}

.hero-section::before,
.hero-section::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(1px);
}

.hero-section::before {
    width: 360px;
    height: 360px;
    right: -80px;
    top: -120px;
    background: rgba(245, 165, 36, 0.24);
}

.hero-section::after {
    width: 280px;
    height: 280px;
    left: -110px;
    bottom: -120px;
    background: rgba(43, 187, 200, 0.2);
}

.hero-section h1,
.hero-section h2,
.hero-section h3 {
    color: #fff;
}

.hero-section .lead {
    opacity: 0.96;
    max-width: 36rem;
}

.hero-badge {
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    margin-bottom: 1rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
}

.hero-stats div {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.75rem;
    text-align: center;
    padding: 0.85rem 0.5rem;
}

.hero-stats strong {
    display: block;
    color: #fff;
    font-size: 1.15rem;
}

.hero-stats span {
    font-size: 0.78rem;
    opacity: 0.88;
}

.enquiry-card {
    background: rgba(255, 255, 255, 0.97);
    color: var(--color-text);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-soft);
}

.section-space {
    padding: 5rem 0;
}

.section-alt {
    background: var(--color-light);
}

.section-heading {
    margin-bottom: 2.2rem;
}

.section-heading h2 {
    margin-bottom: 0.65rem;
}

.section-heading p {
    max-width: 44rem;
    margin-inline: auto;
    color: #4f6077;
}

.icon-wrap {
    width: 2.9rem;
    height: 2.9rem;
    border-radius: 0.8rem;
    background: #eaf2ff;
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.course-card,
.feature-box,
.course-detail,
.contact-card,
.contact-form-wrap,
.testimonial-card,
.faculty-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
}

.course-card {
    position: relative;
    padding: 1.3rem;
    border: 1px solid #edf1f7;
}

.course-card h3 {
    margin: 0.85rem 0 0.6rem;
    font-size: 1.28rem;
}

.course-card a {
    font-weight: 700;
    color: var(--color-secondary);
}

.feature-box {
    padding: 1.5rem;
    border: 1px solid #edf1f7;
    height: 100%;
}

.feature-box i {
    font-size: 1.45rem;
    color: var(--color-secondary);
    margin-bottom: 0.7rem;
}

.testimonial-card {
    max-width: 760px;
    text-align: center;
    padding: 2rem;
    border: 1px solid #e9eef6;
}

.testimonial-text {
    font-size: 1.12rem;
    color: #374c67;
}

.carousel-control-next,
.carousel-control-prev {
    width: auto;
}

.carousel-control-next-icon,
.carousel-control-prev-icon {
    background-color: #123760;
    padding: 1.2rem;
    border-radius: 50%;
    background-size: 60%;
}

.cta-strip {
    padding: 2.4rem 0;
    background: linear-gradient(90deg, var(--color-primary), #1c639f);
    color: #fff;
}

.inner-hero {
    background: linear-gradient(120deg, #133d6f, #205d97);
    color: #fff;
    padding: 4rem 0;
}

.inner-hero h1,
.inner-hero p {
    color: #fff;
}

.about-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.about-metric {
    background: #fff;
    border-radius: 0.85rem;
    box-shadow: var(--shadow-soft);
    padding: 1.1rem;
    text-align: center;
}

.about-metric strong {
    display: block;
    font-size: 1.4rem;
    color: var(--color-primary);
}

.faculty-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-top-left-radius: var(--radius);
    border-top-right-radius: var(--radius);
}

.course-detail {
    padding: 1.5rem;
    border: 1px solid #ebf0f6;
}

.course-points li {
    margin-bottom: 0.55rem;
}

.course-points i {
    color: #0d8a45;
    margin-right: 0.45rem;
}

.gallery-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: center;
}

.btn-filter {
    border-radius: 999px;
    border: 1px solid #c7d4e6;
    color: #0d355f;
}

.btn-filter.active,
.btn-filter:hover {
    background: #113e6f;
    color: #fff;
    border-color: #113e6f;
}

.gallery-card {
    border-radius: 1rem;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-soft);
}

.gallery-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    inset: auto 0 0;
    background: linear-gradient(180deg, rgba(11, 23, 39, 0), rgba(11, 23, 39, 0.78));
    color: #fff;
    padding: 1.1rem;
}

.gallery-card:hover img {
    transform: scale(1.08);
}

.contact-card,
.contact-form-wrap {
    padding: 1.5rem;
}

.contact-card p i {
    color: var(--color-secondary);
    margin-right: 0.5rem;
}

.site-footer {
    background: #0d2137;
    color: #d6e3f2;
}

.site-footer h5 {
    color: #fff;
}

.footer-links li {
    margin-bottom: 0.45rem;
}

.footer-links a {
    color: #d6e3f2;
}

.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.13);
    padding: 0.95rem 0;
    font-size: 0.92rem;
}

.btn-accent {
    background: var(--color-accent);
    color: #1f1810;
    border: none;
    font-weight: 700;
}

.btn-accent:hover,
.btn-accent:focus {
    background: #e19217;
    color: #1f1810;
}

.whatsapp-float {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    width: 3.1rem;
    height: 3.1rem;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    z-index: 1200;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
}

.whatsapp-float:hover {
    color: #fff;
    transform: translateY(-1px);
}

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.reveal.visible {
    opacity: 1;
    transform: none;
}

@media (max-width: 991.98px) {
    .hero-section {
        padding: 4.5rem 0;
    }

    .section-space {
        padding: 4rem 0;
    }
}

@media (max-width: 767.98px) {
    .hero-stats {
        grid-template-columns: 1fr;
    }

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

    .faculty-card img {
        height: 240px;
    }

    .gallery-card img {
        height: 220px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}
