* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: #ffffff;
}

/* ===== THANK YOU OVERLAY ===== */
.thank-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    padding: 20px;
}

.thank-overlay[aria-hidden="false"] {
    display: flex;
}

.thank-box {
    width: min(420px, 100%);
    background: #fff;
    border-radius: 16px;
    padding: 28px 22px;
    text-align: center;
    font-family: "Poppins", sans-serif;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.2);
    animation: thankPop 0.25s ease;
}

.thank-box h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.thank-box p {
    font-size: 14px;
    color: #444;
    line-height: 1.5;
    margin-bottom: 18px;
}

.thank-btn {
    padding: 10px 22px;
    border: none;
    border-radius: 10px;
    background: #111;
    color: #fff;
    cursor: pointer;
    font-size: 14px;
    transition: 0.2s ease;
}

.thank-btn:hover {
    transform: scale(1.02);
}

@keyframes thankPop {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* HERO SECTION */
.contact-hero {
    position: relative;
    height: 70vh;
    background:
        linear-gradient(120deg, rgba(31, 59, 92, 0.85) 40%, rgba(255, 215, 0, 0.65)),
        url("images/CM_Infinia_1766146715845.jpg");
    /* 👈 YOUR IMAGE */
    background-size: cover;

    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* EXTRA OVERLAY (OPTIONAL FOR DEPTH) */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.15);
}

/* TEXT CONTENT */
.contact-content {
    position: relative;
    z-index: 2;
}

.contact-content h1 {
    color: #ffffff;
    font-size: 48px;
    font-weight: 500;
    margin-bottom: 15px;
}

.contact-content p {
    color: #eaeaea;
    font-size: 15px;
    line-height: 1.6;
}

/* WHITE SECTION */
.contact-info {
    background: #ffffff;
    padding-bottom: 120px;
}

/* CARDS */
.contact-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    transform: translateY(-80px);
    flex-wrap: wrap;
}

/* CARD */
.contact-card {
    background: #ffffff;
    width: 300px;
    padding: 35px 25px;
    border-radius: 14px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.18);
    text-align: center;
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-10px);
}

/* ICON */
.icon {
    width: 60px;
    height: 60px;
    background: #1e1e1e;
    color: #ffd400;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin: 0 auto 20px;
}

/* CARD TEXT */
.contact-card h3 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 8px;
}

.contact-card span {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .contact-content h1 {
        font-size: 36px;
    }

    .contact-cards {
        transform: translateY(-60px);
    }
}







.contact-form-section {
    margin-top: -190px;
    padding: 80px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* HEADING */
.form-heading {
    text-align: center;
    margin-bottom: 40px;
}

.form-heading h2 {
    font-size: 32px;
    font-weight: 500;
    color: #111;
    margin-bottom: 8px;
}

.form-heading p {
    font-size: 14px;
    color: #666;
}

/* CARD */
.form-card {
    width: 100%;
    max-width: 720px;
    background: #ffffff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

/* FORM LAYOUT */
.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.form-group label {
    font-size: 13px;
    color: #333;
    margin-bottom: 8px;
}

/* INPUTS */
.form-group input,
.form-group textarea {
    padding: 14px 16px;
    border-radius: 10px;
    border: 1px solid #e3eaf2;
    font-size: 14px;
    background: #fdfefe;
    outline: none;
    transition: border 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #111;
}

/* FULL WIDTH */
.full-width {
    margin-bottom: 20px;
}

/* BUTTON */
.submit-btn {
    width: 100%;
    margin-top: 20px;
    padding: 15px;
    background: #000000;
    color: #ffffff;
    font-size: 15px;
    font-weight: 500;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.45);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
    }

    .form-card {
        padding: 30px 25px;
    }

    .form-heading h2 {
        font-size: 26px;
    }
}




/* FOOTER WRAPPER */
.footer-wrapper {
    background: #1f3b5c;
    color: #ffffff;
    padding: 90px 20px 0;
}

/* CTA */
.footer-cta {
    max-width: 900px;
    margin: 0 auto 90px;
    text-align: center;
}

.footer-cta h2 {
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 14px;
}

.footer-cta p {
    font-size: 14px;
    color: #d7dfec;
    line-height: 1.7;
    margin-bottom: 28px;
}

.cta-btn {
    display: inline-block;
    padding: 12px 30px;
    background: #ffd400;
    color: #000;
    font-size: 14px;
    font-weight: 500;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 212, 0, 0.4);
}

/* FOOTER CONTENT */
.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 50px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-column {
    flex: 1;
}

.footer-column h3 {
    font-size: 16px;
    font-weight: 500;
    color: #ffd400;
    margin-bottom: 15px;
}

.footer-column p {
    font-size: 13px;
    line-height: 1.7;
    color: #d7dfec;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    font-size: 13px;
    color: #d7dfec;
    margin-bottom: 8px;
}

/* COPYRIGHT */
.footer-bottom {
    text-align: center;
    font-size: 12px;
    color: #c9d4e3;
    padding: 20px 0;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-column {
        margin-bottom: 30px;
    }

    .footer-cta h2 {
        font-size: 26px;
    }
}