/*-----------------------------------*\
#style.css
\*-----------------------------------*/

/**
* copyright 2022 codewithsadee
*/


/*-----------------------------------*\
#CUSTOM PROPERTY
\*-----------------------------------*/

:root {

    /**
    * colors
    */

    --dark-jungle-green: hsl(188, 63%, 7%);
    --prussian-blue: hsl(200, 69%, 14%);
    --raisin-black-1: #212836;
    --raisin-black-2: #1c222c;

    /* PRIMARY COLORS - CHANGED TO GREEN SHADES */
    --orange-soda: #387B2F;
    --yellow-green: #75B63E;

    --cultured-1: hsl(0, 0%, 93%);
    --cultured-2: hsl(192, 24%, 96%);

    /* RELATED COLORS ADJUSTED FOR GREEN SCHEME */
    --misty-rose: #E7F0E4;
    --alice-blue: hsl(210, 100%, 97%);
    --seashell: #F3F8F2;

    --cadet: hsl(200, 15%, 43%);
    --white: hsl(0, 0%, 100%);
    --black: hsl(0, 0%, 0%);
    --opal: hsl(180, 20%, 62%);

    /**
    * typography
    */

    --ff-nunito-sans: "Nunito Sans", sans-serif;
    --ff-poppins: "Poppins", 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
    */

    --transition: 0.25s ease;

    /**
    * spacing
    */

    --section-padding: 60px;

    /**
    * shadow
    */

    --shadow-1: 0 5px 20px 0 hsla(219, 56%, 21%, 0.1);
    --shadow-2: 0 16px 32px hsla(188, 63%, 7%, 0.1);

}

@media (min-width: 768px) {
    :root {
        --section-padding: 100px;
    }
}


/*-----------------------------------*\
#RESET
\*-----------------------------------*/

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden !important;
    width: 100%;
    max-width: 100%;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
}

a,
img,
span,
button,
ion-icon {
    display: block;
}

button {
    border: none;
    background: none;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

address {
    font-style: normal;
}

ion-icon {
    pointer-events: none;
}

html {
    font-family: var(--ff-nunito-sans);
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background: var(--white);
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

::-webkit-scrollbar {
    width: 10px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--white);
}

::-webkit-scrollbar-thumb {
    background: var(--cadet);
    border-left: 2px solid var(--white);
}


/*-----------------------------------*\
#REUSED STYLE
\*-----------------------------------*/

.container {
    padding-inline: 15px;
}

button,
a {
    transition: var(--transition);
}

.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(--fw-700);
}

.h3>a {
    color: inherit;
}

.btn {
    position: relative;
    background: var(--orange-soda);
    color: var(--white);
    font-family: var(--ff-poppins);
    font-size: var(--fs-5);
    text-transform: var(--text-transform, capitalize);
    border: 1px solid var(--orange-soda);
    padding: 10px 20px;
    z-index: 1;
}

.btn:is(:hover, :focus) {
    background: var(--black);
    color: var(--dark-jungle-green);
    border-color: var(--black);
}

.btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--white);
    transition: var(--transition);
    z-index: -1;
}

.btn:is(:hover, :focus)::before {
    width: 100%;
}

.w-100 {
    width: 100%;
}

.section-subtitle {
    color: var(--orange-soda);
    font-size: var(--fs-5);
    font-weight: var(--fw-600);
    /* Updated background color using the new primary color with opacity */
    background: rgba(56, 123, 47, 0.1);
    width: max-content;
    border-radius: 50px;
    margin-inline: auto;
    margin-bottom: 15px;
}

.section-title {
    text-align: var(--text-align, center);
    margin-bottom: var(--margin-bottom, 50px);
}

.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);
}

/* UPDATED: Grid Layout for Projects (Blog) */
.has-scrollbar {
    display: grid;
    /* Changed to grid */
    grid-template-columns: 1fr;
    /* Default to one column on small screens */
    gap: 30px;
    /* Uniform gap for grid items */
    overflow-x: hidden;
    /* Prevent horizontal scrolling */
    margin-inline: 0;
    padding-inline: 0;
    padding-bottom: 0;
}

.has-scrollbar>li {
    width: 100%;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.mobile-only {
    display: block;
}

.desktop-only {
    display: none;
}

@media (min-width: 992px) {
    .mobile-only {
        display: none;
    }

    .desktop-only {
        display: block;
    }
}


/*-----------------------------------*\
#HEADER
\*-----------------------------------*/

.header {
    position: relative;
    z-index: 2;
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.header-top {
    background: var(--prussian-blue);
    padding-block: 8px;
}

@media (min-width: 768px) {
    .header-top {
        padding-block: 15px;
    }
}

.header-top .container,
.header-top-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.header-top .container {
    gap: 8px 20px;
}

.header-top-list {
    gap: 15px;
}

.header-top-link {
    color: var(--white);
    font-size: var(--fs-6);
    font-weight: var(--fw-700);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.header-top-link:is(:hover, :focus) {
    color: var(--orange-soda);
}

.header-top-link ion-icon {
    color: var(--orange-soda);
    font-size: 15px;
    --ionicon-stroke-width: 60px;
}

.header-top .wrapper,
.header-top-social-list {
    display: flex;
    align-items: center;
}

.header-top .wrapper {
    gap: 20px;
}

.header-top-social-list {
    gap: 8px;
}

.header-top-social-link {
    color: var(--white);
    font-size: 15px;
}

.header-top-btn {
    background: var(--orange-soda);
    color: var(--white);
    font-size: var(--fs-6);
    font-weight: var(--fw-700);
    padding: 4px 15px;
}

/* Updated hover color for btn */
.header-top-btn:is(:hover, :focus) {
    --orange-soda: #75B63E;
}

.header-bottom {
    background: var(--white);
    padding-block: 15px;
}

.header-bottom .logo img {
    margin-inline: auto;
    transition: var(--transition);
}

.header.active .header-bottom {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    padding-block: 10px;
    box-shadow: var(--shadow-2);
    z-index: 10;
}

.navbar {
    background: var(--white);
    position: fixed;
    top: 0;
    left: 0;
    transform: translateX(-105%);
    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: 0.15s ease-in;
}

.navbar.active {
    visibility: visible;
    transform: translateX(0);
    transition: 0.25s ease-out;
}

.navbar-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--cultured-1);
    margin-bottom: 20px;
}


.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 {
    all: unset;
    display: flex;
    justify-content: flex-end;
    padding-block: 15px 10px;
    box-shadow: -2px 0 30px hsla(237, 71%, 52%, 0.2);
    gap: 10px;
}

@media (max-width: 767px) {
    .header-bottom-actions {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100% !important;
        background: var(--white);
        justify-content: space-evenly;
        z-index: 10;
        margin: 0 !important;
        padding-inline: 0 !important;
    }
}

.header-bottom-actions-btn {
    display: none;
}

.header-bottom-actions-btn:last-child {
    display: flex;
}

@media (min-width: 768px) {
    .header-bottom-actions {
        justify-content: flex-end;
    }
}

.header-bottom-actions-btn ion-icon {
    color: hsl(0, 0%, 10%);
    font-size: 20px;
    margin-inline: auto;
    margin-bottom: 5px;
    --ionicon-stroke-width: 40px;
    transition: var(--transition);
}

.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);
}

@media (min-width: 768px) {
    .header-bottom-actions-btn span {
        display: none;
    }

    /* Re-style the single remaining button for desktop view */
    .header-bottom-actions-btn:last-child {
        background: var(--white);
        width: 50px;
        height: 50px;
        box-shadow: var(--shadow-2);
        display: grid;
        place-items: center;
    }

    .header-bottom-actions-btn:last-child ion-icon {
        margin: auto;
        margin-bottom: 0;
    }
}


/*-----------------------------------*\
#HERO
\*-----------------------------------*/

.hero {
    background: var(--cultured-2);
    padding-block: var(--section-padding);
}

.hero-content {
    margin-bottom: 60px;
    margin-top: 0px;
}

.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,
.about-text,
.project-text {
    text-align: left;
    /* Default for Mobile */
    hyphens: auto;
    word-break: break-word;
}

@media (min-width: 768px) {

    .hero-text,
    .about-text,
    .project-text {
        text-align: justify !important;
        text-justify: inter-word;
    }
}

.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);
}

@media (max-width: 991px) {
    .about .container {
        display: block;
        /* Content flow is now handled by HTML structure */
    }
}

.about-banner {
    position: relative;
    margin-bottom: 40px;
    overflow: hidden;
    /* Prevent abs-img from overflowing */
}

@media (max-width: 991px) {
    .about-banner {
        margin-bottom: 0;
        margin-top: 20px;
    }
}

.about-banner>img {
    max-width: 100%;
    width: 100%;
    height: auto;
}

.about-banner .abs-img {
    position: absolute;
    bottom: 100px;
    left: 15px;
    width: 50%;
    border-radius: 4px;
}


.projects .section-subtitle {
    margin-top: 100px;
}


.about .section-subtitle {
    margin-inline: 0;
}

.about .section-title {
    --text-align: left;
    --margin-bottom: 15px;
}

.about-text {
    color: var(--cadet);
    font-size: var(--fs-5);
    line-height: 1.8;
    /* Updated for better spacing */
    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);
    /* Updated to light green */
    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 {
    /* Updated background color to use new primary color with opacity */
    background: rgba(56, 123, 47, 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;
}


/*-----------------------------------*\
#SERVICE
\*-----------------------------------*/

.service {
    background: var(--cultured-2);
    padding-block: var(--section-padding);
}

.service-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.service-card {
    position: relative;
    background: var(--white);
    text-align: center;
    padding: 40px 30px;
    box-shadow: var(--shadow-2);
}

.service-card .card-icon {
    width: max-content;
    margin-inline: auto;
    margin-bottom: 20px;
}

.service-card .card-title {
    margin-bottom: 15px;
}

.service-card .card-title>a:is(:hover, :focus) {
    color: var(--orange-soda);
}

.service-card .card-text {
    color: var(--cadet);
    font-size: var(--fs-5);
    line-height: 1.8;
    margin-bottom: 25px;
}

.service-card .card-link {
    color: var(--opal);
    font-size: var(--fs-5);
    font-weight: var(--fw-600);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.service-card:is(:hover, :focus) .card-link {
    color: var(--orange-soda);
}

.service-card::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: var(--orange-soda);
    transition: var(--transition);
}

.service-card:is(:hover, :focus)::after {
    width: 100%;
}


/*-----------------------------------*\
#PROPERTY (Removed HTML)
\*-----------------------------------*/

.property {
    display: none;
}

/*-----------------------------------*\
#FEATURES
\*-----------------------------------*/

.features {
    background: var(--cultured-2);
    padding-block: var(--section-padding);
}

.features-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px 20px;
}

.features-list>li {
    width: calc(50% - 10px);
}

.features-card {
    position: relative;
    background: var(--white);
    padding: 40px 15px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-1);
}

.features-card:is(:hover, :focus) {
    background: var(--orange-soda);
}

.features-card .card-icon {
    background: var(--seashell);
    /* Updated to light green */
    color: var(--orange-soda);
    width: 60px;
    height: 60px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-size: 28px;
}

.features-card .card-icon ion-icon {
    --ionicon-stroke-width: 20px;
}

.features-card .card-title {
    color: var(--dark-jungle-green);
    font-family: var(--ff-poppins);
    font-size: var(--fs-6);
    font-weight: var(--fw-600);
    text-align: center;
    transition: var(--transition);
}

.features-card:is(:hover, :focus) .card-title {
    color: var(--white);
}

.features-card .card-btn {
    background: var(--white);
    color: var(--cadet);
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 50%);
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    font-size: 20px;
    border-radius: 50%;
    box-shadow: 0 0 10px hsla(219, 56%, 21%, 0.1);
    transition: var(--transition);
}

.features-card:is(:hover, :focus) .card-btn {
    color: var(--orange-soda);
}


/*-----------------------------------*\
#PROJECT CUSTOM STYLES for BLOG section
\*-----------------------------------*/

/* UPDATED: Styles for Grid Layout */
.blog-list.has-scrollbar {
    display: grid;
    /* Changed to grid */
    grid-template-columns: 1fr;
    /* Default to one column on small screens */
    gap: 30px;
    /* Uniform gap for grid items */
    overflow-x: hidden;
    /* Prevent horizontal scrolling */
    margin-inline: 0;
    padding-inline: 0;
    padding-bottom: 0;
}

.has-scrollbar>li {
    width: 100%;
}

.project-card .blog-content-top {
    border-bottom: none;
    margin-bottom: 10px;
}

.project-card .blog-content {
    padding: 15px;
}

.project-card .card-meta-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 5px;
}

.project-card .card-meta-link {
    color: var(--cadet);
    font-size: var(--fs-5);
    font-weight: var(--fw-600);
    margin-bottom: 5px;
}

.project-card .card-meta-link ion-icon {
    color: var(--orange-soda);
}

.project-rera {
    color: var(--cadet);
    font-size: var(--fs-7);
    font-weight: var(--fw-500);
    margin-bottom: 5px;
}

.project-text {
    color: var(--cadet);
    font-size: var(--fs-7);
    line-height: 1.5;
    margin-bottom: 0;
}

.project-description {
    padding-top: 0;
    border-top: none;
    margin-top: 0;
}

.project-card .blog-title {
    font-size: var(--fs-4);
    --font-weight: var(--fw-700);
    margin-bottom: 10px;
    line-height: 1.2;
}


/*-----------------------------------*\
#CTA (REMOVED)
\*-----------------------------------*/

.cta {
    display: none;
}


/*-----------------------------------*\
#FOOTER - UPDATED STYLES
\*-----------------------------------*/

.footer {
    background: var(--raisin-black-1);
    /* Updated to dark gray */
    color: var(--white);
    margin-bottom: 68px;
    /* For mobile fixed footer bar */
}

@media (min-width: 768px) {
    .footer {
        margin-bottom: 0;
    }
}

.footer .container {
    padding-inline: 30px;
}

.footer a {
    color: inherit;
}

.footer-top {
    padding-top: 80px;
    padding-bottom: 40px;
}

@media (max-width: 767px) {
    .footer-top {
        padding-top: 50px;
    }
}

/* Default Mobile/Small Screen Layout (Vertical Stack) */
.footer-top .container {
    display: flex;
    flex-direction: column;
    /* Stacked vertically */
    gap: 40px;
}

.footer-brand,
.footer-contact-form {
    max-width: 100%;
    flex-basis: auto;
    margin-bottom: 0;
    /* Handled by gap */
}

.footer-brand .logo {
    margin-bottom: 1px;
}

.section-text {
    font-size: var(--fs-5);
    line-height: 1.8;
    margin-bottom: 30px;
    max-width: 35ch;
}

.contact-list {
    display: grid;
    gap: 15px;
    margin-bottom: 30px;
}

.contact-link {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    max-width: 35ch;
}

.contact-link ion-icon {
    font-size: 18px;
}

.contact-link :is(address, span) {
    font-size: var(--fs-5);
    transition: var(--transition);
}

.contact-link:is(:hover, :focus) span {
    color: var(--orange-soda);
}

.social-list {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
    justify-content: center;
    /* Center on mobile */
}

.footer-list-title {
    font-family: var(--ff-poppins);
    font-size: var(--fs-3);
    font-weight: var(--fw-700);
    margin-bottom: 15px;
    color: var(--white);
    text-align: center;
    /* Center on mobile */
}

/* Links list (Mobile/Tablet) */
.footer-list-small {
    display: block;
    list-style: none;
    padding: 0;
    margin-top: 0;
    text-align: center;
    /* Center links on small screens */
}

.footer-list-small li {
    display: block;
    padding-block: 5px;
}

.footer-list-small .footer-list-heading {
    display: block;
    text-align: center;
    margin-bottom: 10px;
    font-size: var(--fs-3);
    font-weight: var(--fw-700);
    color: var(--white);
}

.footer-link {
    font-size: var(--fs-5);
    padding-block: 2px;
    display: inline-block;
}

.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;
}

.copyright a:is(:hover, :focus) {
    color: var(--orange-soda);
}

/* Form Styling - UPDATED STYLES */
.contact-form {
    display: grid;
    gap: 15px;
}

.form-group {
    width: 100%;
}

.form-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background-color: transparent;
    color: var(--white);
    font-size: var(--fs-5);
    border-radius: 4px;
    transition: var(--transition);
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.form-input:focus {
    border-color: var(--orange-soda);
    outline: none;
}

.form-textarea {
    resize: vertical;
    min-height: 10px;
}

.contact-submit-btn {
    width: 100%;
    font-size: var(--fs-5);
    font-weight: var(--fw-700);
    padding: 12px 20px;
    text-transform: uppercase;
}


/*-----------------------------------*\
#MEDIA QUERIES
\*-----------------------------------*/

/**
* responsive for larger than 600px screen
*/

@media (min-width: 600px) {

    /**
    * CUSTOM PROPERTY
    */

    :root {
        --fs-2: 1.875rem;
    }

    /**
    * REUSED STYLE
    */

    .container {
        max-width: 550px;
        margin-inline: auto;
    }

    .blog-list.has-scrollbar {
        display: grid;
        grid-template-columns: 1fr;
        gap: 30px;
        overflow: hidden;
        /* Changed from overflow-x: hidden for extra safety */
        margin-inline: 0;
        padding-inline: 0;
        padding-bottom: 0;
    }


    .service-list>li {
        width: calc(50% - 15px);
    }

    .social-list {
        justify-content: flex-start;
        /* Align social icons left on larger screens */
    }

}


/**
* responsive for larger than 768px screen
*/

@media (min-width: 768px) {

    /**
    * CUSTOM PROPERTY
    */

    :root {
        --fs-1: 2.5rem;
        --fs-5: 0.938rem;
        --fs-6: 0.875rem;
    }


    .container {
        max-width: 720px;
    }

    .btn {
        --fs-5: 1rem;
        padding: 12px 28px;
    }

    .header-bottom-actions {
        justify-content: flex-end;
    }

    .header-bottom .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }


    .hero-content {
        max-width: 400px;
    }


    .about .section-title {
        max-width: 40ch;
    }

    .about-text {
        max-width: 60ch
    }

    .about-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }


    .features-list>li {
        width: calc(33.33% - 13.33px);
    }


    .blog-list.has-scrollbar {
        grid-template-columns: repeat(2, 1fr);
        /* Still 2 columns */
    }

    .blog-card {
        --fs-7: 0.875rem;
    }

    .blog-title {
        font-size: 1.25rem;
    }

    .blog .card-meta-list {
        gap: 30px;
    }


    .footer {
        margin-bottom: 0;
    }

    /* FOOTER MEDIA QUERIES (768px+) */
    /* Two-column layout on Tablet */
    .footer-top .container {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: flex-start;
    }

    .footer-brand {
        flex-basis: 48%;
        /* Brand, Contact, Social on the left */
        max-width: 48%;
        text-align: left;
    }

    .footer-list-small {
        order: 3;
        /* Move to the bottom for full width on tablet */
        flex-basis: 100%;
        margin-top: 30px;
        text-align: center;
    }

    .footer-contact-form {
        flex-basis: 48%;
        /* Form on the right */
        max-width: 48%;
        margin-bottom: 0;
    }

    .footer-list-title,
    .footer-list-small .footer-list-heading {
        text-align: left;
        /* Align titles left (applies to brand/form column titles) */
    }

    .footer-list-small .footer-list-heading {
        text-align: center;
        /* Center the 'MyHomz' heading when it's full width */
    }

    .social-list {
        justify-content: flex-start;
    }

    /* END FOOTER MEDIA QUERIES */

}


/**
* responsive for larger than 992px screen
*/

@media (min-width: 992px) {

    /**
    * CUSTOM PROPERTY
    */

    :root {
        --fs-1: 3.125rem;
        --fs-4: 1.375rem;
    }


    .container {
        max-width: 970px;
    }

    .btn {
        padding: 15px 40px;
    }


    .hero-content {
        max-width: unset;
        margin-bottom: 0;
    }

    .hero .container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: center;
        gap: 60px;
    }


    .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);
    }


    .features-list {
        column-gap: 30px;
    }

    .features-list>li {
        width: calc(25% - 30px);
    }


    .blog-list.has-scrollbar {
        grid-template-columns: repeat(3, 1fr);
        /* 3 columns on 992px+ */
        column-gap: 30px;
        gap: 30px;
    }

    .blog-title {
        font-size: 1.375rem;
    }


    /* FOOTER MEDIA QUERIES (992px+) */
    /* Three-column layout - Brand | Links | Form */
    .footer-top .container {
        flex-wrap: nowrap;
        justify-content: flex-start;
        gap: 40px;
    }

    .footer-brand {
        flex-basis: 35%;
        /* Brand, Contact, Social */
        max-width: 35%;
    }

    .footer-list-small {
        order: 0;
        /* Move back to second position */
        flex-basis: 25%;
        /* Dedicated column for links */
        max-width: 25%;
        margin-top: 0;
        text-align: left;
        /* Align links left */
    }

    .footer-list-small li {
        text-align: left;
    }

    .footer-contact-form {
        flex-basis: 35%;
        /* Form column */
        max-width: 35%;
        margin-bottom: 0;
    }

    .footer-list-title,
    .footer-list-small .footer-list-heading {
        text-align: left;
        /* Align titles left */
    }

    .footer-brand .logo {
        display: none;
    }

    /* END FOOTER MEDIA QUERIES */

}


/**
* responsive for larger than 1200px screen
*/

@media (min-width: 1200px) {

    /**
    * CUSTOM PROPERTY
    */

    :root {
        --fs-2: 2.75rem;
        --fs-4: 1.5rem;
    }


    .container {
        max-width: 1200px;
    }

    .blog-list.has-scrollbar {
        grid-template-columns: repeat(4, 1fr);
        /* 4 columns on large screen */
        gap: 40px;
    }


    .header-bottom {
        padding-block: 10px;
    }

    .header-bottom-actions-btn:last-child,
    .navbar-top,
    .overlay {
        display: none;
    }

    .navbar,
    .navbar.active {
        all: unset;
    }

    .navbar-list {
        display: flex;
        align-items: center;
        gap: 60px;
    }

    .navbar-link {
        color: var(--dark-jungle-green);
        --fs-5: 1.125rem;
        text-transform: capitalize;
    }



    .header-bottom {
        padding-block: 10px;
    }

    .header.active .header-bottom {
        padding-block: 10px;
        box-shadow: 0 10px 50px hsla(237, 71%, 52%, 0.2);
    }

    /* Animation keyframes को पूरी तरह हटा दें */


    .header {
        /* इसे भी adjusted करें ताकि space सही हो */
        padding-bottom: 0px;
        /* Header-bottom की height के हिसाब से adjust करें (Original 214px था) */
    }




    .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;
    }


    .footer {
        --fs-5: 1rem;
    }

    /* FOOTER 1200px+ adjustment */
    .footer-brand {
        flex-basis: 33.33%;
        max-width: 33.33%;
    }

    .footer-list-small {
        flex-basis: 250px;
        /* Give it a decent fixed width */
        max-width: 250px;
    }

    .footer-contact-form {
        flex-grow: 1;
        max-width: unset;
    }

}


/* Mobile view mein top logo hide karne ke liye */
@media (max-width: 1199px) {

    /* Only hide the logo in the top bar, NOT inside the side menu */
    .header-bottom>.container>.logo {
        display: none !important;
    }

    .header-bottom {
        padding-block: 0;
        background: transparent;
    }
}

/* Desktop view mein dikhane ke liye */
@media (min-width: 1200px) {
    .header-bottom>.container>.logo {
        display: block;
    }
}

/* WhatsApp Floating Button */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 35px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 100;
    transition: all 0.3s ease;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    color: #fff;
}



/* Hero Button Fix */
@media (max-width: 768px) {
    .hero-content .btn {
        width: 100% !important;
    }
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 80px;
    right: 20px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    color: #FFF;
}

.whatsapp-icon {
    font-size: 35px;
}

/* FINAL MOBILE OVERFLOW FIXES */
@media (max-width: 767px) {

    html,
    body {
        width: 100% !important;
        overflow-x: hidden !important;
        position: relative;
        margin: 0 !important;
        padding: 0 !important;
    }

    main,
    footer,
    header {
        overflow: hidden !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .container {
        width: 100% !important;
        max-width: 100vw !important;
        padding-inline: 15px !important;
        margin-inline: auto !important;
        overflow-x: hidden !important;
    }

    .about-banner .abs-img {
        display: none !important;
    }

    .hero-banner img,
    .about-banner img,
    .blog-card img {
        max-width: 100% !important;
        height: auto !important;
    }

    .google-map iframe {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
    }

    /* Footer Optimization */
    .footer-top .container {
        display: flex;
        flex-direction: column;
        gap: 35px;
    }

    .footer-brand {
        text-align: center;
        order: 3;
        /* Brand info at the bottom */
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-brand .section-text {
        text-align: center;
        margin-bottom: 20px;
    }

    .footer-brand .contact-list {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .footer-brand .contact-link {
        justify-content: center;
        width: 100%;
        gap: 10px;
    }

    .footer-brand .logo {
        margin-inline: auto;
    }

    .footer-list-small {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        max-width: 100% !important;
        flex-basis: 100% !important;
        order: 1;
        /* Links at the top */
    }

    .footer-list-heading {
        grid-column: span 2;
        text-align: center;
        margin-bottom: 15px;
    }

    .footer-link {
        padding-block: 5px;
    }

    .footer-contact-form {
        width: 100%;
        max-width: 100% !important;
        order: 2;
        /* Contact form in the middle */
    }

    .footer-contact-form .footer-list-title {
        text-align: center;
    }
}


/* Fix for header jump when scrolling */
.header.active {
    padding-bottom: 70px;
}

@media (max-width: 767px) {
    .header.active {
        padding-bottom: 60px;
    }
}