/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Geometric Shapes Animation */
.geo-shape {
    position: absolute;
    opacity: 0.1;
    animation: float 20s ease-in-out infinite;
}

.shape-circle-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
    border-radius: 50%;
    top: 10%;
    left: -5%;
    animation-delay: 0s;
}

.shape-circle-2 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
    border-radius: 50%;
    bottom: 20%;
    right: 5%;
    animation-delay: -5s;
}

.shape-square-1 {
    width: 150px;
    height: 150px;
    background: rgba(255,255,255,0.1);
    top: 30%;
    right: 15%;
    transform: rotate(45deg);
    animation-delay: -3s;
}

.shape-square-2 {
    width: 100px;
    height: 100px;
    background: rgba(255,255,255,0.08);
    bottom: 30%;
    left: 10%;
    transform: rotate(30deg);
    animation-delay: -7s;
}

.shape-triangle-1 {
    width: 0;
    height: 0;
    border-left: 75px solid transparent;
    border-right: 75px solid transparent;
    border-bottom: 130px solid rgba(255,255,255,0.08);
    top: 60%;
    left: 20%;
    animation-delay: -10s;
}

.shape-diamond-1 {
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.1);
    top: 15%;
    right: 25%;
    transform: rotate(45deg);
    animation-delay: -2s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-20px) rotate(5deg);
    }
    50% {
        transform: translateY(0) rotate(0deg);
    }
    75% {
        transform: translateY(20px) rotate(-5deg);
    }
}

/* Service Card Hover Effects */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #247227, #5bb85e);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

/* Navbar Scroll Effect */
.nav-scrolled {
    background: rgba(254, 254, 248, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.nav-scrolled .menu-line {
    background: #1c5920;
}

.nav-scrolled .font-display {
    color: #1c5920;
}

/* Mobile Menu Animation */
.menu-line {
    transition: all 0.3s ease;
}

.mobile-menu-open .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-open .menu-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-open .menu-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    width: 6;
}

/* Scroll Animations */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

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

::-webkit-scrollbar-thumb {
    background: #247227;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #1c5920;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .geo-shape {
        display: none;
    }
}
