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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: #FEFDF8;
    color: #0a2a1c;
    overflow-x: hidden;
}

/* ===== Geometric Decorative Blobs ===== */
.deco-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    pointer-events: none;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: #ab d3b8;
    top: 20%;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.blob-2 {
    width: 300px;
    height: 300px;
    background: #d5ebdf;
    bottom: 30%;
    left: -50px;
    animation: float 10s ease-in-out infinite reverse;
}

.blob-3 {
    width: 200px;
    height: 200px;
    background: #f0f7f4;
    top: 60%;
    right: 20%;
    animation: float 6s ease-in-out infinite;
}

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

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

.shape-circle-1 {
    width: 500px;
    height: 500px;
    border: 3px solid #facc15;
    border-radius: 50%;
    top: -100px;
    right: -100px;
    animation: spin 30s linear infinite;
}

.shape-circle-2 {
    width: 300px;
    height: 300px;
    border: 3px solid #ffffff;
    border-radius: 50%;
    bottom: 50px;
    left: -50px;
    animation: spin 20s linear infinite reverse;
}

.shape-triangle {
    width: 0;
    height: 0;
    border-left: 80px solid transparent;
    border-right: 80px solid transparent;
    border-bottom: 140px solid #facc15;
    top: 30%;
    left: 10%;
    animation: float 6s ease-in-out infinite;
    opacity: 0.15;
}

.shape-square {
    width: 120px;
    height: 120px;
    border: 3px solid #ffffff;
    top: 60%;
    right: 15%;
    animation: spin 15s linear infinite;
    transform-origin: center;
}

.shape-dots {
    width: 100px;
    height: 100px;
    background-image: radial-gradient(circle, #facc15 2px, transparent 2px);
    background-size: 15px 15px;
    top: 20%;
    left: 5%;
    opacity: 0.2;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ===== Navigation ===== */
.nav-text {
    transition: color 0.3s ease;
}

#navbar.scrolled .nav-text {
    color: #0a2a1c !important;
}

/* ===== Scroll Reveal ===== */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .scroll-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    .geo-shape, .deco-blob {
        animation: none;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* ===== Mobile Menu ===== */
.mobile-link {
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.mobile-link:hover {
    color: #267347;
    padding-left: 8px;
}

/* ===== Button Hover Effects ===== */
a, button {
    transition: all 0.3s ease;
}

/* ===== Card Hover ===== */
.rounded-3xl {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #165634;
}

/* ===== Selection ===== */
::selection {
    background: #267347;
    color: #FEFDF8;
}

/* ===== Mobile Responsive ===== */
@media (max-width: 768px) {
    .shape-circle-1 {
        width: 250px;
        height: 250px;
    }
    
    .shape-circle-2 {
        width: 150px;
        height: 150px;
    }
    
    .shape-triangle {
        border-left-width: 40px;
        border-right-width: 40px;
        border-bottom-width: 70px;
    }
    
    .shape-square {
        width: 60px;
        height: 60px;
    }
}
