/* ===== Base & Typography ===== */
html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background: #059669;
    color: #fffdf7;
}

/* ===== Geometric Background Shapes ===== */
.geo-shape {
    position: absolute;
    opacity: 0.5;
    pointer-events: none;
}

.geo-circle-1 {
    width: 300px;
    height: 300px;
    border: 3px solid rgba(110, 231, 183, 0.2);
    border-radius: 50%;
    top: 15%;
    left: -5%;
}

.geo-circle-2 {
    width: 180px;
    height: 180px;
    background: rgba(52, 211, 153, 0.08);
    border-radius: 50%;
    bottom: 25%;
    right: 5%;
}

.geo-square-1 {
    width: 80px;
    height: 80px;
    background: rgba(255, 233, 164, 0.1);
    top: 30%;
    right: 15%;
    transform: rotate(45deg);
}

.geo-triangle-1 {
    width: 0;
    height: 0;
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    border-bottom: 70px solid rgba(110, 231, 183, 0.12);
    top: 55%;
    left: 8%;
    transform: rotate(-15deg);
}

.geo-dots {
    width: 120px;
    height: 120px;
    background-image: radial-gradient(circle, rgba(110, 231, 183, 0.3) 1.5px, transparent 1.5px);
    background-size: 15px 15px;
    bottom: 15%;
    left: 15%;
}

/* ===== Floating Card Animations ===== */
.floating-card {
    animation: float 6s ease-in-out infinite;
}

.card-1 {
    animation-delay: 0s;
}

.card-2 {
    animation-delay: -2s;
}

.card-3 {
    animation-delay: -4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-16px); }
}

/* ===== Scroll Reveal ===== */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Service Card Hover ===== */
.service-card {
    transform: translateY(0);
}

.service-card:hover {
    transform: translateY(-6px);
}

/* ===== Area Card Hover ===== */
.area-card {
    transition: all 0.3s ease;
}

/* ===== Navbar ===== */
.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-heading {
    color: #064e3b !important;
}

/* ===== Mobile Menu ===== */
.mobile-link {
    display: block;
    padding: 8px 0;
    border-bottom: 1px solid rgba(5, 150, 105, 0.1);
}

.mobile-link:last-child {
    border-bottom: none;
}

/* ===== Custom Select Arrow ===== */
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23059669' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
}

/* ===== Button Focus ===== */
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
a:focus-visible {
    outline: 2px solid #059669;
    outline-offset: 2px;
    border-radius: 0.5rem;
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #fffdf7;
}

::-webkit-scrollbar-thumb {
    background: #a7f3d0;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #34d399;
}
