:root {
    --gold-main: #d4a646;
    --gold-dark: #b48b42;
    --gold-heavy: #c89446;
}

@font-face {
  font-family: 'Kokila';
  src: url('kokila.woff2') format('woff2'),
       url('kokila.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'Kokila';
  src: url('kokilab.woff2') format('woff2'),
       url('kokilab.woff') format('woff');
  font-weight: bold;
  font-style: normal;
}
/* For italics */
/* ... define italic @font-face rules ... */

body { font-family: 'Kokila'; }


/* GOLD TEXT */
.gold-text {
    color: var(--gold-main) !important;
    font-weight: 600;
}

/* HERO SECTION */
.hero {
    background: url('img/Headr_bg.jpg') center center / cover no-repeat;
    height: 100vh;
    position: relative;
    color: rgba(255, 255, 255, 0.866);
}

/* DARK OVERLAY */
.hero-overlay {
    position: absolute;
    inset: 0;
   
}

/* CENTER CONTENT */
.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 90%;
  
    max-width: 900px;
    z-index: 10;
}

/* LOGO */
.hero-logo {
    width: 300px;        /* Increase logo size */
    margin-bottom: 20px; /* Move logo upward */
    margin-top: -170px;   /* Pull logo slightly up */
    transition: 0.3s;    /* Smooth animation */
}


/* TEXT STYLES MATCHED FROM YOUR IMAGE */
.hero-subtitle {
    font-size: 60px;
    font-weight: 50px;
    margin-bottom: -5px;
    margin-top: -50px;
}

.hero-title {
    font-size: 70px;
    font-weight:100px;
    margin-bottom: -5px;
    white-space: nowrap;
}

.hero-tagline {
    font-size: 25px;
    color: #cd900d;   /* Gold color */
    margin-bottom: 30px;
    font-family:"Segoe UI", Arial, sans-serif ;
}

/* BUTTON */
.btn-gold {
    background: #d4a646;
    padding: 12px 35px;
    border-radius: 30px;
    color: black;
    width: 280px;
    font-size: 30px;
    font-weight: 700;
    border: none;
    transition: 0.3s;
    font-family: "Segoe UI", Arial, sans-serif;
}

.btn-gold:hover {
    background: #b58935;
}
@media (max-width: 768px) {

    .hero {
        height: 100vh;
        background-position: center top;
    }

    .hero-content {
        width: 95%;
        padding: 0 10px;
    }

    .hero-logo {
        width: 180px;
        margin-top: -80px;
        margin-bottom: 15px;
    }

    .hero-subtitle {
        font-size: 30px;
        margin-top: -20px;
        margin-bottom: 5px;
    }

    .hero-title {
        font-size: 36px;
        white-space: normal; /* allow wrapping on mobile */
        margin-bottom: 10px;
    }

    .hero-tagline {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .btn-gold {
        width: 220px;
        font-size: 18px;
        padding: 10px 20px;
    }
}

@media (max-width: 992px) {

    .hero-content {
        width: 90%;
    }

    .hero-logo {
        width: 240px;
        margin-top: -120px;
    }

    .hero-subtitle {
        font-size: 42px;
        margin-top: -30px;
    }

    .hero-title {
        font-size: 48px;
        white-space: normal;
    }

    .hero-tagline {
        font-size: 20px;
    }

    .btn-gold {
        width: 250px;
        font-size: 22px;
    }
}



/********* GOLD SECTION ******************/


.service-section {
    background-image: url('img/section2_bg.jpg');
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;

    height: 750px;   
    width:100%;       /* 🔥 CHANGE THIS VALUE */
    padding-top: 220px;
    padding-bottom: 60px;
   
    position: relative;
}


.text-with-circle {
    display: flex;
    align-items: flex-start;
    padding-left: 40px;
    margin-bottom: 50px;

    font-size: 48px;          /* Large elegant size */
    font-weight: 300;         /* Thin serif style */
    letter-spacing: 0.px;    /* Slight spacing */
    line-height: 1.1;         /* Tight line spacing like image */
    font-family: 'Kokila';
}




.service-text-block {
    max-width: 550px;
    text-align: left;
    margin-left: 150px;

    font-size: 18px;
    font-weight: 300;
    letter-spacing: 0.3px;
    line-height: 1.3;
     
    
}


.right-circle {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    margin-left: 200px;   /* move right */
    margin-top: 70px;
}


.text-white{
    font-family: "Segoe UI", Arial, sans-serif;
     margin-top: 40px;
     margin-left: -50px;

}




/* ======================= SERVICE CARDS ========================= */
.service-slider {
    display: flex;
    justify-content: center;
    margin-top: 10px;
    margin-left: -20px;
}

.service-card {
    width: 260px;
    margin-left: 10px;
    border-radius: 30px;
  
     margin-top: 50px;
    overflow: hidden;
    text-align: center;
    
    background: #fff;
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 22px 45px rgba(0,0,0,0.18);
}   

.service-wrapper {
    display: flex;
    gap: -30px;   /* ⭐ spacing between cards */
}


.service-card .img-box {
    width: 100%;
    height: 270px;
    overflow: hidden;
    border-radius: 15px 15px 0 0;
}

.service-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.service-card:hover img {
    transform: scale(1.08);
}

.service-card h3 {
    padding: 20px 10px;
    font-size: 25px;
    color:  rgba(165, 42, 42, 0.819); /* Corrected: Used an actual color for readability */
    font-weight: 300px;
}

@media (max-width: 992px) {
    /* --- Main Section Adjustments --- */
    .service-section {
        /* Reduce the top padding as screen height decreases */
        padding-top: 150px; 
    }

    /* --- Text & Circle Layout Adjustments (Stacking) --- */
    .text-with-circle {
        /* Switch from horizontal (flex) to vertical (column) stacking */
        flex-direction: column; 
        align-items: center;
        padding-left: 0; /* Remove fixed left padding */
    }
    
    .service-text-block {
        margin-left: 0; /* Remove fixed left margin */
        text-align: center; /* Center text when stacked */
        max-width: 100%;
        margin-bottom: 20px; /* Add space below text block */
    }
    
    .right-circle {
        margin-left: 0; /* Remove fixed left margin */
        margin-top: 40px; /* Adjust vertical spacing */
        width: 250px; /* Reduce circle size for tablet */
        height: 250px;
    }
    
    /* --- Service Card Scrollability --- */
    .service-slider {
        /* Allow horizontal scrolling */
        overflow-x: auto; 
        -webkit-overflow-scrolling: touch; /* Better mobile scrolling */
        justify-content: flex-start; /* Align cards to the left for scroll start */
        padding-bottom: 10px;
        margin-left: 0;
        width: 100%;
    }
    
    .service-wrapper {
        display: flex;
        /* Keep cards in a single, horizontally scrolling line */
        flex-wrap: nowrap; 
    }
    
    .service-card {
        /* Prevent cards from shrinking when space is tight */
        flex-shrink: 0; 
        width: 220px; /* Set a specific width for scroll visibility */
        margin-left: 15px; /* Adjust spacing between cards */
    }
}

@media (max-width: 768px) {
    /* --- Main Section Adjustments --- */
    .service-section {
        height: auto; /* Allow height to adjust based on content flow */
        padding-top: 100px;
        padding-bottom: 40px;
    }

    /* --- Text Styling Refinement --- */
    .text-with-circle {
        font-size: 32px; /* Reduce large text size */
        margin-bottom: 20px;
    }
    
    .service-text-block h1 {
        font-size: 40px !important; /* Smaller size for the main heading */
    }

    /* Reduce circle image size */
    .right-circle {
        width: 180px;
        height: 180px;
        margin-top: 30px;
    }

    /* --- Service Card Refinement --- */
    .service-card {
        width: 180px; /* Make cards smaller to fit more in the viewport */
    }
    
    .service-card .img-box {
        height: 200px; /* Reduce image height */
    }
    
    .service-card h3 {
        font-size: 20px; /* Reduce card title size */
    }
	 .gray-bg h1 {
        margin-top: 0 !important;
    }
}




/****** grey   *******************************/
.gray-bg h1 {
    font-size: 50px;       /* Bigger & premium */
    font-weight: 100;      /* Bold */
    letter-spacing: 1px;   /* Elegant spacing */
   margin-top: 175px; 
   
   
            
    
}


.gray-bg h1 {
    opacity: 0.3;   /* 0.8 = 80% opacity */
}

@media (max-width: 768px) {
    .gray-bg h1 {
        font-size: 28px;
        letter-spacing: 0.5px;
        opacity: 0.6;   /* Slightly darker for readability */
        font-weight: 300;
    }
}




/************* Main Box******************************** */


/* OUTER BOX */

/* OUTER WHITE BOX */
.treatment-box {
    background: #fff;
    border-radius: 35px;
    padding: 40px;
    max-width: 1100px;
}

/* LEFT SIDE LOGO */
.treatment-logo {
    width: 250px;
    margin-top: -70px;
}

/* TEXT */
.treatment-text {
    font-size: 20px;
    font-weight: 500px;
    line-height: 1.2;
    color: #444;
    max-width: 270px;
    margin: auto;
    margin-top:-30px;
    font-family: "Segoe UI", Arial, sans-serif; 
}

/* MEDIA ROW (VIDEO + IMAGE) */
.media-row {
    display: flex;
    gap: 25px;
    justify-content: flex-start;
}

/* VIDEO + IMAGE BOX */
.media-card {
    width: 900px;
    height: 300px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

/* VIDEO STYLE */
.card-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}



/* HOVER SMOOTH ZOOM */
.media-card:hover img,
.media-card:hover video {
    transform: scale(1.08);
    transition: 0.4s;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .media-row {
        overflow-x: auto;
        padding-bottom: 10px;
    }
    .media-card {
        width: 300px;
        height: 220px;
    }
}

@media (max-width: 768px) {
    .media-row {
        flex-direction: column;
        align-items: center;
    }
    .media-card {
        width: 90%;
        height: 220px;
    }
}






/* *******************INVESTMENT HEADING **********************/


/* ===================== PRICING SECTION ===================== */

.pricing-section {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.pricing-card {
    width: 350px;
    background: #ffffff;
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0px 4px 25px rgba(0,0,0,0.08);
    position: relative;
}

/* TITLE */
.pricing-card h3 {
    font-size: 30px;
    font-weight: 500;
    margin-bottom: 25px;
    color: #333;
    position: relative;
    padding-bottom: 15px;
}

/* FULL WIDTH LINE UNDER TITLE */
.pricing-card h3::after {
    content: "";
    position: absolute;
    left: -20px;
    right: -20px;
    bottom: 0;
    height: 1px;
    background: #e5e5e5;
}

/* ITEMS */
.item {
    padding: 20px 10px;
}

.item h4 {
    margin: 0;
    font-size: 26px;
    font-weight: 300;
    color: #555;
}

.item h2 {
    margin: 6px 0 0;
    font-size: 44px;
    font-weight: 500;
    color: #b68c3b;
}

/* ⭐ FULL WIDTH GREY STRIP (IMPORTANT FIX) */
.item.light {
    background: #f5f6fa;
    margin-left: -20px;
    margin-right: -20px;
    padding-left: 20px;
    padding-right: 20px;
}

/* ===================== RESPONSIVE ===================== */

@media (max-width: 992px) {
    .pricing-card {
        width: 45%;
    }
}

@media (max-width: 768px) {
    .pricing-section {
        flex-direction: column;
        align-items: center;
    }

    .pricing-card {
        width: 90%;
    }
}


/******************** invest states  ********************/
.invest-states {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    font-size: 30px;
    font-weight: 600;
    color: #555;
    margin-top: -30px;
    margin-bottom: 10px;
     font-family: "Segoe UI", Arial, sans-serif;
}

/* TEXT STYLE */
.invest-states .tag-pill {
    position: relative;
    padding: 0 15px;
    background: none;
    border-radius: 0;
}

/* VERTICAL LINE SEPARATOR */
.invest-states .tag-pill:not(:last-child)::after {
    content: "|";
    position: absolute;
    right: -30px;
    color: black;
    font-weight: 600px;
}

@media (max-width: 768px) {
    .invest-states {
        font-size: 18px;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .invest-states {
        font-size: 16px;
        gap: 8px;
    }
}


/*************************    gray22222  ***************************/

.gray-bg2 h1 {
    font-size: 85px;       /* Bigger & premium */
    font-weight: 200;      /* Bold */
    letter-spacing: 1px;   /* Elegant spacing */
    margin-top: -70px;
    margin-bottom: 150px;
        
    
}


.gray-bg2 h1 {
    opacity: 0.1;   /* 0.8 = 80% opacity */
}

@media (max-width: 768px) {
    .gray-bg2 h1 {
        font-size: 50px;
        font-weight: 300;
        letter-spacing: 0.5px;
        margin-top: -10px;
        margin-bottom: 15px;
        opacity: 0.5;   /* increase opacity for mobile readability */
    }
}


/* investement close ****/


/* STATS SECTION BACKGROUND */


/* MAIN SECTION */
.stats-section {
    background: url("img/section4_bg.jpg") center/cover no-repeat;
    padding: 100px 0;
    position: relative;
    margin-top: -80px;
}

/* FLEX WRAPPER */
.stats-wrapper {
    display: flex;
    gap: 25px;
    justify-content: flex-start;   /* LEFT align like your image */
    padding-left: 280px;   
    align-items: center;
    flex-wrap: wrap;        /* Move boxes to left area */
}

/* SINGLE STAT BOX */
.stat-box {
    width: 200px;
    height: 170px;
    background: #b87b2f;
    border-radius: 22px;
    padding: 25px 20px;
    text-align: center;
    color: #fff;
    position: relative;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;   /* ✅ perfect horizontal alignment */
}

/* BIG NUMBER / TEXT */
.stat-box h3 {
    font-size: 40px;
    font-weight: 500px;
    margin: 0;
    line-height: 1.1;
    text-align: center;
    margin-right: 40px;
    margin-top: 30px;
}

/* SMALL DESCRIPTION */
.stat-box p {
    font-size: 17px;
    margin-top: 6px;
    font-family: "Segoe UI", Arial, sans-serif;
    text-align: center;
     margin-right: 20px;
     font-weight: 600px;
}

/* GOLD UNDERLINE */
.stat-box::after {
    content: "";
    width: 120px;
    height: 3px;
    background: #e5c26c;
    position: absolute;
    bottom: -18px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 20px;
}


/* ---- TABLET (1024px) ---- */
@media (max-width: 1024px) {
    .stats-wrapper {
        padding-left: 60px;
        gap: 25px;
    }

    .stat-box {
        width: 220px;
        height: 140px;
    }

    .stat-box h3 {
        font-size: 1.6rem;
    }
}

/* ---- MOBILE (768px) ---- */
@media (max-width: 768px) {
    .stats-wrapper {
        flex-direction: column;
        align-items: center;
        padding-left: 0;
        gap: 35px;
    }

    .stat-box {
        width: 80%;
        max-width: 300px;
        height: 140px;
    }

    .stat-box::after {
        width: 100px;
    }
}


/* WHITE CURVED TOP SECTION */

/* WHY SECTION – Bigger, Wider, Lower */

/* ==================== WHY SECTION ==================== */
.why-wrapper
{
    background: #ffffff;
    width: 80%;
    margin: -50px auto 0 auto;
    border-radius: 90px 80px 0 0; /* top curved */
    padding: 60px 50px;
    position: relative;
    z-index: 10;
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
    margin-bottom: -140px;

}

.why-section {
    background: #fff;
    padding: 60px 0 90px;
    width: 100%;
    position: relative;
    border-bottom-left-radius: 400px;
    border-bottom-right-radius: 350px;
    margin-bottom: 50px;
}

.why-container {
    width: 90%;
    height:100%;
    margin: auto;
    text-align: center;
   
}

.why-title {
    font-size: 50px;
    font-weight: 600;
    color: black;
    margin-bottom: 10px;
}

.why-subtitle {
    font-size: 23px;
    font-weight: 400;
    color: #6e6e6e;
    line-height: 1.4;
    margin-bottom: 40px;
    margin-top: -10px;
    font-family: "Segoe UI", Arial, sans-serif;
}

/* Grid */
.why-grid {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.why-card {
    background: #f8f7f5;
    padding: 30px 20px;
    border-radius: 0px 0px 80px 0px; /* bottom-right curve */
    text-align: center;
    height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-family: "Segoe UI", Arial, sans-serif;
     max-width: 500px;      /* ⭐ */
    width: 100%;   
    margin-top: -20px;

}

.why-icon {
    width: 55px;
    margin: 0 auto 15px;
}

.why-text {
    font-size: 18px;
    font-weight: 600;
    color: #4b3b2a;}


    

.why-card:hover {
    transform: translateY(-10px);
    background: #ffffff;
    box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}


/* CURVED FOOTER IMAGE (if you use it) */
.curve-img {
    width: 100%;
    margin-top: -100px;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    display: block;
}


/****** franchise **********/

.franchise-form-wrapper {
    background: #ffffff;
    width: 78%;
    margin: -50px auto 0 auto;
    border-radius: 50px 50px 0 0; /* top curved */
    padding: 60px 50px;
    position: relative;
    z-index: 10;
    margin-top: -90px;
}

/* INNER FORM AREA */
.franchise-form {
    text-align: center;
}

.form-title {
    font-size: 50px;
    font-weight: 500;
    color: #4A2E1C;
    margin-bottom: 35px;
    display: block;        /* IMPORTANT */
    width: fit-content;    /* So margin works */
    margin-left: 270px; 
       /* Your desired movement */
}


/* INPUT ROW */
.form-row {
    font-size:200px;
    font-weight: 400px;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 25px;
}

/* INPUTS */
.franchise-input,
.franchise-select {
    background: #F4F3F2;
    border: none;
    padding: 18px;
    width: 30%;
    border-radius: 20px;
    font-size: 20px;
}

.franchise-select {
    width: 30%;
    padding: 18px 50px 18px 18px; /* space for arrow */
    border-radius: 20px;
    background: #F4F3F2;
    border: none;
    font-size: 20px;

    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    background-image: url("img/Down-arrow.png");
    
    background-repeat: no-repeat;
    background-size: 14px;
    background-position: right 20px center; /* ⬅ move arrow left */
}



.franchise-input:focus,
.franchise-select:focus {
    outline: none;
    border: 1px solid #b88a58;
}



/***** verification *******/
.verify-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    margin: 40px 0;
}

.verify-wrapper .line {
    flex: 1;
    height: 2px;
    background-color: #b47e34; /* golden brown line */
    max-width: 400px;
}

.verify-text {
    text-align: center;
}

.verify-text h3 {
    margin: 0;
    font-size: 40px;
    margin-top: 20px;
    font-weight: 500;
    color: #4a2e2a; /* dark brown like your screenshot */
    
}

.verify-text p {
    margin-top: 5px;
    font-size: 30px;
    color: #777;
}





/* CAPTCHA BOX */

.captcha-full-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-direction: row; 
    flex-wrap: nowrap;
    width: 100%;
    margin-top: -30px;
}

/* captcha image box */
.captcha-img-box {
    width: 200px;
    height: 60px;
    background: #f3f0ef;
    border-radius: 35px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.captcha-text {
    font-size: 28px;
    font-weight: 700;
    color: #000;
    letter-spacing: 3px;
    z-index: 2;
}

/* lines */
.captcha-line {
    position: absolute;
    width: 180px;
    height: 2px;
    background: #000;
    top: 50%;
    left: 50%;
    transform-origin: center;
}

.line1 { transform: translate(-50%, -50%) rotate(8deg); }
.line2 { transform: translate(-50%, -50%) rotate(-8deg); }

.refresh-icon {
    width: 32px;
    height: 32px;
    opacity: 0.5;
    cursor: pointer;
}

.captcha-input {
    width: 220px;
    height: 60px;
    border-radius: 35px;
    border: 2px dotted #ccc;
    padding: 0 20px;
    font-size: 18px;
    outline: none;
}

.submit-btn {
    height: 60px;
    padding: 0 40px;
    background: #d4a646;
    color: #fff;
    font-size: 20px;
    font-weight:600;
    border-radius: 35px;
    border: none;
    cursor: pointer;
    transition: 0.3s;
     font-family:"Segoe UI", Arial, sans-serif;

}

@media (max-width: 768px) {

    .why-container {
        width: 90%;
    }

    .why-title {
        font-size: 32px;
    }

    .why-subtitle {
        font-size: 18px;
    }

    .why-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .why-card {
        height: auto;
        padding: 25px 20px;
    }

    .franchise-form-wrapper {
        width: 95%;
        padding: 40px 20px;
    }

    .franchise-input,
    .franchise-select {
        width: 100%;
    }

    .captcha-full-wrapper {
        flex-direction: column;
        gap: 12px;
    }

    .captcha-input,
    .captcha-img-box,
    .submit-btn {
        width: 100%;
    }
}

/***************** footer final  *************/
/* MAIN FOOTER */
.footer {
    position: relative;
    
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    width: 100vw;
    background: #b37b3a;
    color: #fff;
    padding: 70px 0;
}


/* SOCIAL BUTTONS WRAPPER */
.footer-social {
    display: flex;
    justify-content: center;
    gap: -10px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

/* SOCIAL BOX */
.social-box {
    width: 300px;
    height: 60px;
   
    border-radius: 14px;
    display: flex;
    align-items: center;
    
    padding: 0 20px;
    margin-bottom: -20px;
   
}

.social-box img {
    width: 280px !important;
    height: 60px !important;
    gap:10px;
}


.social-box span {
    font-size: 18px;
    color: #333;
    font-weight: 600;
}


/* FOOTER BOTTOM */
.footer-bottom {
    text-align: center;
    margin-top: 20px;
}

.footer-bottom p {
    margin: 6px 0;
    color: #fff;
    font-size: 25px;
    font-family: "Segoe UI", Arial, sans-serif; 
}

.footer-bottom .design {
    font-size: 25px;
    font-weight: 600;
    font-family: "Segoe UI", Arial, sans-serif; 
}

/* ---------------------------------------------------- */
/* ⭐ MOBILE RESPONSIVE STYLES (New) ⭐         */
/* ---------------------------------------------------- */

/* === Max-width 1200px (Desktop/Large Tablet Adjustments) === */
@media (max-width: 1200px) {
    .franchise-form-wrapper {
        width: 90%; /* Increase form wrapper width */
        padding: 40px 30px;
    }
    
    .form-title {
		font-size: 40px;
        margin-left: 0; /* Center form title */
        width: 100%;
        text-align: center;
    }

    .form-row {
        gap: 10px;
    }

    .franchise-input,
    .franchise-select {
        width: 45%; /* Make inputs/selects slightly wider */
    }
}

/* === Max-width 992px (Tablet Adjustments) === */
@media (max-width: 992px) {
    /* Service Section */
    .service-section {
        background-size: 100% 450px; /* Adjust background image size */
        padding-top: 150px;
    }
    .text-with-circle {
        flex-direction: column; /* Stack text and circle */
        align-items: center;
        padding-left: 0;
    }
    .service-text-block {
        margin-left: 0;
        text-align: center;
        max-width: 100%;
    }
    .right-circle {
        margin-left: 0;
        margin-top: 40px;
        width: 200px;
        height: 200px;
    }
    .service-slider {
        overflow-x: scroll; /* Enable horizontal scrolling for cards */
        justify-content: flex-start;
        padding-bottom: 10px;
        margin-left: 0;
        width: 100%;
    }
    .service-card {
        flex-shrink: 0; /* Prevent cards from shrinking */
        width: 240px;
        margin-left: 15px;
    }
    
    /* Investment Models */
    .pricing-section {
        flex-wrap: wrap; /* Stack pricing cards */
        gap: 20px;
    }
    .pricing-card {
        width: 45%; /* Two cards per row on tablets */
        max-width: 350px;
    }

    /* Why Choose Us Section */
    .why-container {
        width: 90%;
    }
    .why-subtitle {
        font-size: 24px;
    }
}

/* === Max-width 768px (Mobile Devices) === */
@media (max-width: 768px) {
    /* Hero Section */
    .hero-logo {
        width: 200px;
    }
    .hero-subtitle {
        font-size: 20px;
    }
    .hero-title {
        font-size: 36px;
    }
    .hero-tagline {
        font-size: 16px;
    }

    /* Service Section */
    .service-section {
        background-size: 100% 380px;
        padding-top: 100px;
    }
    .service-text-block h1 {
        font-size: 32px;
    }

    /* Transformative Body Treatments */
    .treatment-box {
        padding: 20px;
        margin: 0 10px;
    }
    .treatment-logo {
         width: 200px;        /* closer to reference */
        margin-top: -40px;   /* pull logo upward */
        margin-bottom: 10px;
    }
    .treatment-text {
         margin-top: 0;       /* remove negative pull */
        font-size: 16px;
        line-height: 1.4;
    }
    /* Media row styling is already responsive in original CSS */

    /* Investment Models */
    .pricing-section {
        flex-direction: column; /* One card per row on mobile */
        align-items: center;
    }
    .pricing-card {
        width: 90%;
        padding: 25px 15px;
    }

    /* Stats Section */
    /* .stats-wrapper is already set to flex-direction: column in original CSS for < 768px */

    /* Why Choose Us Section Fix */
    .why-title {
        font-size: 32px;
    }
    .why-subtitle {
        font-size: 20px;
    }
    .why-section {
        padding-bottom: 60px;
        border-bottom-left-radius: 200px;
        border-bottom-right-radius: 200px;
        height: auto; /* Allow height to adjust for content */
    }
    .why-grid {
        grid-template-columns: 1fr; /* Stack cards */
        gap: 15px;
    }
    /* Hide Bootstrap columns on mobile, rely on custom grid */
    .why-section .col-md-3 { 
        padding: 0;
        margin-bottom: 0;
    }
    .why-container .row {
        display: block !important;
    }


    /* Franchise Form */
    .franchise-form-wrapper {
        width: 95%;
        margin: 0px auto 0 auto;
        border-radius: 30px 30px 0 0;
        padding: 30px 20px;
    }
    .form-row {
        flex-direction: column; /* Stack all form elements */
        gap: 15px;
    }
    .franchise-input,
    .franchise-select {
        width: 100%;
        box-sizing: border-box; /* Include padding/border in element's total width */
    }

    .verify-wrapper {
        gap: 15px;
    }
    .verify-wrapper .line {
        display: none; /* Hide the separator lines to save space */
    }
    .verify-text h3 {
        font-size: 28px;
    }
    
    .captcha-full-wrapper {
        flex-direction: column; /* Stack CAPTCHA elements */
        gap: 15px;
        width: 100%;
    }
    .captcha-img-box,
    .captcha-input,
    .submit-btn {
        width: 90%;
        max-width: 350px;
    }
    .refresh-icon {
        position: relative; /* Change from absolute to flow with content */
        margin-bottom: 15px;
        order: -1; /* Place it above the CAPTCHA box */
        opacity: 1;
    }

    /* Footer */
    .footer {
        padding: 17px 15px;
    }
    .footer-bottom p {
        font-size: 14px;
    }
    .social-box {
        width: 100%; /* Full width social icons */
        justify-content: center;
        height: auto; /* Allow height to adjust */
    }
}

/* === Max-width 480px (Small Mobile Devices) === */
@media (max-width: 480px) {
    /* Hero Section */
    .hero-title {
        font-size: 26px;
    }
    .btn-gold {
        font-size: 18px;
        padding: 10px 30px;
    }

    /* Service Section */
    .service-section {
        padding-top: 50px;
    }
    .service-text-block h1 {
        font-size: 26px;
    }
    .service-slider {
        margin-top: 30px;
    }
    .service-card {
        width: 180px;
    }
    .service-card .img-box {
        height: 180px;
    }
    
    /* Franchise Form - Re-centering CAPTCHA/Submit */
    .captcha-full-wrapper {
        align-items: center;
    }
    .refresh-icon {
        top: auto; /* Reset top positioning */
        right: auto; /* Reset right positioning */
        margin-bottom: 15px;
        order: -1;
    }
}

/* =====================================================
   SERVICE SECTION – MOBILE FIX (DESKTOP UNTOUCHED)
===================================================== */
@media (max-width: 768px) {

    /* Section spacing */
    .service-section {
        height: auto;                /* remove fixed height */
        padding-top: 60px;           /* controlled mobile spacing */
        padding-bottom: 40px;
        background-position: center top;
    }

    /* Stack text + circle */
    .text-with-circle {
        flex-direction: column;
        align-items: center;
        padding-left: 0;
        margin-bottom: 25px;
        text-align: center;
    }

    /* Text block */
    .service-text-block {
        margin-left: 0;              /* remove desktop offset */
        max-width: 100%;
    }

    .service-text-block h1 {
        font-size: 32px !important;  /* scale heading */
        line-height: 1.1;
        margin-bottom: 15px;
    }

    .service-text-block p {
        font-size: 15px;
        line-height: 1.4;
    }

    /* Circle image */
    .right-circle {
        width: 180px;
        height: 180px;
        margin-left: 0;
        margin-top: 25px;
    }

    /* Slider behavior */
    .service-slider {
        margin-top: 20px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .service-wrapper {
        flex-wrap: nowrap;
    }

    .service-card {
        width: 180px;
        flex-shrink: 0;
        margin-left: 15px;
        margin-top: 20px;
    }

    .service-card .img-box {
        height: 180px;
    }

    .service-card h3 {
        font-size: 18px;
    }
}
/* =====================================================
   SERVICE SECTION – MOBILE FIX (DESKTOP UNTOUCHED)
===================================================== */
@media (max-width: 768px) {

    /* Section spacing */
    .service-section {
        height: auto;                /* remove fixed height */
        padding-top: 60px;           /* controlled mobile spacing */
        padding-bottom: 40px;
        background-position: center top;
    }

    /* Stack text + circle */
    .text-with-circle {
        flex-direction: column;
        align-items: center;
        padding-left: 0;
        margin-bottom: 25px;
        text-align: center;
    }

    /* Text block */
    .service-text-block {
        margin-left: 0;              /* remove desktop offset */
        max-width: 100%;
    }

    .service-text-block h1 {
        font-size: 32px !important;  /* scale heading */
        line-height: 1.1;
        margin-bottom: 15px;
    }

    .service-text-block p {
        font-size: 15px;
        line-height: 1.4;
    }

    /* Circle image */
    .right-circle {
        width: 180px;
        height: 180px;
        margin-left: 0;
        margin-top: 25px;
    }

    /* Slider behavior */
    .service-slider {
        margin-top: 20px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .service-wrapper {
        flex-wrap: nowrap;
    }

    .service-card {
        width: 180px;
        flex-shrink: 0;
        margin-left: 15px;
        margin-top: 20px;
    }

    .service-card .img-box {
        height: 180px;
    }

    .service-card h3 {
        font-size: 18px;
    }
}

@media (max-width: 768px) {

    /* Align text left on mobile */
    .service-text-block {
        text-align: left !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Remove negative margin that pushes text out */
    .service-text-block .text-white {
        margin-left: 0 !important;
    }
}

@media (max-width: 768px) {
    .gray-bg2 h1 {
        margin-bottom: 50px !important; /* space after heading */
    }
}

/* STATES LIST – MOBILE RESPONSIVE FIX */
@media (max-width: 768px) {

    .invest-states {
        flex-direction: column;     /* stack items */
        align-items: center;
        gap: 10px;
        text-align: center;
    }

    .invest-states .tag-pill {
        display: block;
        font-size: 18px;
        padding: 4px 0;
    }

    /* Remove vertical separator | on mobile */
    .invest-states .tag-pill::after {
        display: none;
    }
}

/* Hide footer curve image on mobile */
@media (max-width: 768px) {
    /*.curve-img {
        display: none !important;
    }*/
	.footerbgimg {
        padding-top: 130px; /* This padding will only show on mobile */
        margin-top: 0;     /* Optional: Reset margin on mobile if padding is enough */
    }
}
/* Hide footer social icons on mobile */
@media (max-width: 768px) {
    .footer-social {
        display: none !important;
    }
	.design {
        display: none !important;
    }
	.invest-states {
		display: none !important;
	}
	/*.pricing-section {
		display: none !important;
	}*/
}

/* Pricing section h3 – red color on mobile */
@media (max-width: 768px) {
    .pricing-section .pricing-card h3 {
        color: black !important;
		font-weight: 600;
    }
}
/* WHY SECTION – widen wrapper on mobile */
@media (max-width: 768px) {
    .why-wrapper {
        width: 95% !important;   /* increase width */
        padding: 40px 20px;      /* reduce side padding */
        margin-top: -20px;       /* optional fine-tuning */
        border-radius: 40px 40px 0 0;
    }
}

/* HERO – MOBILE HARD FIX (remove extra bottom space) */
@media (max-width: 768px) {

    .hero {
        height: auto !important;
        min-height: unset !important;
        padding-top: 80px;
        padding-bottom: 20px;
    }

    .hero-content {
        position: relative !important;   /* 🔥 STOP absolute centering */
        top: unset !important;
        left: unset !important;
        transform: none !important;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    section.gray-bg {
        margin-top: 50px !important;
    }
}

@media (max-width: 768px) {

    /* Fix position + spacing of "Pick the investment path" text */
    .treatment-text {
        margin-top: -10px !important;     /* position match */
        margin-bottom: 28px !important;   /* space after text */

        font-size: 17px;
        font-weight: 600;                 /* ✅ make text bold like reference */
        color: #333333;                   /* ✅ darker premium grey */
        line-height: 1.4;
        letter-spacing: 0.2px;

        text-align: center;
        font-family: "Segoe UI", Arial, sans-serif;
    }

}
/* FIX: Reduce top space in stats section on mobile */
@media (max-width: 768px) {

   .stats-section {
        padding-top: 40px !important;
        padding-bottom: 20px !important;
        margin-top: 0 !important;
    }

}
/* =====================================================
    STATS SECTION – MOBILE FIX (LEFT ALIGN + FULL WIDTH LINE)
===================================================== */
@media (max-width: 768px) {
    /* 1. Reset wrapper to ensure boxes stay centered on screen */
     .stats-wrapper {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        padding-left: 0 !important;
        gap: 0 !important;
    }

    /* 2. Configure the box for left-aligned internal content */
      .stat-box {
        width: 280px !important;
        height: auto !important;
        min-height: 160px;
        padding: 26px 24px !important;
        margin-bottom: 48px !important;   /* 🔥 reduced */
        border-radius: 25px;
        position: relative;

        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        text-align: left;
    }

    /* 3. Typography Adjustments */
    .stat-box h3 {
        font-size: 40px !important;
        margin: 0 !important;
        line-height: 1.1;
        text-align: left;
    }

     .stat-box p {
        font-size: 18px !important;
        margin-top: 8px !important;
        text-align: left;
        line-height: 1.3;
    }

    /* 4. Full-Width Horizontal Separator Lines */
   .stat-box::after {
        content: "";
        position: absolute;
        bottom: -24px;                /* 🔥 reduced */
        left: 50%;
        transform: translateX(-50%);
        width: 70%;
        height: 4px;
        background: #d4a646;
        border-radius: 2px;
    }

    /* Ensure the last box has margin at the bottom to show its line */
    .stat-box:last-child {
        margin-bottom: 50px !important;
    }
}

/* =====================================================
   HIDE HORIZONTAL SCROLLBAR - MOBILE ONLY
===================================================== */
@media (max-width: 992px) {
    .service-slider {
        /* Hides scrollbar for Firefox */
        scrollbar-width: none; 
        /* Hides scrollbar for IE and Edge */
        -ms-overflow-style: none; 
    }

    /* Hides scrollbar for Chrome, Safari, and Opera */
    .service-slider::-webkit-scrollbar {
        display: none;
    }
}

/* =====================================================
   WHY CHOOSE US – 2x2 GRID MOBILE FIX
===================================================== */
@media (max-width: 768px) {
    /* 1. Force the row to allow two columns side-by-side */
    .why-container .row {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 0 !important; /* Managed by G-4 in HTML */
    }

    /* 2. Set columns to roughly 50% width */
    .why-container .col-md-3 {
        width: 50% !important;
        flex: 0 0 50% !important;
        max-width: 50% !important;
        padding: 10px !important; /* Adjust spacing between cards */
    }

    /* 3. Adjust the card styling for the smaller size */
    .why-card {
        height: auto !important;
        min-height: 160px !important;
        padding: 20px 10px !important;
        margin-top: 0 !important;
        border-radius: 0px 0px 40px 0px !important; /* Scaled down curve */
    }

    .why-icon {
        width: 40px !important; /* Smaller icons to fit the 2x2 grid */
        margin-bottom: 10px !important;
    }

    .why-text {
        font-size: 14px !important; /* Smaller text to prevent overflow */
        line-height: 1.2 !important;
    }
}

/* =====================================================
   SERVICE SLIDER – AUTO SCROLL
===================================================== */
@media (max-width: 768px) {

    .service-slider {
        overflow: hidden; /* hide scrollbar */
    }

    .service-wrapper.auto-scroll {
        display: flex;
        width: max-content;
        animation: serviceScroll 22s linear infinite;
    }

    /* Pause animation on touch / hover */
    .service-wrapper.auto-scroll:hover {
        animation-play-state: paused;
    }

    @keyframes serviceScroll {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(-50%);
        }
    }
}
