﻿/* 📱 Mobile (Android + iPhone) */
@media (max-width: 768px) {
    html {
        font-size: 16px; /* default for laptop */
    }

    /* Headings */
    h1 {
        font-size: 2.2rem; /* 35px */
        font-weight: 700;
    }

    h2 {
        font-size: 1.8rem; /* 29px */
        font-weight: 600;
    }

    h3 {
        font-size: 1.4rem; /* 22px */
        font-weight: 600;
    }

    /* Paragraph */
    p {
        font-size: 1rem; /* 16px */
        line-height: 1.6;
    }

    /* Buttons */
    button, .btn, .searchbar-btn {
        font-size: 1rem; /* 16px */
        font-weight: 600;
    }
    .user-actions {
        margin-top: 5px;
        margin-left: 0px;
        margin-right: 0px;
    }
    .logo{
        width:40%;
    }
    .menu-toggle {
        display: block !important;
        margin-bottom: 7px;
        display: none;
        font-size: 1.5rem;
        background: none;
        border: none;
        cursor: pointer;
    }
    nav {
        padding: 10px 5px;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .hero-content-area {
        padding-left: 0px;
    }
    .hero-content-area h1 {
        font-size: 15px;
        line-height: 20px;
    }
    .advertisement_cls {
        width: 100% !important;
    }
    #advdetails > ul {
        list-style: none;
        padding: 2px 20px;
        margin: 0;
        display: block !important;
        /* grid-template-columns: repeat(2, 1fr); */
        gap: 5px;
    }
    ul > li {
        /*flex-direction: column;*/
        text-align: left !important;
        padding: 4px;
    }
    .hero-slider-area{
        display:none;
    }
    .hero-inner {
        flex-direction: column;
        width: 95%;
    }

    .searchbar-form {
        flex-direction: column;
    }

    .searchbar-select,
    .searchbar-input,
    .searchbar-btn {
        width: 100%;
    }

    .overlay {
        font-size: 16px !important;
        bottom: 10px;
        left: 10px;
        right: 10px;
    }

    .slider-img {
        height: auto;
        max-height: 250px;
    }

    .featured-jobs-title {
        font-size: 24px;
    }

    .job-title {
        font-size: 16px;
    }

    .job-card {
        padding: 16px;
    }

    .job-grid {
        grid-template-columns: 1fr;
    }
    .featured-jobs-title {
        font-size: 20px;
        margin: 5px;
    }

    .job-title {
        font-size: 15px;
    }

    .job-company {
        font-size: 13px;
    }

    .job-btn {
        padding: 6px 12px;
        font-size: 12px;
    }
}


/* 📱 Small Phones (iPhone SE, older Android) */

@media (max-width: 480px) {
    html {
        font-size: 16px; /* default for laptop */
    }

    /* Headings */
    h1 {
        font-size: 2.2rem; /* 35px */
        font-weight: 700;
    }

    h2 {
        font-size: 1.8rem; /* 29px */
        font-weight: 600;
    }

    h3 {
        font-size: 1.4rem; /* 22px */
        font-weight: 600;
    }

    /* Paragraph */
    p {
        font-size: 1rem; /* 16px */
        line-height: 1.6;
    }

    /* Buttons */
    button, .btn, .searchbar-btn {
        font-size: 1rem; /* 16px */
        font-weight: 600;
    }

    .hero-content-area {
        padding-left: 0px;
    }
    .hero-content-area h1 {
        font-size: 15px;
        line-height: 20px;
    }

    .overlay {
        font-size: 14px;
    }

    .slider-img {
        max-height: 200px;
    }
}

/* 📟 Tablets (iPad, Samsung Tab) */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-inner {
        flex-direction: column;
    }

    .searchbar-form {
        flex-wrap: wrap;
    }

    .slider-img {
        max-height: 320px;
    }

    .overlay {
        font-size: 18px;
    }
}


/* 🖥 Desktop (Laptop + 24-inch LED Screens) */
@media (min-width: 1025px) {
    .hero-inner {
        flex-direction: row;
    }

    .slider-img {
        max-height: 450px;
    }

    .overlay {
        font-size: 20px;
    }
}
