/* CHANDANA GROUPS - HOME PAGE COMPLETE RESPONSIVE HOME CSS */
.home-page {
    margin: 0;
    padding: 0;
    font-family: "Poppins", Arial, Helvetica, sans-serif;
    color: #142d55;
    overflow-x: hidden;
    background: #ffffff;
}

.home-page *,
.home-page *::before,
.home-page *::after {
    box-sizing: border-box;
}

.home-page img {
    max-width: 100%;
}

.home-page a {
    text-decoration: none;
}

/* HEADER */
.home-page .main-header {
    position: sticky;
    top: 0;
    z-index: 1050;
    width: 100%;
    background: #ffffff;
    border-bottom: 2px solid #1768c5;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.home-page .main-header .navbar {
    min-height: 78px;
    padding: 0;
    background: #ffffff;
}

.home-page .main-header .container {
    max-width: 1360px;
}

/* LOGO */
.home-page .brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
    text-decoration: none;
}

.home-page .brand-logo img {
    width: 58px;
    height: 44px;
    object-fit: contain;
    display: block;
}

.home-page .brand-logo span {
    font-size: 24px;
    color: #222222;
    font-weight: 400;
}

.home-page .brand-logo strong {
    color: #1265b3;
    font-weight: 800;
}

/* NAVIGATION */
.home-page .navbar-nav {
    gap: 4px;
}

.home-page .navbar-nav .nav-link {
    position: relative;
    padding: 28px 13px !important;
    color: #102957 !important;
    font-size: 16px;
    font-weight: 600;
}

.home-page .navbar-nav .nav-link:hover {
    color: #1768c5 !important;
}

.home-page .navbar-nav .nav-link.active::after {
    content: "";
    position: absolute;
    left: 13px;
    right: 13px;
    bottom: 10px;
    height: 3px;
    background: #102957;
    border-radius: 3px;
}

/* CONTACT BUTTON */
.home-page .contact-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 135px;
    padding: 12px 24px;
    margin-left: 10px;
    border-radius: 8px;
    background: #1976d2;
    color: #ffffff !important;
    font-size: 16px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(25, 118, 210, 0.22);
}

.home-page .contact-button:hover {
    background: #1265b3;
}

/* MOBILE MENU */
.home-page .navbar-toggler {
    border: 1px solid #1768c5;
}

.home-page .navbar-toggler:focus {
    box-shadow: none;
}

/* HERO COMPACT DESKTOP SIZE */
.home-page .home-hero {
    width: 100%;
    background: #0758a8;
    overflow: hidden;
}

.home-page .home-hero-content {
    width: 100%;
    height: 480px !important;
    min-height: 480px !important;
    max-height: 480px !important;
    display: flex;
    align-items: stretch;
    background: linear-gradient(135deg,
            #0758a8 0%,
            #176bc5 100%);
}

/* LEFT HERO */
.home-page .home-hero-inner {
    width: 50%;
    height: 480px !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 25px 6%;
}

.home-page .home-hero-inner h1 {
    margin: 0 0 9px;
    color: #ffffff;
    font-size: 28px;
    line-height: 1.18;
    font-weight: 700;
}

.home-page .home-hero-inner h5 {
    margin: 0 0 9px;
    color: #ffffff;
    font-size: 14px;
    line-height: 1.45;
    font-weight: 700;
}

.home-page .home-hero-inner p {
    max-width: 560px;
    margin: 0 0 15px;
    color: #ffffff;
    font-size: 12.5px;
    line-height: 1.55;
}

/* RIGHT HERO IMAGE */
.home-page .home-hero-image {
    width: 50%;
    height: 480px !important;
    min-height: 480px !important;
    max-height: 480px !important;
    overflow: hidden;
}

.home-page .hero-main-image {
    display: block;
    width: 100%;
    height: 480px !important;
    object-fit: cover;
    object-position: center top;
}

/* HERO BUTTONS */
/* HERO BUTTONS - SAME SIZE */
.home-page .hero-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.home-page .hero-btn-primary,
.home-page .hero-btn-outline {
    width: 185px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

/* EXPLORE OUR COMPANIES */
.home-page .hero-btn-primary {
    background: #ff6b00;
    color: #ffffff;
    border: 1px solid #ff6b00;
}

.home-page .hero-btn-primary:hover {
    background: #e85e00;
    color: #ffffff;
}

/* CONTACT US */
.home-page .hero-btn-outline {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.home-page .hero-btn-outline:hover {
    background: #ffffff;
    color: #1768c5;
}

/* MOBILE */
@media (max-width: 575.98px) {

    .home-page .hero-btn-primary,
    .home-page .hero-btn-outline {
        width: 100%;
        height: 45px;
    }
}

/* COMMON SECTION */
.home-page .section-title {
    margin: 0;
    text-align: center;
    color: #173967;
    font-size: 28px;
    line-height: 1.3;
    font-weight: 800;
}

.home-page .section-line {
    width: 50px;
    height: 3px;
    margin: 9px auto 0;
    background: #1670d2;
    border-radius: 5px;
}

/* ABOUT */
.home-page .home-about {
    padding: 42px 20px 48px;
    background: #ffffff;
    text-align: center;
}

.home-page .home-about .about-text {
    max-width: 720px;
    margin: 18px auto 0;
    color: #45566f;
    font-size: 15px;
    line-height: 1.75;
}

/* COMPANIES */
.home-page .companies-section {
    padding: 45px 20px 55px;
    background: #ffffff;
    border-top: 1px solid #eeeeee;
}

.home-page .companies-grid {
    max-width: 1160px;
    margin: 30px auto 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.home-page .company-card {
    position: relative;
    min-height: 250px;
    overflow: hidden;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.10);
    display: flex;
    flex-direction: column;
}

/* COMPANY HEADER */
.home-page .company-header {
    min-height: 72px;
    padding: 11px 13px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
}

.home-page .company-header img {
    width: 65px;
    height: 42px;
    object-fit: contain;
    border-radius: 5px;
    background: #ffffff;
    flex-shrink: 0;
}

.home-page .company-header div {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.home-page .company-header span {
    font-size: 12px;
    font-weight: 500;
}

.home-page .company-header strong {
    font-size: 15px;
    font-weight: 800;
}

/* COMPANY COLORS */
.home-page .company-blue .company-header {
    background: linear-gradient(135deg,
            #123c80,
            #286dc4);
}

.home-page .company-orange .company-header {
    background: linear-gradient(135deg,
            #d95300,
            #ed6b19);
}

.home-page .company-red .company-header {
    background: linear-gradient(135deg,
            #b51b20,
            #d32b31);
}

/* COMPANY BODY */
.home-page .company-body {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 17px 55px;
    text-align: center;
    background: #ffffff;
}

.home-page .company-body::after {
    content: "";
    position: absolute;
    left: -20%;
    right: -20%;
    bottom: -55px;
    height: 105px;
    background: #e9eef7;
    border-radius: 50% 50% 0 0;
    transform: rotate(-7deg);
    z-index: 0;
}

.home-page .company-body p {
    position: relative;
    z-index: 2;
    margin: 0;
    color: #172d4d;
    font-size: 13px;
    line-height: 1.55;
}

/* COMPANY BUTTON */
.home-page .company-footer {
    position: absolute;
    z-index: 3;
    left: 14px;
    right: 14px;
    bottom: 12px;
}

.home-page .company-footer a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 38px;
    border-radius: 6px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.home-page .company-blue .company-footer a {
    background: #16468d;
}

.home-page .company-orange .company-footer a {
    background: #df5600;
}

.home-page .company-red .company-footer a {
    background: #df5600;
}

.home-page .company-footer a:hover {
    filter: brightness(0.92);
}

/* CLIENTS & PARTNERS - SAME LAYOUT AS OTHER PAGES */
.home-page .clients-section {
    padding: 60px 20px;
    background: #ffffff;
    border-top: 1px solid #eeeeee;
    overflow: hidden;
}

.home-page .clients-section .section-title {
    text-align: center;
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 10px;
}

.home-page .clients-section .section-description {
    max-width: 650px;
    margin: 0 auto 30px;
    text-align: center;
    color: #536075;
    font-size: 15px;
    line-height: 1.8;
}

/* VIEWPORT - hides logos outside the section */
.home-page .clients-slider {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    padding: 10px 0 20px;
    -webkit-mask-image: linear-gradient(to right,
            transparent,
            #000 40px,
            #000 calc(100% - 40px),
            transparent);
    mask-image: linear-gradient(to right,
            transparent,
            #000 40px,
            #000 calc(100% - 40px),
            transparent);
}

/* MOVING ROW */
.home-page .clients-track {
    display: flex;
    gap: 25px;
    width: max-content;
    animation: clients-scroll 32s linear infinite;
    will-change: transform;
}

.home-page .clients-slider:hover .clients-track {
    animation-play-state: paused;
}

@keyframes clients-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* CLIENT LOGO CARD */
.home-page .client-logo {
    flex: 0 0 145px;
    width: 145px;
    height: 76px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 11px;
    overflow: hidden;
}

.home-page .client-logo img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
}

/* MOBILE - SAME SIZE AS OTHER PAGES */
@media (max-width: 575.98px) {
    .home-page .client-logo {
        flex: 0 0 125px;
        width: 125px;
        height: 70px;
    }

    .home-page .clients-track {
        gap: 25px;
    }
}

/* WHY CHOOSE US */
.home-page .why-section {
    padding: 50px 20px;
    background: #eaf6ff;
}

.home-page .why-grid {
    max-width: 1160px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 42px;
    align-items: start;
}

.home-page .left-title {
    margin: 0;
    color: #173967;
    font-size: 28px;
    line-height: 1.3;
    font-weight: 800;
}

.home-page .left-line {
    margin-left: 0;
    margin-right: 0;
    margin-top: 11px;
    margin-bottom: 25px;
}

.home-page .why-item {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
    color: #123866;
    font-size: 15px;
}

.home-page .check-circle {
    width: 40px;
    height: 40px;
    min-width: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #1874d1;
    color: #ffffff;
    font-size: 19px;
    font-weight: 700;
}

/* GET IN TOUCH */
.home-page .get-touch {
    margin-top: 32px;
    padding: 26px 28px;
    border-radius: 10px;
    background: linear-gradient(135deg,
            #153c82,
            #1d72d0);
    color: #ffffff;
}

.home-page .get-touch h3 {
    margin: 0;
    color: #ffffff;
    font-size: 25px;
    font-weight: 600;
}

.home-page .touch-line {
    width: 100%;
    height: 1px;
    margin: 13px 0 18px;
    background: rgba(255, 255, 255, 0.35);
}

.home-page .get-touch p {
    margin: 0 0 13px;
    color: #ffffff;
    font-size: 14px;
}

.home-page .get-touch i {
    margin-right: 8px;
    color: #ffd52f;
}

/* CONTACT FORM */
.home-page .contact-form-box {
    padding: 25px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(35, 76, 120, 0.12);
}

.home-page .contact-form-box form {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.home-page .contact-form-box input,
.home-page .contact-form-box textarea {
    width: 100%;
    margin: 0;
    padding: 11px 13px;
    border: 1px solid #c9d7e8;
    border-radius: 6px;
    background: #ffffff;
    color: #173967;
    font-family: inherit;
    font-size: 14px;
    outline: none;
    resize: none;
}

.home-page .contact-form-box input {
    height: 44px;
}

.home-page .contact-form-box textarea {
    min-height: 115px;
}

.home-page .contact-form-box input:focus,
.home-page .contact-form-box textarea:focus {
    border-color: #1976d2;
    box-shadow: 0 0 0 3px rgba(25, 118, 210, 0.10);
}

.home-page .contact-form-box button {
    width: 100%;
    min-height: 44px;
    border: 0;
    border-radius: 6px;
    background: linear-gradient(90deg,
            #db5200,
            #f46b09);
    color: #ffffff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

/* CHAT BUTTON */
.home-page .chat-button {
    position: fixed;
    right: 25px;
    bottom: 25px;
    z-index: 999;
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #1976d2;
    color: #ffffff;
    font-size: 24px;
    box-shadow: 0 7px 22px rgba(25, 118, 210, 0.30);
    cursor: pointer;
}

.home-page .chat-notification {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #ef4444;
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
}

/* TABLET */
@media (max-width: 991.98px) {
    .home-page .main-header .navbar {
        min-height: 72px;
    }

    .home-page .navbar-nav {
        padding: 12px 0;
        gap: 0;
    }

    .home-page .navbar-nav .nav-link {
        padding: 9px 0 !important;
    }

    .home-page .navbar-nav .nav-link.active::after {
        display: none;
    }

    .home-page .contact-button {
        margin: 8px 0 0;
    }

    /* HERO */
    .home-page .home-hero-content {
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        flex-direction: column;
    }

    .home-page .home-hero-inner {
        width: 100%;
        height: auto !important;
        min-height: 280px !important;
        padding: 30px 8%;
    }

    .home-page .home-hero-image {
        width: 100%;
        height: 380px !important;
        min-height: 380px !important;
        max-height: 380px !important;
    }

    .home-page .hero-main-image {
        width: 100%;
        height: 380px !important;
        object-fit: cover;
        object-position: center top;
    }

    /* COMPANIES */
    .home-page .companies-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* WHY */
    .home-page .why-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }
}

/* MOBILE */
@media (max-width: 575.98px) {
    .home-page .main-header .navbar {
        min-height: 68px;
    }

    .home-page .brand-logo {
        gap: 7px;
    }

    .home-page .brand-logo img {
        width: 48px;
        height: 38px;
    }

    .home-page .brand-logo span {
        font-size: 19px;
    }

    /* HERO */
    .home-page .home-hero-inner {
        width: 100%;
        height: auto !important;
        min-height: 0 !important;
        padding: 28px 22px;
    }

    .home-page .home-hero-inner h1 {
        font-size: 25px;
    }

    .home-page .home-hero-inner h5 {
        font-size: 13px;
    }

    .home-page .home-hero-inner p {
        font-size: 12px;
        line-height: 1.5;
    }

    .home-page .home-hero-image {
        height: 220px !important;
        min-height: 220px !important;
        max-height: 220px !important;
    }

    .home-page .hero-main-image {
        height: 220px !important;
        object-position: center top;
    }

    /* BUTTONS */
    .home-page .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .home-page .hero-btn-primary,
    .home-page .hero-btn-outline {
        width: 100%;
    }

    /* SECTIONS */
    .home-page .section-title,
    .home-page .left-title {
        font-size: 24px;
    }

    /* COMPANIES */
    .home-page .companies-grid {
        grid-template-columns: 1fr;
        max-width: 360px;
    }

    /* CLIENTS */
    .home-page .client-logo {
        flex: 0 0 125px;
        width: 125px;
        height: 70px;
    }

    /* WHY */
    .home-page .why-section {
        padding-left: 15px;
        padding-right: 15px;
    }

    /* GET IN TOUCH */
    .home-page .get-touch {
        padding: 24px 20px;
    }

    /* FORM */
    .home-page .contact-form-box {
        padding: 20px;
    }

    /* CHAT */
    .home-page .chat-button {
        right: 16px;
        bottom: 16px;
        width: 52px;
        height: 52px;
        font-size: 22px;
    }
}

/* ACCESSIBILITY */
.home-page button:focus-visible,
.home-page a:focus-visible {
    outline: 2px solid #1976d2;
    outline-offset: 2px;
}

/* REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {

    .home-page *,
    .home-page *::before,
    .home-page *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}