/* Base + Tokens (kept consistent with original brand) */
:root {
    --primary-orange: #FF5F15;
    --secondary-orange: #FFA802;
    --gradient-primary: linear-gradient(135deg, #FF5F15 0%, #FFA802 100%);
    --bg-dark: #0d163e;
    --text-light: #ffffff;
    --muted: rgba(255, 255, 255, 0.7);
    --muted-2: rgba(255, 255, 255, 0.5);
    --card: rgba(255, 255, 255, 0.06);
    --border: rgba(255, 95, 21, 0.25);
    --shadow-primary: 0 20px 40px rgba(255, 95, 21, 0.2);
    --shadow-hover: 0 25px 50px rgba(255, 95, 21, 0.3);
    --transition: all .35s cubic-bezier(.4, 0, .2, 1);
    --radius: 20px;


    --primary-orange: #FF5F15;
    --secondary-orange: #FFA802;
    --gradient-primary: linear-gradient(135deg, #FF5F15 0%, #FFA802 100%);
    --bg-dark: #0d163e;
    --text-light: #ffffff;
    --shadow-primary: 0 20px 40px rgba(255, 95, 21, 0.2);
    --primary-orange: #FF5F15;
    --secondary-orange: #FFA802;
    --gradient-primary: linear-gradient(135deg, #FF5F15 0%, #FFA802 100%);
    --gradient-light: linear-gradient(135deg, #fff5f0 0%, #fff9f0 100%);
    --text-dark: #2c3e50;
    --text-light: #6c757d;
    --shadow-light: 0 10px 40px rgba(255, 95, 21, 0.08);
    --shadow-hover: 0 20px 60px rgba(21, 25, 255, 0.15);
    --bg-light: #fefefe;
    --border-light: rgba(255, 95, 21, 0.1);


    --primary-color: #040303;
    --secondary-color: #F4F4F4;
    --text-color: #808080;
    --accent-color: #00CC61;
    --dark-color: #004050;
    --white-color: #FFFFFF;
    --divider-color: #F3F3F3;
    --dark-divider-color: #FFFFFF1A;
    --error-color: rgb(230, 87, 87);
    --default-font: "DM Sans", sans-serif;
}

* {
    box-sizing: border-box
}

html,
body {
    height: 100%
}

body {
    font-family: 'DM Sans', system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif;
    background: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.container-fluid {
    max-width: 1850px;
}

h1 {
    font-weight: 900;
    line-height: 1.1
}

h2,
h3,
h4 {
    font-weight: 800;
    line-height: 1.2
}

p {
    color: rgba(255, 255, 255, .9)
}


/* --------------------- UNIQUE HERO (Different from Services) --------------------- */
/* Contact Hero Section - Consistent with About & Services */
.contact-hero-alt {
    position: relative;
    min-height: 75vh;
    display: flex;
    padding: clamp(80px, 15vw, 100px) 0 clamp(60px, 12vw, 70px);
    align-items: center;
    overflow: hidden;
    margin-top: 5rem;
    border-bottom: 4px solid var(--primary-orange);
    border-radius: 0px 0px 30px 30px;
    background:
        radial-gradient(1100px 600px at 100% -10%, rgba(255, 168, 2, .08), transparent 60%),
        radial-gradient(900px 500px at -10% 110%, rgba(255, 95, 21, .10), transparent 60%),
        var(--bg-dark);
}

/* angled accent */
.contact-hero-alt::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        conic-gradient(from 220deg at 85% 10%, rgba(255, 168, 2, .18), rgba(255, 95, 21, .12), transparent 60%);
    mask: linear-gradient(#000 70%, transparent 100%);
    z-index: 0;
}


/* Responsive Adjustments */
@media (min-width: 1200px) and (max-width: 1900px) {
    .contact-hero-alt {
        padding: clamp(80px, 15vw, 100px) 0 clamp(60px, 12vw, 70px) !important;
    }
}

.hero-shell {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
    max-width: 1850px;
    margin: 0 auto;
    padding: 0 max(40px, 3vw);
}

/* Left Content - Consistent Alignment */
.hero-left {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 0;
    max-width: 700px;
    width: 100%;
}


@media (max-width: 768px) {
    .contact-hero-alt {
        min-height: 60vh;
        padding: 60px 0;
    }

    .hero-shell {
        padding: 0 20px;
    }

    .hero-left {
        margin-top: 0.5rem;
    }
}


.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 95, 21, 0.1);
    border: 2px solid rgba(255, 95, 21, 0.3);
    color: var(--secondary-orange);
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;

    backdrop-filter: blur(10px);
    animation: slideInLeft 1s ease-out;
    width: fit-content;
}

.eyebrow i {
    font-size: 16px;
    animation: pulse 2s infinite;
}


/* Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 10px;
    color: white;
}

.hero-title .accent {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-sub {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: white;
    line-height: 1.6;
    margin-bottom: 10px;
    /* max-width: 700px; */
}

.hero-points {
    margin: 8px 0 4px;
    display: grid;
    grid-template-columns: repeat(2, minmax(200px, 1fr));
    gap: 10px;
}


@media (max-width: 576px) {
    .hero-points {
        grid-template-columns: 1fr
    }
}

@media (max-width: 576px) {
    .contact-hero-alt {
        padding: 60px 0 40px;
    }

    .hero-shell {
        gap: 25px;
    }
}

.point {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, .9);
}

.point i {
    color: #19c37d;
    /* green accent for checks */
}

.hero-cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 8px
}

.btn-primary-neo {
    background: var(--gradient-primary);
    color: #fff;
    border: none;
    border-radius: 15px;
    padding: 14px 22px;
    font-weight: 700;
    box-shadow: var(--shadow-primary);
    display: inline-flex;
    gap: 10px;
    align-items: center;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary-neo:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    color: #fff
}

.btn-ghost {
    background: transparent;
    color: #fff;
    border: 1.5px solid var(--border);
    border-radius: 999px;
    padding: 12px 18px;
    font-weight: 700;
    display: inline-flex;
    gap: 10px;
    align-items: center;
    transition: var(--transition);
    text-decoration: none;
}

.btn-ghost:hover {
    border-color: var(--secondary-orange);
    transform: translateY(-2px)
}

/* Right rail: compact direct lines card stack */
.hero-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
}


.contact-stack {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    max-width: 600px;
}

.stack-card {
    background: var(--card);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 18px 18px;
    display: flex;
    gap: 14px;
    align-items: center;
    transition: var(--transition);
    backdrop-filter: blur(12px);
}

.stack-card:hover {
    transform: translateY(-3px);
    border-color: var(--secondary-orange);
    box-shadow: var(--shadow-primary)
}

.stack-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--gradient-primary);
    display: grid;
    place-items: center;
    flex: 0 0 auto;
}

.stack-icon i {
    color: #fff;
    font-size: 1.1rem
}

.stack-body {
    display: flex;
    flex-direction: column;
    gap: 2px
}

.stack-title {
    font-weight: 800;
    margin: 0
}

.stack-sub {
    margin: 0;
    color: orange;
    font-size: .95rem
}






.section-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    z-index: 2;
}

.section-badge {
    background: rgba(255, 95, 21, 0.1);
    border: 1px solid rgba(255, 95, 21, 0.3);
    color: var(--secondary-orange);
    padding: 10px 25px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 25px;
}

.section-title {
    font-size: 40px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #FF5F15 0%, #FFA802 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    margin-bottom: 24px;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.section-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    color: rgba(255, 255, 255, 0.8);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Contact Cards - New Design */
.contact-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(390px, 1fr));
    gap: 20px;
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
}

.contact-info-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 95, 21, 0.02));
    border: 1px solid rgba(255, 95, 21, 0.2);
    border-radius: 25px;
    padding: 30px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
    backdrop-filter: blur(15px);
}

.contact-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(255, 95, 21, 0.1), transparent);
    border-radius: 50%;
    transform: translate(50%, -50%);
}

.contact-info-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-orange);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 95, 21, 0.05));
    box-shadow: var(--shadow-primary);
}

.contact-card-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
}

.contact-card-icon-wrapper {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.contact-card-icon-wrapper::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: top 0.4s ease;
}

.contact-info-card:hover .contact-card-icon-wrapper::after {
    top: 0;
}

.contact-card-icon-wrapper i {
    font-size: 28px;
    color: white;
    position: relative;
    z-index: 2;
}

.contact-card-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-card-content p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-weight: 500;
}

.contact-card-action {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(255, 95, 21, 0.2);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-orange);
    font-size: 16px;
    transition: var(--transition);
}

.contact-info-card:hover .contact-card-action {
    background: var(--primary-orange);
    color: white;
    transform: scale(1.1);
}













/* Contact Form Section - Complete Redesign */
.contact-form-section {
    padding-bottom: 100px;
    background: linear-gradient(180deg, #1a2556 0%, #0d163e 100%);
    position: relative;
    padding-top: 50px;
    overflow: hidden;
    /* border-top: 2px solid var(--primary-orange); */
    /* border-radius: 40px; */
    /* border-radius: 40px 40px 0 0; */

}

.contact-form-section::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 95, 21, 0.1), transparent);
    top: -100px;
    right: -100px;
    border-radius: 50%;
}

.form-section-header {
    position: relative;
    z-index: 2;
}

.form-badge {
    display: inline-block;
    background: rgba(255, 95, 21, 0.1);
    border: 2px solid rgba(255, 95, 21, 0.3);
    color: var(--secondary-orange);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.form-main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    color: white;
    margin-bottom: 15px;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.form-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
}

.modern-form-wrapper {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
}

.form-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: start;
}

/* Left Side - Form Styling */
.form-section-left {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 95, 21, 0.2);
    border-radius: 30px;
    padding: 50px 40px;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    height: 100%;
}

.modern-contact-form {
    display: flex;
    flex-direction: column;
    gap: 23px;
}

.form-row-dual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.input-group-modern {
    position: relative;
    margin-bottom: 5px;
}

.input-group-modern input,
.input-group-modern select,
.input-group-modern textarea {
    width: 100%;
    padding: 15px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: white;
    font-size: 16px;
    transition: all 0.3s ease;
    outline: none;
    font-weight: 500;
}

.input-group-modern input::placeholder,
.input-group-modern textarea::placeholder {
    color: transparent;
}

.input-group-modern label {
    position: absolute;
    left: 12px;
    top: 15px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 16px;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
    padding: 0 6px;
    z-index: 1;
}

.input-group-modern label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, #1a2556 0%, #2D365E 80%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.input-group-modern input:focus,
.input-group-modern select:focus,
.input-group-modern textarea:focus {
    border-color: var(--secondary-orange);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(255, 95, 21, 0.15);
    font-size: 20px;
}

.input-group-modern input:focus~label,
.input-group-modern select:focus~label,
.input-group-modern textarea:focus~label {
    top: -11px;
    left: 10px;
    font-size: 20px;
    font-weight: 600;
    color: var(--secondary-orange);
    padding: 0 6px;
}

.input-group-modern input:focus~label::before,
.input-group-modern input:not(:placeholder-shown)~label::before,
.input-group-modern select:valid:not([value=""])~label::before,
.input-group-modern textarea:not(:placeholder-shown)~label::before {
    opacity: 1;
}

.input-group-modern input:not(:placeholder-shown)~label,
.input-group-modern select:valid:not([value=""])~label,
.input-group-modern textarea:not(:placeholder-shown)~label {
    top: -11px;
    left: 10px;
    font-size: 20px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    padding: 0 6px;
}



.input-group-modern textarea {
    width: 100%;
    padding: 15px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: white;
    font-size: 20px;
    transition: all 0.3s ease;
    outline: none;
    font-weight: 500;
    resize: vertical;
    /* Important - allows vertical resize only */
    min-height: 120px;
    /* Minimum height */
}

.input-group-modern label {
    position: absolute;
    left: 12px;
    top: 20px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 20px;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
    padding: 0 6px;
    z-index: 2;
    /* Increase z-index */
    line-height: 1;
    /* Important for proper positioning */
}

/* Specifically for textarea label positioning */
.input-group-modern textarea+label,
.input-group-modern label:has(+ textarea) {
    top: 15px;
    /* Same as padding-top of textarea */
}

/* When textarea is focused or filled */
.input-group-modern textarea:focus+label,
.input-group-modern textarea:not(:placeholder-shown)+label {
    top: -11px;
    left: 10px;
    font-size: 20px;
    font-weight: 600;
    color: var(--secondary-orange);
    padding: 0 6px;
}

.input-group-modern textarea:not(:placeholder-shown)+label {
    color: rgba(255, 255, 255, 0.8);
}

/* Background for label */
.input-group-modern textarea:focus+label::before,
.input-group-modern textarea:not(:placeholder-shown)+label::before {
    opacity: 1;
}

/* .input-border {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.4s ease;
    border-radius: 2px;
} */

/* .input-group-modern input:focus ~ .input-border,
.input-group-modern select:focus ~ .input-border,
.input-group-modern textarea:focus ~ .input-border {
    width: 100%;
    opacity: 0.5;
} */

.input-group-modern select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    padding-right: 35px;
    font-size: 19px;
}

.input-group-modern select option {
    background: #0d163e;
    color: white;
    padding: 10px;
}

.select-arrow {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.5);
    pointer-events: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.input-group-modern select:focus~.select-arrow {
    color: var(--secondary-orange);
    transform: translateY(-50%) rotate(180deg);
}

/* Fix dropdown positioning */
.input-group-modern {
    position: relative;
    z-index: 1;
}

.form-section-left {
    position: relative;
    z-index: 10;
    overflow: visible;
}

.modern-submit-btn {
    background: var(--gradient-primary);
    border: none;
    color: white;
    padding: 18px 40px;
    border-radius: 15px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(255, 95, 21, 0.3);
    position: relative;
    overflow: hidden;
    /*margin-top: 20px;*/
}

.modern-submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.modern-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 95, 21, 0.4);
}

.modern-submit-btn:hover::before {
    left: 100%;
}

.btn-icon {
    transition: transform 0.3s ease;
}

.modern-submit-btn:hover .btn-icon {
    transform: translateX(5px);
}

/* Right Side - Contact Form Image */
.form-section-right {
    position: relative;
    height: 100%;
    display: flex;
    align-items: stretch;
}

.contact-form-img {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 95, 21, 0.2);
}

.contact-form-img figure {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 100%;
    margin: 0;
    overflow: hidden;
    border-radius: 30px;
    display: flex;
}

.contact-form-img:hover figure::before {
    opacity: 0.5;
}

.contact-form-img img {
    width: 110%;
    /*height: 100%;*/
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-form-img:hover img {
    transform: scale(1.05);
}

/* Responsive Design for Image */
@media (max-width: 1024px) {
    .contact-form-img {
        min-height: 500px;
        margin-top: 0;
    }

    .contact-form-img figure {
        min-height: 500px;
    }
}

@media (max-width: 768px) {
    .contact-form-img {
        min-height: 400px;
        border-radius: 20px;
    }

    .contact-form-img figure {
        border-radius: 20px;
    }
}

@media (max-width: 480px) {
    .contact-form-img {
        min-height: 300px;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-shell {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-left {
        text-align: center;
        order: 2;
        margin-top: 1rem;
        max-width: 100%;
        justify-self: center;
    }

    .hero-right {
        order: 1;
        justify-content: center;
    }

    .contact-stack {
        max-width: 100%;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .info-cards-stack {
        position: static;
    }
}

@media (max-width: 768px) {
    .contact-info-section {
        padding-bottom: 30px;
    }

    .contact-form-section {
        padding: 60px 0;
    }

    .form-section-left {
        padding: 30px 25px;
        /*width: 94vw;*/
    }

    .form-row-dual {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .modern-submit-btn {
        padding: 15px 30px;
        font-size: 16px;
    }

    .floating-stats {
        grid-template-columns: 1fr;
    }
}




/* Contact Cards Section */
.contact-cards-section {
    padding: clamp(60px, 10vw, 100px) 0;
    /* background: var(--bg-dark); */
    position: relative;

}

.section-header {
    text-align: center;
    margin-bottom: clamp(40px, 8vw, 70px);
}



.section-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
}

/* Contact Cards Grid */
.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: clamp(20px, 5vw, 40px);
    margin-bottom: clamp(40px, 8vw, 70px);
}

.contact-card {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 95, 21, 0.2);
    border-radius: 25px;
    padding: clamp(25px, 5vw, 40px);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 95, 21, 0.1), transparent);
    transition: left 0.6s ease;
}

.contact-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(255, 168, 2, 0.5);
    box-shadow: var(--shadow-primary);
    background: rgba(255, 255, 255, 0.1);
}

.contact-card:hover::before {
    left: 100%;
}

.contact-icon-wrapper {
    width: clamp(80px, 15vw, 100px);
    height: clamp(80px, 15vw, 100px);
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    position: relative;
    overflow: hidden;
}

.contact-icon-wrapper::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: top 0.4s ease;
}

.contact-card:hover .contact-icon-wrapper::after {
    top: 0;
}

.contact-icon-wrapper i {
    font-size: clamp(30px, 6vw, 40px);
    color: white;
    position: relative;
    z-index: 2;
}

.contact-card h3 {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    font-weight: 700;
    text-transform: uppercase;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.contact-card p {
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    font-weight: 500;
}


/* Office Locations Section */
.offices-section {
    padding: clamp(60px, 10vw, 100px) 0;
    background: var(--bg-dark);
    max-width: 1800px;
    /* background: linear-gradient(180deg, #1a2556 0%, #0d163e 100%); */

}

.offices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: clamp(20px, 5vw, 40px);
    margin-top: clamp(30px, 6vw, 50px);
}

.office-card {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 95, 21, 0.2);
    border-radius: 25px;
    overflow: hidden;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
}

.office-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 168, 2, 0.5);
    box-shadow: var(--shadow-primary);
}

.office-map {
    height: 200px;
    width: 100%;
    border-radius: 0;
}

.office-map iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(20%) contrast(1.1);
    transition: filter 0.3s ease;
}

.office-card:hover .office-map iframe {
    filter: grayscale(0%) contrast(1.2);
}

.office-info {
    padding: clamp(20px, 4vw, 30px);
    text-align: center;
}

.office-title {
    font-size: clamp(1.1rem, 2.8vw, 1.3rem);
    font-weight: 700;
    text-transform: uppercase;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

.office-address {
    font-size: clamp(0.9rem, 2.2vw, 1rem);
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
    text-align: justify;
}









































/* Page Contact Us Section - Complete Updated CSS */
.page-contact-us {
    padding: 100px 0 70px;
    background-color: #0d163e;
}

.page-contact-us .container {
    max-width: 1640px;
}

.page-contact-us .row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 30px;
}

@media (min-width: 1200px) {
    .page-contact-us .row {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
}

.page-contact-us .row>[class*='col-'] {
    display: flex;
    flex-direction: column;
}

@media (min-width: 1200px) {
    .page-contact-us .row>[class*='col-'] {
        width: 100%;
        max-width: 100%;
    }
}

/* Contact Info Item */
.contact-info-item {
    border: 1px solid var(--divider-color);
    border-radius: 20px;
    margin-bottom: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    background: rgba(255, 255, 255, 0.02);
    transition: all 0.4s ease-in-out;
}

.contact-info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 95, 21, 0.3);
    border-color: var(--primary-orange);
}

/* Contact Info Image */
.contact-info-img {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.contact-info-img figure {
    margin: 0;
    width: 100%;
    height: 100%;
}

.contact-info-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease-in-out;
}

.contact-info-item:hover .contact-info-img img {
    transform: scale(1.1);
}

/* Contact Info Body */
.contact-info-body {
    position: relative;
    padding: 0 20px 40px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;

}

.contact-info-body:after {
    content: '';
    position: absolute;
    top: 100%;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #ff5f15 0%, #ffa802 100%);
    z-index: 0;
    transition: all 0.4s ease-in-out;
}

.contact-info-item:hover .contact-info-body:after {
    top: 0;
}

/* Icon Box */
.contact-info-body .icon-box {
    position: relative;
    top: -30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(90deg, #ff5f15 0%, #ffa802 100%);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    z-index: 1;
    overflow: hidden;
    flex-shrink: 0;
}

.contact-info-body .icon-box:after {
    content: '';
    position: absolute;
    top: 100%;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark-color);
    border-radius: 5px;
    z-index: 0;
    transition: all 0.4s ease-in-out;
}

.contact-info-item:hover .icon-box:after {
    top: 0;
}

.contact-info-body .icon-box img {
    position: relative;
    width: 100%;
    max-width: 34px;
    z-index: 1;
}

/* Contact Info Content */
.contact-info-content {
    position: relative;
    z-index: 1;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 160px;
    padding: 0 10px;
}

.contact-info-content h3 {
    font-size: clamp(20px, 3vw, 30px);
    font-weight: 700;
    text-transform: uppercase;
    font-family: 'Source Sans Pro', sans-serif;
    line-height: 1.3;
    letter-spacing: -1.2px;
    text-align: center;
    margin-bottom: 15px;
    transition: all 0.4s ease-in-out;
    background: linear-gradient(90deg, #ff5f15 0%, #ffa802 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-info-content p {
    margin: 0 0 10px 0;
    transition: all 0.4s ease-in-out;
    text-transform: uppercase;
    font-size: clamp(16px, 2.5vw, 19px);
    color: white;
    font-weight: 500;
    line-height: 1.6;
    word-break: break-word;
}

.contact-info-content p:last-child {
    margin-bottom: 0;
}

.contact-info-item:hover .contact-info-content h3,
.contact-info-item:hover .contact-info-content p {
    color: var(--white-color) !important;
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: white;
}

/* Page Contact Us 1 Section */
.page-contact-us1 {
    background: #1a2556;
    border-bottom: 2px solid var(--primary-orange);
    border-top: 2px solid var(--primary-orange);
    border-radius: 40px 40px;
    padding: 80px 0 70px;
}

/* Responsive Adjustments */
@media (max-width: 1199px) {
    .page-contact-us .row>[class*='col-'] {
        flex: 0 0 calc(50% - 15px);
        max-width: calc(50% - 15px);
    }
}

@media (max-width: 991px) {
    .page-contact-us {
        padding: 60px 0 40px;
    }

    .page-contact-us1 {
        padding: 60px 0 40px;
        border-radius: 30px 30px;
    }
}

@media (max-width: 767px) {
    .page-contact-us .row {
        gap: 20px;
    }

    .page-contact-us .row>[class*='col-'] {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .contact-info-img {
        height: 200px;
    }

    .contact-info-content {
        min-height: 140px;
    }

    .contact-info-content h3 {
        font-size: 22px;
        margin-bottom: 10px;
    }

    .contact-info-content p {
        font-size: 16px;
    }

    .contact-info-body {
        padding: 0 15px 30px;
    }
}

@media (max-width: 480px) {
    .page-contact-us {
        padding: 40px 0 30px;
    }

    .page-contact-us1 {
        padding: 40px 0 30px;
        border-radius: 20px 20px;
    }

    .contact-info-img {
        height: 180px;
    }

    .contact-info-content h3 {
        font-size: 20px;
        letter-spacing: -0.5px;
    }

    .contact-info-content p {
        font-size: 15px;
    }
}

/* Tablet Landscape Specific */
@media (min-width: 768px) and (max-width: 1199px) {
    .page-contact-us .row {
        justify-content: center;
    }

    .page-contact-us .row>[class*='col-']:nth-child(3) {
        flex: 0 0 calc(50% - 15px);
        max-width: calc(50% - 15px);
    }
}

/* Large Desktop */
@media (min-width: 1400px) {
    .contact-info-img {
        height: 280px;
    }

    .contact-info-content {
        min-height: 180px;
    }
}

/* --- Utilities to replace inline styles --- */
.myFontSize {
    font-size: 22px !important;
}

.u-white {
    color: #ffffff !important;
}

.u-uppercase {
    text-transform: uppercase !important;
}

.u-lowercase {
    text-transform: lowercase !important;
}

.u-capitalize {
    text-transform: capitalize !important;
}

.u-justify {
    text-align: justify !important;
}






/* astra */
        .astra-section {
            background-color: #030508;
            /* background: linear-gradient(272deg,rgba(13, 22, 62, 1) 0%, rgba(255, 129, 12, 1) 100%); */
            color: #f8f9fa;
            font-family: 'Inter', sans-serif;
            overflow-x: hidden;
        }

        /* --- Main Wrapper --- */
        .astra-hero {
            position: relative;
            width: 100%;
            min-height: 100vh;
            display: flex;
            align-items: center;
            overflow: hidden;
        }

        /* --- Layered Background System --- */
        .video-container {
            position: absolute;
            inset: 0;
            z-index: 1;
            opacity: 0.5;
        }

        .bg-video {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        #particle-canvas {
            position: absolute;
            inset: 0;
            z-index: 2;
            pointer-events: none;
        }

        .color-wash {
            position: absolute;
            inset: 0;
            z-index: 3;
            background:
                radial-gradient(circle at 20% 20%, rgba(255, 140, 66, 0.12) 0%, transparent 40%),
                radial-gradient(circle at 80% 80%, rgba(0, 98, 255, 0.12) 0%, transparent 40%);
            pointer-events: none;

            /* background: url('/gold.png');
            background-position: left;
            background-size: contain;
            background-repeat: no-repeat; */
        }

        .side-mask {
            position: absolute;
            inset: 0;
            z-index: 4;
            /* background: linear-gradient(90deg, var(--bg-dark) 0%, rgba(3, 5, 8, 0.8) 35%, transparent 100%); */
            /* background: linear-gradient(90deg, #1e457fab 0%, rgb(211 113 57 / 38%) 35%, transparent 100%); */

            /* background: linear-gradient(137deg, #1e457fab 6%, rgb(211 113 57 / 0%) 12% 12%, #b8600d80 231%); */

            /* background: linear-gradient(253deg, #0a387d57 6%, rgb(211 113 57 / 0%) 12% 12%, #e1740d30 231%); */

            /* background: url('/gold.png');
            background-position: left;
            background-size: contain;
            background-repeat: no-repeat; */
        }

        /* --- Layout --- */
        .container-astra {
            position: relative;
            z-index: 10;
            max-width: 1400px;
            margin: 0 auto;
            padding: 80px 6%;
            display: grid;
            grid-template-columns: 1.1fr 0.9fr;
            gap: 100px;
            align-items: center;
            /* box-shadow:rgb(227 102 17) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px, rgb(4 18 32 / 84%) 0px -2px 6px 0px inset; */
            border-radius: 17px;



            box-shadow: rgb(227 102 17 / 24%) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px, rgb(4 18 32 / 84%) 0px -2px 6px 0px inset;
            /* background: url('/team.png');
            background-position: center;
            background-size: contain;
            background-repeat: no-repeat; */

            transition:
                /* transform 0.3s ease-in-out, */
                box-shadow 0.3s ease-out;


        }

        .container-astra:hover {
            box-shadow: rgb(227 102 17 / 24%) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px, rgba(9, 35, 70, 0.84) 0px -2px 6px 0px inset;
        }



        /* --- Content Styling --- */
        .content {
            opacity: 0;
            transform: translateY(30px);
            animation: fadeInUp 1.2s cubic-bezier(0.23, 1, 0.32, 1) forwards;
            backdrop-filter: blur(5px);




            /* background: linear-gradient(272deg, rgb(13 22 62 / 77%) 0%, rgb(255 129 12 / 28%) 100%);
            padding: 35px;
            border-radius: 5%; */
        }

        .kicker {
            font-size: 11px;
            letter-spacing: 7px;
            text-transform: uppercase;
            color: #ff8c42;
            margin-bottom: 25px;
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .kicker::after {
            content: '';
            height: 1px;
            width: 40px;
            background: #0062ff;
        }

        .content h1 {
            font-family: 'Playfair Display', serif;
            font-size: 54px;
            line-height: 1.05;
            margin-bottom: 30px;
            font-weight: 400;
            color: white;
        }

        h1 span {
            font-style: italic;
            color: orange;
            font-weight: bolder;
        }

        .desc {
            font-size: 22px;
            line-height: 1.9;
            color: white;
            margin-bottom: 45px;
            max-width: 520px;
            text-align: justify;
        }

        /* --- Feature List --- */
        .feature-list {
            display: grid;
            gap: 20px;
            margin-bottom: 50px;
        }

        .feature-row {
            display: flex;
            align-items: center;
            gap: 15px;
            font-size: 18px;
            color: #f8f9fa;
            transition: 0.3s;
        }

        .feature-row span {
            color: #ff8c42;
            font-weight: 600;
        }

        /* --- Premium Button --- */
        .cta-btn {
            position: relative;
            display: inline-flex;
            padding: 18px 45px;
            background: transparent;
            color: white;
            text-decoration: none;
            font-size: 13px;
            font-weight: 600;
            letter-spacing: 2px;
            text-transform: uppercase;
            border: 1px solid rgba(255, 255, 255, 0.1);
            overflow: hidden;
            transition: 0.4s;
            border-radius: 11px;
        }

        .cta-btn::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(90deg, #ff8c42, #0062ff);
            transform: translateX(-101%);
            transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
            z-index: -1;
        }

        .cta-btn:hover {
            border-color: transparent;
            box-shadow: 0 10px 30px rgba(0, 98, 255, 0.2);
        }

        .cta-btn:hover::before {
            transform: translateX(0);
        }

        /* --- 3D Visual --- */
        .visual {
            perspective: 1500px;
            display: flex;
            justify-content: center;
            position: relative;
        }

        .prism-core {
            width: 350px;
            height: 350px;
            position: relative;
            transform-style: preserve-3d;
            animation: rotateCore 20s linear infinite;
        }

        .prism-face {
            position: absolute;
            inset: 0;
            background: linear-gradient(135deg, rgba(255, 140, 66, 0.05), rgba(0, 98, 255, 0.05));
            border: 1px solid var(--glass-border);
            backdrop-filter: blur(8px);
            border-radius: 20px;
        }

        .f-1 {
            transform: rotateY(0deg) translateZ(50px);
            background: url('https://n1pay.in/img/n1.png');
            background-position: center;
            background-size: cover;
        }

        .f-2 {
            transform: rotateY(90deg) translateZ(50px);
            border-color: #0062ff;
            background: url('https://n1pay.in/N1PAYLOGO.png');
            background-position: center;
            background-size: contain;
            background-repeat: no-repeat;
        }

        .f-3 {
            transform: rotateX(90deg) translateZ(50px);
            border-color: #ff8c42;

        }

        /* --- Animations --- */
        @keyframes fadeInUp {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes rotateCore {
            from {
                transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg);
            }

            to {
                transform: rotateX(360deg) rotateY(360deg) rotateZ(360deg);
            }
        }

        @media (max-width: 1024px) {
            .container-astra {
                grid-template-columns: 1fr;
                text-align: center;
            }

            .content {
                display: flex;
                flex-direction: column;
                align-items: center;
            }

            .side-mask {
                /* background: radial-gradient(circle at center, rgba(3, 5, 8, 0.9) 0%, var(--bg-dark) 100%); */
            }

            .visual {
                order: -1;
                margin-bottom: 60px;
            }
        }