/* Custom Styles for Resonance Samastipur */

:root {
    --ink-900: #101828;
    --ink-700: #344054;
    --ink-500: #667085;
    --sand-50: #faf7f2;
    --sand-100: #f3ede3;
    --gold-500: #c89f5d;
    --gold-600: #b08543;
    --navy-700: #1b2c4a;
    --navy-600: #223b63;
    --teal-500: #2a7f7d;
    --gradient: linear-gradient(120deg, rgba(200, 159, 93, 0.22), rgba(42, 127, 125, 0.16));
    --glass: rgba(255, 255, 255, 0.76);
    --shadow-soft: 0 20px 50px rgba(16, 24, 40, 0.12);
    --shadow-card: 0 14px 40px rgba(16, 24, 40, 0.12);
}

body {
    font-family: 'Manrope', sans-serif;
    color: var(--ink-700);
    background: radial-gradient(circle at top left, rgba(200, 159, 93, 0.15), transparent 45%),
        radial-gradient(circle at 60% 10%, rgba(42, 127, 125, 0.14), transparent 40%),
        var(--sand-50);
}

h1, h2, h3, h4, h5 {
    font-family: 'Playfair Display', serif;
    color: var(--ink-900);
    letter-spacing: -0.01em;
}

a {
    text-decoration: none;
}

#top-header {
    padding: 0.5rem 0;
    background: linear-gradient(90deg, var(--navy-700), var(--teal-500));
    font-size: 0.95rem;
}

#top-header a {
    color: rgba(255, 255, 255, 0.92);
}

#top-header a:hover {
    color: #fff;
}

.sticky-top {
    top: -1px; /* Small adjustment for shadow */
}

.navbar {
    backdrop-filter: blur(18px);
    background: var(--glass);
}

.resonance-nav {
    border-bottom: 1px solid rgba(16, 24, 40, 0.08);
}

.navbar-brand img {
    height: 44px;
}

.navbar .nav-link {
    color: var(--ink-700);
    font-weight: 600;
    position: relative;
}

.navbar .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0;
    height: 2px;
    background: var(--gold-500);
    transition: width 0.2s ease;
}

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

.navbar .nav-link:hover,
.navbar .nav-link:focus {
    color: var(--navy-700);
}

.navbar .dropdown-menu {
    border: none;
    border-radius: 18px;
    box-shadow: var(--shadow-card);
    padding: 1.25rem;
    margin-top: 1rem;
}

.mega-dropdown .dropdown-menu {
    width: min(760px, 90vw);
}

.mega-dropdown .mega-title {
    font-family: 'Manrope', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.75rem;
    color: var(--gold-600);
    margin-bottom: 0.75rem;
}

.mega-dropdown .dropdown-item {
    font-weight: 600;
    color: var(--ink-700);
    padding: 0.35rem 0;
}

.mega-dropdown .dropdown-item:hover {
    color: var(--navy-700);
    background: transparent;
}

.mega-dropdown .mega-cta {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(16, 24, 40, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-weight: 600;
    color: var(--ink-700);
}

.btn-primary {
    background: linear-gradient(120deg, var(--navy-700), var(--teal-500));
    border: none;
    box-shadow: 0 10px 24px rgba(27, 44, 74, 0.2);
}

.btn-primary:hover {
    background: linear-gradient(120deg, var(--navy-600), var(--teal-500));
}

.btn-outline-primary {
    border-color: var(--navy-700);
    color: var(--navy-700);
}

.btn-outline-primary:hover {
    background: var(--navy-700);
    border-color: var(--navy-700);
    color: #fff;
}

.hero-carousel {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    margin-bottom: 2.5rem;
}

.hero-carousel .carousel-item {
    position: relative;
    min-height: 520px;
}

.hero-carousel .carousel-item img {
    height: 520px;
    object-fit: cover;
    filter: saturate(110%);
}

.hero-carousel .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(16, 24, 40, 0.78), rgba(16, 24, 40, 0.2));
}

.hero-carousel .carousel-caption {
    position: absolute;
    left: 8%;
    right: 8%;
    bottom: 18%;
    z-index: 2;
    text-align: left;
    padding: 1.5rem 1.75rem;
    border-radius: 18px;
    background: rgba(16, 24, 40, 0.55);
    backdrop-filter: blur(6px);
}

.hero-carousel .carousel-caption h1 {
    color: #fff;
    font-size: clamp(2.5rem, 3vw, 3.6rem);
}

.hero-carousel .carousel-caption p {
    color: rgba(255, 255, 255, 0.86);
    max-width: 560px;
    font-size: 1.05rem;
    text-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.hero-carousel .section-kicker {
    color: rgba(255, 255, 255, 0.8);
}

.hero-actions .btn {
    margin-right: 0.75rem;
}

.hero-highlights {
    margin-top: -20px;
    position: relative;
    z-index: 2;
}

.hero-highlight-card {
    background: #fff;
    border-radius: 18px;
    padding: 1.5rem;
    box-shadow: var(--shadow-card);
}

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

.section-kicker {
    font-size: 0.9rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold-600);
    font-weight: 700;
}

.section-title {
    margin-bottom: 0.75rem;
}

.section-subtitle {
    color: var(--ink-500);
    max-width: 680px;
}

.course-card {
    border: none;
    background: #fff;
    border-radius: 20px;
    padding: 1.25rem;
    box-shadow: var(--shadow-card);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.course-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 45px rgba(16, 24, 40, 0.18);
}

.course-card .card-title {
    color: var(--navy-700);
}

.feature-card {
    background: #fff;
    border-radius: 18px;
    padding: 1.75rem;
    box-shadow: var(--shadow-card);
    height: 100%;
}

.stats-strip {
    background: var(--navy-700);
    color: #fff;
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: var(--shadow-soft);
}

.stats-strip h3 {
    color: #fff;
    margin-bottom: 0.25rem;
}

.testimonial-card {
    border: none;
    border-radius: 20px;
    padding: 1.75rem;
    background: #fff;
    box-shadow: var(--shadow-card);
}

.ranker-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    display: grid;
    grid-template-rows: 220px auto;
}

.ranker-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ranker-body {
    padding: 1.5rem;
}

.ranker-rank {
    color: var(--navy-700);
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.ranker-note {
    color: var(--ink-500);
    margin-bottom: 0;
}

.cta-band {
    background: linear-gradient(120deg, rgba(27, 44, 74, 0.95), rgba(42, 127, 125, 0.95)),
        url('../images/banner-2.jpeg') center/cover;
    border-radius: 24px;
    padding: 3rem;
    color: #fff;
}

.cta-band h2 {
    color: #fff;
}

.site-footer {
    background: #0b1423;
}

.site-footer .footer-title {
    color: #fff;
    font-weight: 700;
    margin-bottom: 1rem;
}

.site-footer .footer-text {
    color: rgba(255, 255, 255, 0.72);
}

.site-footer .footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
}

.site-footer .footer-links li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.site-footer .footer-links a {
    color: rgba(255, 255, 255, 0.72);
}

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

.site-footer .footer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.site-footer .footer-badges span {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    padding: 0.35rem 0.75rem;
    font-size: 0.75rem;
    color: #fff;
}

.site-footer .footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.site-footer .footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.site-footer .footer-social a:hover {
    background: rgba(255, 255, 255, 0.18);
}

.site-footer .footer-divider {
    border-color: rgba(255, 255, 255, 0.12);
    margin: 2rem 0 1.5rem;
}

.site-footer .footer-copy {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0;
}

.site-footer .footer-cta {
    color: #fff;
    font-weight: 600;
}

.site-footer .footer-cta:hover {
    color: var(--gold-500);
}

.floating-actions {
    position: fixed;
    right: 20px;
    bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 1055;
}

.floating-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    color: #fff;
    font-weight: 600;
    box-shadow: 0 12px 30px rgba(16, 24, 40, 0.2);
}

.floating-btn i {
    font-size: 1.1rem;
}

.floating-btn.whatsapp {
    background: linear-gradient(120deg, #1ebd5a, #0f9d4c);
}

.floating-btn.call {
    background: linear-gradient(120deg, var(--navy-700), var(--teal-500));
}

.floating-btn:hover {
    color: #fff;
    transform: translateY(-2px);
}

@media (max-width: 575px) {
    .floating-btn span {
        display: none;
    }

    .floating-btn {
        padding: 0.8rem;
        justify-content: center;
    }
}

@media (max-width: 991px) {
    .hero-carousel .carousel-item,
    .hero-carousel .carousel-item img {
        height: 420px;
        min-height: 420px;
    }

    .hero-carousel .carousel-caption {
        bottom: 12%;
    }

    .navbar .nav-link::after {
        display: none;
    }

    .navbar .dropdown-menu {
        margin-top: 0;
        padding: 0.75rem 1rem;
        box-shadow: none;
    }

    .mega-dropdown .dropdown-menu {
        width: 100%;
    }

    .mega-dropdown .mega-cta {
        flex-direction: column;
        align-items: flex-start;
    }
}
