/*
============================
Name:  Quad - Sass Landing Page Theme
Version: 1.0.2
Description: Quad - Sass Landing Page Theme
Author: Vikiglab
Author URI :https://themeforest.net/user/vikinglab/portfolio
Location:
============================
*/

.site-logo img {
    height: 60px; /* adjust as needed */
    width: auto;
}

.icon-circle {
    width: 20px;
    height: 20px;
    min-width: 20px; /* prevents shrinking */
    min-height: 20px;
    background-color: #18446b;
    border-radius: 50%;
    display: inline-flex; /* better for inline alignment */
    align-items: center;
    justify-content: center;
    line-height: 1; /* removes extra spacing */
    margin-top: 8px;
}

.icon-circle i {
    color: #fff;
    font-size: 10px;
}

.images video {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 12px; /* optional for premium look */
    /* border: 5px solid #18446b; */
}

.tabs-icon i,
.tabs-icon1 i,
.tabs-icon2 i,
.tabs-icon3 i {
    font-size: 22px;
    color: #18446b;
}

.tabs-icon,
.tabs-icon1,
.tabs-icon2,
.tabs-icon3 {
    background: linear-gradient(135deg, #f1bc30 0%, #ffdf7e 50%, #e6a800 100%);
    padding: 14px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Phone icon spacing */
.call-btn i {
    margin-right: 8px;
    display: inline-block;
}

/* Vibrate animation */
@keyframes vibrate {
    0% {
        transform: rotate(0deg);
    }
    20% {
        transform: rotate(-10deg);
    }
    40% {
        transform: rotate(10deg);
    }
    60% {
        transform: rotate(-10deg);
    }
    80% {
        transform: rotate(10deg);
    }
    100% {
        transform: rotate(0deg);
    }
}

/* Apply animation */
.call-btn i {
    animation: vibrate 0.6s infinite;
}

.copyright-social-area p {
    font-size: 16px; /* smaller size */
    color: #777; /* optional softer color */
}

.brand-highlight {
    color: #18446b; /* blue color */
    font-weight: 600;
}

/* Mobile Nav Fix - Make Services Clickable */
span.submenu-button {
    width: 60px !important;
    right: 0 !important;
    left: auto !important;
}
.mobile-nav li > a {
    position: relative;
    z-index: 1;
}

.footer-auhtor-area img.footer-logo {
    width: 200px !important;
    height: auto !important;
    max-width: unset !important;
    display: block;
}
.footer-auhtor-area {
    overflow: visible;
}
@media (max-width: 768px) {
    .footer-auhtor-area img.footer-logo {
        width: 200px !important;
    }
}

.footer-auhtor-area ul li a i {
    margin-right: 10px;
    color: #18446b; /* or your theme color */
}

/* Calculation section start */

.calculator-card {
    background: #18446b;
    color: #fff;
    padding: 30px;
    border-radius: 20px;
}

.amount-box {
    background: #f4c430;
    padding: 10px 18px;
    border-radius: 30px;
    font-size: 30px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
}

.amount-box input {
    border: none;
    background: transparent;
    font-size: 22px;
    width: 120px;
    outline: none;
}

.slider-label {
    display: flex;
    justify-content: space-between;
}

input[type="range"] {
    width: 100%;
    accent-color: #f4c430;
}

.result-box {
    margin-top: 25px;
    font-size: 18px;
}

.highlight {
    background: #f4c430;
    color: #000;
    font-size: 24px;
    padding: 5px 12px;
    border-radius: 20px;
    margin-left: 8px;
    font-weight: bold;
}

.pill {
    background: #ddd;
    color: #000;
    padding: 4px 10px;
    border-radius: 20px;
    margin: 0 5px;
    font-weight: bold;
}

.value-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 50px;
    height: 36px;

    background: transparent;
    color: #fff;

    border-radius: 20px;
    font-weight: 600;

    border: 2px solid #fff;
}
/* Calculation section end */

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    text-decoration: none;
    color: #ccc;
}

.contact-item i {
    flex-shrink: 0; /* 🔥 prevents icon from moving */
    width: 20px;
    margin-top: 4px;
    color: #f1bc30;
}

.contact-item span {
    flex: 1;
    line-height: 1.6;
}

.section-heading h2 {
    font-weight: 700;
    margin-bottom: 10px;
    color: #18446b;
    display: inline-block;
    background: #f7f3f7;
    padding: 8px;
    border-radius: 4px;
}

.section-heading p {
    color: #666;
    font-size: 18px;
    line-height: 1.6;
}

/* about us page  */
.trust-section {
    padding: 40px 30px;
    background: #f1bc30;
    border-radius: 12px;
    max-width: 100%;
    /* margin: 60px auto 0; */
    margin: 0px auto 40px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

.trust-section h3 {
    font-weight: 700;
    margin-bottom: 10px;
}

.trust-count {
    font-size: 28px;
    font-weight: 700;
    color: #18446b;
    margin-bottom: 10px;
}

.trust-desc {
    color: #666;
    line-height: 1.6;
    font-size: 15px;
    margin-bottom: 15px;
}

.trust-tagline {
    font-weight: 600;
    font-size: 16px;
    color: #000;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.about-section-area .heading4 h2 {
    font-size: 36px;
}

/* Service page */
.marketing-section-area .row.sp {
    margin-top: 120px; /* adjust 30–60px as needed */
}

.marketing-header span {
    background: linear-gradient(135deg, #f1bc30 0%, #ffdf7e 50%, #e6a800 100%);
    padding: 8px 12px;
    line-height: 16px;
    border-radius: 5px;
    display: inline-block;
    font-size: 16px;
    font-weight: 800;
    color: #18446b;
}

.services-content-area p {
    font-size: 16px;
    line-height: 2;
    color: #555;
    margin-top: 80px;
    text-align: justify;
}

.service-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 25px 35px;
    border-radius: 14px;
    margin-bottom: 25px;
    position: relative;
    border-left: 4px solid #f1bc30;

    /* 👇 ADD THIS */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.service-card:hover {
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

/* LEFT SIDE */
.service-left {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 35%;
}

.service-icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #f1bc30 0%, #ffdf7e 50%, #e6a800 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon i {
    color: #fff;
    font-size: 20px;
}

.service-left h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    color: #18446b;
}

/* RIGHT SIDE */
.service-right {
    width: 60%;
}

.service-right ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 40px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.service-right li {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 16px;
    color: #444;
}

/* ICON STYLE */
.service-right li i {
    color: #8cc63f;
    font-size: 14px;
}

/* HOVER (light only like your image) */
.service-card:hover {
    background: #f7f7f7;
}

/* Allow wrapping */
.service-card {
    flex-wrap: wrap;
}

/* Button full width */
.service-btn-full {
    width: 100%;
    text-align: center;
    margin-top: 20px;
}

/* Button style */
.know-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 10px;
    background: #18446b;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.know-more-btn:hover {
    background: linear-gradient(135deg, #f1bc30 0%, #ffdf7e 50%, #e6a800 100%);
    transform: translateY(-2px);
}

.know-more-btn i {
    transition: 0.3s;
}

.know-more-btn:hover i {
    transform: translateX(5px);
}

/* Contact us */

.maint-5 {
    margin-top: 120px; /* match your section spacing */
}

.contact-header span {
    background: linear-gradient(135deg, #f1bc30 0%, #ffdf7e 50%, #e6a800 100%);
    padding: 8px 12px;
    line-height: 16px;
    border-radius: 5px;
    display: inline-block;
    font-size: 16px;
    font-weight: 800;
    color: #18446b;
}

/* Section */
.contact-section-area {
    background: #f9f9f9;
}

/* Info Box */
.contact-info .info-box {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}

/* Icon + Title inline */
.info-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 8px;
}

.info-header i {
    font-size: 18px;
    color: #f1bc30;
}

.info-header h4 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #18446b;
}

.contact-info p {
    font-size: 14px;
    color: #555;
    padding-left: 35px;
}

/* Form */
.contact-form {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.06);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 14px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #f1bc30;
    outline: none;
}

/* Button */
.contact-btn {
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: var(--white-100, #fff);
    display: inline-block;
    position: relative;
    z-index: 1;
    line-height: 16px;
    padding: 16px;
    border-radius: 5px;
    background: #18446b;
    transition: all 0.4s ease-in-out;
    margin-top: 10px;
}

.contact-btn:hover {
    background: linear-gradient(135deg, #f1bc30 0%, #ffdf7e 50%, #e6a800 100%);
    transform: translateY(-2px);
}

.contact-btn i {
    margin-left: 6px;
}

/* Map */
.contact-map iframe {
    width: 100%;
    border-radius: 12px;
}

.contact-map iframe {
    width: 100%;
    height: 400px;
    border: 0;
    /* border-radius: 12px; */
    border: 5px solid #18446b;
}

.contact-map {
    border: 5px solid #18446b;
    border-radius: 12px;
}

/* Mutual Funds */
.mutualmarg {
    margin-top: 100px;
}
/* Dropdown */
.dropdown {
    width: 100%;
    padding: 10px;
    border-radius: 10px;
    border: none;
    outline: none;
}

.mf-info-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    line-height: 1.7;
}

.mf-info-card h3 {
    font-size: 26px;
    margin-bottom: 15px;
    color: #18446b;
}

.mf-info-card h4 {
    margin-top: 25px;
    margin-bottom: 10px;
    font-size: 20px;
    color: #18446b;
}

.mf-info-card ul {
    padding-left: 18px;
}

.mf-info-card ul li {
    margin-bottom: 8px;
}

/* ============================Coin Flow Animation CSS============================ */

.specback span {
    background: linear-gradient(135deg, #f1bc30 0%, #ffdf7e 50%, #e6a800 100%);
    padding: 8px 12px;
    line-height: 16px;
    border-radius: 5px;
    display: inline-block;
    font-size: 16px;
    font-weight: 800;
    color: #18446b;
}

/* Coin Flow Animation CSS */
.coin-flow-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; /* Spans only the local area, though we will move coins between containers */
    pointer-events: none;
    z-index: 999;
    overflow: visible;
}

.flowing-coin {
    position: absolute; /* Fixed to follow scroll easily during transition */
    top: 0;
    left: 0;
    width: 100px;
    z-index: 99; /* Must be lower than header-sticky z-index */
    pointer-events: none;
    opacity: 0; /* Changed from 1 to 0 to prevent flicker */
    transform: translate(-50%, -50%);
    /* Stronger shadow */
}

@media (max-width: 767px) {
    .flowing-coin {
        width: 30px;
    }
}

/* Ensure sticky header always stays on top of coin */
.header-sticky,
.mobile-header,
.header-area.header-sticky {
    z-index: 9999 !important;
}
/* ============================Coin Flow Animation CSS============================ */

/* Calculator page  */

.calc-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    border: 2px solid #eee;
}

.calc-card i {
    font-size: 28px;
    color: #f1bc30;
    margin-bottom: 15px;
}

.calc-card h4 {
    font-size: 20px;
    margin-bottom: 10px;
}

.calc-card p {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.calc-card a {
    color: #18446b;
    font-weight: 600;
    text-decoration: none;
}

.calc-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-color: #f1bc30;
}

#calcall {
    margin-top: 60px;
}

/* ==================================Responsive - By Vaishnavi for Index Page ================================== */

/* Center items globally in responsive views */
@media (max-width: 991px) {
    .others-collaborate-area,
    .welcome4-header,
    .works4-header,
    .marketing-header,
    .section-heading {
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    .others-collaborate-area p,
    .others-collaborate-area h2,
    .others-collaborate-area span,
    .section-heading h2,
    .section-heading p {
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    /* Centering animated elements */
    [data-aos],
    .aos-init {
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    /* List Area & Button Centering */
    .listarea {
        display: flex !important;
        align-items: flex-start !important;
        text-align: left !important;
        justify-content: flex-start !important;
        max-width: 100%;
        width: fit-content !important;
        margin: 0 auto 15px !important;
    }

    .btn-area.listarea,
    .btn-area {
        justify-content: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
        width: 100% !important;
        display: flex !important;
    }
}

/* --- Mobile View (Max 767px) --- */
@media (max-width: 767px) {
    img[data-aos],
    .aos-init img {
        display: block !important;
        margin: 0 auto !important;
    }

    /* Section Padding & Spacing */
    .sp1,
    .sp2,
    .sp3,
    .sp4,
    .sp6,
    .sp8 {
        padding: 30px 0 !important;
    }
    .space100 {
        height: 25px !important;
    }
    .space60 {
        height: 20px !important;
    }
    .space40 {
        height: 15px !important;
    }
    .space32 {
        height: 15px !important;
    }
    .space24 {
        height: 10px !important;
    }
    .space20 {
        height: 8px !important;
    }
    .space16 {
        height: 8px !important;
    }

    /* Typography & Hierarchy */
    .heading5 h1,
    .heading6 h2,
    .heading4 h2,
    .section-heading h2 {
        font-size: 26px !important;
        line-height: 1.3 !important;
    }
    .heading6 p,
    .section-heading p {
        font-size: 15px !important;
        line-height: 1.5 !important;
        padding: 0;
    }

    /* Stacking Order Logic */
    .row.align-items-center {
        display: flex;
        flex-direction: column;
    }
    .others4-section-area .row,
    .marketing-section-area .row {
        flex-direction: column-reverse !important;
    }
    .others4-section-area .row:has(.collaborate-img.img2) {
        flex-direction: column !important;
    }
    .sticky-section-area .row {
        flex-direction: column !important;
    }

    /* Component UI Refinement */
    .welcome4-section-area {
        padding-top: 120px !important;
    }
    .welcome4-header {
        margin-top: 0 !important;
    }
    .welcome4-header .btn-area {
        display: flex;
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }
    .welcome4-images-area {
        margin-top: 30px !important;
        order: 2;
    }
    .welcome4-images-area p {
        position: static !important;
        margin: 15px auto 0 !important;
        width: 100%;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    }
    .header4-bg2,
    .header4-elements,
    .aniamtion-key-5 {
        display: none !important;
    }

    .others-collaborate-area span {
        margin: 0 auto;
        display: table;
    }
    .others-collaborate-area .btn-area {
        justify-content: center;
        margin-left: 0 !important;
    }
    .collaborate-img {
        margin-top: 15px;
        order: 2;
    }

    /* --- About Us Page Specific (Mobile) --- */
    .about-header-area {
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }
    .about-header-area h2 {
        font-size: 24px !important;
        line-height: 1.3 !important;
    }
    .about-header-area p {
        text-align: center !important;
        font-size: 15px !important;
    }

    /* Stacking for About Journey/Process - Image first */
    .process-section-area .row {
        flex-direction: column !important; /* Image then Content */
    }
    .process-section-area .process-section2 .row {
        flex-direction: column-reverse !important; /* Reverse to put Image on top */
    }
    .process-images {
        margin-top: 15px;
        margin-bottom: 15px;
    }

    /* Philosophy & Team */
    .service-inner-boxarea,
    .blog-team-images {
        margin-bottom: 30px;
        text-align: center !important;
    }
    .service-inner-boxarea .icons,
    .blog-team-images .img1 {
        margin: 0 auto 15px !important;
    }

    /* --- Services Page Specific (Mobile) --- */
    .service-card {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        padding: 25px 20px !important;
    }
    .service-left,
    .service-right {
        width: 100% !important;
    }
    .service-right ul {
        display: block !important;
        text-align: left !important;
        margin-top: 15px;
        padding-left: 0;
    }
    .service-right li {
        justify-content: flex-start !important;
        margin-bottom: 10px;
    }
    .service-icon {
        margin: 0 auto 15px !important;
    }
    .service-btn-full {
        margin-top: 15px !important;
    }

    /* Works / Journey Card Style */
    .sticky-text {
        position: relative !important;
        top: 0 !important;
        margin-bottom: 15px !important;
        padding: 20px 15px !important;
        border-radius: 0 10px 10px 0;
    }

    .tabs-text-area {
        flex-direction: column;
        padding: 20px;
        background: #f9f9f9;
        border-radius: 12px;
        margin-bottom: 15px;
    }
    .tabs-icon {
        margin: 0 auto 15px !important;
    }
    .marketing-img {
        margin-top: 20px;
        order: 2;
    }

    .calculator-card {
        margin-top: 30px !important;
        padding: 20px 15px !important;
    }
    .amount-box {
        scale: 0.8;
        width: 100%;
        justify-content: center;
    }

    /* Result Box Mobile Fix - Space Compression */
    .result-box {
        text-align: center !important;
        font-size: 14px !important;
        line-height: 1.6 !important;
        margin-top: 25px !important;
        padding: 0 10px !important;
        color: rgba(255, 255, 255, 0.95);
    }
    .result-box br {
        display: none !important;
    }

    .highlight {
        font-size: 22px !important;
        display: table !important;
        margin: 10px auto !important;
        padding: 5px 15px !important;
        background: #f4c430 !important;
        border-radius: 12px !important;
        color: #000 !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }
    .pill {
        font-size: 11px !important;
        padding: 3px 10px !important;
        display: inline-block !important;
        white-space: nowrap !important;
        margin: 4px 2px !important;
        background: #ddd;
        color: #000 !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
        border-radius: 20px !important;
    }
    /* Bottom details spacing */
    .calculator-card p {
        margin-bottom: 5px !important;
        text-align: center !important;
        font-size: 13px;
        opacity: 0.9;
    }
}

/* --- Tablet / iPad View (768px - 991px) --- */
@media (min-width: 768px) and (max-width: 991px) {
    img[data-aos],
    .aos-init img {
        display: block !important;
        margin: 0 auto !important;
    }

    /* Larger Section Spacing for Pads */
    .sp1,
    .sp2,
    .sp3,
    .sp4,
    .sp6,
    .sp8 {
        padding: 60px 0 !important;
    }
    .space100 {
        height: 40px !important;
    }
    .space60 {
        height: 30px !important;
    }

    /* Improved Hierarchy for Pads */
    .heading5 h1,
    .heading6 h2,
    .heading4 h2,
    .section-heading h2 {
        font-size: 34px !important;
        line-height: 1.2 !important;
    }
    .heading6 p,
    .section-heading p {
        font-size: 17px !important;
        max-width: 700px;
    }

    /* Stacking Logic */
    .row.align-items-center {
        flex-direction: column;
    }
    .others4-section-area .row,
    .marketing-section-area .row {
        flex-direction: column-reverse !important;
    }
    .others4-section-area .row:has(.collaborate-img.img2) {
        flex-direction: column !important;
    }

    /* UI Component Fixes for Pad */
    .welcome4-section-area {
        padding-top: 140px !important;
    }
    .welcome4-images-area {
        margin-top: 40px !important;
        order: 2;
    }

    .collaborate-img {
        margin-top: 30px;
        order: 2;
    }
    .collaborate-img img,
    .marketing-img img {
        max-width: 80% !important;
        margin: 0 auto;
    }

    /* --- About Us Page Specific (Tablet) --- */
    .about-header-area h2 {
        font-size: 32px !important;
    }
    .about-header-area p {
        font-size: 17px !important;
        max-width: 800px;
        margin: 0 auto !important;
    }

    /* Stacking for About Journey/Process (Tablet) */
    .process-section-area .row {
        flex-direction: column !important;
    }
    .process-section-area .process-section2 .row {
        flex-direction: column-reverse !important;
    }
    .process-images img {
        max-width: 80% !important;
        margin: 0 auto;
        display: block;
    }

    /* Philosophy Grid Balance */
    .service-inner-boxarea {
        margin-bottom: 40px;
        padding: 30px;
    }

    /* --- Services Page Specific (Tablet) --- */
    .service-card {
        padding: 30px !important;
    }
    .service-left {
        width: 100% !important;
        margin-bottom: 20px;
        justify-content: center !important;
    }
    .service-right {
        width: 100% !important;
    }
    .service-right ul {
        grid-template-columns: repeat(
            2,
            1fr
        ) !important; /* Keep 2 cols on tablet */
        gap: 15px 30px !important;
    }

    /* Fixing Overlaps in Tabs Area on Pad */
    .tabs-text-area {
        max-width: 650px;
        margin: 0 auto 25px;
        padding: 30px !important;
        background: #f9f9f9;
        border-radius: 15px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    }
    .tabs-icon {
        margin: 0 0 20px 0 !important;
        display: inline-flex !important;
        position: static !important;
    }
    .tabs-text a {
        font-size: 22px !important;
        display: block;
        margin-bottom: 10px;
    }

    /* Calculator Pad Fix */
    .calculator-card {
        max-width: 650px;
        margin: 40px auto 0 !important;
        padding: 40px !important;
    }
    .result-box {
        font-size: 18px !important;
        line-height: 1.8 !important;
        margin-top: 30px !important;
    }
    .result-box br {
        display: none !important;
    }

    .highlight {
        font-size: 28px !important;
        display: table !important;
        margin: 15px auto !important;
        padding: 8px 15px !important;
        border-radius: 15px !important;
        color: #18446b !important;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    }
    .pill {
        font-size: 14px !important;
        padding: 5px 12px !important;
        display: inline-block !important;
        white-space: nowrap !important;
        margin: 0 4px !important;
        background: rgba(255, 255, 255, 0.1) !important;
        color: #fff !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
    }
}

/* --- Download Section Css --- */
.download-section {
    padding: 100px 0;
    background-color: #fff;
    overflow: hidden;
    position: relative;
}

.dl-subtitle {
    color: #f1bc30;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 15px;
    display: inline-block;
}

.download-content h2 {
    font-size: 38px;
    color: #11284a;
    font-weight: 700;
    margin-bottom: 14px;
    line-height: 1.3;
}

.download-content p {
    font-size: 16px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 10px;
    text-align: justify;
}

.dl-btn {
    display: inline-flex;
    gap: 15px;
    align-items: center;
}

.dl-btn a img {
    height: 50px;
    border-radius: 8px;
    transition: transform 0.3s ease;
    background-color: #e6a800;
    border: 2px solid #f1bc30;
}

.dl-btn a:hover img {
    transform: translateY(-4px);
}

.dl-moc {
    position: relative;
    width: 70%;
    max-width: 320px;
    margin: 0 auto;
    z-index: 2;
}

.dl-mockup-img {
    width: 100%;
    display: block;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border-radius: 40px; /* Applies if the image has slightly rounded transparent corners */
}

@media (max-width: 991px) {
    .dl-moc {
        position: relative;
        right: auto;
        bottom: auto;
        width: 80%;
        margin: 40px auto 0;
    }
    .text-center-mobile {
        text-align: center !important;
    }
    .text-center-mobile p {
        text-align: center !important;
        margin-left: auto;
        margin-right: auto;
    }
    .text-center-mobile .dl-btn {
        justify-content: center !important;
    }
}

/* ==== 404 Page Styles ==== */
.about-welcome-section-area.about2 {
    padding: 30px 0 20px;
}
.error-section-area {
    padding: 40px 0 60px;
    text-align: center;
}
.error-section-area .error-content img {
    max-width: 390px;
    height: auto;
}
.error-section-area .content-area h3 {
    font-size: 1.8rem;
    color: #18446b;
    margin-bottom: 12px;
}
.error-section-area .content-area p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 24px;
}
.error-section-area .content-area .header-btn2 {
    background: #18446b;
    color: #fff;
    padding: 12px 32px;

    text-decoration: none;
    display: inline-block;
    font-weight: 600;
    transition:
        background 0.3s,
        transform 0.2s;
}
.error-section-area .content-area .header-btn2:hover {
    background: #18446b;
    transform: translateY(-2px);
}

.download-features {
    list-style: none;
    padding: 0;
    margin-top: 2px;
}

.download-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 2px;
    font-size: 15px;
    color: #444;
}

.download-features i {
    color: #18446b; /* or your theme color */
    font-size: 16px;
}

.who-we-work-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.who-we-work-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    font-size: 15px;
    color: #444;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: 0.3s ease;
}

.who-we-work-list li:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.who-we-work-list i {
    color: #18446b;
    font-size: 14px;
    background: rgba(13, 110, 253, 0.1);
    padding: 6px;
    border-radius: 50%;
}

@media (max-width: 576px) {
    .who-we-work-list {
        grid-template-columns: 1fr;
    }
}

/*  */
.freedom-section {
    background: #18446b;
    padding: 80px 0;
}

.freedom-box {
    background: #ffffff;
    padding: 50px 40px;
    border-radius: 14px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.freedom-box h2 {
    color: #18446b;
    font-weight: 700;
}

.freedom-box p {
    color: #444;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 14px;
}

.highlight-text {
    color: #18446b;
    font-weight: 600;
    font-size: 18px;
    border-left: 4px solid #f1bc30;
    padding-left: 12px;
}

.emphasis {
    color: #18446b;
    font-weight: 600;
}

.divider {
    width: 60px;
    height: 3px;
    background: #f1bc30;
    margin: 20px auto;
    border-radius: 2px;
}

.highlight-end {
    color: #18446b;
    font-weight: 700;
    font-size: 18px;
    margin-top: 20px;
}

/* ==========================================================================
   Responsive Menu & Toggle Overlap Fix (Mobile & iPad)
   ========================================================================== */
@media (max-width: 991px) {
    /* Fix Mobile Header Overlap */
    .mobile-header {
        background: #ffffff !important;
        position: sticky !important;
        top: 0;
        width: 100%;
        z-index: 9999 !important;
        padding: 12px 0 !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    }

    /* Prevent Logo and Toggle Collision */
    .mobile-header-elements {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        gap: 15px !important;
        padding: 0 10px;
    }

    .mobile-logo {
        max-width: 65% !important; /* Limit logo width to give space to toggle */
        flex-shrink: 1;
    }

    .mobile-logo img {
        max-height: 45px !important; /* Standardize logo height on mobile/ipad */
        width: auto !important;
        display: block;
    }

    .mobile-nav-icon {
        flex-shrink: 0; /* Don't let toggle shrink */
        margin-left: auto;
        background: #18446b !important;
        color: #fff !important;
        border: none !important;
        width: 44px !important;
        height: 44px !important;
        border-radius: 8px !important;
        display: flex !important;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .mobile-nav-icon:hover {
        background: #f1bc30 !important;
        color: #18446b !important;
    }

    /* Sidebar Improvements to avoid overlap */
    .mobile-sidebar {
        padding: 20px !important;
        z-index: 10000 !important;
    }

    .logosicon-area {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        margin-bottom: 30px !important;
        padding-bottom: 15px !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .logosicon-area .logos img {
        max-height: 40px !important;
        width: auto !important;
    }

    .menu-close {
        position: static !important; /* Remove absolute positioning inside sidebar to avoid overlap */
        font-size: 28px !important;
        color: #18446b !important;
        background: rgba(24, 68, 107, 0.05);
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
    }

    /* Remove extra margins from content that were compensating for absolute header */
    .about-section-area .container,
    .welcome4-section-area {
        margin-top: 20px !important;
    }
}

/* Specific iPad optimization */
@media (min-width: 768px) and (max-width: 991px) {
    .mobile-header {
        padding: 15px 0 !important;
    }
    .mobile-logo img {
        max-height: 55px !important;
    }
}

/* ==========================================================================
   New Testimonial Section UI 
   ========================================================================== */
.testimonial-new-section {
    background: #fff;
    overflow: hidden;
}

.testimonial-header h2 span {
    color: #18446b;
}

/* Featured Testimonial (Yellow Card) */
/* Featured Testimonial (Yellow Card) */
.featured-testimonial {
    background: #f1bc30;
    padding: 50px 40px;
    border-radius: 20px;
    color: #000;
    position: relative;
    min-height: 480px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.4s ease;
    cursor: pointer;
}

.featured-testimonial:hover {
    transform: scale(1.02);
}

.featured-testimonial .quote-content {
    max-height: 250px !important;
    overflow-y: auto !important;
    padding-right: 25px;
    padding-bottom: 20px; /* Space to prevent cut-off words */
    margin-bottom: 30px;
}

/* Featured Card Scrollbar = Black Line */
.featured-testimonial .quote-content::-webkit-scrollbar {
    width: 6px !important;
}
.featured-testimonial .quote-content::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05) !important;
}
.featured-testimonial .quote-content::-webkit-scrollbar-thumb {
    background: #000 !important;
}

.featured-testimonial .quote-content p {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.6;
    margin: 0;
    color: #000;
    text-align: justify;
}

.featured-testimonial .author-area {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: auto;
}

.featured-testimonial .author-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #fff;
    flex-shrink: 0;
}

.featured-testimonial .author-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-testimonial .author-info h4 {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
}

.featured-testimonial .author-info p {
    font-size: 14px;
    margin: 0;
    opacity: 0.8;
}

/* Side Testimonials (Grey Cards) */
.side-testimonial-wrapper {
    position: relative;
    padding-right: 70px;
}

.side-testimonial-card {
    background: #f8f8f8;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 20px;
    transition: all 0.4s ease;
    border: 2px solid transparent; /* Placeholder to prevent jumping */
    cursor: pointer;
}

.side-testimonial-card:hover {
    background: #fff;
    border: 2px solid #f1bc30; /* Visible whole border yellow */
    transform: translateY(-5px);
}

.side-testimonial-card .card-content {
    max-height: 120px !important;
    overflow-y: auto !important;
    padding-right: 20px;
    padding-bottom: 15px; /* Space to prevent cut-off words */
    margin-bottom: 20px;
}

/* Side Card Scrollbar = Yellow Line */
.side-testimonial-card .card-content::-webkit-scrollbar {
    width: 5px !important;
}
.side-testimonial-card .card-content::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.03) !important;
}
.side-testimonial-card .card-content::-webkit-scrollbar-thumb {
    background: #f1bc30 !important;
}

.side-testimonial-card .card-content p {
    font-size: 15px;
    line-height: 1.6;
    color: #444;
    margin: 0;
    text-align: justify;
}

.side-testimonial-card .card-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.side-testimonial-card .author-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: #eee;
}

.side-testimonial-card .author-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Navigation & Slider */
.testimonial-nav-arrows {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.testimonial-nav-arrows div {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid #f1bc30; /* Use brand yellow for arrows */
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s;
    font-size: 16px;
    color: #f1bc30; /* Use brand yellow for arrows */
}

.testimonial-nav-arrows div:hover {
    background: #f1bc30;
    color: #000;
}

.side-testimonial-slider .slick-list {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    margin: -10px 0 !important; /* Counteract padding to keep layout tight */
}

.side-testimonial-slider .slick-slide {
    margin-bottom: 20px;
}

@media (max-width: 991px) {
    .testimonial-new-section {
        padding: 50px 0;
    }
    .side-testimonial-wrapper {
        padding-right: 0;
        margin-top: 30px;
    }
    .testimonial-nav-arrows {
        position: relative;
        top: 0;
        transform: none;
        flex-direction: row;
        justify-content: center;

        gap: 25px;
    }
    .testimonial-nav-arrows::before {
        display: none;
    }
    .testimonial-nav-arrows div {
        width: 50px; /* Larger tap target for mobile */
        height: 50px;
        background: #f8f8f8;
    }
    .featured-testimonial {
        min-height: auto;
        padding: 40px 25px;
        margin-bottom: 20px;
        text-align: center; /* Centered content for mobile */
    }
    .featured-testimonial .quote-content {
        max-height: none !important;
        padding-right: 0;
    }
    .featured-testimonial .author-area {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    .side-testimonial-card {
        padding: 25px 20px;
        text-align: center; /* Centered footer for side cards on mobile */
    }
    .side-testimonial-card .card-author {
        flex-direction: column;
        justify-content: center;
        gap: 10px;
    }
    .side-testimonial-card .card-content {
        max-height: none !important; /* Allow natural flow on mobile slider */
        padding-right: 0;
    }
}

@media (max-width: 575px) {
    .featured-testimonial .quote-content p {
        font-size: 18px;
        line-height: 1.5;
    }
    .side-testimonial-card .card-content p {
        font-size: 15px;
    }
    .featured-testimonial .author-img {
        width: 70px;
        height: 70px;
    }
}

/* ==========================================================================
   Horizontal Alternating Team Layout
   ========================================================================== */
.team-section-area {
    background: #fdfdfd;
}

.team-horizontal-card {
    background: #fff;
    padding: 40px;
    border-radius: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05); /* Soft premium shadow */
    transition: transform 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.team-horizontal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
}

.team-img-horizontal {
    width: 100%;
    border-radius: 40px; /* Large rounded corners from image */
    overflow: hidden;
    position: relative;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.team-img-horizontal img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.team-content-horizontal h3 {
    font-size: 32px;
    font-weight: 700;
    color: #18446b;
    margin-bottom: 10px;
}

.team-content-horizontal .designation {
    font-size: 18px;
    color: #18446b;
    opacity: 0.8;
    margin-bottom: 25px;
    font-weight: 600;
}

.team-bio-horizontal {
    margin-top: 15px;
}

.read-more-toggle-h {
    display: none;
}

.bio-wrapper-h {
    position: relative;
}

.bio-short-h {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 0;
    text-align: justify;
}

.bio-full-h {
    max-height: 0;
    overflow: hidden;
    transition:
        max-height 0.6s ease,
        opacity 0.4s ease;
    opacity: 0;
}

.bio-full-h p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-top: 20px;
    text-align: justify;
    margin-bottom: 0;
}

/* Pill Button Style (Inspired by Reference Image) */
.read-more-btn-pill {
    display: inline-flex;
    align-items: center;
    background: #18446b; /* Deep purple/violet from image */
    color: #fff;
    padding: 12px 30px;
    border-radius: 50px; /* Pill shape */
    font-size: 15px;
    font-weight: 600;
    margin-top: 30px;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 4px 15px rgba(93, 61, 138, 0.3);
    gap: 10px;
}

.read-more-btn-pill:hover {
    background: #f1bc30; /* Toggle to brand blue on hover */
    transform: scale(1.05);
    color: #fff;
}

.read-more-btn-pill i {
    font-size: 12px;
}

.text-less {
    display: none;
}

/* Toggle Logic */
.read-more-toggle-h:checked ~ .bio-wrapper-h .bio-full-h {
    max-height: 2500px;
    opacity: 1;
}

.read-more-toggle-h:checked ~ .read-more-btn-pill .text-more {
    display: none;
}

.read-more-toggle-h:checked ~ .read-more-btn-pill .text-less {
    display: inline-block;
}

@media (max-width: 991px) {
    .team-horizontal-card {
        padding: 30px 20px;
        border-radius: 20px;
    }
    .team-img-horizontal {
        border-radius: 30px;
    }
    .team-content-horizontal h3 {
        font-size: 26px;
    }
}

@media (max-width: 767px) {
    .team-content-horizontal {
        text-align: center;
    }
    .bio-short-h,
    .bio-full-h p {
        text-align: center;
    }
    .read-more-btn-pill {
        width: 100%;
        justify-content: center;
    }
}
