* {
    box-sizing: border-box;
}

.modern-contact-section {
    background: url("/contact/images/AboutUsBG.webp");
    background-size: cover;
    background-position: center center;
    padding: 100px 20px;
    font-family: Inter, sans-serif;
    position: relative;
}

.container {
    max-width: 1350px;
    margin: auto;
}

/* =========================================================
   CONTACT BOX
========================================================= */
.contact-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    border-radius: 16px;
    margin-bottom: 100px;
}

.contact-left {
    padding: 20px 25px 40px 30px;
    background: url("/contact/images/Talk to a Modernization Expert.webp");
    background-color: #000;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    color: #fff;
    min-height: 560px;
}

.icon-wrap {
    width: 45px;
    margin-bottom: 35px;
}

.icon-wrap img {
    height: auto;
    width: 100%;
    display: block;
}

.contact-left h1 {
    font-family: 'FONTSPRING DEMO - Roc Grotesk', sans-serif;
    font-size: 54px;
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: -2px;
    margin: 0 0 40px;
    color: #fff;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.info-row {
    display: flex;
    align-items: flex-start;
    gap:16px;
}

.icon {
    width: 16px;
    flex-shrink: 0;
    color: #fff;
    font-size: 26px;
    margin-top: 4px;
}

.info-row p,
.info-row a {
    margin: 0;
    color: #FFFFFFCC;
    font-family: Inter, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0px;
    text-decoration: none;
}

@media(max-width:767px) {
    .contact-left { padding: 40px 25px; }
    .contact-left h2 { font-size: 42px; }
    .info-row p, .info-row a { font-size: 16px; }
}

/* =========================================================
   FORM
========================================================= */
.contact-right {
    background: #f4f4f4;
    padding: 70px 68px;
    border-radius: 0 12px 12px 0;
}

.contact-right form { max-width: 100%; }

.form-logo { text-align: center; margin-bottom: 35px; }
.form-logo img { width: 68px; display: block; margin: auto; }

.two-col { display: flex; gap: 25px; }
.two-col .field-group { flex: 1; }

.field-group label {
    display: block;
    font-family: Inter, sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 0px;
    color: #949494;
    margin-bottom: 6px;
    line-height: 1;
}

.field-group input,
.field-group textarea {
    width: 100%;
    height: 64px;
    border: none;
    outline: none;
    background: #e9e9e9;
    border-radius: 12px;
    padding: 0 25px;
    font-family: Inter, sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0px;
    color: #6B7280;
    box-shadow: none;
}

.field-group input::placeholder,
.field-group textarea::placeholder {
    color: #697386;
    opacity: 1;
}

.field-group { margin-bottom: 24px; }

.phone-wrap { position: relative; }
.phone-wrap i {
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    color: #697386;
    font-size: 22px;
}

.submit-btn {
    width: 100%;
    height: 70px;
    border: none;
    border-radius: 14px;
    margin-top: 10px;
    background: linear-gradient(90deg, #297907 0%, #7FB808 100%);
    color: #fff;
    font-family: 'FONTSPRING DEMO - Roc Grotesk', sans-serif;
    font-weight: 700;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0px;
    text-align: center;
    cursor: pointer;
    transition: .3s ease;
}

.submit-btn:hover { transform: translateY(-2px); }

@media(max-width:767px) {
    .contact-right { padding: 35px 25px; }
    .two-col { flex-direction: column; gap: 20px; }
    .field-group input, .field-group textarea { height: 58px; font-size: 16px; }
    .submit-btn { height: 60px; font-size:16px; }
}

/* =========================================================
   SECTION HEADING
========================================================= */
.section-heading {
    text-align: center;
    color: #fff;
    margin-bottom: 40px;
}

.section-heading h2 {
    color: #fff;
    font-family: 'FONTSPRING DEMO - Roc Grotesk', sans-serif;
    font-weight: 700;
    font-size: 40px;
    line-height: 40px;
    letter-spacing: -1.44px;
    text-align: center;
    margin-bottom: 20px;
}

.section-heading p {
    max-width: 721px;
    margin: auto;
    color: #fff;
    font-family: Roboto, sans-serif;
    font-weight: 400;
    font-size:16px;
    line-height: 25px;
    letter-spacing: -0.2px;
    text-align: center;
}

/* =========================================================
   REASON CARDS
========================================================= */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 80px;
}

.reason-card {
    background: #f6f6f6;
    border-radius: 14px;
    padding: 20px 22px 22px;
    position: relative;
    min-height: 380px;
}

.card-number {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 100px;
}

.card-number img { width: 100%; display: block; }

.reason-card h3 {
    font-family: Roboto, sans-serif;
    font-weight: 600;
    font-size: 26px;
    line-height: 40px;
    letter-spacing: -1.44px;
    color: #0C021D;
    margin-bottom:16px;
    margin-top: 80px;
}

.reason-card p {
    font-family: Roboto, sans-serif;
    font-weight: 400;
    font-size:16px;
    line-height: 28px;
    letter-spacing: -0.2px;
    color: #0C021D99;
}

.highlight {
    margin-top: 20px;
    font-family: Roboto, sans-serif;
    font-weight: 400;
    font-size:16px;
    line-height: 28px;
    letter-spacing: -0.2px;
    color: #297907;
}

/* =========================================================
   NDA SECTION
========================================================= */
.nda-section {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 80px;
    padding: 80px 120px;
    border-radius: 20px;
    background: linear-gradient(135deg, #0f0f0f 0%, #172405 40%, #0f0f0f 100%);
}

.nda-left h2 {
    color: #fff;
    font-family: 'FONTSPRING DEMO - Roc Grotesk', sans-serif;
    font-weight: 700;
    font-size: 40px;
    line-height: 40px;
    letter-spacing: -1.44px;
    margin-bottom: 20px;
    margin-top: 0px;
}

.nda-left p,
.nda-right p {
    font-family: Roboto, sans-serif;
    font-weight: 400;
    font-size:16px;
    line-height: 25px;
    letter-spacing: -0.2px;
    color: #fff;
    margin: 0px;
}

.nda-left p { max-width: 420px; }
.nda-right p { max-width: 450px; color: #FFFFFF99; }

.nda-right h4 {
    font-family: Roboto, sans-serif;
    font-weight: 600;
    font-size: 26px;
    letter-spacing: -1.44px;
    margin-bottom: 10px;
    color: #BEFF00;
    margin-top: 0px;
}

.divider {
    height: 1px;
    background: #FFFFFF4D;
    margin: 20px 0;
}

/* =========================================================
   RESPONSIVE
========================================================= */
@media(max-width:1024px) {
    .contact-box, .nda-section { grid-template-columns: 1fr; }
    .cards-grid { grid-template-columns: repeat(2, 1fr); }
}

@media(max-width:767px) {
    .cards-grid { grid-template-columns: 1fr; }
    .two-col { grid-template-columns: 1fr; }
    .contact-left, .contact-right, .nda-section { padding: 30px; }
    .contact-left h2, .nda-left h2 { font-size: 36px; }
    .section-heading h2 { font-size: 34px; }
    .nda-section { gap: 40px; }
}

/* last footer sec  */

.contact-cta{
    margin-top: -30px;
    position:relative;
    overflow:hidden;
    border-radius:34px 34px 0 0;
    min-height:430px;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    padding:90px 20px;
    background:#020202;
}

.contact-cta-bg{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
}

.contact-overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,0.38);
}

.contact-cta-content{
    position:relative;
    z-index:2;
    width:66%;
}

.contact-heading{
    color: #FFF;
    text-align: center;
    font-family: "FONTSPRING DEMO - Roc Grotesk", Arial, sans-serif;
    font-size: 50px;
    font-weight: 700;
    line-height: 45px;
    letter-spacing: -0.9px;
    margin-bottom: 20px;
}

.contact-description{
    font-family: Roboto;
    color: #FFF;
    text-align: center;
    font-size: 18px;
    font-weight: 400;
    line-height: 30px;
    margin-bottom:40px;
}

.contact-buttons{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:18px;
    flex-wrap:wrap;
}

.green-btn{
    position: relative;
    overflow: hidden;

    border-radius: 50px;
    background: #0D1100;
    padding: 20px 20px;
font-family: Inter;
    color: #BEFF00;
    box-shadow: 0 0 10px 0 rgba(190, 255, 0, 0.40);
    font-size: 15px;
    font-weight: 500;
    line-height: 20px;
    text-transform: capitalize;
    cursor: pointer;
    border: none;

    z-index: 1;
}

/* Smooth Animated Border */
.green-btn::before{
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 50px;

    background: conic-gradient(
        from 00deg,
        transparent,
        #BEFF00,
        transparent,
        transparent
    );

    animation: rotateBorder 2.5s linear infinite;

    z-index: -2;
}

/* Inner Background */
.green-btn::after{
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: 50px;
    background: #0D1100;
    z-index: -1;
}

/* Smooth Rotation */
@keyframes rotateBorder{
    100%{
        transform: rotate(360deg);
    }
}
.white-btn{
    font-family: Inter;
    border-radius: 50px;
    border: 1px solid #000;
    background: #FFF;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.40);
    padding:20px 20px;
    color: #000;
    font-size: 15px;
    font-weight: 500;
    line-height: 20px;
    text-transform: capitalize;
    cursor: pointer;
}

/*  footer sec hide  */

.contact-us-page .footer-cta {
  display: none;
}


.contact-us-page .footer-section{
  border-radius: 0px !important;
}

