/* ===========================================
   Responsive Design for Preloader Animation
   =========================================== */

/* Extra Large Screens (Desktops 1200px and up) */
@media (min-width: 1200px) {
    .wave-bouncing-loading-animation {
        font-size: 70px;
        letter-spacing: 4px;
    }
}

/* Large Screens (Laptops / Desktops 992px to 1199px) */
@media (max-width: 1199px) and (min-width: 992px) {
    .wave-bouncing-loading-animation {
        font-size: 60px;
        letter-spacing: 3px;
    }
}

/* Medium Devices (Tablets 768px to 991px) */
@media (max-width: 991px) and (min-width: 768px) {
    .wave-bouncing-loading-animation {
        font-size: 50px;
        letter-spacing: 2px;
    }
}

/* Small Devices (Large Phones 576px to 767px) */
@media (max-width: 767px) and (min-width: 576px) {
    .wave-bouncing-loading-animation {
        font-size: 38px;
        letter-spacing: 1px;
    }
}

/* Extra Small Devices (Phones under 575px) */
@media (max-width: 575px) {
    .wave-bouncing-loading-animation {
        font-size: 30px;
        letter-spacing: 1px;
    }

    .wave-bouncing-loading-animation > span {
        font-weight: 700;
    }
}

/* Very Small Screens (below 380px, tiny phones) */
@media (max-width: 380px) {
    .wave-bouncing-loading-animation {
        font-size: 24px;
        letter-spacing: 0.5px;
    }
}


/* ================= Base Header ================= */


/* Hamburger for mobile */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 18px;
    cursor: pointer;
}

.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background: white;
    border-radius: 2px;
}

/* ================= Media Queries ================= */

/* Large desktops (>1200px) */
@media (min-width: 1200px) {
    .header {
        padding: 20px 80px;
    }
    .header .menu-sec ul li a {
        font-size: 20px;
    }
}

/* Medium desktops / tablets (992px - 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .header {
        padding: 20px 60px;
    }
    .header .menu-sec ul li a {
        font-size: 18px;
    }
}

/* Small tablets / large phones (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .header {
        padding: 15px 40px;
    }
    .header .menu-sec ul {
        gap: 20px;
    }

    

}

/* Mobile devices (<768px) */
@media (max-width: 767px) {
    .hero-section {
        height: auto;
        padding: 100px 0px;
    }
    .hero-section h1 {
       font-size: 1.6rem;
    }
    .hero-section p {
       font-size: 12px;
    }
    .header {
        padding: 15px 20px;
    }

    /* Show hamburger */
    .hamburger {
        display: flex;
    }

    .header.scrolled
    {
        padding: 10px 15px;
    }

    .header .menu-wrapper
    {
        display: flex;
        justify-content: flex-end;
        align-items: center;
    }

    /* Hide menu initially */
    .header .menu-sec {
        position: absolute;
        top: 100%;
        right: 0;
        width: 100%;
        background: rgba(0,0,0,0.9);
        display: none;
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
    }

    /* Mobile menu items vertical */
    .header .menu-sec ul {
        flex-direction: column;
        gap: 15px;
    }

    /* Show menu when active */
    .header .menu-sec.active {
        display: flex;
    }
}

/* Extra small devices (<480px) */
@media (max-width: 480px) {
    .header {
        padding: 10px 15px;
    }
    .header .logo-sec img {
        max-height: 50px;
    }
    .header .menu-sec ul li a {
        font-size: 16px;
    }
}

/* Small screens: hide or shrink cursor */
@media (max-width: 768px) {
    .cursor {
        width: 20px;       /* smaller cursor */
        height: 20px;
        border-width: 2px; /* thinner border */
    }
}

/* Extra small screens (mobile phones): hide cursor completely */
@media (max-width: 480px) {
    .cursor {
        display: none;
    }
}

/* ======================= Responsive Design ======================= */

/* Large Devices (Desktops ≥1200px) */
@media (min-width: 1200px) {
    .section-2 .head-part h2 {
        font-size: 45px;
    }

    .section-2 .head-part p {
        font-size: 22px;
    }

    .section-2 .card .content-part h3 {
        font-size: 24px;
    }

    .section-2 .card .content-part p {
        font-size: 16px;
    }
}

/* Medium Devices (Laptops/Tablets 992px - 1199px) */
@media (max-width: 1199px) and (min-width: 992px) {
    .section-2 .head-part h2 {
        font-size: 38px;
    }

    .section-2 .head-part h2::before {
        font-size: 90px;
        left: -60px;
    }

    .section-2 .head-part p {
        font-size: 20px;
    }

    .section-2 .card .content-part p {
        min-height: 60px;
    }

    .section-2 .card .img-part img {
        height: 230px;
    }
}

/* Tablets (768px - 991px) */
@media (max-width: 991px) {
    .section-2 {
        padding: 60px 20px;
    }

    .section-2 .head-part h2 {
        font-size: 32px;
    }

    .section-2 .head-part h2::before {
        font-size: 80px;
        left: -40px;
    }

    .section-2 .head-part p {
        font-size: 18px;
    }

    .section-2 .card {
        top: 0;
    }

    .section-2 .card .img-part img {
        height: 220px;
    }

    .section-2 .property-card-price h5 {
        font-size: 16px;
    }

    .section-2 .property-card-price a {
        padding: 7px 14px;
        font-size: 13px;
    }
}

/* Mobile Devices (576px - 767px) */
@media (max-width: 767px) {
    .section-2 .head-part
    {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 20px;
    }
    .section-2 .head-part h2 {
        font-size: 26px;
        text-align: center;
    }

    .section-2 .head-part h2::before {
        display: none;
    }

    .section-2 .head-part p {
        text-align: center;
        font-size: 16px;
        margin-top: 15px;
    }

    .section-2 .card {
        margin-bottom: 25px;
    }

    .section-2 .card .img-part img {
        height: 200px;
    }

    .section-2 .card .content-part {
        padding: 16px;
    }

    .section-2 .card .content-part ul {
        gap: 12px;
    }

    .section-2 .card .content-part ul li img {
        width: 30px;
        height: 20px;
    }
}

/* Extra Small Devices (≤575px) */
@media (max-width: 575px) {
    .section-2 {
        padding: 40px 0px;
    }

    .section-2 .head-part h2 {
        font-size: 24px;
        text-align: center;
    }

    .section-2 .head-part p {
        font-size: 15px;
        text-align: center;
    }

    .section-2 .card .img-part img {
        height: 180px;
    }

    .section-2 .card .content-part h3 {
        font-size: 18px;
    }

    .section-2 .card .content-part p {
        font-size: 14px;
        min-height: auto;
    }

    .section-2 .property-card-price {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .section-2 .property-card-price h5 {
        font-size: 15px;
    }

    .section-2 .property-card-price a {
        font-size: 13px;
        padding: 6px 12px;
    }
}


/* ====================== Responsive CSS ====================== */

/* Large screens (1200px and below) */
@media (max-width: 1200px) {
  .section-3 .head-part h2 {
    font-size: 32px;
  }
  .section-3 .body-part .card-header h3 {
    font-size: 45px;
  }
  .section-3 .body-part .card-body h5 {
    font-size: 22px;
  }
}

/* Medium screens (992px and below) */
@media (max-width: 992px) {
  .section-3 {
    padding: 6% 15px;
  }
  .section-3 .head-part h2 {
    font-size: 30px;
  }
  .section-3 .head-part p {
    font-size: 15px;
  }
  .section-3 .body-part .card {
    margin-top: 40px;
  }
  .section-3 .body-part .card-header {
    width: 90px;
    height: 90px;
  }
  .section-3 .body-part .card-header h3 {
    font-size: 40px;
  }
}

/* Tablets (768px and below) */
@media (max-width: 768px) {
  .section-3 {
    padding: 8% 10px;
  }
  .section-3 .head-part h2 {
    font-size: 28px;
  }
  .section-3 .head-part p {
    font-size: 14px;
  }
  .section-3 .body-part .card-body h5 {
    font-size: 20px;
  }
  .section-3 .body-part .card-body p {
    font-size: 12px;
  }
}

/* Mobile devices (576px and below) */
@media (max-width: 576px) {
  .section-3 {
    padding: 10% 10px;
  }
  .section-3 .head-part h2 {
    font-size: 25px;
  }
  .section-3 .head-part p {
    font-size: 13px;
  }
  .section-3 .body-part .card {
    margin-top: 30px;
  }
  .section-3 .body-part .card-header {
    width: 80px;
    height: 80px;
  }
  .section-3 .body-part .card-header h3 {
    font-size: 35px;
  }
  .section-3 .body-part .card-body h5 {
    font-size: 18px;
  }
  .section-3 .body-part .card-body p {
    font-size: 12px;
  }
}

/* Extra small (400px and below) */
@media (max-width: 400px) {
  .section-3 .head-part h2 {
    font-size: 22px;
  }
  .section-3 .body-part .card-header h3 {
    font-size: 30px;
  }
  .section-3 .body-part .card-body h5 {
    font-size: 16px;
  }
}


/* ================= Responsive Client Review Section ================= */

/* For tablets and smaller desktops */
@media (max-width: 992px) {
    .section-2 .body-part .second-img {
        bottom: -40px;
        left: -60px;
        width: 60px;
    }
}

/* For tablets and medium screens */
@media (max-width: 768px) {
    .section-2 .head-part h2 {
        font-size: 28px;
    }

    .section-2 .client-review .review-items {
        padding: 20px;
    }

    .section-2 .body-part {
        flex-direction: column;
        align-items: center;
    }

    .section-2 .body-part .images-section {
        margin-bottom: 30px;
    }
}

/* For mobile devices */
@media (max-width: 576px) {
    .section-2 .body-part .images-section {
        margin-bottom: 20px;
    }

    .section-2 .body-part .second-img {
        bottom: -30px;
        left: -40px;
        width: 50px;
    }

    .section-2 .client-review {
        max-width: 100%;
        padding: 0 10px;
    }

    .section-2 .client-review .review-items img {
        width: 70px;
        height: 70px;
    }

    .section-2 .client-review h5 {
        font-size: 18px;
    }

    .section-2 .client-review p {
        font-size: 13px;
    }

    .dots-container {
        gap: 8px;
    }
}


/* ===================== Responsive CSS for About Section ===================== */

/* Small devices (phones, up to 576px) */
@media (max-width: 576px) {
    .about-sec-1 {
        padding: 5% 10px;
    }
    .about-sec-1 .left-part::after {
        width: 150px;
        height: 150px;
        bottom: 20px;
    }
    .about-sec-1 .right-part span {
        font-size: 13px;
    }
    .about-sec-1 .right-part h2 {
        font-size: 20px;
    }
    .about-sec-1 .right-part p {
        font-size: 14px;
        line-height: 22px;
    }
    .feature-list {
        grid-template-columns: 1fr; /* single column */
        gap: 8px 20px;
    }
    .feature-list li {
        font-size: 14px;
    }
}

/* Medium devices (tablets, 577px to 768px) */
@media (min-width: 577px) and (max-width: 768px) {
    .about-sec-1 {
        padding: 5% 15px;
    }
    .about-sec-1 .left-part::after {
        width: 200px;
        height: 200px;
        bottom: 30px;
    }
    .about-sec-1 .right-part span {
        font-size: 14px;
    }
    .about-sec-1 .right-part h2 {
        font-size: 24px;
    }
    .about-sec-1 .right-part p {
        font-size: 15px;
        line-height: 25px;
    }
    .feature-list {
        grid-template-columns: 1fr 1fr;
        gap: 10px 20px;
    }
    .feature-list li {
        font-size: 15px;
    }
}

/* Large devices (desktops, 769px and above) */
@media (min-width: 769px) and (max-width: 1200px) {
    .about-sec-1 {
        padding: 5% 20px;
    }
    .about-sec-1 .left-part::after {
        width: 220px;
        height: 220px;
        bottom: 35px;
    }
    .about-sec-1 .right-part span {
        font-size: 15px;
    }
    .about-sec-1 .right-part h2 {
        font-size: 28px;
    }
    .about-sec-1 .right-part p {
        font-size: 16px;
        line-height: 28px;
    }
    .feature-list {
        grid-template-columns: 1fr 1fr;
        gap: 10px 25px;
    }
    .feature-list li {
        font-size: 16px;
    }
}

/* Extra large devices (large desktops, 1201px and above) */
@media (min-width: 1201px) {
    .about-sec-1 {
        padding: 5% 20px;
    }
    .about-sec-1 .left-part::after {
        width: 250px;
        height: 250px;
        bottom: 40px;
    }
    .about-sec-1 .right-part span {
        font-size: 15px;
    }
    .about-sec-1 .right-part h2 {
        font-size: 32px;
    }
    .about-sec-1 .right-part p {
        font-size: 16px;
        line-height: 30px;
    }
    .feature-list {
        grid-template-columns: 1fr 1fr;
        gap: 10px 30px;
    }
    .feature-list li {
        font-size: 16px;
    }
}


/* Mission Page Responsive CSS */

/* Large devices (desktops, >992px) - default styles already applied */

/* Medium devices (tablets, 768px - 991px) */
@media (max-width: 991px) {
    .mission-page .right-part {
        padding-left: 30px;
    }

    .mission-page .right-part h2 {
        font-size: 2rem;
    }

    .mission-page .right-part p {
        line-height: 28px;
    }

    .mission-page .left-part::before {
        width: 200px;
        height: 200px;
        top: -15px;
        left: -25px;
    }

    .mission-page .left-part::after {
        width: 120px;
        height: 120px;
        bottom: -15px;
        right: -20px;
    }
}

/* Small devices (landscape phones, 576px - 767px) */
@media (max-width: 767px) {
    .mission-page .row {
        flex-direction: column;
    }

    .mission-page .right-part {
        padding-left: 0;
        padding-top: 30px;
    }

    .mission-page .right-part h2 {
        font-size: 1.8rem;
        text-align: center;
    }

    .mission-page .right-part p {
        line-height: 26px;
        text-align: justify;
        font-size: 0.95rem;
    }



    .contact-sec 
    {
        padding: 5% 10px
    }
    .contact-sec .right-side img
    {
        display: none;
    }
    .contact-sec .left-side h2
    {
        font-size: 20px;
    }




    .mission-page .left-part::before,
    .mission-page .left-part::after {
        display: none; /* hide decorative borders on small screens */
    }
    .main-footer .mid-part {
        padding-left: 0px;
        margin-top: 20px;
    }
    .main-footer {
        padding: 5% 0px;
    }
    .main-footer .mid-part ul {
            padding: 25px 0px;
    }
}

/* Extra small devices (phones, <576px) */
@media (max-width: 575px) {
    .mission-page {
        padding: 5% 15px;
    }

    .mission-page .right-part h2 {
        font-size: 1.5rem;
    }

    .mission-page .right-part p {
        font-size: 0.9rem;
        line-height: 24px;
    }
}


/* Responsive CSS for Service Page */

/* Extra small devices (phones, <576px) */
@media (max-width: 575.98px) {
    .service-page-1 {
        padding: 5% 15px;
    }

    .service-page-1 .head-part h2 {
        font-size: 24px;
    }

    .service-page-1 .head-part p {
        font-size: 14px;
    }

    .service-page-1 .card h4 {
        font-size: 16px;
    }

    .service-page-1 .card p {
        font-size: 12px;
    }

    .service-page-1 .card a {
        padding: 8px 16px;
        font-size: 12px;
    }

    .service-page-1 .card-img img {
        width: 80px;
        height: 80px;
    }
}

/* Small devices (phones in landscape, 576px to 767px) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .service-page-1 {
        padding: 5% 20px;
    }

    .service-page-1 .head-part h2 {
        font-size: 28px;
    }

    .service-page-1 .head-part p {
        font-size: 15px;
    }

    .service-page-1 .card h4 {
        font-size: 17px;
    }

    .service-page-1 .card p {
        font-size: 13px;
    }

    .service-page-1 .card-img img {
        width: 90px;
        height: 90px;
    }
}

/* Medium devices (tablets, 768px to 991px) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .service-page-1 {
        padding: 5% 25px;
    }

    .service-page-1 .head-part h2 {
        font-size: 30px;
    }

    .service-page-1 .head-part p {
        font-size: 16px;
    }

    .service-page-1 .card h4 {
        font-size: 18px;
    }

    .service-page-1 .card p {
        font-size: 14px;
    }

    .service-page-1 .card-img img {
        width: 100px;
        height: 100px;
    }
}

/* Large devices (desktops, 992px to 1199px) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .service-page-1 {
        padding: 5% 30px;
    }

    .service-page-1 .head-part h2 {
        font-size: 32px;
    }

    .service-page-1 .head-part p {
        font-size: 17px;
    }

    .service-page-1 .card h4 {
        font-size: 18px;
    }

    .service-page-1 .card p {
        font-size: 14px;
    }
}

/* Extra large devices (large desktops, ≥1200px) */
@media (min-width: 1200px) {
    .service-page-1 {
        padding: 5% 30px;
    }

    .service-page-1 .head-part h2 {
        font-size: 35px;
    }

    .service-page-1 .head-part p {
        font-size: 18px;
    }

    .service-page-1 .card h4 {
        font-size: 18px;
    }

    .service-page-1 .card p {
        font-size: 14px;
    }
}

