/* Custom Styles for A Amitin Adjuster */

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

/* Geometric Shape Animations */
.geo-shape {
    position: absolute;
    opacity: 0.15;
    animation: float 6s ease-in-out infinite;
}

.geo-circle-1 {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(45, 212, 191, 0.4) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

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

.geo-square-1 {
    width: 120px;
    height: 120px;
    background: rgba(45, 212, 191, 0.3);
    top: 20%;
    left: 10%;
    transform: rotate(45deg);
    animation-delay: 1s;
}

.geo-square-2 {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    bottom: 25%;
    right: 15%;
    transform: rotate(30deg);
    animation-delay: 3s;
}

.geo-triangle-1 {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 104px solid rgba(45, 212, 191, 0.25);
    top: 40%;
    right: 8%;
    animation-delay: 1.5s;
}

.geo-dots {
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.15) 1px, transparent 1px);
    background-size: 30px 30px;
    top: 0;
    left: 0;
    animation: none;
}

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

/* Service Card Hover */
.service-card {
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

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

/* Navbar Scroll Effect */
.navbar-scrolled {
    background: rgba(15, 23, 42, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

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

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

/* Form Focus States */
input:focus,
select:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

/* Back to Top Button */
#back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Selection Color */
::selection {
    background: rgba(13, 148, 136, 0.3);
    color: #0f766e;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #0f766e;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .geo-circle-1 {
        width: 250px;
        height: 250px;
    }
    
    .geo-circle-2 {
        width: 150px;
        height: 150px;
    }
    
    .geo-square-1 {
        width: 80px;
        height: 80px;
    }
    
    .geo-square-2 {
        width: 50px;
        height: 50px;
    }
    
    .geo-triangle-1 {
        border-left: 40px solid transparent;
        border-right: 40px solid transparent;
        border-bottom: 69px solid rgba(45, 212, 191, 0.25);
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .geo-shape,
    .animate-bounce,
    .animate-pulse {
        animation: none;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .service-card:hover {
        transform: none;
    }
}
