:root {
    --green-dark: #16213e;
    --green-mid: #16213e;
    --amber: #EB6753;
    --amber-light: #EB6753;
    --cream: #f8f4ee;
    --text-dark: #1a1a1a;
    --text-muted: #7a7a6e;
}
/* GENERAL BODY SETUP */
body {
    background-color: #efefef;
    margin: 0;
    padding: 0;
    min-height: 100vh; /* Changed from height to min-height to prevent cutoff on small screens */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', sans-serif;
}

/* MAIN BOX CONTAINER */
.box {
    display: flex;
    width: 65%;
    max-width: 1000px;
    min-height: 300px; /* Slight height increase for breathing room */
    border-radius: 30px;
    overflow: hidden;
    background-color: #f5f5f5;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    margin-top: 150px; /* Space for fixed nav */
    margin-bottom: 300px;  
}



.box-left h1.white {
    color: #fff;
    font-size: 50px;
    margin: 0;
    line-height: 1;
}


.box input[type="text"],
.box input[type="email"]{
    width: 96%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 50px;
    outline: none;
    font-size: 16px;
    background: #fff;
    box-sizing: border-box; /* Fixes padding issues */
    transition: 0.3s ease;
    height: 45px;
}
.box textarea {
    width: 96%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 20px;
    outline: none;
    font-size: 16px;
    background: #fff;
    box-sizing: border-box; /* Fixes padding issues */
    transition: 0.3s ease;
    resize: none
}

.box input:focus, 
.box textarea:focus {
    border-color: #EB6753;
}

/* LEFT SIDE (ORANGE) */
.box-left {
    flex: 1;
    background: #EB6753;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* CHANGED: Switched from 'center' to 'flex-start' so items don't push each other */
    justify-content: flex-start; 
    padding: 40px;
    position: relative;
    
    /* CONTROL 1: This pushes everything down from the very top edge */
    padding-top: 80px; 
}

.title-group {
    width: 100%;
    display: flex;
    justify-content: flex-end; 
    align-items: center;
    gap: 10px;
    z-index: 2; 

    /* CONTROL 2: Move "Get In" independent of the icon */
    margin-bottom: 0px; /* Reset this */
transform: translate(35px,-56px); /* Use this to nudge it higher/lower without moving the icon */
}

/* Big Mail Icon Styling */
.big-mail-icon {
    font-size: 220px;
    color: #f5f5f5; /* Added transparency per design standard */
    
    /* CONTROL 3: Push the icon down away from the text */
    margin-top: -20px; 
}

/* RIGHT SIDE (WHITE) */
.box-right {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    /* CHANGED: Switched from 'center' to 'flex-start' for manual control */
    justify-content: flex-start;
    
    /* CONTROL 4: This sets where the "Touch" text starts */
    padding-top: 100px; 
}

.box-right h1.orange {
    color: #EB6753;
    font-size: 50px;
    margin: 0; 
    text-align: left;
    line-height: 1;
    transform: translate(-33px,-75px);
}

/* FORM STYLING */
.box form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-height: 300px;

    /* CONTROL 5: This moves the form down without moving "Touch" */
    margin-top:-40px; 
}

/* SUBMIT BUTTON FIX */
.box input[type="submit"] {
    background: #EB6753;
    color: #fff;
    border: none;
    /* Fixed centering issues */
    padding: 0; 
    line-height: 40px; /* Should match the height */
    text-align: center;
    margin-left: 215px;
    font-size: 20px;
    font-weight: 650;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.3s;
    height: 40px;
    width: 30%;
}:xr-overlay

.box input[type="submit"]:hover {
    transform: translateY(-2px);
}

/* VISIBILITY LOGIC */
.mobile-touch { display: none; }
.desktop-touch { display: block; }

/* --------------------------- */
/* MOBILE / TABLET RESPONSIVE  */
/* --------------------------- */
@media (max-width: 900px) { /* Increased breakpoint for better tablet support */
    
    body { 
        height: auto; 
        padding: 0 !important; /* Top padding clears the nav */
        align-items: flex-start; /* Stops vertical centering on scrollable pages */
    }
    
    .box {
        flex-direction: column;
        margin: 120px 5% 60px;
        width: 90%;
        height: auto;
        border-radius: 20px;
    }

    /* LEFT SIDE MOBILE (The Header) */
    .box-left {
        width: 100%;
        padding: 40px 20px;
        box-sizing: border-box;
        /* Rounded corners on top only */
        border-top-left-radius: 20px;
        border-top-right-radius: 20px;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
        padding-top: 40px; 
        justify-content: center;
    }

    .title-group {
        /* CENTER ALIGNMENT ON MOBILE */
        justify-content: center; 
        gap: 10px;
        transform: none;
    }

    .big-mail-icon { 
        font-size: 100px;
        margin-top: 10px;
    }

    /* RIGHT SIDE MOBILE (The Body) */
    .box-right {
        width: 100%;
        padding: 40px 25px;
        box-sizing: border-box;
        border-bottom-left-radius: 20px;
        border-bottom-right-radius: 20px;
        justify-content: center; /* Keep centered on phone */
        padding-top: 40px;
    }

    .box-right h1.orange {
        margin-bottom: 20px;
        text-align: center; /* Center the title if it appears here */
    }
    .box form {
        margin-top: 20px; /* Standard gap on phone */
    }

    /* TEXT TOGGLING */
    .mobile-touch { display: block; } /* Shows 'touch' in orange box */
    .desktop-touch { display: none; } /* Hides 'touch' in white box */
}

/* ── FOOTER ── */
.main-footer {
    width: 100%;
    background: var(--green-dark);
    color: white;
    padding-top: 10px;
    position: relative;
    margin-top: 0px;
}

/* CTA Banner (overlaps footer) */
.footer-cta {
    background: linear-gradient(135deg, var(--amber) 0%, var(--amber-light) 100%);
    padding: 50px 6%;
    border-radius: 25px;
    margin: 0 6%;
    transform: translateY(-80px);
    box-shadow: 0 25px 50px rgba(196, 127, 42, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.cta-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: white;
    margin-bottom: 10px;
    font-weight: 700;
}

.cta-content p {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    color: rgba(255, 255, 255, 0.9);
    max-width: 500px;
}

.cta-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-btn {
    padding: 14px 32px;
    background: white;
    color: var(--green-dark);
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.3s;
    text-decoration: none;
    display: inline-block;
}

.cta-btn:hover {
    background: var(--green-dark);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}
.cta-phone {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.cta-phone span {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
}
.cta-phone strong {
    font-size: 1.3rem;
    color: white;
    font-family: 'Playfair Display', serif;
}
/* Footer Main Content */
.footer-content {
    max-width: 1300px;
    margin: -50px auto 0;
    padding: 0 6%;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
/* Brand Column */
.footer-brand h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: white;
    margin-bottom: 16px;
}
.footer-brand p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
    max-width: 280px;
}
.social-links {
    display: flex;
    gap: 12px;
}
.social-links a {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: 0.3s;
    font-size: 1.1rem;
}
.social-links a:hover {
    background: var(--amber);
    transform: translateY(-3px);
}
/* Link Columns */
.footer-column{
    display: flex;
    flex-direction: column;
}
.footer-column h4 {
    font-size: 1.1rem;
    color: white;
    margin-bottom: 20px;
    font-weight: 600;
}
.footer-column ul {
    list-style: none;
}
.footer-column ul li {
    margin-bottom: 12px;
}
.footer-column ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    transition: 0.3s;
    display: inline-block;
}
.footer-column ul li a:hover {
    color: var(--amber-light);
    transform: translateX(5px);
}
/* Newsletter */
.newsletter-form {
    margin-top: 20px;
}
.newsletter-input {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}
.newsletter-input input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    color: white;
    font-size: 0.95rem;
    outline: none;
}
.newsletter-input input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}
.newsletter-input button {
    padding: 12px 24px;
    background: var(--amber);
    border: none;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}
.newsletter-input button:hover {
    background: var(--amber-light);
}
/* Footer Bottom */
.footer-bottom {
    padding: 30px 6%;
    text-align: center;
}
.footer-bottom-content {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}
.copyright {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}
.footer-bottom-links {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}
.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.3s;
}

.footer-bottom-links a:hover {
    color: var(--amber-light);
}
/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}
@media (max-width: 768px) {
    .main-footer {
        margin-top: 10px;
        width: 100%;
    }
    .footer-cta {
        flex-direction: column;
        text-align: center;
        padding: 40px 6%;
        transform: translateY(-50px);
    }
    .cta-content p {
        max-width: 100%;
    }
    .cta-actions {
        justify-content: center;
        width: 100%;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    .footer-brand p {
        max-width: 100%;
    }
    .footer-column {
        flex-direction: column;
    }
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    .newsletter-input {
        flex-direction: column;
    }
    .newsletter-input button {
        width: 100%;
    }
}
@media (max-width: 480px) {
    .main-footer {
        margin-top: 10px;
        width: 100%;
    }
    .footer-cta {
        padding: 30px 5%;
    }
    .footer-column {
        flex-direction: column;
    }
    .cta-btn {
        width: 100%;
        text-align: center;
    }
    .social-links {
        justify-content: center;
    }
}