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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    overflow-x: hidden;
}

/* Geometric Shapes */
.geometric-shape {
    position: absolute;
    opacity: 0.08;
    pointer-events: none;
}

.shape-circle-1 {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: #FF6B6B;
    top: 10%;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.shape-circle-2 {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: #FF6B6B;
    bottom: 20%;
    left: -50px;
    animation: float 6s ease-in-out infinite reverse;
}

.shape-circle-3 {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: #FF6B6B;
    top: 30%;
    right: -80px;
    animation: float 10s ease-in-out infinite;
}

.shape-circle-4 {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: #FFFFFF;
    top: -50px;
    left: 10%;
    animation: float 7s ease-in-out infinite;
}

.shape-square-1 {
    width: 150px;
    height: 150px;
    background: #FF6B6B;
    top: 20%;
    left: 5%;
    transform: rotate(45deg);
    animation: rotate 15s linear infinite;
}

.shape-square-2 {
    width: 100px;
    height: 100px;
    background: #FF6B6B;
    bottom: 15%;
    right: 10%;
    transform: rotate(30deg);
    animation: rotate 20s linear infinite reverse;
}

.shape-triangle-1 {
    width: 0;
    height: 0;
    border-left: 75px solid transparent;
    border-right: 75px solid transparent;
    border-bottom: 130px solid #FF6B6B;
    top: 60%;
    right: 5%;
    animation: float 9s ease-in-out infinite;
}

.shape-diamond-1 {
    width: 120px;
    height: 120px;
    background: #FF6B6B;
    top: 40%;
    left: 15%;
    transform: rotate(45deg);
    animation: rotate 12s linear infinite;
}

.shape-diamond-2 {
    width: 80px;
    height: 80px;
    background: #FFFFFF;
    bottom: 20%;
    right: 20%;
    transform: rotate(45deg);
    animation: rotate 18s linear infinite reverse;
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-30px);
    }
}

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

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Navbar Styles */
#navbar {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

#navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

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

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

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

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

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

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

/* Focus Styles */
input:focus,
select:focus,
textarea:focus {
    outline: none;
}

/* Button Hover Effects */
a:hover {
    transition: all 0.3s ease;
}

/* Image Optimization */
img {
    max-width: 100%;
    height: auto;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .shape-circle-1 {
        width: 200px;
        height: 200px;
    }
    
    .shape-circle-2,
    .shape-circle-3,
    .shape-square-1,
    .shape-square-2,
    .shape-triangle-1,
    .shape-diamond-1,
    .shape-diamond-2 {
        display: none;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .geometric-shape {
        animation-play-state: running;
    }
}

@media (prefers-reduced-motion: reduce) {
    .geometric-shape {
        animation: none;
    }
    
    .reveal {
        transition: none;
        opacity: 1;
        transform: none;
    }
}
