/* ============================================
   RESPONSIVE STYLES - Mobile First Approach
   ============================================ */

/* ============================================
   VERY SMALL MOBILE DEVICES (max-width: 480px)
   ============================================ */
@media (max-width: 480px) {
    
    /* Header Logo - Extra Small (75% smaller) */
    nav a img {
        max-width: 100px;
        height: auto;
    }
    
    /* Adjust logo container positioning */
    nav .container {
        position: relative;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    nav a {
        position: relative;
        z-index: 50;
    }
    
    /* Language Selector - Position Top Right */
    .d-block.d-lg-none {
        position: relative !important;
        display: flex !important;
        margin-left: auto;
    }
    
    /* Language Selector Flags */
    nav li img {
        max-width: 24px;
        height: auto;
    }
    
    /* Swiper Container */
    .swiper {
        height: 100vh;
    }
    
    /* Banner Heading - Very Small */
    #banner h1,
    .swiper-slide h1 {
        font-size: 20px !important;
        line-height: 1.2;
        padding: 0 15px;
        text-align: center;
        word-wrap: break-word;
    }
    
    .swiper-slide .container {
        padding: 0 15px;
    }
    
    /* Slider Navigation Arrows - Very Small */
    #left-arrow {
        left: 5px;
        width: 35px;
        height: 35px;
    }
    
    #right-arrow {
        right: 5px;
        width: 35px;
        height: 35px;
    }
    
    .slider-arrow img {
        width: 14px;
        height: 14px;
    }
    
    /* About Us Section - Reduce Padding */
    #about-us .px-5 {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    
    #about-us .py-3 {
        padding-top: 40px !important;
        padding-bottom: 40px !important;
    }
    
    #about-us h2 {
        font-size: 22px;
        margin-bottom: 10px;
    }
    
    #about-us p {
        font-size: 13px;
        line-height: 1.5;
        margin-bottom: 12px;
    }
    
    /* How It Works - Reduce Margins */
    #how-it-works {
        margin-bottom: 30px;
    }
    
    #how-it-works h2 {
        font-size: 24px;
    }
    
    #how-it-works p {
        margin-left: 10px !important;
        margin-right: 10px !important;
        font-size: 14px;
    }
    
    /* Footer Contact Form */
    #contact-form {
        margin-top: 0 !important;
        padding: 25px 20px;
        margin-bottom: 15px;
    }
    
    /* Footer Logo */
    footer .col-12.col-lg-3 img {
        max-width: 120px;
        height: auto;
    }
    
    footer h3 {
        font-size: 18px;
        margin-top: 20px;
    }
    
    footer p {
        font-size: 13px;
    }
    
    /* Spacing between About Us and Footer/Contact Form */
    #about-us {
        margin-bottom: 60px;
    }
    
    /* Footer Background */
    footer {
        background-size: cover;
        margin-top: 50px;
        padding-top: 40px;
    }
    
    /* White and Blue Lines */
    .white-line,
    .green-line {
        width: 80px;
        height: 4px;
    }
}

/* ============================================
   MOBILE DEVICES (481px - 767px)
   ============================================ */
@media (min-width: 481px) and (max-width: 767px) {
    
    /* Header Logo (75% smaller) */
    nav a img {
        max-width: 120px;
        height: auto;
    }
    
    /* Adjust nav container */
    nav .container {
        position: relative;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    nav a {
        position: relative;
        z-index: 50;
    }
    
    /* Language Selector - Keep in flow */
    .d-block.d-lg-none {
        position: relative !important;
        display: flex !important;
        margin-left: auto;
    }
    
    /* Language Selector Flags */
    nav li img {
        max-width: 26px;
        height: auto;
    }
    
    /* Banner Heading */
    #banner h1,
    .swiper-slide h1 {
        font-size: 24px !important;
        line-height: 1.3;
        padding: 0 20px;
        text-align: center;
        word-wrap: break-word;
    }
    
    .swiper-slide .container {
        padding: 0 20px;
    }
    
    /* Slider Navigation Arrows */
    #left-arrow {
        left: 10px;
        width: 40px;
        height: 40px;
    }
    
    #right-arrow {
        right: 10px;
        width: 40px;
        height: 40px;
    }
    
    .slider-arrow img {
        width: 16px;
        height: 16px;
    }
    
    /* About Us Section */
    #about-us .px-5 {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    
    #about-us .py-3 {
        padding-top: 25px !important;
        padding-bottom: 25px !important;
    }
    
    #about-us h2 {
        font-size: 26px;
        margin-bottom: 12px;
    }
    
    #about-us p {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 15px;
    }
    
    /* How It Works */
    #how-it-works {
        margin-bottom: 40px;
    }
    
    #how-it-works h2 {
        font-size: 28px;
    }
    
    #how-it-works p {
        margin-left: 15px !important;
        margin-right: 15px !important;
    }
    
    /* Footer Contact Form */
    #contact-form {
        margin-top: 0 !important;
        padding: 30px 25px;
        margin-bottom: 20px;
    }
    
    /* Footer Logo */
    footer .col-12.col-lg-3 img {
        max-width: 150px;
        height: auto;
    }
    
    footer h3 {
        font-size: 20px;
        margin-top: 20px;
    }
    
    /* Spacing between About Us and Footer/Contact Form */
    #about-us {
        margin-bottom: 50px;
    }
    
    /* Footer Background */
    footer {
        background-size: cover;
        margin-top: 60px;
        padding-top: 50px;
    }
    
    /* White and Blue Lines */
    .white-line,
    .green-line {
        width: 100px;
        height: 4px;
    }
}

/* ============================================
   TABLET DEVICES (768px - 991px)
   ============================================ */
@media (min-width: 768px) and (max-width: 991px) {
    
    /* Header Logo */
    nav a img {
        max-width: 220px;
        height: auto;
    }
    
    /* Language Selector Flags */
    nav li img {
        max-width: 28px;
        height: auto;
    }
    
    /* Banner Heading */
    #banner h1,
    .swiper-slide h1 {
        font-size: 38px !important;
        line-height: 1.3;
        padding: 0 30px;
    }
    
    /* Slider Navigation Arrows */
    #left-arrow {
        left: 30px;
        width: 48px;
        height: 48px;
    }
    
    #right-arrow {
        right: 30px;
        width: 48px;
        height: 48px;
    }
    
    /* About Us Section */
    #about-us .px-5 {
        padding-left: 30px !important;
        padding-right: 30px !important;
    }
    
    #about-us .py-3 {
        padding-top: 60px !important;
        padding-bottom: 60px !important;
    }
    
    #about-us h2 {
        font-size: 30px;
        margin-bottom: 15px;
    }
    
    #about-us p {
        line-height: 1.6;
        margin-bottom: 15px;
    }
    
    /* How It Works */
    #how-it-works h2 {
        font-size: 32px;
    }
    
    #how-it-works p {
        margin-left: 20px !important;
        margin-right: 20px !important;
    }
    
    /* Footer Contact Form */
    #contact-form {
        margin-top: -50px !important;
        padding: 40px 30px;
    }
    
    /* Footer Logo */
    footer .col-12.col-lg-3 img {
        max-width: 180px;
        height: auto;
    }
    
    /* Footer Background */
    footer {
        margin-top: 80px;
        padding-top: 60px;
    }
}

/* ============================================
   SMALL DESKTOP (992px - 1199px)
   ============================================ */
@media (min-width: 992px) and (max-width: 1199px) {
    
    /* Header Logo */
    nav a img {
        max-width: 250px;
        height: auto;
    }
    
    /* Banner Heading - Slightly smaller for smaller desktops */
    #banner h1,
    .swiper-slide h1 {
        font-size: 55px !important;
    }
    
    /* Slider Navigation Arrows */
    #left-arrow {
        left: 50px;
    }
    
    #right-arrow {
        right: 50px;
    }
    
    /* Footer Contact Form */
    #contact-form {
        margin-top: -100px !important;
    }

    /* About Us Section - Small Desktop */
#about-us .py-3 {
    padding-top: 50px !important;
    padding-bottom: 50px !important;
}

#about-us {
    margin-top: 40px;
    margin-bottom: 60px;
}
}

/* ============================================
   MOBILE SPECIFIC FIXES
   ============================================ */
@media (max-width: 767px) {
    
    /* Ensure mobile menu language selector is visible */
    .d-block.d-lg-none {
        display: flex !important;
        align-items: center;
        margin-left: auto;
    }
    
    /* Adjust nav container layout */
    nav .container {
        position: relative;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    /* Ensure logo doesn't overlap */
    nav a {
        display: block;
    }
    
    /* Container padding adjustments for mobile */
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    /* Footer columns spacing */
    footer .col-12 {
        margin-bottom: 25px;
        text-align: center;
    }
    
    footer .col-12:last-child {
        margin-bottom: 0;
    }
    
    /* Center align footer content on mobile */
    footer .text-left {
        text-align: center !important;
    }
}

/* ============================================
   LANDSCAPE MOBILE ADJUSTMENTS
   ============================================ */
@media (max-height: 500px) and (orientation: landscape) {
    
    /* Reduce banner height on landscape mobile */
    .swiper {
        height: 100vh;
    }
    
    #banner h1,
    .swiper-slide h1 {
        font-size: 18px !important;
        line-height: 1.2;
    }
    
    nav {
        padding-top: 10px !important;
    }
    
    nav a img {
        max-width: 120px;
    }
}

/* ============================================
   ADDITIONAL MOBILE FIXES
   ============================================ */
@media (max-width: 767px) {
    
    /* Ensure slider content is properly centered and sized */
    .swiper-slide .container {
        width: 100%;
        max-width: 100%;
    }
    
    /* Swiper pagination dots adjustment */
    .swiper-pagination {
        bottom: 20px !important;
    }
}

/* ============================================
   15-INCH LAPTOPS ONLY (1200px - 1600px)
   ============================================ */
@media (min-width: 1200px) and (max-width: 1600px) {
    
    /* About Us - Increase vertical padding for 15-inch screens */
    #about-us .py-3 {
        padding-top: 4rem !important;
        padding-bottom: 4rem !important;
    }
}

