/* ===== RESPONSIVENESS.CSS ===== */
/* All responsive media queries for mobile-first design */
/* This file contains all @media queries separated from base styles */

/* ===== MOBILE BREAKPOINTS (max-width) ===== */

/* Extra Small Devices (max-width: 400px) */
@media (max-width: 400px) {
    .button-container {
        flex-wrap: wrap;
        flex: 0 100%;
    }

    .heroparagraph {
        font-size: 12px;
    }

    .btn-primary-action {
        width: 70%;
        padding-inline: 5px;
    }
    .btn-secondary-action {
        width: 70%;
    }
    .primaryButton {
        width: 70%;
        height: 40px;
        vertical-align: middle;
        padding-block: 7px;
    }
    .aboutPrimaryButton{
         width: 70%;
        height: 40px;
        vertical-align: middle;
        padding-block: 7px;
        padding-inline: 10px;
        font-size: 13px;
    }
    .img-margin {
        margin-top: -70px;
    }
    .outer-square {
        width: 18px;
        height: 18px;
        border-radius: 4px;
    }
    .inner-circle {
        width: 9px;
        height: 9px;
    }
    .newsletter-button{
        padding: 10px 6px;
    }
    .achievement-card{
        padding: 24px 16px;
    }

    h1 {
        font-size: 1.75rem;
        color: #004a53;
    }

    h2 {
        font-size: 1.5rem;
        color: #004a53;
    }

    h3 {
        font-size: 1.35rem;
        font-weight: bold;
        color: #004a53;
    }

    h4 {
        font-size: 1.2rem;
        font-weight: bold;
        color: #004a53;
    }

    h5 {
        font-size: 1.1rem;
        color: #004a53;
    }

    h6 {
        font-size: 1rem;
        color: #004a53;
    }

    p, ul, li {
        font-size: 0.9rem;
        line-height: 1.6;
    }
}

/* Small Devices (max-width: 320px) */
@media screen and (max-width: 320px) {
    .achieve h4 {
        font-size: 16px;
        text-align: center;
    }

    h1 {
        font-family: Fredoka One;
        color: var(--color-primary-button);
        font-weight: bolder;
        font-size: 26px;
    }

    .heroheading {
        font-size: 18px;
    }

    .off {
        display: block;
    }
}

/* ===== TABLET BREAKPOINTS (min-width: 576px) ===== */

@media (max-width: 576px) {
    .feature-number {
        left: 120px;
    }
}

/* ===== TABLET BREAKPOINTS (768px - 991px) ===== */

@media (min-width: 768px) {
    /* .hero-title {
        font-size: 1.5rem;
    } */

    .accordion-button {
        font-size: 15px;
    }

    .accordion-body {
        font-size: 14px;
    }

    /* .btn-primary-action {
        font-size: 10px;
    } */

    /* .btn-secondary-action {
        font-size: 10px;
        width: 50%;
    } */

    .row.g-1 > div:nth-child(1),
    .row.g-1 > div:nth-child(2) {
        margin-bottom: 1px;
    }

    .hero-section-yellow {
        padding: 2.5rem;
    }

    .hero_img img {
        width: 80%;
    }

    .hero-section-orange {
        padding: 80px 40px;
    }

    .section-padding {
        padding: 80px 40px;
    }

    .section-py {
        padding-top: 80px;
        padding-bottom: 80px;
    }

    .custom-width {
        width: 45%;
    }

    .product-button {
        width: 70%;
    }

    .product-button-yellow {
        width: 70%;
    }

    .ourproduct2 {
        border-radius: 30px;
    }

    h3 {
        font-weight: bold;
    }

    h4 {
        font-weight: bold;
    }
    .achievement-label {
        font-size: 24px;
    }
    .swiper-button-prev {
  --swiper-navigation-sides-offset: 20%;
}
.swiper-button-next {
  --swiper-navigation-sides-offset: 20%;
}
}

@media (min-width: 768px) and (max-width: 991px) {
    .navbar-collapse .d-flex {
        flex-direction: column;
        gap: 12px;
        margin-left: 0;
    }

    .btn-nav-primary,
    .btn-nav-secondary {
        flex: 1;
        max-width: 100%;
        padding: 10px 20px;
        font-size: 14px;
    }

    /* h1 {
        font-size: clamp(22px, 4vw, 40px);
    }

    h2 {
        font-size: clamp(18px, 3.5vw, 36px);
    }

    h3 {
        font-size: clamp(16px, 3vw, 28px);
    } */

    .top_header {
        padding: 2rem;
    }
}

/* ===== MOBILE/TABLET BREAKPOINTS (max-width: 991px) ===== */

@media (max-width: 991px) {
    .navbar-collapse {
        /* Responsive navbar collapse styling */
    }

    .navbar-nav {
        width: 100%;
        padding: 0;
    }

    .nav-link {
        padding: 8px 0;
        border-bottom: 1px solid #f0f0f0;
    }

    .nav-link:last-child {
        border-bottom: none;
    }

    /* Button container on mobile/tablet */
    .navbar-collapse .d-flex {
        flex-direction: column;
        padding: 12px 0;
        gap: 8px;
        margin-top: 12px;
        border-top: 1px solid #f0f0f0;
        width: 100%;
    }

    .navbar-collapse .btn {
        width: 100%;
        height: 38px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

@media (min-width: 401px) and (max-width: 1200px) {
    h1 {
        font-size: 2rem;
        color: #004a53;
    }

    h2 {
        font-size: 1.75rem;
        color: #004a53;
    }

    h3 {
        font-size: 1.55rem;
        color: #004a53;
    }

    h4 {
        font-size: 1.35rem;
        color: #004a53;
    }

    h5 {
        font-size: 1.25rem;
        color: #004a53;
    }

    h6 {
        font-size: 1.1rem;
        color: #004a53;
    }

    p {
        font-size: 1rem;
        line-height: 1.7;
        color: #004a53;
    }

    p.feature, ul, li {
        font-size: 0.9rem;
        line-height: 1.5;
        color: #004a53;
    }
}

@media (min-width: 1201px) {
    h1 {
        font-size: 3.5rem;
        color: #004a53;
    }

    h2 {
        font-size: 2rem;
        color: #004a53;
    }

    h3 {
        font-size: 1.75rem;
        color: #004a53;
    }

    h4 {
        font-size: 1.5rem;
        color: #004a53;
    }

    h5 {
        font-size: 1.35rem;
        color: #004a53;
    }

    h6 {
        font-size: 1.2rem;
        color: #004a53;
    }

    p {
        font-size: 1.1rem;
        line-height: 1.8;
        color: #004a53;
    }
    p.feature, ul, li {
        font-size: 1rem;
        line-height: 1.5;
        color: #004a53;
    }
    .img-margin{
        margin-top: -150px;
    }
    .achievement-section {
    min-height: 700px;

}
}

/* ===== DESKTOP BREAKPOINTS (min-width: 992px) ===== */

@media (min-width: 992px) {
    .top_header {
        padding: 3rem 2rem;
    }

    .top_header h1 {
        font-size: 2rem;
    }

    .custom-width {
        width: 35%;
    }

    .navbar-nav {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        width: auto;
        margin: 0;
        padding: 0;
        margin-bottom: 0;
    }

    .navbar-collapse .d-flex {
        flex-direction: row;
        gap: 16px;
        margin-top: 0;
        margin-left: auto;
        padding: 0;
        border-top: none;
        width: auto;
    }

    .btn-nav-primary,
    .btn-nav-secondary {
        flex: 0 1 auto;
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* ===== LARGE DESKTOP BREAKPOINTS (min-width: 1024px) ===== */

@media screen and (min-width: 1024px) {
    .bg-container-fluid {
        background-size: contain;
        background: red;
    }

    .top_header {
        padding: 4rem 2rem;
    }

    /* .hero-title {
        font-size: 2.3rem;
    } */

    .btn-primary-action {
        font-size: 14px;
        width: auto;
    }

    .btn-nav-primary,
    .btn-nav-secondary {
        padding: 14px 30px;
    }

    .product-button {
        width: 60%;
    }

    .product-button-yellow {
        width: 60%;
    }
}

/* ===== EXTRA LARGE DESKTOP BREAKPOINTS (min-width: 1440px) ===== */

@media (min-width: 1440px) {
    .feature-number {
        left: 190px;
    }

    .btn-primary-action {
        font-size: 1rem;
        padding: 0.8rem;
    }

    .btn-secondary-action {
        font-size: 1rem;
        padding: 0.8rem 1.5rem;
    }

    /* .btn-secondary-action {
        font-size: 1rem;
        width: 40%;
        padding: 1rem;
    } */
    .hero_header {
        min-height: 140px;
    }

    /* h1 {
        font-size: clamp(2rem, 5vw, 3rem);
    }

    h2 {
        font-size: clamp(1.75rem, 4vw, 2.5rem);
    }

    h3 {
        font-size: clamp(1.65rem, 3vw, 2rem);
    }

    h4 {
        font-size: clamp(1.45rem, 2.5vw, 1.75rem);
    }

    h5 {
        font-size: clamp(1.35rem, 2vw, 1.5rem);
    }

    h6 {
        font-size: clamp(1.45rem, 1.5vw, 1.25rem);
    }

    p {
        font-size: clamp(1.25rem, 1.2vw, 1.125rem);
        line-height: 1.6;
    } */

    .modal-footer {
        height: 64px;
    }
}

/* ===== RESPONSIVE HEADER SIZING ===== */

/* H1 Headers - Responsive sizing (Mobile First) */
/* h1 {
    font-size: clamp(24px, 5vw, 38px);
}

/* H2 Headers - Responsive sizing (Mobile First) */
/* h2 {
    font-size: clamp(20px, 4vw, 48px);
} */

/* H3 Headers - Responsive sizing (Mobile First) */
/* h3 {
    font-size: clamp(18px, 3.5vw, 40px);
} */

/* Tablet specific header adjustments (768px - 1024px) */
/* @media (min-width: 768px) and (max-width: 1023px) {
    h1 {
        font-size: clamp(22px, 4vw, 40px);
    }

    h2 {
        font-size: clamp(18px, 3.5vw, 36px);
    }

    h3 {
        font-size: clamp(16px, 3vw, 28px);
    }
} */
