/* Custom CSS for Environmental Defense Design Pivot */

/* Glassmorphism Classes */
.glass {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 32px 0 rgba(109, 202, 202, 0.15);
}

.glass-dark {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
}

.glass-btn {
    background: linear-gradient(135deg, rgba(109, 202, 202, 0.8), rgba(177, 216, 154, 0.8));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.glass-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(109, 202, 202, 0.3);
}

/* Geometric Background Elements */
.bg-geometric {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    background: #f8fafc;
    overflow: hidden;
}

.shape {
    position: absolute;
    filter: blur(60px);
    opacity: 0.6;
    animation: float 15s infinite alternate ease-in-out;
}

.shape-1 {
    width: 50vw;
    height: 50vw;
    background: #6DCACA;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    top: -10%;
    right: -10%;
}

.shape-2 {
    width: 40vw;
    height: 40vw;
    background: #B1D89A;
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    bottom: -10%;
    left: -10%;
    animation-delay: -5s;
}

.shape-3 {
    width: 30vw;
    height: 30vw;
    background: rgba(109, 202, 202, 0.5);
    border-radius: 50%;
    top: 40%;
    left: 30%;
    animation-duration: 20s;
}

/* Geometric Elements */
.hexagon {
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.geo-border {
    position: relative;
}
.geo-border::after {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: 10px;
    bottom: 10px;
    border: 2px dashed #6DCACA;
    z-index: -1;
    border-radius: 1rem;
}

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

/* Language Switching */
html[dir="rtl"] .en-text { display: none !important; }
html[dir="ltr"] .ar-text { display: none !important; }

html[dir="ltr"] { font-family: 'Poppins', sans-serif; }
html[dir="rtl"] { font-family: 'Cairo', sans-serif; }

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