/* ===============================
   RESPONSIVE CSS
================================ */

@media (max-width: 991px) {
    .hero-section {
        padding: 0 !important;
    }

    .hero-content {
        padding-right: 0;
    }

    .hero-title {
        font-size: 48px;
    }

    .hero-subtitle {
        font-size: 21px;
    }

    .hero-image {
        height: 350px;
    }

    .story-card {
        display: block !important;
        width: 100% !important;
    }

    .story-img-wrapper {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 16 / 9 !important;
    }

    .side-watermark {
        margin-top: 30px;
        text-align: left;
    }

    .banner-img-box img {
        height: 200px;
        border-radius: 16px 16px 0 0;
    }

    .quote-box {
        border-left: none;
        border-top: 1px solid rgba(184, 134, 11, 0.2);
        padding-left: 0;
        padding-top: 20px;
        margin-top: 20px;
        background-image: none;
    }

    .custom-navbar .navbar-nav {
        padding: 15px 0;
    }

    .custom-navbar .navbar-nav .nav-link {
        padding: 10px 0;
    }

    /* Across Continents Gallery (Tablet 768px - 991px) */
    .continents-section .row.g-2 {
        row-gap: 14px !important;
    }
    .continents-section .gallery-card-col,
    .continents-section .row.g-2 > [class*="col-"] {
        flex: 0 0 50% !important;
        max-width: 50% !important;
        width: 50% !important;
    }
    .continents-section .gallery-card-col:first-child,
    .continents-section .row.g-2 > [class*="col-"]:first-child {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
    }
    .continents-section .gallery-card {
        height: 220px !important;
    }
}

@media (max-width: 767px) {
    .event-section,
    .expert-section,
    .stories-section,
    .mothers-section,
    .continents-section,
    .next-chapter-section,
    .form-section {
        padding: 50px 0;
    }

    .expert-section-header,
    .mothers-section-header,
    .continents-section-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 16px !important;
    }

    .expert-header-right,
    .mothers-header-right,
    .continents-header-right {
        margin-left: 0 !important;
        text-align: left !important;
    }

    .form-card {
        padding: 22px 18px !important;
    }

    .question-btn-row {
        flex-direction: column !important;
        height: auto !important;
    }

    .question-textarea {
        height: 70px !important;
        min-height: 70px !important;
        max-height: 70px !important;
    }

    .btn-submit-custom {
        width: 100% !important;
        height: 48px !important;
        min-height: 48px !important;
        max-height: 48px !important;
        justify-content: center !important;
        gap: 12px !important;
    }

    .btn-submit-text {
        text-align: center !important;
    }

    .footer-nav {
        gap: 12px;
    }

    /* Across Continents Gallery (Mobile < 768px) */
    .continents-section {
        padding: 40px 0 !important;
    }
    .continents-section .continents-section-header {
        margin-bottom: 20px !important;
    }
    .continents-section .continents-title {
        font-size: 1.55rem !important;
    }
    .continents-section .row.g-2 {
        row-gap: 14px !important;
    }
    .continents-section .gallery-card-col,
    .continents-section .row.g-2 > [class*="col-"] {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
    }
    .continents-section .gallery-card {
        height: 200px !important;
        border-radius: 16px !important;
    }
    .continents-section .card-overlay {
        padding: 16px 18px !important;
        background: linear-gradient(180deg, rgba(2, 14, 16, 0.1) 0%, rgba(2, 14, 16, 0.88) 100%) !important;
    }
    .continents-section .card-overlay h4 {
        font-size: 1.25rem !important;
        line-height: 1.3 !important;
        margin-bottom: 4px !important;
        white-space: normal !important;
        word-break: normal !important;
        overflow-wrap: break-word !important;
    }
    .continents-section .card-overlay p {
        font-size: 0.85rem !important;
        line-height: 1.35 !important;
        color: #cbd5e1 !important;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 39px;
    }

    .hero-subtitle {
        font-size: 19px;
    }

    .hero-description {
        font-size: 14px;
    }

    .hero-buttons {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-start;
        align-items: center;
    }

    .hero-features {
        gap: 12px;
    }

    .hero-image {
        height: 280px;
    }

    .hero-image-text {
        font-size: 16px;
    }

    .play-button {
        width: 62px;
        height: 62px;
    }

    .story-card {
        flex-direction: column;
    }

    .story-img-wrapper {
        width: 100%;
        height: 200px;
    }

    .story-content {
        width: 100%;
    }

    /* Across Continents Gallery (Phone <= 576px) */
    .continents-section .gallery-card {
        height: 185px !important;
        border-radius: 14px !important;
    }
    .continents-section .card-overlay {
        padding: 14px 16px !important;
    }
    .continents-section .card-overlay h4 {
        font-size: 1.15rem !important;
        line-height: 1.25 !important;
    }
    .continents-section .card-overlay p {
        font-size: 0.8rem !important;
    }
}

/* Left-to-Right Scrolling Animation */
@keyframes marqueeLeftToRight {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0%);
    }
}

/* Hover par Auto Run Stop (Pause) hoga */
.marquee-container:hover .marquee-track {
    animation-play-state: paused;
}
