
/* =========================================
   BLUE CEYLON INTERNATIONAL
   MOBILE AND TABLET RESPONSIVE STYLES
========================================= */

/* Prevent unwanted horizontal scrolling */
html {
    width: 100%;
    overflow-x: clip;
}

body {
    width: 100%;
    overflow-x: clip;
}

img {
    max-width: 100%;
    height: auto;
}

/* Tablet */
@media (max-width: 991px) {
    .container {
        max-width: 100%;
        padding-left: 24px;
        padding-right: 24px;
    }

    .hero h1 {
        font-size: clamp(42px, 6vw, 60px);
        line-height: 1.15;
    }

    .hero p {
        font-size: 18px;
        line-height: 1.7;
    }

    .journey-grid,
    .features-grid,
    .experience-grid,
    .destination-grid,
    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .testimonial-grid,
    .blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Mobile */
@media (max-width: 768px) {
    .container {
        width: 100%;
        max-width: 100%;
        padding-left: 18px;
        padding-right: 18px;
    }

    /* Hero */
    .hero {
        min-height: 100svh;
        padding: 115px 16px 45px;
        background-position: center center;
    }

    .hero-content {
        width: 100%;
        max-width: 100%;
        padding: 12px 0;
    }

    .hero h1 {
        font-size: clamp(32px, 8vw, 46px);
        line-height: 1.15;
        letter-spacing: -.7px;
        margin-bottom: 20px;
        overflow-wrap: normal;
    }

    .hero p {
        font-size: 15px;
        line-height: 1.7;
        margin-bottom: 26px;
    }

    .hero-buttons {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        width: 100%;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons .btn-blue,
    .hero-buttons .btn-outline {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        min-height: 50px;
        padding: 13px 18px;
        font-size: 14px;
        text-align: center;
    }

    /* Section headings */
    .section-title {
        text-align: center;
    }

    .section-title h2 {
        font-size: clamp(26px, 6vw, 34px);
        line-height: 1.25;
        overflow-wrap: anywhere;
    }

    .section-title p {
        font-size: 14px;
        line-height: 1.7;
    }

    /* Content grids */
    .journey-grid,
    .features-grid,
    .experience-grid,
    .destination-grid,
    .services-grid,
    .testimonial-grid,
    .blog-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .journey-card,
    .feature-box,
    .experience-card,
    .destination-card,
    .service-card,
    .testimonial-card,
    .blog-card {
        width: 100%;
        min-width: 0;
    }

    .experience-card img,
    .destination-card img,
    .blog-card img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }

    /* AI section */
    .ai-wrapper {
        display: flex;
        flex-direction: column;
        gap: 28px;
    }

    .ai-text,
    .ai-image {
        width: 100%;
        max-width: 100%;
    }

    .ai-image img {
        display: block;
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    /* Final call to action */
    .cta-box {
        padding: 28px 20px;
        text-align: center;
    }

    .cta-box h2 {
        font-size: clamp(25px, 6vw, 32px);
        line-height: 1.25;
    }

    .cta-box p {
        font-size: 14px;
        line-height: 1.7;
    }

    /* Footer */
    .footer-grid {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }

    .footer-logo {
        max-width: 160px;
        height: auto;
    }

    /* Floating WhatsApp button */
    .whatsapp-float {
        right: 14px;
        bottom: 14px;
        z-index: 9998;
    }
}

/* Small phones */
@media (max-width: 380px) {
    .container {
        padding-left: 14px;
        padding-right: 14px;
    }

    .hero {
        padding-left: 14px;
        padding-right: 14px;
    }

    .hero h1 {
        font-size: 32px;
        letter-spacing: -.4px;
    }

    .hero p {
        font-size: 14px;
    }

    .section-title h2 {
        font-size: 25px;
    }
}
