/* ── Geometric Hero Shapes ── */
.geo-shape {
    position: absolute;
    opacity: 0.12;
    pointer-events: none;
}

.geo-circle-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #4ade80, transparent 70%);
    border-radius: 50%;
    top: -100px;
    left: -100px;
}

.geo-circle-2 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, #fde68a, transparent 70%);
    border-radius: 50%;
    top: 20%;
    right: 30%;
}

.geo-circle-3 {
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, #86efac, transparent 70%);
    border-radius: 50%;
    bottom: 10%;
    left: 15%;
}

.geo-rect-1 {
    width: 120px;
    height: 120px;
    background: #fde68a;
    top: 15%;
    left: 5%;
    transform: rotate(45deg);
    border-radius: 12px;
}

.geo-triangle-1 {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 104px solid #4ade80;
    bottom: 20%;
    right: 10%;
    opacity: 0.08;
}

.geo-dots {
    width: 200px;
    height: 200px;
    background-image: radial-gradient(circle, #4ade80 1.5px, transparent 1.5px);
    background-size: 20px 20px;
    top: 40%;
    right: 5%;
    opacity: 0.15;
}

/* ── Scroll Reveal ── */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Default state for reduced motion or no-JS is visible */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }
    .reveal.animated {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Navbar Scroll State ── */
.nav-scrolled {
    background: rgba(255, 253, 247, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(6, 78, 59, 0.08);
}

.nav-scrolled .font-display {
    color: #064e3b !important;
}

.nav-scrolled a:not(.bg-emerald-600):not(.bg-cream-400) {
    color: #065f46 !important;
}

/* ── Smooth Scroll ── */
html {
    scroll-behavior: smooth;
}

/* ── Custom Selection ── */
::selection {
    background: #059669;
    color: #fffdf7;
}

/* ── Mobile Menu Transition ── */
#mobile-menu {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Form Styles ── */
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #dcfce7;
    border-radius: 12px;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 1rem;
    color: #064e3b;
    background: #fffdf7;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #059669;
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.15);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #9ca3af;
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form button[type="submit"] {
    background: #059669;
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-form button[type="submit"]:hover {
    background: #047857;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(5, 150, 105, 0.3);
}

.contact-form button[type="submit"]:disabled {
    background: #9ca3af;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.form-success {
    display: none;
    text-align: center;
    padding: 24px;
    background: #dcfce7;
    border-radius: 16px;
    color: #064e3b;
}

.form-success.show {
    display: block;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

/* ── Back to Top Button ── */
#back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    background: #059669;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease, background 0.2s ease, box-shadow 0.2s ease;
    z-index: 40;
    box-shadow: 0 4px 15px rgba(5, 150, 105, 0.3);
}

#back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#back-to-top:hover {
    background: #047857;
    box-shadow: 0 6px 20px rgba(5, 150, 105, 0.4);
    transform: translateY(-2px);
}
