/* ===== CUSTOM STYLES ===== */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f5f0e8;
}
::-webkit-scrollbar-thumb {
    background: #065f46;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #047857;
}

/* ===== NAVBAR ===== */
#navbar {
    background: rgba(250, 248, 243, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(6, 95, 70, 0.08);
}

#navbar.scrolled {
    background: rgba(250, 248, 243, 0.95);
    box-shadow: 0 4px 20px rgba(6, 95, 70, 0.08);
}

.nav-logo-text {
    transition: color 0.2s;
}

.nav-link {
    position: relative;
}

/* ===== HERO GEOMETRIC SHAPES ===== */
.geo-shape {
    position: absolute;
    pointer-events: none;
}

.geo-circle-1 {
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    top: -80px;
    right: -100px;
    opacity: 0.6;
    animation: floatSlow 8s ease-in-out infinite;
}

.geo-circle-2 {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f5f0e8 0%, #ede5d5 100%);
    bottom: 15%;
    left: 5%;
    opacity: 0.7;
    animation: floatSlow 6s ease-in-out infinite reverse;
}

.geo-circle-3 {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #f59e0b;
    top: 30%;
    right: 38%;
    opacity: 0.25;
    animation: floatSlow 5s ease-in-out infinite;
}

.geo-rect-1 {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #065f46 0%, #047857 100%);
    top: 20%;
    left: 3%;
    opacity: 0.06;
    transform: rotate(45deg);
    animation: floatSlow 10s ease-in-out infinite;
}

.geo-triangle {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 104px solid rgba(6, 95, 70, 0.06);
    bottom: 10%;
    right: 10%;
    animation: floatSlow 7s ease-in-out infinite reverse;
}

.geo-dots {
    width: 100px;
    height: 100px;
    background-image: radial-gradient(circle, rgba(6, 95, 70, 0.15) 1.5px, transparent 1.5px);
    background-size: 12px 12px;
    top: 45%;
    left: 15%;
    opacity: 0.8;
    animation: floatSlow 9s ease-in-out infinite;
}

@keyframes floatSlow {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(3deg); }
}

/* ===== SERVICE CARDS ===== */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #34d399, #10b981, #059669);
    opacity: 0;
    transition: opacity 0.3s;
}

.service-card:hover::before {
    opacity: 1;
}

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

/* ===== WHY US CARDS ===== */
.why-card {
    position: relative;
}

.why-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #059669, #34d399);
    border-radius: 2px;
    transition: width 0.3s;
}

.why-card:hover::after {
    width: 60%;
}

/* ===== TESTIMONIAL CARDS ===== */
.testimonial-card {
    transition: transform 0.3s, box-shadow 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* ===== 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='%236b7280' 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 1rem center;
    appearance: none;
    -webkit-appearance: none;
}

/* ===== MOBILE MENU ===== */
.mobile-nav-link {
    display: block;
}

/* ===== ANIMATIONS ===== */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== BACK TO TOP ===== */
#back-to-top {
    transition: opacity 0.3s, transform 0.3s;
}

#back-to-top.show {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

#back-to-top.hide {
    opacity: 0;
    pointer-events: none;
    transform: translateY(16px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .geo-circle-1 {
        width: 250px;
        height: 250px;
        right: -60px;
    }
    .geo-circle-2 {
        width: 120px;
        height: 120px;
    }
    .geo-rect-1 {
        width: 70px;
        height: 70px;
    }
    .geo-triangle {
        display: none;
    }
}
