/* ===================================
   GLASSMORPHISM EFFECTS
   Modern glass-like transparent UI elements
   ================================== */

/* ===================================
   Glass Card Effect
   ================================== */
.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow:
        0 8px 32px 0 rgba(0, 80, 157, 0.15),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.3);
    padding: 2.5rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.glass-card::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.6s ease;
}

.glass-card:hover::before {
    left: 100%;
}

.glass-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow:
        0 15px 45px 0 rgba(0, 80, 157, 0.25),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.4),
        0 0 0 1px rgba(0, 212, 255, 0.3);
    border-color: rgba(0, 212, 255, 0.4);
}

/* ===================================
   Glass Card with Blue Tint
   ================================== */
.glass-card-blue {
    background: rgba(0, 80, 157, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(0, 212, 255, 0.3);
    box-shadow:
        0 8px 32px 0 rgba(0, 80, 157, 0.2),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.2);
    padding: 2.5rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.glass-card-blue:hover {
    transform: translateY(-10px);
    box-shadow:
        0 15px 45px 0 rgba(0, 212, 255, 0.4),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.3),
        0 0 20px rgba(0, 212, 255, 0.3);
    border-color: rgba(0, 212, 255, 0.5);
}

/* ===================================
   Glass Card with Yellow Tint
   ================================== */
.glass-card-yellow {
    background: rgba(253, 197, 0, 0.12);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(253, 197, 0, 0.3);
    box-shadow:
        0 8px 32px 0 rgba(253, 197, 0, 0.2),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.2);
    padding: 2.5rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.glass-card-yellow:hover {
    transform: translateY(-10px);
    box-shadow:
        0 15px 45px 0 rgba(253, 197, 0, 0.4),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.3),
        0 0 20px rgba(253, 197, 0, 0.3);
    border-color: rgba(253, 197, 0, 0.5);
}

/* ===================================
   Glass Icon Box
   ================================== */
.glass-icon {
    width: 90px;
    height: 90px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.75rem;
    margin: 0 auto 1.5rem;
    box-shadow:
        0 8px 25px rgba(0, 80, 157, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
    animation: floatGlass 4s ease-in-out infinite;
}

@keyframes floatGlass {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    25% {
        transform: translateY(-12px) rotate(3deg);
    }

    50% {
        transform: translateY(0px) rotate(0deg);
    }

    75% {
        transform: translateY(-8px) rotate(-3deg);
    }
}

.glass-card:hover .glass-icon {
    transform: scale(1.15) rotate(360deg);
    box-shadow:
        0 12px 35px rgba(0, 212, 255, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    animation: none;
}

/* ===================================
   Interactive Hero Section
   ================================== */
.hero-interactive {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #001a33 0%, #00509d 50%, #0066cc 100%);
    overflow: hidden;
}

/* Animated Background Particles */
.hero-interactive::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 15% 25%, rgba(0, 212, 255, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 85% 75%, rgba(253, 197, 0, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(157, 0, 255, 0.1) 0%, transparent 50%);
    animation: particleMove 20s ease-in-out infinite;
}

@keyframes particleMove {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -20px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 15px) scale(0.9);
    }
}

/* Floating Geometric Shapes */
.hero-interactive::after {
    content: '';
    position: absolute;
    top: 20%;
    right: 10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
    animation: floatShape 15s ease-in-out infinite;
}

@keyframes floatShape {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(-50px, 40px) scale(1.2);
    }
}

/* Hero Content Glass Container */
.hero-glass-content {
    position: relative;
    z-index: 10;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 4rem 3rem;
    max-width: 900px;
    margin: 0 auto;
    box-shadow:
        0 15px 50px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    animation: heroGlassFadeIn 1.2s ease-out;
}

@keyframes heroGlassFadeIn {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Interactive Hero Title */
.hero-interactive-title {
    color: white;
    font-size: 4rem;
    margin-bottom: 1.5rem;
    text-shadow:
        0 4px 20px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(0, 212, 255, 0.3);
    animation: titleGlow 3s ease-in-out infinite;
    background: linear-gradient(135deg, #ffffff, #00d4ff, #ffffff);
    background-size: 200% 200%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@keyframes titleGlow {

    0%,
    100% {
        text-shadow:
            0 4px 20px rgba(0, 0, 0, 0.5),
            0 0 40px rgba(0, 212, 255, 0.3);
    }

    50% {
        text-shadow:
            0 4px 20px rgba(0, 0, 0, 0.5),
            0 0 60px rgba(0, 212, 255, 0.6);
    }
}

/* Interactive Hero Subtitle */
.hero-interactive-subtitle {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.375rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    animation: subtitleFade 1.2s ease-out 0.3s;
    animation-fill-mode: both;
}

@keyframes subtitleFade {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Glass Button */
.glass-button {
    position: relative;
    display: inline-block;
    padding: 1.125rem 3rem;
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
    color: white;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    overflow: hidden;
    box-shadow:
        0 8px 25px rgba(0, 80, 157, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.glass-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.glass-button:hover::before {
    left: 100%;
}

.glass-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow:
        0 15px 40px rgba(0, 212, 255, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        0 0 30px rgba(0, 212, 255, 0.4);
    border-color: rgba(0, 212, 255, 0.6);
}

.glass-button:active {
    transform: translateY(-2px) scale(1.02);
}

.glass-button-primary {
    background: rgba(253, 197, 0, 0.25);
    border-color: rgba(253, 197, 0, 0.5);
    box-shadow:
        0 8px 25px rgba(253, 197, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.glass-button-primary:hover {
    box-shadow:
        0 15px 40px rgba(253, 197, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        0 0 30px rgba(253, 197, 0, 0.5);
    border-color: rgba(253, 197, 0, 0.8);
}

/* Glass Section Background */
.glass-section-bg {
    position: relative;
    background: linear-gradient(180deg,
            rgba(248, 249, 250, 0.95) 0%,
            rgba(255, 255, 255, 0.85) 50%,
            rgba(248, 249, 250, 0.95) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Decorative Glass Orbs */
.glass-orb {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    pointer-events: none;
}

.glass-orb-1 {
    width: 400px;
    height: 400px;
    top: -200px;
    left: -100px;
    animation: orbFloat1 20s ease-in-out infinite;
}

.glass-orb-2 {
    width: 300px;
    height: 300px;
    bottom: -150px;
    right: -50px;
    animation: orbFloat2 18s ease-in-out infinite;
}

@keyframes orbFloat1 {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(50px, 30px);
    }
}

@keyframes orbFloat2 {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(-40px, -25px);
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-interactive {
        min-height: 80vh;
    }

    .hero-glass-content {
        padding: 3rem 2rem;
    }

    .hero-interactive-title {
        font-size: 2.5rem;
    }

    .hero-interactive-subtitle {
        font-size: 1.125rem;
    }

    .glass-icon {
        width: 75px;
        height: 75px;
        font-size: 2.25rem;
    }

    .glass-card {
        padding: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-interactive-title {
        font-size: 2rem;
    }

    .glass-button {
        width: 100%;
        padding: 1rem 2rem;
    }
}