/* Custom styles for geometric shapes and animations */
.geometric-bg {
    position: relative;
    overflow: hidden;
}

.geometric-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80vw;
    height: 80vw;
    background: linear-gradient(135deg, #14b8a6 0%, #0d9488 50%, #0f766e 100%);
    border-radius: 50%;
    opacity: 0.15;
    z-index: 0;
}

.geometric-bg::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 60vw;
    height: 60vw;
    background: linear-gradient(225deg, #1e293b 0%, #334155 100%);
    border-radius: 50%;
    opacity: 0.1;
    z-index: 0;
}

.shape {
    position: absolute;
    opacity: 0.1;
    z-index: 0;
}

.shape-1 {
    top: 10%;
    left: 5%;
    width: 100px;
    height: 100px;
    background: #14b8a6;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.shape-2 {
    top: 20%;
    right: 10%;
    width: 80px;
    height: 80px;
    background: #1e293b;
    transform: rotate(45deg);
}

.shape-3 {
    bottom: 20%;
    left: 15%;
    width: 120px;
    height: 120px;
    background: #0d9488;
    border-radius: 50%;
}

.shape-4 {
    bottom: 10%;
    right: 5%;
    width: 60px;
    height: 60px;
    background: #334155;
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
}

.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.btn-primary {
    background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(13, 148, 136, 0.3);
}

.btn-secondary {
    background: #1e293b;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #334155;
    transform: translateY(-2px);
}

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

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

/* Mobile menu */
.mobile-menu {
    display: none;
}

.mobile-menu.active {
    display: block;
}

/* Form styling */
input, textarea {
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input:focus, textarea:focus {
    border-color: #14b8a6;
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1);
}

/* Success message */
.success-message {
    display: none;
}

.success-message.show {
    display: block;
}

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

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    .service-card {
        transition: none;
    }
    
    .service-card:hover {
        transform: none;
    }
    
    .btn-primary, .btn-secondary {
        transition: none;
    }
    
    .btn-primary:hover, .btn-secondary:hover {
        transform: none;
    }
}
