/* Custom styles for geometric shapes and animations */
.geo-shape {
    position: absolute;
    pointer-events: none;
}

.geo-circle {
    border-radius: 50%;
}

.geo-rectangle {
    border-radius: 2px;
}

.geo-rounded {
    border-radius: 16px;
}

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

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

@keyframes pulse-slow {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.05); }
}

@keyframes slide-in-left {
    from { transform: translateX(-100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slide-in-right {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes fade-in-up {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

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

/* Geometric pattern overlay */
.pattern-overlay {
    background-image: 
        linear-gradient(45deg, rgba(20, 184, 166, 0.03) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(20, 184, 166, 0.03) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(20, 184, 166, 0.03) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(20, 184, 166, 0.03) 75%);
    background-size: 60px 60px;
    background-position: 0 0, 0 30px, 30px -30px, -30px 0px;
}

/* Geometric card hover effect */
.geo-card {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.geo-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(20, 184, 166, 0.1), transparent);
    transition: left 0.5s ease;
}

.geo-card:hover::before {
    left: 100%;
}

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

/* Geometric accent line */
.geo-accent {
    position: relative;
}

.geo-accent::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #14b8a6, #2dd4bf);
    border-radius: 2px;
}

/* Geometric shape decorations */
.shape-square {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #14b8a6, #0d9488);
    transform: rotate(45deg);
}

.shape-circle {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0d9488, #075985);
    border-radius: 50%;
}

/* Geometric grid pattern */
.geo-grid {
    background-image: 
        linear-gradient(rgba(20, 184, 166, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(20, 184, 166, 0.1) 1px, transparent 1px);
    background-size: 40px 40px;
}

/* Geometric button hover */
.geo-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.geo-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.geo-btn:hover::before {
    left: 100%;
}

.geo-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(20, 184, 166, 0.3);
}

/* Geometric divider */
.geo-divider {
    height: 4px;
    background: linear-gradient(90deg, #020617, #14b8a6, #020617);
}

/* Geometric section background */
.geo-section-bg {
    background: 
        linear-gradient(135deg, #020617 0%, #082f49 50%, #020617 100%);
    position: relative;
    overflow: hidden;
}

.geo-section-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.1) 0%, transparent 70%);
    animation: rotate-slow 30s linear infinite;
}

.geo-section-bg::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.15) 0%, transparent 70%);
    animation: rotate-slow 25s linear infinite reverse;
}

/* Custom scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #020617; }
::-webkit-scrollbar-thumb { background: #14b8a6; border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: #0d9488; }

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

/* Mobile menu animation */
.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.mobile-menu.active {
    transform: translateX(0);
}

/* Geometric shape animations */
.animate-float { animation: float 6s ease-in-out infinite; }
.animate-float-reverse { animation: float-reverse 7s ease-in-out infinite; }
.animate-pulse-slow { animation: pulse-slow 4s ease-in-out infinite; }
.animate-slide-left { animation: slide-in-left 0.8s ease-out forwards; }
.animate-slide-right { animation: slide-in-right 0.8s ease-out forwards; }
.animate-fade-in-up { animation: fade-in-up 0.6s ease-out forwards; }
.animate-rotate-slow { animation: rotate-slow 20s linear infinite; }

/* Geometric hover effects */
.geo-hover {
    transition: all 0.3s ease;
}

.geo-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(20, 184, 166, 0.2);
}

/* Geometric border effects */
.geo-border {
    position: relative;
}

.geo-border::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #14b8a6, #2dd4bf);
    transition: width 0.3s ease;
}

.geo-border:hover::after {
    width: 100%;
}
