:root {
    /* --- Colors --- */
    --primary-blue: #004DB1;
    --primary-dark: #002D72;
    --secondary-blue: #4A5565;
    --bg-light: #F7F8FD;
    --bg-white: #FFFFFF;
    --bg-icon: #00367F;
    --bg-blur-white: rgba(255, 255, 255, 0.1);
    --bg-light-white: rgba(255, 255, 255, 0.4);

    /* Text Colors */
    --text-main: #001C41;
    --text-sub-main: #004DB1;
    --text-muted: #64748B;
    --text-white: #FFFFFF;

    /* Gradients (from the Hero & Service cards) */
    --grad-blue: linear-gradient(90deg, #2528e6 0%, #02073e 100%);
    --grad-dark-section: linear-gradient(180deg, #0A192F 0%, #002D72 100%);

    /* --- Typography --- */
    --font-main: "Inter", sans-serif, system-ui, -apple-system, sans-serif;
    --fs-h1: 54px;
    /* Hero heading */
    --fs-h2: 40px;
    /* Section heading */
    --fs-h3: 34px;
    /* Card titles */
    --fs-h4: 22px;
    /* Small Card titles */
    --fs-h5: 18px;
    --fs-body: 16px;
    --fw-bold: 700;
    --fw-medium: 500;
    --fw-semibold: 600;
    --fw-regular: 400;

    /* --- Spacing System (Converted to PX) --- */
    --space-xs: 20px;
    --space-sm: 30px;
    --space-md: 40px;
    --space-lg: 60px;
    --space-xl: 80px;
    --container-max: 1360px;

    /* --- Borders & Elevation --- */
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.059);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.1);
    --card-border: #DDE2FD;
    --input-border: #D1D5DC;
    --blur-sm: blur(4px);
    --blur-md: blur(8px);
    --blur-lg: blur(10px);

    /* --- Transitions --- */
    --transition: all 0.3s ease;
}

/* --- Layout Utilities --- */

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    font-size: var(--fs-body);
    color: var(--secondary-blue);
    background: var(--bg-light);
    margin: 0;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-xs);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    color: var(--text-main);
}

h1 {
    font-size: var(--fs-h1);
    line-height: 1.2;
    font-weight: var(--fw-bold);
}

@media screen and (max-width: 991px) {
    h1 {
        font-size: 40px;
    }
}

@media screen and (max-width: 767px) {
    h1 {
        font-size: 28px;
    }
}

h2 {
    font-size: var(--fs-h2);
    line-height: 1.2;
    font-weight: var(--fw-bold);
}

@media screen and (max-width: 991px) {
    h2 {
        font-size: 32px;
    }
}

@media screen and (max-width: 767px) {
    h2 {
        font-size: 24px;
    }
}

h3 {
    font-size: var(--fs-h3);
    line-height: 1.2;
    font-weight: var(--fw-bold);
}

@media screen and (max-width: 991px) {
    h3 {
        font-size: 28px;
    }
}

@media screen and (max-width: 767px) {
    h3 {
        font-size: 22px;
    }
}

h4 {
    font-size: var(--fs-h4);
    line-height: 1.2;
    font-weight: var(--fw-semibold);
}

@media screen and (max-width: 991px) {
    h4 {
        font-size: 22px;
    }
}

@media screen and (max-width: 767px) {
    h4 {
        font-size: 20px;
    }
}

h5 {
    font-size: var(--fs-h5);
    line-height: 1.2;
    font-weight: var(--fw-bold);
}

@media screen and (max-width: 991px) {
    h5 {
        font-size: 18px;
    }
}

@media screen and (max-width: 767px) {
    h5 {
        font-size: 16px;
    }
}

h6 {
    font-size: var(--fs-body);
    line-height: 1.2;
}

@media screen and (max-width: 767px) {
    h6 {
        font-size: 14px;
    }
}


a {
    color: var(--primary-blue);
    text-decoration: none;
    cursor: pointer;
}

a:focus,
a:focus-visible,
a:active,
button:focus,
button:focus-visible,
button:active {
    outline: none;
}

button {
    cursor: pointer;
}

p {
    font-size: var(--fs-body);
    font-weight: var(--fw-regular);
    line-height: 1.6;
    margin: 0;
    color: var(--secondary-blue);
}

@media screen and (max-width: 767px) {
    p {
        font-size: 14px;
    }
}

ul {
    list-style: none;
    padding: 0;
    margin-bottom: 0;
}

li {
    font-size: var(--fs-body);
}

@media screen and (max-width: 767px) {
    li {
        font-size: 14px;
    }
}

img {
    max-width: 100%;
}

.white-text {
    color: var(--text-white);
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
}

/* Responsive Grid Adjustments */
@media (max-width: 992px) {

    .grid-3,
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {

    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
}

/* End Layout Utilities */

/* --- Header Styles --- */
.main-header {
    background: var(--bg-white);
    padding: 12px 0;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: var(--space-md);
}

.nav-links a {
    text-decoration: none;
    color: var(--secondary-blue);
    font-weight: var(--fw-regular);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none !important;
    text-transform: capitalize;
}

.nav-links a:hover {
    color: var(--primary-blue);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.cart-icon {
    position: relative;
}

.cart-icon i {
    font-size: 30px;
}

.cart-icon .badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: var(--bg-icon);
    color: var(--text-white);
    padding: 2px;
    border-radius: 10px;
    width: 10px;
    height: 10px;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* navigation */

a.mobile-cta {
    display: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger span {
    width: 26px;
    height: 2px;
    background: #000;
    transition: 0.3s;
}

/* Hamburger animation */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}


/* Responsive adjustment */
@media (max-width: 1199px) {

    .nav-links,
    .nav-actions {
        gap: var(--space-xs);
    }

    .hero-grid {
        gap: var(--space-md);
    }
}

@media (max-width: 991px) {
    .logo {
        width: 60px;
    }

    .hamburger {
        display: flex;
        z-index: 1;
    }

    a.mobile-cta {
        color: var(--bg-white);
        display: block;
    }

    .nav-actions {
        display: none;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 80%;
        max-width: 240px;
        background: var(--bg-white);
        flex-direction: column;
        padding: 80px 32px;
        gap: 18px;
        transition: right 0.4s ease;
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        right: 0;
    }

    .mobile-cta {
        margin-top: 24px;
    }
}

@media (max-width: 600px) {

    .nav-actions .btn {
        display: none;
    }
}

/* --- Hero Styles --- */
.hero {
    padding: var(--space-xl) 0;
    background: var(--bg-light);
    overflow: hidden;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 130px;
    height: 700px;
    background-image: url('../images/leftElement.png');
    background-repeat: no-repeat;
}

.hero::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 180px;
    height: 800px;
    background-image: url('../images/rightElement.png');
    background-repeat: no-repeat;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    align-items: center;
    gap: var(--space-lg);
}

.hero-content h1 {
    margin-bottom: var(--space-sm);
}

.hero-content p {
    margin-bottom: var(--space-sm);
    max-width: 500px;
}

.hero-image,
.hero-content {
    z-index: 1;
}

.hero-image img {
    width: 100%;
    /* Slight overflow as seen in design */
    height: auto;
    object-fit: contain;
}

/* --- Global Button Styles --- */
.btn {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    justify-content: center;
    color: var(--text-white);
    padding: 0 24px;
    border-radius: var(--radius-sm);
    font-size: var(--fs-body);
    font-weight: var(--fw-semibold);
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    width: fit-content;
    min-height: 46px;
    line-height: 46px;
}

@media screen and (max-width: 767px) {
    .btn {
        min-height: 40px;
        line-height: 40px;
        font-size: 14px;
    }
}

.btn-primary {
    background: var(--primary-blue);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-right {
    margin-left: auto;
}

/* Responsive adjustment */
@media (max-width: 1199px) {
    .hero {
        padding: var(--space-md) 0;
    }
}

@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--space-md);
    }

    .hero-content p {
        margin: 0 auto var(--space-md);
    }

    .hero-image img {
        width: 100%;
    }

    .hero-content .btn {
        margin: 0 auto;
    }
}

@media (max-width: 600px) {

    .hero::before,
    .hero::after {
        opacity: 0.6;
        background-size: contain;
        top: 0;
        transform: translateY(0);
        height: 400px;
        width: 80px;
    }

    .hero-content h1 {
        margin-bottom: var(--space-xs);
    }

    .hero-content p {
        margin: 0 auto var(--space-xs);
    }

}

/* ======= End Hero Styles ======== */

/* --- Services Section --- */
.services-outer {
    background-color: var(--grad-blue);
    border-radius: var(--radius-lg);
    padding: var(--space-xl) var(--space-lg);
    background-image: url('../images/ServicesSection-bg.png');
    background-repeat: no-repeat;
    background-size: cover;
}

.services-title {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-sm);
}

/* --- Service Card (Glassmorphism) --- */
.service-card {
    background: var(--bg-blur-white);
    /* backdrop-filter: var(--blur-lg); */
    padding: var(--space-sm);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    background: var(--bg-light-white);
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    margin-bottom: var(--space-sm);
    color: var(--text-white);
    font-size: 1.2rem;
}

.service-card h3 {
    margin-bottom: var(--space-sm);
}

.service-card ul {
    list-style: none;
    padding: 0;
}

.service-card li {
    color: var(--text-white);
    position: relative;
    padding-left: 20px;
}

.service-card li+li {
    margin-top: 6px;
}

/* Custom Checkmark */
.service-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--text-white);
    font-weight: bold;
}

/* Responsive fixes */

@media (max-width: 1199px) {

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-outer {
        padding: var(--space-md);
    }

    .services-title {
        margin-bottom: var(--space-md);
    }
}

@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .services-outer {
        padding: var(--space-xs);
    }

    .services-title {
        margin-bottom: var(--space-xs);
    }

    .service-card {
        padding: var(--space-xs);
    }

    .service-icon {
        margin-bottom: var(--space-xs);
        width: 48px;
        height: 48px;
    }
}

/* ======= End Services Section ======== */

/* --- Why Choose Section --- */
.why-choose-section {
    padding: var(--space-xl) 0;
    background-color: var(--bg-light);
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: flex-start;
}

/* Left Side Styling */
.section-title {
    margin-bottom: var(--space-xs);
}

.text-primary {
    color: var(--text-sub-main);
}

.section-desc {
    margin-bottom: var(--space-md);
    max-width: 480px;
}

.why-image-wrapper {
    border-radius: var(--radius-sm);
    overflow: hidden;
    height: 300px;
}

.why-main-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/* Right Side Benefits List */
.benefits-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: var(--space-xs);
    background: var(--bg-white);
    /* border: var(--border); */
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.benefit-item:hover {
    transform: translateX(10px);
    border-color: var(--primary-blue);
}

.benefit-icon {
    margin-top: 4px;
}

.benefit-text h5 {
    margin-bottom: 2px;
}

.benefit-text p {
    font-size: 14px;
    margin: 0;
}

/* Responsive */
@media (max-width: 1199px) {
    .why-choose-section {
        padding: var(--space-lg) 0;
    }

    .why-grid {
        gap: var(--space-lg);
    }
}

@media (max-width: 992px) {
    .why-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .section-desc {
        max-width: 100%;
    }

    .why-choose-section {
        padding: var(--space-md) 0;
    }

    .why-image-wrapper {
        height: 200px;
    }
}

@media (max-width: 600px) {
    .section-desc {
        margin-bottom: var(--space-sm);
    }
}

/* --- End Why Choose Section --- */

/* --- How It Works Section --- */
.how-it-works {
    padding: var(--space-xl) 0;
    background-color: var(--grad-blue);
    background-image: url('../images/How-It-Works-bg.png');
    background-repeat: no-repeat;
    background-size: cover;
    color: var(--text-white);
    text-align: center;
}

.how-header {
    margin-bottom: var(--space-lg);
}

.how-header h2 {
    margin-bottom: 10px;
}

.how-header p {
    opacity: 0.8;
    font-size: var(--fs-body);
}

/* 4-Column Grid */
.how-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-sm);
}

/* Process Cards */
.how-card {
    background: rgba(255, 255, 255, 0.1);
    /* backdrop-filter: var(--blur-lg); */
    padding: var(--space-sm);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.how-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
}

.how-icon {
    width: 58px;
    height: 58px;
    background: var(--bg-light-white);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-xs);
    border-radius: 10px;
    font-size: 20px;
}

.how-card h4 {
    margin-bottom: 10px;
}

.how-card p {
    max-width: 70%;
    margin: 0 auto;
}

/* Responsive Fixes */
@media (max-width: 1199px) {
    .how-it-works {
        padding: var(--space-lg) 0;
    }

    .how-header {
        margin-bottom: var(--space-md);
    }

    .how-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .how-it-works {
        padding: var(--space-md) 0;
    }

    .how-header {
        margin-bottom: var(--space-sm);
    }

    .how-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 600px) {
    .how-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xs);
    }

    .how-card {
        padding: var(--space-xs);
    }

    .how-icon {
        width: 48px;
        height: 48px;
    }
}

/* --- End How It Works Section --- */

/* --- Industries Section --- */
.industries-section {
    padding: var(--space-xl) 0;
    background-color: var(--bg-light);
    /* Light grey background to make white cards pop */
    text-align: center;
}

.industries-title {
    margin-bottom: var(--space-md);
}

/* 6-Column Grid */
.industries-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: var(--space-xs);
}

/* Industry Card Styling */
.industry-card {
    background: var(--bg-white);
    padding: var(--space-md) var(--space-xs);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
}

.industry-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-blue);
}

.industry-icon {
    color: var(--primary-blue);
    margin-bottom: var(--space-xs);
}


/* --- Responsive Adjustments --- */
@media (max-width: 1199px) {
    .industries-section {
        padding: var(--space-lg) 0;
    }

}

@media (max-width: 1024px) {
    .industries-grid {
        grid-template-columns: repeat(3, 1fr);
        /* gap: var(--space-md); */
    }
}

@media (max-width: 992px) {
    .industries-section {
        padding: var(--space-md) 0;
    }

    .industries-title {
        margin-bottom: var(--space-sm);
    }
}

@media (max-width: 600px) {

    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .industry-card {
        padding: var(--space-xs);
    }

    .industry-icon {
        margin-bottom: 8px;
    }
}

/* --- End Industries Section --- */

/* --- Trust Section --- */
.trust-section {
    padding: var(--space-xl) 0;
    background-color: var(--bg-white);
    text-align: center;
}

.trust-title {
    margin-bottom: var(--space-md);
}

.logo-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-xs);
    align-items: center;
}

.logo-item {
    background: var(--bg-light);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    border: 1px solid var(--card-border);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80px;
    transition: var(--transition);
}

.logo-item:hover {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    transform: translateY(-3px);
}

.logo-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* --- Responsive Logo Grid --- */

@media (max-width: 1199px) {
    .trust-section {
        padding: var(--space-lg) 0;
    }

    .logo-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .trust-section {
        padding: var(--space-md) 0;
    }

    .logo-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    .logo-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .trust-title {
        margin-bottom: var(--space-sm);
    }

    .logo-item {
        padding: var(--space-xs);
        height: 50px;
    }
}

/* --- End Trust Section --- */

/* --- CTA Section --- */
.cta-section {
    padding: var(--space-xl) 0;
    background-color: var(--bg-light);
}

.cta-card {
    display: flex;
    background: var(--bg-white);
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

/* Left Content Area */
.cta-info {
    flex: 1;
    background-color: var(--primary-blue);
    padding: var(--space-lg);
    color: var(--text-white);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cta-info h2 {
    margin-bottom: var(--space-xs);
}

.cta-info p {
    margin-bottom: var(--space-xs);
}

.cta-contact {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: var(--fw-regular);
}

.cta-contact a {
    color: var(--text-white);
    text-decoration: none;
}

/* Right Form Area */
.cta-form-wrapper {
    flex: 1.2;
    padding: var(--space-lg);
}

.lead-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xs);
}

.lead-form input,
.lead-form select,
.lead-form textarea {
    width: -webkit-fill-available;
    padding: 17px 16px;
    border: 1px solid var(--input-border);
    border-radius: var(--radius-sm);
    font-family: var(--font-main);
    font-size: 14px;
    transition: var(--transition);
    background-color: var(--bg-white);
    color: var(--text-muted);
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 86, 210, 0.1);
}

.lead-form select {
    background-image: url('../images/icons/drop-arrow.png');
    background-repeat: no-repeat;
    background-position: right 16px center;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
}


/* --- Responsive Adjustments --- */

@media (max-width: 1199px) {
    .cta-card {
        align-items: center;
    }

    .cta-section {
        padding: var(--space-lg) 0;
    }

    .cta-info {
        padding: var(--space-md);
    }

    .cta-form-wrapper {
        padding: var(--space-md);
    }
}

@media (max-width: 992px) {

    .cta-section {
        padding: var(--space-md) 0;
    }

    .cta-card {
        flex-direction: column;
    }

    .cta-info,
    .cta-form-wrapper {
        padding: var(--space-sm);
    }
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .cta-info,
    .cta-form-wrapper {
        padding: var(--space-xs);
    }

    .cta-form-wrapper {
        width: 88%;
    }

    .lead-form input,
    .lead-form select,
    .lead-form textarea {
        padding: 12px;
    }
}

/* --- End CTA Section --- */

/* Contact Form 7 Styling */
.wpcf7 {
    margin: 0 !important;
    padding: 0 !important;
}

.wpcf7-form {
    margin: 0 !important;
    padding: 0 !important;
}

.wpcf7 p {
    margin: 0 !important;
    padding: 0 !important;
}

.wpcf7-form-control-wrap {
    display: block !important;
    width: 100% !important;
}

.wpcf7-form .lead-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.wpcf7-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xs);
}

.wpcf7-form .form-row p {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xs);
    grid-column: 1 / -1;
}

.wpcf7-form .form-row br {
    display: none !important;
}

.wpcf7-form .form-group {
    display: block;
}

.wpcf7-form .form-group p {
    margin: 0;
}

/* Contact Form 7 Input Styling */
.wpcf7-text,
.wpcf7-email,
.wpcf7-select,
.wpcf7-textarea {
    width: 100% !important;
    padding: 17px 16px !important;
    border: 1px solid var(--input-border) !important;
    border-radius: var(--radius-sm) !important;
    font-family: var(--font-main) !important;
    font-size: 14px !important;
    transition: var(--transition) !important;
    background-color: var(--bg-white) !important;
    color: var(--text-muted) !important;
    box-sizing: border-box !important;
}

.wpcf7-text:focus,
.wpcf7-email:focus,
.wpcf7-select:focus,
.wpcf7-textarea:focus {
    outline: none !important;
    border-color: var(--primary-blue) !important;
    box-shadow: 0 0 0 3px rgba(0, 86, 210, 0.1) !important;
}

.wpcf7-select {
    background-image: url('../images/icons/drop-arrow.png') !important;
    background-repeat: no-repeat !important;
    background-position: right 16px center !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    cursor: pointer !important;
}

/* Contact Form 7 Submit Button */
.wpcf7-form button.wpcf7-submit.btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0 !important;
    justify-content: center !important;
    color: var(--text-white) !important;
    padding: 12px 24px !important;
    border-radius: var(--radius-sm) !important;
    font-size: var(--fs-body) !important;
    font-weight: var(--fw-semibold) !important;
    text-decoration: none !important;
    transition: var(--transition) !important;
    cursor: pointer !important;
    border: none !important;
    width: auto !important;
    min-height: auto !important;
    line-height: normal !important;
    height: auto !important;
    background: var(--primary-blue) !important;
    margin-left: 0 !important;
}

.wpcf7-form p:has(.wpcf7-submit) {
    display: flex !important;
    justify-content: flex-end !important;
    margin: 0 !important;
}

.wpcf7-form p:has(.wpcf7-submit) br {
    display: none !important;
}

.wpcf7-form button.wpcf7-submit.btn:hover {
    background: var(--primary-dark) !important;
    transform: translateY(-2px) !important;
}

/* Hide Contact Form 7 specific elements */
.hidden-fields-container,
.screen-reader-response {
    display: none !important;
}

.wpcf7-response-output {
    margin: var(--space-xs) 0 0 0 !important;
    padding: 12px 16px !important;
    border-radius: var(--radius-sm) !important;
    font-size: 14px !important;
}

.wpcf7-validation-errors {
    border: 1px solid #dc3232 !important;
    background: #ffe6e6 !important;
    color: #dc3232 !important;
}

.wpcf7-mail-sent-ok {
    border: 1px solid #46b450 !important;
    background: #ecf7ed !important;
    color: #46b450 !important;
}

.wpcf7-not-valid-tip {
    color: #dc3232 !important;
    font-size: 12px !important;
    displayform .form-row p {
        grid-template-columns: 1fr !important;
    }

    .wpcf7-: block !important;
    margin-top: 4px !important;
}

@media (max-width: 600px) {
    .wpcf7-form .form-row {
        grid-template-columns: 1fr !important;
    }

    .wpcf7-text,
    .wpcf7-email,
    .wpcf7-select,
    .wpcf7-textarea {
        padding: 12px !important;
    }
}

/* --- Partner Section --- */
.partner-section {
    padding: var(--space-xl) 0;
    background-color: var(--bg-white);
}

.partner-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-lg);
    align-items: center;
}

/* Left Content */
.badge-tag {
    display: inline-block;
    padding: 6px 16px;
    background: #EFF6FF;
    color: var(--primary-blue);
    border: 1px solid #DBEAFE;
    border-radius: 50px;
    font-size: 16px;
    font-weight: var(--fw-medium);
    margin-bottom: var(--space-sm);
}

.partner-title {
    margin-bottom: var(--space-xs);
}

.text-blue {
    color: var(--primary-blue);
}

.partner-desc {
    margin-bottom: var(--space-md);
    max-width: 500px;
}


/* Right Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xs);
}

.stat-card {
    background: var(--bg-white);
    padding: 24px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    display: flex;
    gap: var(--space-xs);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-blue);
}

.stat-icon {
    flex: 0 0 24px;
    color: var(--primary-blue);
}

.stat-content h5 {
    margin-bottom: 8px;
}

/* Responsive */
@media (max-width: 1199px) {
    .partner-section {
        padding: var(--space-lg) 0;
    }

    .partner-grid {
        gap: var(--space-md);
    }
}

@media (max-width: 992px) {
    .partner-section {
        padding: var(--space-md) 0;
    }

    .partner-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .partner-desc {
        margin-bottom: var(--space-sm);
    }
}

@media (max-width: 600px) {
    .partner-grid {
        gap: var(--space-sm);
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xs);
    }

    .badge-tag {
        margin-bottom: var(--space-xs);
    }

    .partner-desc {
        margin-bottom: var(--space-xs);
    }

    .stat-card {
        padding: 18px;
    }
}

/* --- End Partner Section --- */

/* --- Main Footer --- */
.main-footer {
    padding: var(--space-xl) 0 0;
    background-color: var(--bg-light);
}

.footer-brand .logo img {
    mix-blend-mode: multiply;
}

.footer-grid {
    display: grid;
    grid-template-columns: 400px 1fr 1fr 1fr;
    gap: var(--space-lg);
    padding-bottom: var(--space-xl);
}

.footer-brand p {
    margin-top: var(--space-xs);
    max-width: 300px;
}

.footer-logo {
    height: 40px;
}

.main-footer h5 {
    margin-bottom: var(--space-xs);
}

.main-footer ul {
    list-style: none;
    padding: 0;
}

.main-footer ul li+li {
    margin-top: 12px;
}

.main-footer ul li a {
    text-decoration: none;
    color: var(--secondary-blue);
    font-size: var(--fs-body);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.main-footer ul li a:hover {
    color: var(--primary-blue);
}

.footer-social ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.footer-social li {
    margin-top: 12px !important;
}

.footer-social li:first-child {
    margin-top: 0 !important;
}

.footer-social li a {
    text-decoration: none !important;
    color: var(--secondary-blue) !important;
    font-size: var(--fs-body) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    transition: var(--transition);
}

.footer-social li a:hover {
    color: var(--primary-blue) !important;
}

.footer-social li a span {
    flex: 0 0 30px !important;
    width: 30px !important;
    height: 30px !important;
    color: var(--text-white) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 100px !important;
    background: var(--bg-icon) !important;
    transition: var(--transition);
}

.footer-social li a span:hover {
    background: var(--primary-blue) !important;
    transform: scale(1.1);
}

.footer-social li a span img {
    width: 16px !important;
    height: 16px !important;
    object-fit: contain !important;
    display: block !important;
}

/* Newsletter Form */
.newsletter-form input {
    width: -webkit-fill-available;
    padding: 14px 16px;
    border: 1px solid var(--input-border);
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    font-size: 14px;
}

.newsletter-form button {
    width: 100%;
}

/* Copyright Bar */
.copyright-bar {
    border-top: 1px solid var(--input-border);
    padding: 16px 0;
    background: var(--bg-light);
}

.copyright-text {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.copyright-bar p {
    font-size: 14px;
    margin: 0;
}

.copyright-bar a {
    color: var(--primary-blue);
    text-decoration: none;
}

/* Responsive Footer */
@media (max-width: 1199px) {
    .main-footer {
        padding: var(--space-lg) 0 0;
    }

    .footer-grid {
        grid-template-columns: 250px 1fr 1fr 1fr;
        padding-bottom: var(--space-lg);
    }
}

@media (max-width: 992px) {

    .main-footer {
        padding: var(--space-md) 0 0;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-sm);
        padding-bottom: var(--space-md);
    }

    .copyright-text {
        flex-direction: column;
        gap: 5px;
    }

    span.separator {
        display: none;
    }
}

@media (max-width: 600px) {

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .copyright-bar .container {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .newsletter-form input {
        padding: 12px;
    }

}

:where(.wp-site-blocks)>*,
:where(.wp-site-blocks)> :first-child,
:where(.wp-site-blocks)> :last-child {
    margin: 0;
}