@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Turret+Road:wght@200;300;400;500;700;800&display=swap');

:root {
    --dark-jungle-green: hsl(188, 63%, 7%);
    --prussian-blue: hsl(200, 69%, 14%);
    --raisin-black-1: hsl(227, 29%, 13%);
    --raisin-black-2: hsl(229, 17%, 19%);
    --yellow-green: hsl(89, 72%, 45%);
    --orange-soda: hsl(229, 65%, 33%);
    --cultured-1: hsl(192, 97%, 27%);
    --cultured-2: hsl(192, 24%, 96%);
    --misty-rose: hsl(231, 100%, 79%);
    --alice-blue: hsl(210, 100%, 97%);
    --seashell: hsl(214, 84%, 25%);
    --cadet: hsl(200, 15%, 43%);
    --white: hsl(0, 0%, 100%);
    --black: hsl(0, 0%, 0%);
    --opal: hsl(180, 20%, 62%);

    --ff-nunito-sans: "Nunito Sans", sans-serif;
    --ff-poppins: "Poppins", sans-serif;
    --ff-turret: "Turret Road", sans-serif;

    --fs-1: 1.875rem;
    --fs-2: 1.5rem;
    --fs-3: 1.375rem;
    --fs-4: 1.125rem;
    --fs-5: 0.875rem;
    --fs-6: 0.813rem;
    --fs-7: 0.75rem;

    --fw-500: 500;
    --fw-600: 600;
    --fw-700: 700;

    --transition: 0.4s ease;

    --section-padding: 100px;

    --shadow-1: 0 5px 20px 0 hsla(219, 56%, 21%, 0.1);
    --shadow-2: 0 16px 32px hsla(188, 63%, 7%, 0.1);
}
html, body {
  overflow-x: hidden;
}
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
li { list-style: none; }
a, img, span, button, ion-icon { display: block;}
    a { text-decoration: none; }
    button { border: none; background: none; font: inherit; text-align: left; cursor: pointer; }
        button, a { transition: var(--transition); }
    ion-icon { pointer-events: none; }
address { font-style: normal; }
html { font-family: var(--ff-nunito-sans); scroll-behavior: smooth; }
body { background: var(--white); overflow-x: hidden; }
::-webkit-scrollbar { width: 10px; height: 8px; }
::-webkit-scrollbar-track { background: var(--white); }
::-webkit-scrollbar-thumb { background: hsl(200, 50%, 20%); border-left: 2px solid var(--white); }

/*Common styles*/

.container { padding-inline: 15px; }
.h1, .h2, .h3 { color: var(--dark-jungle-green); font-family: var(--ff-poppins); line-height: 1.3; }
    .h1 { font-size: var(--fs-1); line-height: 1; }
    .h2 { font-size: var(--fs-2); }
    .h3 { font-size: var(--fs-4); font-weight: var(--font-weight, 700); }
        .h3 > a { color: inherit; }
.btn {
    position: relative;
    background: #4a88f1;
    color: var(--white);
    font-family: var(--ff-poppins);
    font-size: var(--fs-5);
    text-transform: var(--text-transform, capitalize);
    border: 1px solid #4a88f1;
    padding: 10px 20px;
    z-index: 1;
}
.btn:hover{
    background-color:#0047c2ce;
}
.w-100 { width: 100%; }
.section-title { text-align: var(--text-align, center); margin-bottom: var(--margin-bottom, 50px); }
.section-subtitle {
    color: var(--orange-soda);
    font-size: var(--fs-5);
    font-weight: var(--fw-600);
    padding: 5px 20px;
    background: hsla(9, 100%, 62%, 0.1);
    width: max-content;
    border-radius: 50px;
    margin-inline: auto;
    margin-bottom: 15px;
}
.card-badge { background: var(--black); color: var(--white); font-size: var(--fs-7); text-transform: uppercase; position: absolute; top: 15px; right: 15px; padding: 4px 10px; }
    .card-badge.green { background: var(--yellow-green); }
    .card-badge.orange { background: var(--orange-soda); }
.has-scrollbar { 
    display: flex; 
    align-items: flex-start; 
    gap: 15px; 
    overflow-x: auto; 
    margin-inline: -15px; 
    padding-inline: 15px; 
    scroll-padding-left: 15px; 
    padding-bottom: 60px; 
    scroll-snap-type: inline mandatory;
}
    .has-scrollbar > li { min-width: 100%; scroll-snap-align: start; }
    .has-scrollbar::-webkit-scrollbar-track { background: var(--cultured-2); outline: 2px solid var(--cadet); border-radius: 18px; }
    .has-scrollbar::-webkit-scrollbar-thumb { background: var(--cadet); border: 1px solid var(--cultured-2); border-radius: 10px; }
    .has-scrollbar::-webkit-scrollbar-button { width: 15%; }

/*Header*/

.header {  position: absolute; z-index: 2;  width: 100%;}
.header-bottom { background: rgba(255, 255, 255, 0.342); padding-block: 25px; }
    .header-bottom .logo img { margin-inline: auto; }
.navbar { 
    background: var(--white); 
    position: fixed; 
    top: 0; 
    left: -310px; 
    max-width: 300px; 
    width: 100%;
    height: 100%; 
    box-shadow: 0 3px 10px hsla(0, 0%, 0%, 0.3); 
    z-index: 5; 
    padding: 60px 20px;
    visibility: hidden;
    transition: .15s ease-in;
}
    .navbar.active { visibility: visible; transform: translateX(310px); transition: .25s ease-out;}
.navbar-top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 40px; border-bottom: 1px solid var(--cultured-1); margin-bottom: 25px; }
    .navbar-top .logo img { width: 200px; }
.nav-close-btn ion-icon { font-size: 20px; --ionicon-stroke-width: 45px; padding: 5px; }
.navbar-link { color: var(--cadet); font-size: var(--fs-5); font-weight: var(--fw-600); text-transform: uppercase; padding-block: 15px; }
    .navbar-link:is(:hover, :focus) { color: var(--orange-soda); }
.overlay { position: fixed; inset: 0; background: hsla(0, 0%, 0%, 0.7); opacity: 0; pointer-events: none; transition: var(--transition); z-index: 4; }
    .overlay.active { opacity: 1; pointer-events: all; }
.header-bottom-actions { 
     background: rgb(255, 255, 255); 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    display: flex; 
    padding-block: 15px -10px;
    box-shadow: -2px 0 30px hsla(237, 71%, 52%, 0.2);
    z-index: 3;
    justify-content: space-between;
    height: 80px;
}
    .header-bottom-actions-btn ion-icon { 
        color: hsl(0, 0%, 10%);
        font-size: 30px;
        margin-inline: auto;
        margin-bottom: 5px;
       
        margin-right: 20px;
        margin-left: 20px;
        margin-top: 10px;
    }
        .header-bottom-actions-btn:is(:hover, :focus) ion-icon { color: var(--orange-soda); }
    .header-bottom-actions-btn span { color: var(--cadet); font-family: var(--ff-poppins); font-size: var(--fs-7); font-weight: var(--fw-500); }

/*Hero*/
.hero { background: var(--cultured-2); padding-block: var(--section-padding); }
.hero-content { margin-bottom: 60px; }
.hero-subtitle { display: flex; justify-content: flex-start; align-items: center; gap: 5px; margin-bottom: 20px; }
    .hero-subtitle ion-icon { color: var(--orange-soda); }
    .hero-subtitle span { color: var(--dark-jungle-green); font-size: var(--fs-5); font-weight: var(--fw-700); }
.hero-title { margin-bottom: 20px; }
.hero-text { color: var(--cadet); font-size: var(--fs-5); line-height: 1.8; padding-left: 15px; border-left: 1px solid; margin-bottom: 30px; }

/*About*/

.about { padding-block: var(--section-padding); }
    .about .section-title { --text-align: left; --margin-bottom: 15px; }
    .about .section-subtitle { margin-inline: 0; }
.about-banner { position: relative; margin-bottom: 40px; }
    .about-banner > img { max-width: max-content; width: 100%; }
    .about-banner .abs-img {   border-radius: 8px; width: 80%; }
.about-text { color: var(--cadet); font-size: var(--fs-5); line-height: 1.7; margin-bottom: 30px; }
.about-list { margin-bottom: 30px; }
.about-item { display: flex; justify-content: flex-start; align-items: center; gap: 10px; margin-bottom: 15px; }
.about-item-icon { background: var(--misty-rose); height: 45px; min-width: 45px; border-radius: 50%; display: grid; place-items: center; }
    .about-item-icon ion-icon { color: var(--orange-soda); font-size: 18px; }
.about-item-text { color: var(--cadet); font-size: var(--fs-5); }
    .about .callout { 
        background: hsla(7, 78%, 53%, 0.05);
        color: var(--cadet);
        font-size: var(--fs-5);
        font-weight: var(--fw-500);
        line-height: 1.8;
        padding: 20px 25px;
        border-left: 4px solid var(--orange-soda);
        margin-bottom: 40px;
    }
    .about .btn { max-width: max-content; --text-transform: uppercase; }

  
/* 🔻 Media Queries for responsiveness */
@media (max-width: 768px) {
    .about{
        margin-top: -60px;
            margin-left: 10px;
            margin-right: 10px;

    }
  .about-banner {
    flex-direction: column;
  }

  .about-banner .abs-img {
    width: 100%;
    flex-direction: column;
    align-items: center;
  }

  .about-text,
  .about-item-text {
    font-size: 1rem;
  }

  .about-item {
    gap: 8px;
  }

  .about .callout {
    font-size: 1rem;
    padding: 15px 20px;
  }

  .about .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .about .section-title,
  .about .section-subtitle {
    text-align: center;
  }

  .about-banner {
    margin-bottom: 30px;
  }
  .about-banner .abs-img {
    width: 100%;
    flex-direction: column;
    align-items: center;
  }


  .about-item {
    flex-direction: column;
    align-items: center;
  }

  .about-item-icon {
    height: 40px;
    min-width: 40px;
  }

  .about-item-icon ion-icon {
    font-size: 16px;
  }
}


/*Footer*/

.footer { background: var(--raisin-black-1); color: var(--white); margin-bottom: 0px; }
    .footer .container { padding-inline: 30px; }
    .footer a { color: inherit; }
.footer-top { padding-top: 80px; padding-bottom: 40px; }
.footer-brand { margin-bottom: 70px;  }
    .footer-brand .logo { margin-bottom: 15px; }
.section-text { font-size: var(--fs-5); line-height: 1.8; margin-bottom: 30px; max-width: 45ch; }
.contact-list { display: grid; gap: 15px; margin-bottom: 30px; }
.contact-link { display: flex; align-items: flex-start; gap: 10px; }
    .contact-link ion-icon { font-size: 20px; margin-top: 0px; }
    .contact-link:is(:hover, :focus) span { color: var(--orange-soda); }
.social-list { display: flex; align-items: center; gap: 20px; }
.footer-list:not(:last-child) { margin-bottom: 50px; }
.footer-list-title { font-family: var(--ff-poppins); font-size: var(--fs-3); font-weight: var(--fw-700); margin-bottom: 15px; }
.footer-link { font-size: var(--fs-5); padding-block: 10px;  }
    .footer-link:is(:hover, :focus) { color: var(--orange-soda); }
.footer-bottom { background: var(--raisin-black-2); padding-block: 25px; }
.copyright { font-size: var(--fs-5); text-align: center; }
    .copyright a { display: inline-block; font-family: var(--ff-poppins); }
        .copyright a:is(:hover, :focus) { color: var(--orange-soda); }

/*Media Queries*/

@media(min-width: 600px) {
    :root { --fs-2: 1.875rem; }

    .container { max-width: 550px; margin-inline: auto; }
    .has-scrollbar { gap: 25px; margin-inline: -25px; padding-inline: 25px; scroll-padding-left: 25px; }
        .has-scrollbar > li { min-width: calc(50% - 12.5px); }
    .service-list > li { min-width: calc(50% - 15px); }
    .property .container { max-width: unset; padding-inline: 25px; }
    .cta-card { --fs-2: 1.5rem; }
    .footer-link-box { display: flex; justify-content: space-between; gap: 20px; }
} 

@media(min-width: 768px) {
    :root {
        --fs-1: 2.5rem;
        --fs-5: .938rem;
        --fs-8: .875rem;
    }

    .container { max-width: 720px; }
    .btn { --fs-5: 1rem; padding: 12px 28px; }

    .header-top { padding-block: 5px; }
        .header-top .wrapper { margin-left: auto; }
    .header-top-social-list { gap: 12px; }
    .header-top-social-link { font-size: 1rem; }
    .header-top-btn { padding: 10px 20px; }
    .header-bottom-actions { all: unset; display: flex; align-items: center; gap: 10px; top:0 }
    .header-bottom .container { display: flex; justify-content: space-between; align-items: center; }
    .header-bottom-actions-btn ion-icon { margin-top: 0; }
    .header-bottom-actions span { display: none; }
    .header-bottom-actions-btn { background: var(--white); width: 50px; height: 50px; box-shadow: var(--shadow-2);}

    .hero-content { max-width: 400px; }
    .about .section-title { max-width: 30ch; }
    .about-text { max-width: 55ch; }
    .about-list { display: grid; grid-template-columns: 1fr 1fr; }

    .features-list > li { width: calc(33.33% - 13.33px); }
    .features-card { gap: 20px; }
        .features-card .card-icon { width: 80px; height: 80px; font-size: 32px; }
        .features-card .card-title { --fs-6: 1.125rem; }

    .blog-card { --fs-7: 0.875rem; }
    .blog-title { font-size: 1.125rem; }
    .blog .card-meta-list { gap: 30px; }

    .cta-card { --fs-2: 1.625rem; }
    .footer { margin-bottom: 0; }
    
} 

@media(min-width: 992px) {
    :root {
        --fs-1: 3.125rem;
        --fs-4: 1.375rem;
    }

    .container { max-width: 970px; }
    .btn { padding: 15px 40px; }

    .header-top-list, .header-top .wrapper { gap: 30px; }

    .hero-content { max-width: unset; margin-bottom: 0; }
    .hero .container { display: grid; grid-template-columns: 1fr 1fr; align-items: center; }

    .about .container { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 60px; }
    .about-banner { margin-bottom: 0; }
        .about-banner > img { width: 100%; }

    .service-list > li { width: calc(33.33% - 20px); }

    .property-card .card-content { padding-inline: 30px; }
    .card-footer { padding: 20px 30px 30px; }

    .features-list { column-gap: 30px; }
        .features-list > li { width: calc(25% - 30px); }

    .blog-list { font-size: 1.375rem; }

    .cta-card { 
        --fs-2: 1.875rem;
        --fs-5: 1rem;

        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 50px;
    }
    .cta-card :is(.card-content .cta-btn) { margin: 0; }

    .footer-top .container { display: flex; justify-content: space-between; }
    .footer-brand { max-width: 300px; margin-bottom: 0; }
    .footer-link-box { flex-basis: 550px; }
}

   
@media(min-width: 1200px) {
    :root {
        --fs-1: 2.75rem;
        --fs-4: 1.5rem;
    }

    .container { max-width: 1200px;}
    .has-scrollbar > li { min-width: calc(33.33% - 16.66px); }

    .header-bottom { padding-block: 30px; }
    .header-bottom-actions-btn:last-child, .navbar-top, .overlay { display: none; }
    .navbar, .navbar.active { all: unset; }
    .navbar-list { display: flex; align-items: center; gap: 30px; }
    .navbar-link { color: var(--dark-jungle-green); --fs-5: 1.125rem; text-transform: capitalize; }
    .header { padding-bottom: 114px; }
    .header-bottom { position: absolute; left: 0; bottom: 0; width: 100%; }
    .header.active .header-bottom { position: fixed; bottom: auto; top: -94px; padding-block: 20px; box-shadow: 0 10px 50px hsla(237, 71%, 52%, 0.2); animation: slideDown .25s ease-out forwards; }
        @keyframes slideDown { 
            0% { transform: translateY(0); }
            100% { transform: translateY(100%); }
        }

    .hero-text { padding-left: 30px; max-width: 450px; margin-bottom: 40px; }

    .features-card .card-icon { width: 100px; height: 100px; font-size: 45px; }
    .features-card .card-title { --fs-6: 1.375rem; }

    .cta-card { --fs-2: 2.25rem; padding-inline: 60px; }
    .footer { --fs-5: 1rem; }
    .footer-link-box { flex-basis: 700px;   margin-top: 100px;}

}



#mhblog{
    display: none;
}
.hblogo{
    width: 200px;
    margin-block: -75px;
}



@media (max-width: 768px) {
  #hbclog{
    display: none;
  }
  #mhblog{
    width: 140px;
    display: block; /* show on mobile */
    margin-left: 20px;
    margin-top: -25px;
 
}

}

@media (max-width: 768px) {

  
  .hero-section,
  .hero-content,
  .hero-video-section,
  .about,
  .footer {
    position: relative;
    z-index: 1; /* Keep all below navbar */
  }

}
#flogo{
    width: 60%;
}
.bto{
    padding: 10px;
    background-color: #4a88f1 ;
    border-radius: 25px;
}
.ac{
    color: white;
}
.bto:hover{
    background-color:#0047c2ce;;
}





.whatsapp-icon {
    position: fixed;
    bottom: 20px; /* Adjust as needed */
    right: 20px; /* Adjust as needed */
    z-index: 1000; /* Ensures it's on top of other elements */
}

#whatsappimage {
    width: 60px; /* Adjust the size as needed */
    height: 60px;
    cursor: pointer;
    transition: transform 0.3s ease; /* Smooth transition */
}

#whatsappimage:hover {
    transform: scale(1.08); /* Smoothly scales the image */
}
.badge {
    position: absolute;
    top: -3px;
    right: -4px;
    background-color: red;
    color: white;
    border-radius: 50%;
    padding: 2.5px 8px;
    font-size: 12px;
    font-weight: bold;
}