/* Base & Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    min-height: 100vh;
}

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

.geo-circle-1 {
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(232, 100, 91, 0.12) 0%, transparent 70%);
    top: -100px;
    right: -150px;
    animation: float 20s ease-in-out infinite;
}

.geo-circle-2 {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(247, 153, 144, 0.1) 0%, transparent 70%);
    bottom: 10%;
    left: 5%;
    animation: float 15s ease-in-out infinite reverse;
}

.geo-circle-3 {
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(232, 100, 91, 0.08) 0%, transparent 70%);
    top: 20%;
    right: -200px;
    animation: float 18s ease-in-out infinite;
}

.geo-circle-4 {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(232, 100, 91, 0.06) 0%, transparent 70%);
    bottom: -100px;
    left: -100px;
    animation: float 22s ease-in-out infinite reverse;
}

.geo-square-1 {
    width: 120px;
    height: 120px;
    background: rgba(232, 100, 91, 0.08);
    border-radius: 24px;
    top: 30%;
    right: 5%;
    transform: rotate(45deg);
    animation: spin 30s linear infinite;
}

.geo-square-2 {
    width: 80px;
    height: 80px;
    background: rgba(232, 100, 91, 0.06);
    border-radius: 16px;
    bottom: 20%;
    left: 10%;
    transform: rotate(20deg);
    animation: spin 25s linear infinite reverse;
}

.geo-square-3 {
    width: 100px;
    height: 100px;
    background: rgba(232, 100, 91, 0.05);
    border-radius: 20px;
    top: 10%;
    left: 5%;
    transform: rotate(30deg);
    animation: spin 28s linear infinite;
}

.geo-triangle-1 {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 104px solid rgba(232, 100, 91, 0.06);
    top: 60%;
    right: 8%;
    animation: float 12s ease-in-out infinite;
}

.geo-dots {
    width: 200px;
    height: 200px;
    background-image: radial-gradient(circle, rgba(232, 100, 91, 0.15) 1px, transparent 1px);
    background-size: 20px 20px;
    top: 15%;
    left: 3%;
    opacity: 0.6;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(2deg); }
    66% { transform: translateY(10px) rotate(-1deg); }
}

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

/* Hero Animations */
.hero-content {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.2s;
}

.hero-image {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.4s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.service-card.visible {
    animation: fadeUp 0.5s ease forwards;
}

/* Navbar Scroll Effect */
.nav-scrolled {
    background: rgba(26, 26, 46, 0.95) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Mobile Menu */
.mobile-link {
    display: block;
}

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

::-webkit-scrollbar-track {
    background: #1A1A2E;
}

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

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

/* Selection */
::selection {
    background: rgba(232, 100, 91, 0.3);
    color: #1A1A2E;
}

/* Form 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;
    padding-right: 2.5rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .geo-circle-1 {
        width: 300px;
        height: 300px;
        right: -80px;
    }
    
    .geo-square-1 {
        width: 60px;
        height: 60px;
    }

    .geo-triangle-1 {
        border-left: 30px solid transparent;
        border-right: 30px solid transparent;
        border-bottom: 52px solid rgba(232, 100, 91, 0.06);
    }
}
