﻿/* ===============================
   CSS VARIABLES & RESET
================================ */
:root {
    --navy-dark: hsl(213, 90%, 10%);
    --navy: hsl(213, 80%, 20%);
    --navy-light: hsl(213, 70%, 35%);
    --hero-gradient-start: hsl(213, 85%, 18%);
    --hero-gradient-end: hsl(213, 75%, 28%);
    --gold: hsl(45, 100%, 50%);
    --white: #ffffff;
    --border-light: #e8f0f7;
    --border-input: #e5e7eb;
    --text-dark: #1a1a1a;
    --text-navy: #1e3a5f;
    --text-muted: #4a5d6e;
    --error-red: #dc2626;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 18px;
    --shadow-card: 0 4px 24px rgba(30, 58, 95, 0.10);
    --shadow-form: 0 10px 40px rgba(30, 58, 95, 0.10);
    --transition: 0.2s ease;
}

/* ===============================
   GLOBAL RESET — overflow fix
================================ */
html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

img, svg {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ===============================
   CONTAINER
================================ */


/* ===============================
   HERO SECTION
================================ */
.hero-section {
    background: linear-gradient(135deg, var(--hero-gradient-start), var(--hero-gradient-end));
    color: var(--white);
    padding: 22px 20px 20px;
    overflow-x: hidden;
    width: 100%;
}

.hero-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 10px 0;
    width: 100%;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2px;
    font-size: 13px;
    margin-bottom: 10px;
    opacity: 0.9;
}

    .breadcrumb a {
        color: var(--white);
        transition: opacity var(--transition);
    }

        .breadcrumb a:hover {
            opacity: 0.8;
            text-decoration: underline;
        }

.separator {
    margin: 0 4px;
    opacity: 0.6;
}

.hero-title {
    font-size: clamp(15px, 3.5vw, 25px);
    font-weight: 700;
    line-height: 1.35;
    margin: 0;
    word-break: break-word;
    overflow-wrap: break-word;
}

@media (max-width: 768px) {
    .hero-section {
        padding: 16px 14px;
    }

    .hero-title {
        font-size: clamp(14px, 4vw, 22px);
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 14px 12px;
    }

    .hero-title {
        font-size: 15px;
    }

    .breadcrumb {
        font-size: 11px;
    }
}

/* ===============================
   MAIN GRID LAYOUT
================================ */
.grid-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 28px;
    align-items: start;
    margin-top: 24px;
    width: 100%;
}

@media (max-width: 1024px) {
    .grid-layout {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 20px;
    }
}

@media (max-width: 480px) {
    .grid-layout {
        gap: 14px;
        margin-top: 16px;
    }
}

/* ===============================
   CONTACT FORM CONTAINER
================================ */
.contact-form-container {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 36px 40px;
    box-shadow: var(--shadow-form);
    border: 1px solid rgba(30, 58, 95, 0.07);
    width: 100%;
    min-width: 0; /* ← grid overflow fix */
    overflow: hidden; /* ← content cut nahi hoga */
}

@media (max-width: 1024px) {
    .contact-form-container {
        padding: 30px 32px;
    }
}

@media (max-width: 768px) {
    .contact-form-container {
        padding: 24px 20px;
        border-radius: var(--radius-lg);
    }
}

@media (max-width: 480px) {
    .contact-form-container {
        padding: 18px 14px;
        border-radius: var(--radius-md);
    }
}

.form-heading {
    font-size: clamp(0.95rem, 2.5vw, 1.35rem);
    color: var(--text-navy);
    font-weight: 700;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--border-light);
    margin-bottom: 20px;
    line-height: 1.3;
    word-break: break-word;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

/* ===============================
   FORM ROWS & GROUPS
================================ */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    width: 100%;
}

@media (max-width: 768px) {
    .form-row {
        gap: 5px;
    }
}

/* Single column on mobile */
@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
        /*gap: 0;*/
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
    min-width: 0; /* ← prevents grid blowout */
}

.form-label {
    font-size: 14px;
    color: var(--text-dark);
    margin-top: 8px;
    display: block;
}

@media (max-width: 480px) {
    .form-label {
        font-size: 13px;
        margin-top: 6px;
    }
}

.req {
    color: var(--error-red);
    font-size: 13px;
}

.error-message {
    color: var(--error-red);
    font-size: 12px;
    /* min-height: 16px;*/
}

/* ===============================
   FORM INPUTS — key overflow fixes
================================ */
.form-input,
.form-select,
.form-textarea {
    width: 100%;
    max-width: 100%; /* ← never wider than parent */
    display: block; /* ← ASP.NET renders inline sometimes */
    padding: 11px 14px;
    border: 1.5px solid #9d9e9f;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-family: inherit;
    color: var(--text-dark);
    background: var(--white);
    transition: border-color var(--transition), box-shadow var(--transition);
    appearance: none;
    -webkit-appearance: none;
}

    .form-input::placeholder,
    .form-textarea::placeholder {
        color: #9d9e9f;
    }

    .form-input:focus,
    .form-select:focus,
    .form-textarea:focus {
        outline: none;
        border-color: var(--text-navy);
        box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.10);
    }

.form-select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231e3a5f' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
    /*color: #9d9e9f;*/
}

.form-textarea {
    resize: vertical;
    min-height: 110px;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .form-input,
    .form-select,
    .form-textarea {
        padding: 10px 12px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .form-input,
    .form-select,
    .form-textarea {
        padding: 10px 11px;
        font-size: 13.5px;
    }

    .form-textarea {
        min-height: 90px;
    }
}

/* ===============================
   SUBMIT BUTTON
================================ */
.btn-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 6px;
    width: 100%;
}

.submit-btn {
    width: 100%;
    max-width: 100%;
    background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 100%);
    color: var(--white);
    padding: 13px 32px;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 700;
    font-family: inherit;
    border: none;
    cursor: pointer;
    letter-spacing: 0.3px;
    transition: opacity var(--transition), transform var(--transition);
    display: block;
}

    .submit-btn:hover {
        opacity: 0.91;
        transform: translateY(-1px);
    }

    .submit-btn:active {
        transform: translateY(0);
        opacity: 1;
    }

@media (max-width: 480px) {
    .submit-btn {
        padding: 12px 16px;
        font-size: 0.95rem;
    }
}

/* ===============================
   PRIVACY NOTICE
================================ */
.form-privacy {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
    background: #f0fdf4;
    border-radius: var(--radius-md);
    border: 1px solid #d1fae5;
    margin-top: 10px;
    width: 100%;
}

.privacy-icon {
    flex-shrink: 0;
    margin-top: 1px;
}

.privacy-text {
    font-size: 12.5px;
    color: #047857;
    line-height: 1.55;
    word-break: break-word;
}

.privacy-link {
    color: #059669;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

    .privacy-link:hover {
        color: #047857;
    }

@media (max-width: 480px) {
    .form-privacy {
        padding: 11px 12px;
        gap: 8px;
    }

    .privacy-text {
        font-size: 11.5px;
    }
}

/* ===============================
   RECAPTCHA RESPONSIVE
================================ */
.g-recaptcha {
    transform-origin: left top;
    margin: 4px 0;
    max-width: 100%;
}

@media (max-width: 400px) {
    .g-recaptcha {
        transform: scale(0.90);
    }
}

@media (max-width: 340px) {
    .g-recaptcha {
        transform: scale(0.78);
    }
}

/* ===============================
   SIDEBAR COLUMN
================================ */
.sidebar-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    min-width: 0;
}

/* Tablet: 2-col sidebar grid */
@media (min-width: 641px) and (max-width: 1024px) {
    .sidebar-col {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

        .sidebar-col .info-card {
            grid-column: 1 / -1;
        }

        .sidebar-col .sidebar-clients-card {
            grid-column: 1 / -1;
        }
}

@media (max-width: 640px) {
    .sidebar-col {
        display: flex;
        flex-direction: column;
        gap: 14px;
    }
}

/* ===============================
   SHARED CARD BASE
================================ */
.card {
    border-radius: var(--radius-xl);
    padding: 26px 28px;
    box-shadow: var(--shadow-card);
    width: 100%;
    min-width: 0;
}

    .card h2 {
        font-size: 18px;
        font-weight: 700;
        margin: 0 0 14px;
        padding-bottom: 12px;
        line-height: 1.3;
        word-break: break-word;
    }

@media (max-width: 768px) {
    .card {
        padding: 20px 18px;
        border-radius: var(--radius-lg);
    }
}

@media (max-width: 480px) {
    .card {
        padding: 16px 14px;
        border-radius: var(--radius-lg);
    }

        .card h2 {
            font-size: 15px;
            margin-bottom: 10px;
            padding-bottom: 10px;
        }
}

/* ===============================
   CARD — QUICK CONTACT
================================ */
.quick-contact-card {
    background: var(--white);
    border: 1px solid var(--border-light);
}

    .quick-contact-card h2 {
        color: var(--text-navy);
        border-bottom: 2px solid var(--border-light);
    }

.contact-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    border: 1px solid #edf2f7;
    border-radius: var(--radius-md);
    margin-bottom: 10px;
    text-decoration: none;
    transition: background var(--transition), border-color var(--transition), transform var(--transition);
    min-width: 0;
}

    .contact-item:last-child {
        margin-bottom: 0;
    }

    .contact-item:hover {
        background: #f0f6ff;
        border-color: #c3d9f5;
        transform: translateX(3px);
    }

.icon-box {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

@media (max-width: 480px) {
    .icon-box {
        width: 36px;
        height: 36px;
    }
}

.icon-phone {
    background: #1e3a5f;
}

.icon-email {
    background: #e74c3c;
}

.icon-whatsapp {
    background: #25d366;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    overflow: hidden;
    min-width: 0;
}

.contact-label {
    font-size: 11px;
    color: #8a9bb0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-value {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-navy);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* ===============================
   CARD — OUR CLIENTS SIDEBAR SLIDER
================================ */
.sidebar-clients-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    overflow: hidden;
    padding-bottom: 22px;
}

    .sidebar-clients-card h2 {
        color: var(--text-navy);
        border-bottom: 2px solid var(--border-light);
        font-size: 18px;
    }

.sidebar-clients-track-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
}

    .sidebar-clients-track-wrapper::before,
    .sidebar-clients-track-wrapper::after {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        width: 28px;
        z-index: 2;
        pointer-events: none;
    }

    .sidebar-clients-track-wrapper::before {
        left: 0;
        background: linear-gradient(to right, #ffffff, transparent);
    }

    .sidebar-clients-track-wrapper::after {
        right: 0;
        background: linear-gradient(to left, #ffffff, transparent);
    }

.sidebar-clients-track {
    display: flex;
    gap: 12px;
    width: max-content;
    animation: sidebar-clients-scroll 24s linear infinite;
}

/*.sidebar-clients-track:hover {
        animation-play-state: paused;
    }*/

@keyframes sidebar-clients-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.sidebar-client-logo {
    background: #f8fafc;
    border: 1px solid #edf2f7;
    border-radius: var(--radius-md);
    width: 108px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 8px 12px;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
    pointer-events: auto;
}

    /* .sidebar-client-logo:hover {
        box-shadow: 0 4px 16px rgba(30, 58, 95, 0.14);
        transform: translateY(-2px);
    }*/

    .sidebar-client-logo img {
        max-width: 100%;
        max-height: 34px;
        object-fit: contain;
        filter: grayscale(40%);
        transition: filter 0.25s ease;
    }

    .sidebar-client-logo:hover img {
        filter: grayscale(0%);
    }

@media (min-width: 641px) and (max-width: 1024px) {
    .sidebar-client-logo {
        width: 130px;
        height: 68px;
    }

        .sidebar-client-logo img {
            max-height: 42px;
        }
}

@media (max-width: 640px) {
    .sidebar-clients-card {
        padding-bottom: 16px;
    }

    .sidebar-client-logo {
        width: 96px;
        height: 52px;
        padding: 6px 10px;
    }

        .sidebar-client-logo img {
            max-height: 30px;
        }
}

@media (max-width: 360px) {
    .sidebar-client-logo {
        width: 80px;
        height: 44px;
    }
}

/* ===============================
   FOOTER CTA
================================ */
.footer-cta {
    background: linear-gradient(90deg, #1e3a5f 0%, #2d5a87 50%, #1e3a5f 100%);
    padding: 24px 20px;
    margin-top: 40px;
    color: var(--white);
    width: 100%;
}

.footer-content {
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: clamp(15px, 3vw, 21px);
}

.contact-btn {
    background: var(--white);
    color: #1e3a5f;
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 15px;
    transition: opacity var(--transition);
    white-space: nowrap;
}

    .contact-btn:hover {
        opacity: 0.92;
    }

@media (max-width: 640px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .contact-btn {
        width: 100%;
        text-align: center;
    }
}

/* ===============================
   LARGE SCREENS
================================ */
@media (min-width: 1400px) {
    .grid-layout {
        gap: 36px;
    }

    .contact-form-container {
        padding: 20px 48px;
    }
}

/* ===============================
   PRINT
================================ */
@media print {
    .hero-section {
        background: #1e3a5f !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .sidebar-clients-track {
        animation: none;
    }
}


/* ===============================
   CARD — WHAT'S INCLUDED IN SAMPLE
================================ */
.whats-included-card {
    background: var(--white, #fff);
    border: 1px solid #e8f0f7;
}

    .whats-included-card h2 {
        color: #1e3a5f;
        border-bottom: 2px solid #e8f0f7;
        font-size: 17px;
        font-weight: 700;
        margin: 0 0 14px;
        padding-bottom: 12px;
        line-height: 1.3;
    }

.included-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.included-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 11px 0;
    border-bottom: 1px solid #f0f4f8;
    transition: background 0.18s ease;
}

    .included-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .included-item:first-child {
        padding-top: 0;
    }

.included-icon-box {
    width: 46px;
    height: 46px;
    min-width: 46px;
    background: #eef4fb;
    border: 1.5px solid #d6e6f5;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.18s ease, border-color 0.18s ease;
}

.included-item:hover .included-icon-box {
    background: #dceefa;
    border-color: #b3d0ea;
}

.included-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

    .included-text strong {
        font-size: 13.5px;
        font-weight: 700;
        color: #1e3a5f;
        line-height: 1.3;
    }

    .included-text span {
        font-size: 12.5px;
        color: #4a5d6e;
        line-height: 1.55;
    }

/* Responsive */
@media (max-width: 768px) {
    .whats-included-card h2 {
        font-size: 15px;
    }

    .included-icon-box {
        width: 40px;
        height: 40px;
        min-width: 40px;
    }

    .included-text strong {
        font-size: 13px;
    }

    .included-text span {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .whats-included-card h2 {
        font-size: 14px;
    }

    .included-item {
        gap: 10px;
        padding: 9px 0;
    }

    .included-icon-box {
        width: 36px;
        height: 36px;
        min-width: 36px;
        border-radius: 8px;
    }

        .included-icon-box svg {
            width: 22px;
            height: 22px;
        }

    .included-text strong {
        font-size: 12.5px;
    }

    .included-text span {
        font-size: 11.5px;
    }
}

/* Tablet 2-col sidebar fix — stretch full width */
@media (min-width: 641px) and (max-width: 1024px) {
    .whats-included-card {
        grid-column: 1 / -1;
    }
}
