* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
/* --- Global Resets --- */
html, body {
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
}

:root {
    --primary-color: #FFAC1C;
    --secondary-color: #C23571;
    --text-dark: #333;
}

nav {
    position: sticky;
    top: 0;
    z-index: 9999;
    background: white;
}

/* --- Maxnav --- */
.maxnav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--primary-color);
    padding: 5px 5%;
    color: white;
}
.box1, .contact, .email { display: flex; align-items: center; gap: 10px; }
.box1 h2, .box2 h2 { font-size: 14px; margin: 0; }
.divider { width: 1px; height: 20px; background: white; margin: 0 15px; }

.save-btn {
    background: #4CAF50;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
}
.save-btn a { color: white; text-decoration: underline; font-weight: bold; }

/* --- Minnav --- */
.minnav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 5%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    background: white;
}

.logo img { width: 180px; }

.wq {
    display: flex;
    list-style: none;
    gap: 25px;
    margin: 0;
    padding: 0;
}

.wq li {
    position: relative;
    padding: 15px 0;
}

.wq li a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 15px;
}

/* --- MEGA MENU & CITIES FIXED (Desktop) --- */
.mega-dropdown { position: static !important; }
.minnav .list .wq li:last-child { position: relative !important; }

.mega-menu, .simple-menu {
    position: absolute;
    margin-top: -10px; 
    top: 100%; 
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.2s ease;
    z-index: 9999;
}

.mega-menu {
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 1200px;
}

.simple-menu {
    left: 0;
    width: 250px !important;
    padding: 20px !important;
}

/* Hover Bridge */
.mega-menu::before, .simple-menu::before {
    content: "";
    position: absolute;
    top: -25px;
    left: 0;
    width: 100%;
    height: 30px;
    background: transparent;
}

.wq li:hover > .mega-menu,
.wq li:hover > .simple-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    margin-top: 0px;
}

/* Mega Menu Internal Layout (Desktop) */
.mega-container { display: flex; justify-content: space-between; gap: 30px; }
.mega-col { flex: 1; }
.col-title { font-size: 17px; margin-bottom: 15px; color: #000; position: relative; padding-bottom: 8px; font-weight: bold; }
.col-title::after { content: ""; position: absolute; bottom: 0; left: 0; width: 40px; height: 3px; background: var(--primary-color); }
.mega-links { list-style: none; padding: 0; }
.mega-links li { margin-bottom: 8px; padding: 0; }
.mega-links li a { font-weight: 400; color: #666 !important; font-size: 14px; display: block; }
.mega-links li a:hover { color: var(--primary-color) !important; transform: translateX(5px); }

/* Order Button (Desktop Only) */
.order-btn {
    background: #FFAC1C;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    cursor: pointer;
}
.order-btn a { color: white; text-decoration: none; font-weight: bold; }

/* --- RESPONSIVE SETTINGS (MOBILE & TABLET) --- */
.menu-toggle { display: none; font-size: 25px; cursor: pointer; }

@media (max-width: 1024px) {
    /* 1. Navbar CTA (Order Now) Hata diya */
    .minnav .button {
        display: none !important;
    }

    /* 2. Menu Toggle Show */
    .menu-toggle { display: block; order: 2; }
    .minnav .logo { order: 1; }

    /* 3. List Styles */
    .minnav .list {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        height: 0;
        overflow: hidden;
        transition: 0.4s ease;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }
    .minnav .list.active { height: auto; padding: 20px 0; }
    .minnav .list .wq { 
        flex-direction: column; 
        padding-left: 20px; 
        gap: 0; 
    }
    .wq li { padding: 10px 0; }

    /* 4. Dropdown "Aik Dosray Kay Nichay" (Stacked) */
    .mega-menu, .simple-menu {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        display: none; /* JS ya Hover se khulega */
        box-shadow: none;
        padding: 15px !important;
        width: 100% !important;
        transform: none !important;
        margin-top: 0 !important;
    }
    
    /* Mobile Hover/Click support */
    .wq li:hover > .mega-menu, 
    .wq li:hover > .simple-menu { 
        display: block; 
    }

    /* Columns ko aik line mein hone ke bajaye vertical kar diya */
    .mega-container { 
        flex-direction: column; 
        gap: 20px; 
    }

    .mega-col {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .maxnav { display: none; }
}




/* Footer Styling */
.main-footer {
    background: #2A2A2A;
    color: white;
    padding: 50px 20px 20px;
    position: relative;
    /* Essential for overall structure */
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    /* Tablet aur mobile pe line break karne ke liye */
    max-width: 1200px;
    margin: auto;
    gap: 20px;
}

.footer-section {
    width: 20%;
    min-width: 200px;
    /* Sections ko ek had tak chota hone dega phir niche bhej dega */
    margin-bottom: 20px;
}

.footer-section .icons {
    margin-top: 20px;
    display: flex;
    gap: 10px;
}

.footer-section .icons .fa-brands {
    font-size: 20px;
}

.footer-section h2 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 18px;
}

.footer-section p,
.footer-section a {
    color: #ccc;
    font-size: 14px;
    line-height: 1.6;
    text-decoration: none;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a:hover {
    color: white;
}

/* --- Security Section (Modified for Responsiveness) --- */
.security {
    /* Absolute position sirf baray screens (desktop) ke liye media query mein rakhi hai */
    margin-bottom: 20px;
}

.security p {
    margin-bottom: 10px;
}

.security .img {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.security .img img {
    width: 50px;
}

.security2 {
    display: flex;
    margin-top: 10px;
    gap: 10px;
}

.security2 img {
    width: 80px;
}

/* --- Bottom Bar --- */
.footer-bottom {
    text-align: center;
    padding-top: 15px;
    border-top: 1px solid #333;
    width: 100%;
    margin-top: 20px;
}

.footer-bottom p {
    font-size: 14px;
    color: #888;
}

/* WhatsApp Icon */
.section11 {
    z-index: 999;
    position: fixed;
    left: 20px;
    bottom: 20px;
}

.section11 img {
    width: 55px;
}

/* --- RESPONSIVE MEDIA QUERIES --- */

/* Desktop only behavior for Security (Jaise aapne set kiya tha) */
@media (min-width: 1025px) {
    .security {
        position: absolute;
        top: 180px;
        left: 73%;
    }
}

/* Tablet & Mobile Screens */
@media (max-width: 1024px) {
    .footer-container {
        justify-content: center;
        text-align: center;
    }

    .footer-section {
        width: 45%;
        /* Aik line mein do boxes */
        min-width: 250px;
    }
    .footer-section p{
        text-align: start;
    }
    .footer-section h2{
        text-align: start;
    }
     .footer-section ul li {
        text-align: start;
    }

    .footer-section .icons {
        justify-content: center;
        margin-left: 0;
    }

    .security {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .security .img,
    .security2 {
        justify-content: center;
    }
}

/* Small Mobile Screens */
@media (max-width: 600px) {
    .footer-section {
        width: 100%;
        /* Aik line mein sirf aik box */
    }

    .section11 img {
        width: 45px;
        /* Mobile pe WhatsApp icon thora chota */
    }
}


/* --- HERO SECTION WRAPPER --- */
.hero-section {
    display: flex;
    align-items: center;
    justify-content: space-around;
    /* Navbar height (70px) minus kar ke screen pe fit kiya */
    min-height: calc(100vh - 70px); 
    padding: 20px;
    background: #fdfdfd;
    flex-wrap: wrap; 
}

/* --- LEFT SIDE CONTENT (BOX1) --- */
.hero-section .box1 {
    margin-top: -5vw;
    padding: 0;
    display: block;
    width: 50%;
    
}

.hero-section .box1 h2 {
    background: linear-gradient(270deg, #000000, #FFAC1C);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
    font-size: clamp(28px, 4vw, 45px); /* Responsive font size */
    font-weight: bold;
    margin-top: 0; /* Negative margin hata di jo scroll kar rahi thi */
    margin-bottom: 20px;
}

.hero-section .box1 p {
    font-size: 20px;
    color: #333;
}

.hero-section .box1 span p {
    margin-top: 20px;
    font-size: 15px;
    font-weight: bolder;
}

/* --- Buttons Styling --- */
.hero-ctas {
    display: flex;
    gap: 15px;
    margin: 25px 0;
}

.btn-primary, .btn-secondary {
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s;
    font-size: 1rem;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background-color: #FFAC1C;
    color: #fff;
    border: 2px solid #FFAC1C;
}

.btn-secondary {
    background-color: transparent;
    color: #FFAC1C;
    border: 2px solid #FFAC1C;
}

.btn-primary:hover { background: #e69500; transform: translateY(-2px); }
.btn-secondary:hover { background: rgba(255,172,28,0.1); transform: translateY(-2px); }





/* --- RIGHT SIDE CALCULATOR (CALC-CARD) --- */
.calc-card {
    background: #fff;
    width: 100%;
    max-width: 500px; 
    height: 70vh; /* Fixed height as requested */
    display: flex;
    flex-direction: column;
    justify-content: space-between; 
    padding: 25px 30px;
    border-radius: 15px;
    box-shadow: 0 15px 45px rgba(0,0,0,0.1);
    border: 1px solid #eee;
    overflow-y: visible; 
    margin-top: -2vw;
    position: relative;
}

.calc-card h3 {
    text-align: center;
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: 800;
}

.features {
    display: flex;
    justify-content: space-around;
    font-size: 10px;
    color: #28a745;
    margin-bottom: 10px;
}

.calc-form {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
}

.input-row {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    position: relative;
    overflow: visible !important;
}

.input-row input, .input-row select, .input-row textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 13px;
    background: #fcfcfc;
}

/* Country selection */
.phone-input { display: flex; width: 100%; gap: 5px; }
.country-code { width: 70% !important; font-weight: 600; background: #f1f1f1; }
.deadline-box { width: 100%; }

/* Description */
.desc-wrapper { width: 100%; position: relative; }
.desc-wrapper textarea { 
    height: 100px; 
    resize: none;
}

.file-attach {
    position: absolute;
    bottom: 8px;
    right: 12px;
    font-size: 11px;
    color: #FFAC1C;
    cursor: pointer;
    font-weight: bold;
}

/* Pages Section */
.pages-wrapper {
    width: 100%;
    background: #f9f9f9;
    padding: 0 15px;
    border: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 40px;
    border-radius: 6px;
}

.pages-wrapper label { font-size: 12px; font-weight: bold; }
.counter { display: flex; align-items: center; gap: 15px; }
.page-info span { font-weight: 900; font-size: 15px; color: #333; }
.page-info small { font-size: 9px; color: #888; }

.counter button {
    background: #FFAC1C;
    color: #fff;
    border: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
}

.submit-btn {
    width: 100%;
    background: #FFAC1C;
    color: white;
    padding: 14px;
    border: none;
    border-radius: 8px;
    font-size: 17px;
    font-weight: 800;
    cursor: pointer;
}

/* Date & Time Container */
.deadline-time-container {
    display: flex;
    gap: 10px;
    width: 100%;
}

.date-picker-custom {
    flex: 1;
    cursor: pointer;
}

/* Custom Select Styling */
.custom-select-wrapper {
    position: relative;
    flex: 1;
    user-select: none;
}

.select-trigger {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
    font-size: 13px;
}

.label-fade {
    color: #aaa;
    margin-right: 10px;
}

.custom-options {
    position: absolute;
    top: 100%; /* Trigger ke bilkul neeche se start ho */
    right: 0;
    width: 150px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    /* Box shadow se ye alag (float karta hua) nazar ayega */
    box-shadow: 0 10px 30px rgba(0,0,0,0.2); 
    display: none; 
    z-index: 9999 !important; /* Ye sab se upar rahega */
    max-height: 250px;
    overflow-y: auto;
}

.custom-options.show {
    display: block;
}

.option {
    padding: 10px 15px;
    font-size: 13px;
    color: #444;
    cursor: pointer;
    transition: 0.2s;
}

.option:hover {
    background: #f0f0f0;
}

.option.active {
    background: #0066ff;
    color: #fff;
}

/* Mobile Fix for Date/Time */
@media (max-width: 480px) {
    .deadline-time-container {
        flex-direction: column;
    }
}

/* --- RESPONSIVENESS (MOBILE & TABLET) --- */



@media (max-width: 1024px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
        height: auto;
    }
    .hero-section .box1 {
        width: 100%;
        margin-bottom: 30px;
    }
    .hero-section .box1 h2 {
        width: 100%;
        font-size: 32px;
        text-align: start;
    }
    .hero-section .box1 p{
        text-align: start;
    }
    .bransreview .images {
        justify-content: center;
    }
    .calc-card {
        height: auto; /* Mobile pe height auto honi chahiye taake dabay na */
        margin-top: 0;
    }
}

@media (max-width: 768px) {
    .input-row {
        flex-direction: column;
    }
    .country-code {
        width: 100% !important;
    }
    .hero-section .box1 h2 {
        font-size: 26px;
    }
}

@media (max-height: 700px) {
    .desc-wrapper textarea { height: 60px; }
    .calc-card {
         padding: 15px 20px;
        width: auto;
    }
    .hero-section .box1 h2{
        margin-top: 5vw;
    }
    
}
@media (max-height: 400px) {
.hero-section .box1{
    margin-top: 17vw;
    }
    
}


.custom-flex-row {
    display: flex;
    gap: 10px;
    width: 100%;
    align-items: center;
}

/* Dono boxes exactly equal width (50/50) */
.input-container, .deadline-box-container {
    flex: 1; 
    height: 48px; /* Height thori kam ki taake inline mein professional lagay */
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 8px;
    display: flex;
    align-items: center; /* Sab kuch vertically center karne ke liye */
    box-sizing: border-box;
    padding: 0 12px;
}

/* Subject Input Styling */
.input-container input {
    width: 100%;
    border: none;
    font-size: 15px;
    outline: none;
    background: transparent;
}

/* Deadline Box Updated (Aik line mein lane ke liye) */
.deadline-box-container {
    display: flex;
    flex-direction: row; /* Stack khatam, row shuru */
    justify-content: space-between;
    gap: 10px; /* Text aur Date ke beech gap */
    position: relative;
}

.deadline-tag {
    font-size: 10px;
    color: #918d8d; 
    font-weight: bold;
    letter-spacing: 0.5px;
    white-space: nowrap; /* Text ko aik hi line mein rakhne ke liye */
}

.date-wrapper {
    display: flex;
    align-items: center;
    flex-grow: 1; /* Date ko baqi bachi jagah dene ke liye */
}

.date-wrapper input[type="date"] {
    border: none;
    background: transparent;
    font-size: 14px;
    outline: none;
    color: #333;
    width: 100%;
    cursor: pointer;
    font-family: inherit;
    text-align: center; /* Date ko center mein dikhane ke liye */
}

.date-wrapper i {
    font-size: 16px;
    color: #666;
    margin-left: 5px;
}

/* Default icon hide kiya taake font-awesome icon chamke */
input[type="date"]::-webkit-calendar-picker-indicator {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

/* Brand Review Section */
.brandreview {
    width: 100%;
    padding: 40px 0;
    background-color: #fff; /* Ya jo bhi aapka background hai */
}

.brand-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px; /* Logos ke darmiyan ka fasla */
    flex-wrap: wrap; /* Mobile par line change karne ke liye */
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.brand-item {
    display: flex;
    flex-direction: column; /* Image upar aur text niche karne ke liye */
    align-items: center;
    text-align: center;
}

.brand-item img {
    height: 40px; /* Logo ka size ek jaisa rakhne ke liye */
    width: auto;
    margin-bottom: 12px; /* Image aur text ke darmiyan gap */
    object-fit: contain;
}

.rating-text {
    font-size: 1.2rem;
    font-weight: 700; /* Bold text */
    color: #000;
    font-family: sans-serif;
}

/* --- Media Queries (Responsive) --- */

@media (max-width: 992px) {
    .brand-container {
        gap: 40px; /* Tablet par gap kam */
    }
    .rating-text {
        font-size: 1rem;
    }
}

@media (max-width: 640px) {
    .brandreview {
        padding: 30px 0;
    }
    .brand-container {
        gap: 30px;
    }
    .brand-item img {
        height: 30px; /* Mobile par chota size */
    }
    .rating-text {
        font-size: 0.9rem;
    }
}




/* Toast Styles (Top Success Message) */
.toast {
    position: fixed;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    padding: 15px 30px;
    border-radius: 8px;
    color: white;
    font-weight: bold;
    transition: top 0.5s ease;
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.toast.success { background-color: #2ecc71; top: 20px; }
.toast.error { background-color: #e74c3c; top: 20px; }

/* Existing Form Styles Fixes */
.calc-card { position: relative; }
.submit-btn:disabled { background: #ccc; cursor: not-allowed; }




.section2 {
    padding: 60px 20px;
    text-align: center; /* Sab kuch center karne ke liye */
}

.section2 .container {
    max-width: 1100px;
    margin: 0 auto;
}

.section2 h2 {
    font-size: 28px;
    margin-bottom: 10px;
    color: #333;
    font-weight: bold;
    font-family: sans-serif;
}
.section2 .box1{
    display: block;
}
/* --- Line Design Start --- */
.design-line {
    position: relative;
    width: 150px;      /* Lambi line ki width */
    height: 10px;      /* Poore design ki height */
    margin: 0 auto 30px auto; /* Heading ke niche center mein */
    display: flex;
    justify-content: center;
    align-items: center;
}

.long-line {
    width: 100%;
    height: 2px;
    background-color: var(--primary-color, #FFAC1C);
    position: absolute;
}

.short-line {
    width: 50px;       /* Choti line ki width */
    height: 6px;       /* Choti line ki motayi */
    background-color: var(--primary-color, #FFAC1C);
    position: absolute;
    border-radius: 10px;
    z-index: 1;
}
/* --- Line Design End --- */

.section2 .box4 p {
    font-size: 16px;
    line-height: 1.6;
    color: #444;
    margin-bottom: 20px;
    font-family:sans-serif;
    font-weight: 600;
}

/* Mobile Fix */
@media (max-width: 768px) {
    .section2 h2 {
        font-size: 22px;
    }
    .section2 .box4 p {
        font-size: 15px;
        text-align: justify; /* Mobile par para sundar dikhay ga */
    }
}








@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

.section3 {
    width: 95%;
    max-width: 850px;
    margin: 0px auto 50px;
    font-family: 'Poppins', sans-serif;
}

.assistance-card {
    background: linear-gradient(135deg, #ffffff 0%, #fffbf0 50%, #FFAC1C 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    position: relative;
    min-height: 190px; /* Height mazeed kam ki */
    box-shadow: 0 10px 25px rgba(255, 172, 28, 0.15);
    padding: 10px 30px; /* Vertical padding kam ki */
    border: 1px solid rgba(255, 172, 28, 0.3);
    overflow: visible; 
    padding-bottom: 0
}

/* Image Container */
.person-img-box {
  flex: 0 0 180px; 
    position: relative;
    align-self: stretch;
}

.person-img-box img {
   width: 210px; 
    height: auto;
    position: absolute;
    /* --- ASLI FIX YAHAN HAI --- */
    bottom: 0px; /* Padding ko cover karne ke liye minus value */
    left: -10px;
    z-index: 10;
    /* Image bari hai to sar khud hi upar nikal jaye ga */
    filter: drop-shadow(0 5px 10px rgba(0,0,0,0.1));
}

.details-box {
    flex: 2;
    padding-left: 10px;
    /* Content ko center mein rakhne ke liye */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.headline h2 {
    font-size: 24px; 
    color: #222;
    margin: 0;
    font-weight: 700;
}

.headline p {
    font-size: 18px;
    color: #555;
    margin: 0 0 8px 0;
}

.action-area {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.theme-divider {
    width: 50px;
    height: 4px;
    background: #002D62;
    border-radius: 10px;
    margin: 4px 0;
}

.wp-tag { font-weight: 700; color: #002D62; font-size: 12px; }
.expert-note { font-size:14px; color: #666; font-weight: 500; }

.whatsapp-link {
    background: #25D366;
    color: white;
    text-decoration: none;
    padding: 8px 18px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 2px solid #fff;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.2);
    transition: 0.3s ease;
}

.whatsapp-link:hover {
    transform: translateY(-2px);
    background: #1ebe57;
}

/* --- RESPONSIVE FIX (Strict Vertical Stack) --- */
@media (max-width: 820px) {
    .assistance-card {
        display: block !important; /* Flexbox khatam, ab ye normal block ki tarah behave karega */
        padding: 30px 20px 0px 20px !important;
        text-align: center;
        height: auto !important;
        min-height: auto !important;
    }

    .person-img-box {
        display: block !important;
        width: 100% !important;
        position: relative !important;
        margin-top: 30px; /* Content aur Button ke baad gap */
        height: auto !important;
    }

    .person-img-box img {
        /* Absolute ko reset kiya taake ye content ke niche chali jaye */
        position: static !important; 
        width: 240px !important;
        margin: 0 auto !important; /* Center mein lane ke liye */
        display: block !important;
        transform: none !important; /* Desktop wala pop-out khatam */
        bottom: 0 !important;
    }

    .details-box {
        display: block !important;
        width: 100% !important;
        padding-left: 0 !important;
        margin-bottom: 10px;
    }

    .action-area {
        display: block !important; /* Isay bhi vertical stack kar diya */
        width: 100%;
    }

    .btn-group {
        margin-top: 20px;
        display: block;
    }

    .whatsapp-link {
        width: 100%; /* Mobile pe poori width ka button */
        max-width: 280px;
        justify-content: center;
        margin: 0 auto;
    }

    .theme-divider {
        margin: 10px auto !important;
    }
}






.section4 {
    width: 100%;
    padding: 60px 0;
    background-color: #f0be2a5e; /* Aapka original background */
    display: flex;
    justify-content: center;
    align-items: center;
}

.stats-container {
    width: 90%;
    max-width: 1200px;
    display: flex;
    flex-wrap: wrap; /* Takay cards touch honay par niche aa jayein */
    justify-content: center;
    gap: 20px;
}

.stat-card {
    background-color: white;
    border-radius: 12px;
    width: 250px; /* Fixed width for better control */
    min-height: 180px;
    padding-top: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden; /* Divider ko nichay chipkanay ke liye */
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-card img {
    width: 45px;
    height: 45px;
    margin-bottom: 15px;
}

.stat-card h2 {
    color: var(--primary-color, #FFAC1C);
    font-size: 28px;
    margin: 0;
    font-weight: 700;
}

.stat-card p {
    font-size: 13px;
    font-weight: 600;
    color: #444;
    margin: 10px 0 20px;
    letter-spacing: 1px;
}

/* Divider Jo nichay chipka hua hai */
.stat-divider {
    width: 100%;
    height: 6px;
    background-color: var(--primary-color, #FFAC1C);
    margin-top: auto; /* Forcefully push to bottom */
}

/* --- RESPONSIVE QUERIES --- */

/* Tablet (2 Cards per row) */
@media (max-width: 1024px) {
    .stats-container {
        gap: 15px;
    }
    .stat-card {
        width: calc(45% - 10px);
        max-width: 280px;
    }
}

/* Mobile (1 Card per row) */
@media (max-width: 600px) {
    .section4 {
        padding: 40px 0;
    }
    .stats-container {
        flex-direction: column;
        align-items: center;
    }
    .stat-card {
        width: 90%;
        max-width: 300px;
    }
}




:root {
    --primary-color: #FFAC1C;
    --navy-blue: #002D62;
}

.rating-section-16 {
    width: 100%;
    padding: 60px 0;
    display: flex;
    justify-content: center;
}

.rating-card-16 {
    width: 90%;
    max-width: 1100px;
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 25px;
    display: flex;
    padding: 40px;
    gap: 40px;
    align-items: center;
}

/* Left Section */
.score-box-16 { flex: 1; }
.score-box-16 h2 { font-size: 36px; font-weight: 800; margin-bottom: 15px; }
.score-flex-16 { display: flex; align-items: center; gap: 20px; }
.big-number-16 h2 { font-size: 80px; color: var(--primary-color); margin: 0; line-height: 1; }
.stars-row-16 .fa-star, .stars-row-16 .fa-star-half { color: var(--primary-color); font-size: 24px; }
.stars-info-16 p { margin-top: 5px; color: #666; font-weight: 500; }

/* Right Section - Bars */
.bars-box-16 { flex: 1.5; width: 100%; }
.progress-item-16 { margin-bottom: 20px; }
.label-row-16 { display: flex; justify-content: space-between; font-weight: 700; font-size: 18px; margin-bottom: 8px; }
.bar-bg-16 { width: 100%; height: 14px; background: #eee; border-radius: 10px; overflow: hidden; }
.bar-fill-16 { 
    height: 100%; 
    width: 0; /* JS Control */
    background: var(--primary-color); 
    border-radius: 10px; 
    transition: width 2s cubic-bezier(0.1, 0.5, 0.5, 1); 
}

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
    .rating-card-16 { flex-direction: column; text-align: center; padding: 30px; }
    .score-flex-16 { justify-content: center; }
    .bars-box-16 { width: 100%; }
    .score-box-16 h2 { font-size: 28px; }
}



.writers-section {
    padding: 60px 0;
    background: #fff;
    text-align: center;
    overflow: hidden;
}

.main-title { font-size: 32px; color: #002D62; margin-bottom: 30px;font-weight: bold; }

.carousel-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.writers-container {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Firefox */
    padding: 20px 0;
}

.writers-container::-webkit-scrollbar { display: none; /* Chrome/Safari */ }

.writer-card {
    background: #fdfbf0;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 25px;
    flex: 0 0 calc(33.333% - 14px); /* Desktop: 3 Cards */
    scroll-snap-align: start;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    text-align: center;
    box-sizing: border-box;
}

/* --- TABLET (2 Writers) --- */
@media (max-width: 1024px) {
    .writer-card {
        flex: 0 0 calc(50% - 10px); /* Show exactly 2 cards */
    }
}

/* --- MOBILE (1 Writer) --- */
@media (max-width: 650px) {
    .writer-card {
        flex: 0 0 85%; /* Show 1 card + hint of next */
        scroll-snap-align: center;
    }
    .writers-container {
        gap: 15px;
    }
}

/* Image & Button Styling */
.img-circle { width: 110px; height: 110px; border-radius: 50%; margin: 0 auto 15px; overflow: hidden; border: 3px solid #FFAC1C; }
.img-circle img { width: 100%; height: 100%; object-fit: cover; }
.writer-name { color: #FFAC1C; font-size: 20px; margin-bottom: 10px; font-weight: bold;}
.writer-desc { font-size: 13px; color: #444; height: 60px; overflow-y: auto; margin-bottom: 15px; }
.stats-row { display: flex; justify-content: space-between; border-top: 1px solid #eee; padding-top: 15px; margin-bottom: 15px; }
.rating-stars span { color: #FFAC1C; }
.rating-stars p, .orders-done p { font-size: 10px; font-weight: bold; }
.orders-done span { color: #FFAC1C; font-weight: bold; }
.hire-btn { background: #FFAC1C; border: none; padding: 10px 25px; border-radius: 8px; font-weight: bold; cursor: pointer; }

/* Dots styling */
.carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 20px; }
.dot { width: 10px; height: 10px; background: #ddd; border-radius: 50%; cursor: pointer; transition: 0.3s; }
.dot.active { background: #FFAC1C; width: 25px; border-radius: 10px; }






/* Center the section in body */
.assignment-section-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px 20px;
}

.container-18 {
    display: flex;
    width: 100%;
    max-width: 1200px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    overflow: hidden;
    min-height: 550px;
}

/* Sidebar Styling */
.sidebar-box {
    flex: 0 0 350px;
    padding: 30px;
    background: #fff;
    border-right: 1px solid #eee;
}

.sidebar-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    margin-bottom: 25px;
    color: #333;
}

.service-tab {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    margin-bottom: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
    font-weight: 600;
}

.service-tab img { width: 30px; margin-right: 15px; }

.service-tab.active {
    background-color: #FFAC1C;
    color: white;
    border-color: #FFAC1C;
    font-weight: bold;
}

/* Content Styling */
.content-box {
    flex: 1;
    padding: 50px;
    background-color: #fafafa;
}

.tab-content {
    display: none; /* Initially hide all */
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block; /* Only show active */
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.tab-content h2 { color: #FFAC1C; font-size: 32px; margin-bottom: 20px; font-weight: bold; }
.tab-content p { line-height: 1.8; color: #000000; font-size: 18px; margin-bottom: 30px; }

.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 40px;
}

.feature-grid span { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.feature-grid i { color: #FFAC1C; }

.hire-btn {
    background: #FFAC1C;
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
}

/* --- RESPONSIVE SETTINGS --- */

@media (max-width: 1024px) {
    .container-18 { flex-direction: column; }
    .sidebar-box {
        flex: none;
        width: 100%;
        display: flex;
        overflow-x: auto; /* Mobile pe horizontal scroll buttons */
        gap: 10px;
        padding: 20px;
    }
    .sidebar-header { display: none; }
    .service-tab { flex: 0 0 auto; margin-bottom: 0; white-space: nowrap; }
    .content-box { padding: 30px 20px; }
}

@media (max-width: 600px) {
    .feature-grid { grid-template-columns: 1fr; }
    .tab-content h2 { font-size: 24px; }
}






.blog-section-container {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 20px;
}

.blog-header h2 {
    font-size: 32px;
    margin-bottom: 40px;
    text-align: center;
    color: #333;
    font-weight: bold;
}

.blog-slider-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 25px;
}

.blog-card {
    flex: 1;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-10px);
}

.blog-img-box {
    width: 100%;
    overflow: hidden;
}

.blog-img-box img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: 0.5s ease;
}

.blog-card:hover .blog-img-box img {
    transform: scale(1.1);
}

.blog-info {
    padding: 20px;
    flex-grow: 1;
}

.blog-info h2 {
    font-size: 19px;
    margin-bottom: 15px;
    line-height: 1.4;
    color: #222;
    font-weight: bold;
}

.blog-info p {
    font-size: 17px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.read-more {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 15px;
    gap: 8px;
}

.read-more img {
    width: 12px;
    transition: 0.3s;
}

.read-more:hover img {
    transform: translateX(5px);
}

/* --- RESPONSIVE LOGIC --- */

/* For Tablets (Under 1024px) */
@media (max-width: 1024px) {
    .blog-slider-wrapper {
        gap: 15px;
    }
    .blog-info h2 { font-size: 17px; }
}

/* For Mobile (Under 768px) - Carousel Mode */
@media (max-width: 768px) {
    .blog-slider-wrapper {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 20px;
        justify-content: flex-start;
    }

    .blog-card {
        flex: 0 0 85%; /* Mobile par card thora sa side se nazar aayega swipe ke liye */
        scroll-snap-align: center;
    }
    
    .blog-slider-wrapper::-webkit-scrollbar {
        height: 5px;
    }
    .blog-slider-wrapper::-webkit-scrollbar-thumb {
        background: var(--primary-color);
        border-radius: 10px;
    }
}




.expertise-section {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.expertise-title h2 {
    font-size: 32px;
    margin-bottom: 40px;
    text-align: center;
    font-weight: bold;
}

.expertise-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.expert-img-box {
    flex: 1;
}

.expert-img-box img {
    width: 100%;
    max-width: 450px;
    border-radius: 15px;
}

.expert-content-box {
    flex: 1.5;
}

/* Subjects Grid Logic */
.subjects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Laptop pe 3 columns */
    gap: 20px;
    margin-bottom: 40px;
}

.subject-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.subject-item img {
    width: 45px;
    height: 45px;
    object-fit: contain;
}

.subject-item span {
    font-weight: 600;
    font-size: 16px;
    color: #333;
}

/* WhatsApp Banner Logic */
.whatsapp-banner {
    background-color: #007E36;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    position: relative;
    overflow: hidden;
}

.wa-bg-icon {
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 80px;
    opacity: 0.15;
}

.wa-content h3 {
    color: #fff;
    font-size: 20px;
    position: relative;
    z-index: 1;
    max-width: 300px;
}

.wa-btn {
    background-color: #FFAC1C;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    z-index: 1;
    transition: 0.3s;
}

.wa-btn a {
    color: #000;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
}

.wa-btn:hover {
    transform: scale(1.05);
}

/* --- RESPONSIVE BREAKPOINTS --- */

/* Tablets */
@media (max-width: 1024px) {
    .expertise-container {
        flex-direction: column;
        text-align: center;
    }
    .expert-img-box img {
        max-width: 350px;
    }
    .subject-item {
        justify-content: center;
    }
}

/* Mobile Devices */
@media (max-width: 768px) {
    .subjects-grid {
        grid-template-columns: repeat(2, 1fr); /* Mobile pe 2 columns */
        gap: 15px;
    }
    .whatsapp-banner {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    .wa-content h3 {
        font-size: 18px;
    }
    .wa-bg-icon {
        width: 60px;
    }
}




.section10 {
    margin-bottom: 50px;
    background-color: #e7b256d3;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    padding: 20px;
    text-align: center;
}

/* Desktop sizing */
.section10 .box1 img, 
.section10 .box3 img {
    opacity: 0.60;
    width: 350px; /* Laptop size */
    height: auto;
    display: block;
}

.section10 .box2 {
    display: flex;
    flex-direction: column; /* Text upar, Button niche */
    align-items: center;
}

.section10 .box2 h2 {
    font-size: 25px;
    width: 350px;
    margin: 0;
    color: #000;
    font-weight: bold;
}

.section10 .box2 button {
    background-color: var(--primary-color);
    border-radius: 5px;
    border: none;
    padding: 12px 40px;
    margin-top: 25px; /* Button text ke niche gap */
    cursor: pointer;
}

.section10 .box2 button a {
    font-size: 20px;
    text-decoration: none;
    color: black;
    font-weight: bold;
}

/* --- RESPONSIVE LOGIC --- */

@media (max-width: 850px) {
    .section10 {
        flex-direction: column; /* Sab kuch ek dusre ke upar niche aa jayega */
        gap: 20px;
    }

    .section10 .box1 img, 
    .section10 .box3 img {
        width: 280px; /* Mobile pe images thori choti */
        margin: 0 auto;
    }

    /* Mobile pe images ki opacity thori kam takay text saaf dikhay */
    .section10 .box1 img { margin-bottom: -10px; } 
    .section10 .box3 img { margin-top: -10px; }

    .section10 .box2 h2 {
        width: 100%;
        max-width: 300px;
        font-size: 22px;
    }
}





/* Parent container */
.faq-container {
    max-width: 1200px;
    margin: 50px auto;
    padding: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.faq-container h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 32px;
    color: #333;
    font-weight: bold;
}

/* Flexbox for 2 Columns */
.faq-columns {
    display: flex;
    gap: 30px;
}

.faq-column {
    flex: 1;
}

.faq-item {
    margin-bottom: 15px;
    border-bottom: 1px solid #eee; /* Light separator */
}

/* Question styling */
.faq-question {
    cursor: pointer;
    font-weight: bold;
    font-size: 18px;
    padding: 15px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 5px;
    transition: 0.3s;
}

/* Plus icon using ::after */
.faq-question::after {
    content: "+";
    font-size: 22px;
    transition: transform 0.3s;
    color: #f7a400; /* Matching your theme color */
}

/* Active State Styles */
.faq-item.active .faq-question {
    background-color: #f9f9f9;
}

.faq-item.active .faq-question::after {
    content: "-";
    transform: rotate(180deg);
}

/* Answer styling */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out; /* Smooth slide */
    font-size: 15px;
    line-height: 1.6;
    color: #666;
    padding: 0 15px;
}

.faq-item.active .faq-answer {
    padding: 10px 15px 20px 15px;
}

/* --- RESPONSIVE LOGIC --- */
@media (max-width: 992px) {
    .faq-columns {
        flex-direction: column; /* Tablet/Mobile pe 1 column */
        gap: 0;
    }
    .faq-container h2 {
        font-size: 26px;
    }
}


/* --- Review Section & Title --- */
.review-section {
    padding: 60px 0;
    background-color: transparent; /* Taake aapke page ke background se match kare */
}

.section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 30px;
    color: #333; /* Default dark color */
    font-family: 'Arial', sans-serif;
    text-transform: uppercase;
    font-weight: bold;
}

.section-title span {
    color: #f7a400; /* Aapki theme ka Orange color */
}

/* --- Carousel Parent --- */
.carousel {
    position: relative;
    width: 90%;
    overflow: hidden;
    margin: 20px auto 50px auto;
    border-radius: 10px;
    padding: 20px 0;
    background: none;
}

.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 20px; /* Space between cards */
}

/* --- Individual Card (Back to your Dark Theme) --- */
.card {
    flex: 0 0 calc(33.33% - 14px); /* Desktop: 3 cards */
    max-width: 350px;
    background: #f9f9f9; /* Your original dark color */
    border-radius: 10px;
    padding: 25px 20px;
    box-sizing: border-box;
    text-align: center;
    color: #fff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    border-bottom: 4px solid #f7a400; /* Nichay orange line for style */
}

.card img {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 2px solid #f7a400;
}

.card h3 {
    margin: 10px 0 5px 0;
    font-size: 18px;
    color: #f7a400; /* Name orange kar diya taake dark bg pe chamke */
}

.rating {
    margin: 5px 0;
    color: gold;
}

.card p {
    font-size: 14px;
    color: #000000;
    line-height: 1.5;
    text-align: center;
}

/* --- Navigation Buttons --- */
.buttons {
   position: absolute;
    /* 50% se badha kar 60% ya 65% kar diya taake niche aa jayein */
    top: 60%; 
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 5px; /* Cards ke thoda aur kareeb */
    box-sizing: border-box;
    pointer-events: none;
    z-index: 10;
}

.buttons button {
    background-color: #fff;
    border: none;
    color: #111;
    font-size: 18px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    pointer-events: auto;
    transition: 0.3s;
}

.buttons button:hover {
    background-color: #f7a400;
    color: #fff;
}

/* --- RESPONSIVE LOGIC --- */

@media (max-width: 1024px) {
    .card {
        flex: 0 0 calc(50% - 10px); /* Tablet: 2 Cards */
    }
    .section-title {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .card {
        flex: 0 0 100%; /* Mobile: 1 Card poori screen pe */
    }
    .slides {
        gap: 0;
    }
    .carousel {
        width: 95%;
    }
    .section-title {
        font-size: 24px;
        padding: 0 10px;
    }
}