/* =========================================================
   Fatcat Wealthy - Contact Page Styles
   ========================================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #ffffff;
    color: #172033;
    overflow-x: hidden;
    width: 100%;
}

/* =========================================================
   CONTACT HERO SECTION
   ========================================================= */
.contact-hero {
    position: relative;
    width: 100%;
    min-height: 60vh;
    padding-top: calc(var(--navbar-height, 82px) + 20px); /* Navbar offset */
    background: url("../assets/cont5.jpg") center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(11, 27, 102, 0.55);
}

.hero-content {
    position: relative;
    color: #ffffff;
    max-width: 800px;
    padding: 40px 20px;
    z-index: 1;
}

.hero-title {
    font-size: 52px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #ffffff;
}

.hero-subtitle {
    font-size: 20px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

/* =========================================================
   GET IN TOUCH SECTION
   ========================================================= */
.contact-section {
    padding: 90px 6%;
    background: #f8f9fb;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: stretch;
}

/* LEFT SIDE - FORM */
.contact-left {
    width: 100%;
}

.contact-heading {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #0f2f52;
}

.contact-heading span {
    color: #1c8ea2;
}

.contact-text {
    margin-bottom: 30px;
    color: #64748b;
    line-height: 1.7;
    font-size: 15.5px;
}

.contact-form {
    background: #ffffff;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    gap: 18px;
    border: 1px solid #e2e8f0;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.form-group label i {
    color: #14919B;
    font-size: 14px;
    width: 16px;
    text-align: center;
}

.form-group input,
.form-group textarea {
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 14.5px;
    font-family: inherit;
    color: #1e293b;
    outline: none;
    width: 100%;
    background: #f8fafc;
    transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #94a3b8;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #14919B;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(20, 145, 155, 0.15);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.contact-terms-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 2px;
    margin-bottom: 4px;
}

.contact-terms-group input[type="checkbox"],
.contact-terms-group .terms-checkbox {
    width: 17px;
    height: 17px;
    margin: 0;
    cursor: pointer;
    accent-color: #14919B;
    flex-shrink: 0;
    opacity: 1;
    transition: all 0.25s ease;
}

.contact-terms-group input[type="checkbox"]:not(:disabled),
.contact-terms-group .terms-checkbox:not(:disabled) {
    cursor: pointer;
    opacity: 1;
}

.contact-terms-group input[type="checkbox"].terms-unlocked {
    box-shadow: 0 0 0 3px rgba(20, 145, 155, 0.35);
    border-color: #14919B;
    animation: termsPulse 1s ease-in-out;
}

@keyframes termsPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.contact-terms-group label {
    display: inline;
    font-size: 13.5px;
    font-weight: 500;
    color: #334155;
    cursor: pointer;
    user-select: none;
    line-height: 1.4;
}

.contact-terms-group label a {
    color: #14919B;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

.contact-terms-group label a:hover {
    color: #0f6f77;
}

body.dark-mode .contact-terms-group label {
    color: #cbd5e1;
}

body.dark-mode .contact-terms-group label a {
    color: #38bdf8;
}

.contact-btn {
    background: #14919B;
    color: #ffffff;
    padding: 14px;
    border: none;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.5px;
    cursor: pointer;
    border-radius: 10px;
    transition: background 0.3s, transform 0.2s, box-shadow 0.2s;
    margin-top: 6px;
}

.contact-btn:hover {
    background: #0f6f77;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(20, 145, 155, 0.3);
}

/* RIGHT SIDE - MAP */
.contact-right {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.map-label {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.map-label i {
    color: #e63946;
    font-size: 32px;
}

.map-label span {
    font-size: 28px;
    font-weight: 700;
    color: #0f2f52;
}

.contact-right iframe {
    width: 100%;
    flex: 1;
    min-height: 380px;
    height: 100%;
    border: 0;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    display: block;
}

/* =========================================================
   DARK MODE
   ========================================================= */
body.dark-mode {
    background: #070b14;
    color: #f1f5f9;
}

body.dark-mode .contact-section {
    background: #090e1a;
}

body.dark-mode .contact-heading {
    color: #ffffff;
}

body.dark-mode .contact-text {
    color: #94a3b8;
}

body.dark-mode .contact-form {
    background: #111b33;
    border-color: rgba(255, 255, 255, 0.08);
}

body.dark-mode .form-group label {
    color: #cbd5e1;
}

body.dark-mode .form-group input,
body.dark-mode .form-group textarea {
    background: #0d1527;
    border-color: #1e293b;
    color: #ffffff;
}

body.dark-mode .map-label span {
    color: #ffffff;
}

/* =========================================================
   RESPONSIVE BREAKPOINTS
   ========================================================= */
@media (max-width: 992px) {
    .contact-hero {
        min-height: 50vh;
    }

    .hero-title {
        font-size: 42px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .contact-right iframe {
        min-height: 380px;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding-top: calc(var(--navbar-height, 70px) + 20px);
    }

    .contact-section {
        padding: 60px 5%;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .contact-heading {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .contact-section {
        padding: 45px 4%;
    }

    .contact-hero {
        min-height: 42vh;
    }

    .hero-title {
        font-size: 30px;
    }

    .contact-heading {
        font-size: 26px;
    }

    .contact-form {
        padding: 22px 18px;
    }

    .contact-right iframe {
        min-height: 300px;
    }
}
