/* Smooth scrolling (only on precise pointers and when allowed) */
/* Removed smooth-scrolling and GPU hint tweaks per user request */
/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #0066cc;
    --secondary-blue: #0099ff;
    --light-blue: #66ccff;
    --dark-blue: #003366;
    --ocean-blue: #006994;
    --water-cyan: #00bfff;
    --ice-blue: #b0e0e6;
    --steam-gray: #e6f3ff;
    --white: #ffffff;
    --black: #1a1a1a;
    --gradient-primary: linear-gradient(135deg, var(--primary-blue), var(--water-cyan));
    --gradient-secondary: linear-gradient(135deg, var(--ocean-blue), var(--light-blue));
    --gradient-rainbow: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #feca57, #ff9ff3);
    --shadow-soft: 0 8px 32px rgba(0, 102, 204, 0.1);
    --shadow-medium: 0 12px 40px rgba(0, 102, 204, 0.2);
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    --primary-color: #00bfff;
    --primary-glow: #81d4fa;
    --text-primary: #ffffff;
    --text-secondary: #b3e5fc;
    --bg-gradient-start: #001122;
    --bg-gradient-end: #003366;
    --card-bg: rgba(255, 255, 255, 0.1);
    --card-bg-hover: rgba(255, 255, 255, 0.15);
    --card-shadow: rgba(0, 102, 204, 0.12);
    --card-shadow-hover: rgba(0, 102, 204, 0.18);
    --ripple-color: rgba(33, 150, 243, 0.18);
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--white);
    background: linear-gradient(135deg, #001122 0%, #003366 50%, #0066cc 100%);
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Animated Background */

/* .animated-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: linear-gradient(135deg, #001122 0%, #003366 50%, #0066cc 100%) !important;


/* Ocean Waves */

/* .ocean-waves {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 200px;
} */


/* .wave, .wave-1, .wave-2, .wave-3, .wave-4 {
    position: absolute;
    bottom: 0;
    width: 200%;
    height: 100%;
    background: linear-gradient(45deg, rgba(102, 204, 255, 0.3), rgba(0, 153, 255, 0.2));
    border-radius: 50% 50% 0 0;
    animation: wave 10s ease-in-out infinite;
    will-change: transform;
    transform: translateZ(0);
    animation-delay: 0s;
    opacity: 0.7;
} */


/* Floating Particles - Disabled for performance
.particles, .particle {
    position: absolute;
    width: 100%;
    height: 100%;
    animation: float-particle 12s linear infinite;
    will-change: transform, opacity;
    transform: translateZ(0);
    opacity: 0.6;
}
*/


/* Raindrops - Disabled for performance
.raindrops, .raindrop {
    position: absolute;
    width: 100%;
    height: 100%;
    animation: raindrop 4s linear infinite;
    will-change: transform, opacity;
    transform: translateZ(0);
}
*/


/* .water-bubbles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
} */






@keyframes wave {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(10px);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(102, 204, 255, 0.3);
    }
    50% {
        box-shadow: 0 0 30px rgba(102, 204, 255, 0.6);
    }
}

@keyframes slideInUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeInScale {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Landing Page Animations for All Pages */
@keyframes wave {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-20px);
    }
}

@keyframes float-particle {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) scale(1);
        opacity: 0;
    }
}

@keyframes raindrop {
    0% {
        transform: translateY(-100px);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    100% {
        transform: translateY(100vh);
        opacity: 0;
    }
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes letterGlow {
    0% {
        text-shadow: 0 0 20px rgba(102, 204, 255, 0.5);
    }
    100% {
        text-shadow: 0 0 30px rgba(102, 204, 255, 0.8), 0 0 40px rgba(102, 204, 255, 0.6);
    }
}

@keyframes subscriptPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

@keyframes dropletFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-20px) scale(1.1);
    }
}

@keyframes iconFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-15px) rotate(5deg);
    }
    50% {
        transform: translateY(-10px) rotate(0deg);
    }
    75% {
        transform: translateY(-15px) rotate(-5deg);
    }
}

@keyframes titleAnimation {
    0%, 100% {
        transform: translateY(0) scale(1);
        color: var(--white);
    }
    50% {
        transform: translateY(-10px) scale(1.1);
        color: var(--water-cyan);
    }
}

@keyframes subtitleGlow {
    0% {
        text-shadow: 0 0 10px rgba(102, 204, 255, 0.3);
    }
    100% {
        text-shadow: 0 0 20px rgba(102, 204, 255, 0.6);
    }
}

@keyframes moleculeRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes atomOrbit1 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(10px, -10px); }
}

@keyframes atomOrbit2 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-10px, -10px); }
}

@keyframes bond1 {
    0%, 100% { transform: translateY(-50%) rotate(-45deg); }
    50% { transform: translateY(-50%) rotate(-35deg); }
}

@keyframes bond2 {
    0%, 100% { transform: translateY(-50%) rotate(45deg); }
    50% { transform: translateY(-50%) rotate(35deg); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Water State Animations */
@keyframes waterFlow {
    0%, 100% {
        left: -100%;
        opacity: 0;
    }
    50% {
        left: 100%;
        opacity: 1;
    }
}

@keyframes waterRipple {
    0%, 100% {
        left: -100%;
        opacity: 0;
    }
    25% {
        left: 25%;
        opacity: 0.5;
    }
    75% {
        left: 75%;
        opacity: 0.5;
    }
    100% {
        left: 100%;
        opacity: 0;
    }
}

@keyframes waterDrop {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 10px rgba(0, 150, 255, 0.6));
    }
    50% {
        transform: scale(1.1);
        filter: drop-shadow(0 0 20px rgba(0, 150, 255, 0.8));
    }
}

/* Ice State Animations */
@keyframes iceCrystal {
    0%, 100% {
        left: -100%;
        opacity: 0;
        transform: rotate(0deg);
    }
    50% {
        left: 100%;
        opacity: 1;
        transform: rotate(180deg);
    }
}

@keyframes iceShimmer {
    0%, 100% {
        left: -100%;
        opacity: 0;
    }
    25% {
        left: 25%;
        opacity: 0.3;
    }
    75% {
        left: 75%;
        opacity: 0.3;
    }
    100% {
        left: 100%;
        opacity: 0;
    }
}

@keyframes iceGlow {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 15px rgba(173, 216, 230, 0.7));
    }
    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 0 25px rgba(173, 216, 230, 0.9));
    }
}

/* Air State Animations */
@keyframes airFlow {
    0%, 100% {
        left: -100%;
        opacity: 0;
        transform: translateY(0);
    }
    50% {
        left: 100%;
        opacity: 0.3;
        transform: translateY(-10px);
    }
}

@keyframes airDrift {
    0%, 100% {
        left: -100%;
        opacity: 0;
        transform: translateY(0);
    }
    25% {
        left: 25%;
        opacity: 0.2;
        transform: translateY(-5px);
    }
    75% {
        left: 75%;
        opacity: 0.2;
        transform: translateY(5px);
    }
    100% {
        left: 100%;
        opacity: 0;
        transform: translateY(0);
    }
}

@keyframes airFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
        filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.6));
    }
    50% {
        transform: translateY(-5px) scale(1.05);
        filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.8));
    }
}

/* Additional Water State Animations */
@keyframes bubbleRise {
    0% {
        bottom: -10px;
        opacity: 0;
        transform: scale(0);
    }
    50% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        bottom: 100%;
        opacity: 0;
        transform: scale(0.5);
    }
}

/* Additional Ice State Animations */
@keyframes crystalSparkle {
    0%, 100% {
        opacity: 0.3;
        transform: rotate(0deg) scale(1);
    }
    50% {
        opacity: 1;
        transform: rotate(180deg) scale(1.2);
    }
}

/* Additional Air State Animations */
@keyframes particleFloat {
    0% {
        top: 100%;
        opacity: 0;
        transform: translateX(0);
    }
    25% {
        opacity: 1;
        transform: translateX(10px);
    }
    75% {
        opacity: 1;
        transform: translateX(-10px);
    }
    100% {
        top: -10px;
        opacity: 0;
        transform: translateX(0);
    }
}

/* Enhanced Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 17, 34, 0.95);
    backdrop-filter: blur(15px);
    border-bottom: 2px solid rgba(102, 204, 255, 0.3);
    z-index: 1000;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(0, 102, 204, 0.2);
}

.navbar:hover {
    background: rgba(0, 17, 34, 0.98);
    border-bottom-color: var(--water-cyan);
    box-shadow: 0 6px 25px rgba(0, 102, 204, 0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

/* Enhanced Logo */
.nav-logo {
    display: flex;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 0.5rem;
    transition: var(--transition);
}

.logo-link:hover {
    transform: scale(1.05);
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(102, 204, 255, 0.3);
    animation: logoFloat 3s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.logo-icon i {
    color: var(--white);
    font-size: 1.2rem;
    z-index: 2;
    position: relative;
    display: block;
    animation: none;
}

.logo-ripple {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    animation: logoRipple 2s ease-out infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes logoRipple {
    0% {
        width: 0;
        height: 0;
        opacity: 1;
    }
    100% {
        width: 60px;
        height: 60px;
        opacity: 0;
    }
}

.nav-logo h2 {
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: logoFloat 4s ease-in-out infinite;
    text-shadow: 0 0 20px rgba(102, 204, 255, 0.3);
    margin: 0;
}

.logo-subtitle {
    font-size: 0.8rem;
    color: var(--light-blue);
    opacity: 0.8;
    margin-left: 0.5rem;
}

.water-text {
    color: var(--primary-blue) !important;
    -webkit-text-fill-color: var(--primary-blue) !important;
}

/* Enhanced Navigation Menu */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 1rem;
}

.nav-item {
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 0.75rem 1.5rem;
    border-radius: 20px;
    background: rgba(102, 204, 255, 0.1);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid transparent;
}

.nav-link i {
    font-size: 1rem;
    transition: var(--transition);
}

.nav-link:hover {
    background: rgba(102, 204, 255, 0.2);
    color: var(--water-cyan);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 204, 255, 0.3);
    border-color: rgba(102, 204, 255, 0.3);
}

.nav-link:hover i {
    transform: scale(1.2);
    color: var(--water-cyan);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

/* Navigation Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Search Container */
.search-container {
    position: relative;
}

.search-toggle {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: var(--transition);
    background: rgba(102, 204, 255, 0.1);
}

.search-toggle:hover {
    background: rgba(102, 204, 255, 0.2);
    transform: scale(1.1);
}

.search-box {
    position: absolute;
    top: 100%;
    right: 0;
    width: 300px;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(102, 204, 255, 0.3);
    border-radius: var(--border-radius);
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    z-index: 1001;
}

.search-box.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.search-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(102, 204, 255, 0.3);
    border-radius: var(--border-radius);
    padding: 0.75rem;
    color: var(--white);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.search-input:focus {
    outline: none;
    border-color: var(--water-cyan);
    box-shadow: 0 0 15px rgba(102, 204, 255, 0.3);
}

.search-btn {
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--border-radius);
    padding: 0.75rem 1rem;
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
}

.search-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(102, 204, 255, 0.4);
}

/* Enhanced Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--border-radius);
    background: rgba(102, 204, 255, 0.1);
    transition: var(--transition);
}

.hamburger:hover {
    background: rgba(102, 204, 255, 0.2);
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--primary-blue);
    margin: 3px 0;
    transition: var(--transition);
    border-radius: 2px;
}

.hamburger.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Main Content */
.main-content {
    margin-top: 70px;
    min-height: calc(100vh - 70px);
    position: relative;
    z-index: 1;
}

/* Page Sections */
.hero, .about-hero, .projects-hero, .contact-hero, .features, .skills, .experience, .projects-grid, .contact-content {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    margin: 2rem 0;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-soft);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 24px;
    border: none;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
    background: var(--primary-blue);
    color: var(--white);
}

/* Floating Water Droplets */
.floating-droplets {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.droplet {
    position: absolute;
    width: 20px;
    height: 30px;
    background: var(--gradient-primary);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    animation: dropletFloat 6s ease-in-out infinite;
    opacity: 0.7;
}

.droplet-1 { left: 10%; top: 20%; animation-delay: 0s; }
.droplet-2 { left: 20%; top: 30%; animation-delay: 1s; }
.droplet-3 { left: 30%; top: 25%; animation-delay: 2s; }
.droplet-4 { left: 40%; top: 35%; animation-delay: 3s; }
.droplet-5 { left: 50%; top: 20%; animation-delay: 4s; }
.droplet-6 { left: 60%; top: 30%; animation-delay: 5s; }
.droplet-7 { left: 70%; top: 25%; animation-delay: 6s; }
.droplet-8 { left: 80%; top: 35%; animation-delay: 7s; }

/* Interactive Background Elements */
.interactive-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.floating-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: iconFloat 8s ease-in-out infinite;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
}

.floating-icon:hover {
    transform: scale(1.2);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 30px rgba(102, 204, 255, 0.5);
}

.icon-1 { left: 5%; top: 15%; animation-delay: 0s; }
.icon-2 { left: 15%; top: 25%; animation-delay: 1s; }
.icon-3 { left: 25%; top: 20%; animation-delay: 2s; }
.icon-4 { left: 35%; top: 30%; animation-delay: 3s; }
.icon-5 { left: 45%; top: 15%; animation-delay: 4s; }
.icon-6 { left: 55%; top: 25%; animation-delay: 5s; }

/* Hero Section */
.hero {
    padding: 4rem 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(102, 204, 255, 0.1) 0%, rgba(0, 153, 255, 0.05) 100%);
    animation: shimmer 3s ease-in-out infinite;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: var(--white);
    text-shadow: 0 0 20px rgba(102, 204, 255, 0.5);
    animation: titleAnimation 3s ease-in-out infinite;
    position: relative;
}

.hero-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    animation: titleUnderline 2s ease-in-out infinite;
}

@keyframes titleUnderline {
    0%, 100% {
        width: 0;
    }
    50% {
        width: 100%;
    }
}

.water-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--light-blue);
    margin-bottom: 1.5rem;
    animation: subtitleGlow 2s ease-in-out infinite alternate;
    position: relative;
    overflow: hidden;
}

.hero-subtitle::after {
    content: '|';
    position: absolute;
    right: -5px;
    animation: cursorBlink 1s infinite;
    color: var(--water-cyan);
}

@keyframes cursorBlink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

.hero-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    position: relative;
}

.hero-buttons::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-primary);
    animation: buttonWave 3s ease-in-out infinite;
}

@keyframes buttonWave {
    0%, 100% {
        transform: translateX(-100%);
        opacity: 0;
    }
    50% {
        transform: translateX(100%);
        opacity: 1;
    }
}

/* Water Molecule Animation */
.water-molecule {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
    animation: moleculeFloat 8s ease-in-out infinite;
    position: relative;
}

.water-molecule::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(102, 204, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: moleculeGlow 4s ease-in-out infinite;
}

.water-molecule:hover {
    animation-play-state: paused;
    transform: scale(1.1);
}

@keyframes moleculeFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-10px) rotate(2deg);
    }
    50% {
        transform: translateY(-5px) rotate(0deg);
    }
    75% {
        transform: translateY(-15px) rotate(-2deg);
    }
}

@keyframes moleculeGlow {
    0%, 100% {
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1.2);
    }
}

.molecule-container {
    position: relative;
    width: 200px;
    height: 200px;
    animation: rotate 20s linear infinite;
}

.oxygen-atom {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    box-shadow: var(--shadow-medium);
}

.hydrogen-atom {
    position: absolute;
    width: 30px;
    height: 30px;
    background: var(--light-blue);
    border-radius: 50%;
    box-shadow: var(--shadow-soft);
}

.hydrogen-1 {
    top: 20%;
    left: 20%;
    animation: orbit1 8s ease-in-out infinite;
}

.hydrogen-2 {
    top: 20%;
    right: 20%;
    animation: orbit2 8s ease-in-out infinite;
}

.bond {
    position: absolute;
    background: var(--primary-blue);
    height: 3px;
    border-radius: 2px;
    transform-origin: left center;
}

.bond-1 {
    top: 50%;
    left: 50%;
    width: 80px;
    transform: translateY(-50%) rotate(-45deg);
    animation: bond1 8s ease-in-out infinite;
}

.bond-2 {
    top: 50%;
    left: 50%;
    width: 80px;
    transform: translateY(-50%) rotate(45deg);
    animation: bond2 8s ease-in-out infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes orbit1 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(10px, -10px); }
}

@keyframes orbit2 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-10px, -10px); }
}

@keyframes bond1 {
    0%, 100% { transform: translateY(-50%) rotate(-45deg); }
    50% { transform: translateY(-50%) rotate(-35deg); }
}

@keyframes bond2 {
    0%, 100% { transform: translateY(-50%) rotate(45deg); }
    50% { transform: translateY(-50%) rotate(35deg); }
}

/* Stats Section */
.stats-section {
    padding: 4rem 0;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(102, 204, 255, 0.3);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--water-cyan);
    text-shadow: 0 0 20px rgba(102, 204, 255, 0.5);
    margin-bottom: 0.5rem;
    animation: numberGlow 2s ease-in-out infinite alternate;
    transition: all 0.3s ease;
}

.stat-number.animating {
    animation: numberCount 2s ease-out, numberGlow 2s ease-in-out infinite alternate;
    transform: scale(1.1);
}

.stat-label {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    transition: all 0.3s ease;
}

.stat-item:hover .stat-number {
    transform: scale(1.05);
    text-shadow: 0 0 30px rgba(102, 204, 255, 0.8);
}

.stat-item:hover .stat-label {
    color: rgba(255, 255, 255, 1);
}

@keyframes numberGlow {
    0% {
        text-shadow: 0 0 20px rgba(102, 204, 255, 0.5);
    }
    100% {
        text-shadow: 0 0 30px rgba(102, 204, 255, 0.8), 0 0 40px rgba(102, 204, 255, 0.4);
    }
}

@keyframes numberCount {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.2);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Features Section */
.features {
    padding: 4rem 0;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 1000px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transform: translateY(0);
}

.feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.feature-card:hover::after {
    left: 100%;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
}

.feature-card:hover {
    box-shadow: var(--shadow-medium);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Liquid Card - Water Effect */
.feature-card.liquid {
    background: linear-gradient(135deg, rgba(0, 150, 255, 0.1), rgba(0, 200, 255, 0.05));
    border: 2px solid rgba(0, 150, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.feature-card.liquid::before {
    content: '';
    position: absolute;
    top: 0px;
    left: 0px;
    width: 320px;
    height: 220px;
    background: linear-gradient(90deg, transparent, rgba(0, 150, 255, 0.2), transparent);
    z-index: 1;
    transition: none !important;
    animation: none !important;
}

.feature-card.liquid::after {
    content: '';
    position: absolute;
    top: 0px;
    left: 0px;
    width: 320px;
    height: 220px;
    background: linear-gradient(90deg, transparent, rgba(0, 150, 255, 0.3), transparent);
    z-index: 1;
    transition: none !important;
    animation: none !important;
}

.feature-card.liquid .water-bubbles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.feature-card.liquid .water-bubble {
    position: absolute;
    width: 8px;
    height: 8px;
    background: rgba(0, 150, 255, 0.4);
    border-radius: 50%;
    animation: none !important;
    transition: none !important;
    top: 200px;
    left: 20px;
}

.feature-card.liquid .water-bubble:nth-child(1) { left: 10%; animation-delay: 0s; }
.feature-card.liquid .water-bubble:nth-child(2) { left: 30%; animation-delay: 2s; }
.feature-card.liquid .water-bubble:nth-child(3) { left: 70%; animation-delay: 4s; }

.feature-card.liquid .feature-icon {
    color: var(--water-cyan);
    animation: waterDrop 2s ease-in-out infinite;
    text-shadow: 0 0 20px rgba(0, 150, 255, 0.6);
}

.feature-card.liquid h3 {
    color: var(--water-cyan);
    text-shadow: 0 0 15px rgba(0, 150, 255, 0.5);
}

/* Solid Card - Ice Effect */
.feature-card.solid {
    background: linear-gradient(135deg, rgba(173, 216, 230, 0.1), rgba(240, 248, 255, 0.05));
    border: 2px solid rgba(173, 216, 230, 0.4);
    position: relative;
    overflow: hidden;
}

.feature-card.solid::before {
    content: '';
    position: absolute;
    top: 0px;
    left: 0px;
    width: 320px;
    height: 220px;
    background: linear-gradient(90deg, transparent, rgba(173, 216, 230, 0.2), transparent);
    z-index: 1;
    transition: none !important;
    animation: none !important;
}

.feature-card.solid::after {
    content: '';
    position: absolute;
    top: 0px;
    left: 0px;
    width: 320px;
    height: 220px;
    background: linear-gradient(90deg, transparent, rgba(240, 248, 255, 0.3), transparent);
    z-index: 1;
    transition: none !important;
    animation: none !important;
}

.feature-card.solid .ice-crystals {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.feature-card.solid .ice-crystal {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(173, 216, 230, 0.6);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    animation: crystalSparkle 8s ease-in-out infinite;
}

.feature-card.solid .ice-crystal:nth-child(1) { left: 15%; top: 20%; animation-delay: 0s; }
.feature-card.solid .ice-crystal:nth-child(2) { left: 60%; top: 40%; animation-delay: 3s; }
.feature-card.solid .ice-crystal:nth-child(3) { left: 85%; top: 60%; animation-delay: 6s; }

.feature-card.solid .feature-icon {
    color: var(--ice-blue);
    animation: iceGlow 3s ease-in-out infinite;
    text-shadow: 0 0 25px rgba(173, 216, 230, 0.7);
}

.feature-card.solid h3 {
    color: var(--ice-blue);
    text-shadow: 0 0 15px rgba(173, 216, 230, 0.5);
}

/* Gas Card - Air Effect */
.feature-card.gas {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(240, 240, 240, 0.05));
    border: 2px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.feature-card.gas::before {
    content: '';
    position: absolute;
    top: 0px;
    left: 0px;
    width: 320px;
    height: 220px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    z-index: 1;
    transition: none !important;
    animation: none !important;
}

.feature-card.gas::after {
    content: '';
    position: absolute;
    top: 0px;
    left: 0px;
    width: 320px;
    height: 220px;
    background: linear-gradient(90deg, transparent, rgba(240, 240, 240, 0.3), transparent);
    z-index: 1;
    transition: none !important;
    animation: none !important;
}

.feature-card.gas .air-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.feature-card.gas .air-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    animation: particleFloat 10s ease-in-out infinite;
}

.feature-card.gas .air-particle:nth-child(1) { left: 20%; animation-delay: 0s; }
.feature-card.gas .air-particle:nth-child(2) { left: 50%; animation-delay: 3s; }
.feature-card.gas .air-particle:nth-child(3) { left: 80%; animation-delay: 6s; }

.feature-card.gas .feature-icon {
    color: var(--steam-gray);
    animation: airFloat 3s ease-in-out infinite;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
}

.feature-card.gas h3 {
    color: var(--steam-gray);
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--water-cyan);
    text-shadow: 0 0 10px rgba(102, 204, 255, 0.3);
    position: relative;
    z-index: 3;
}

.feature-card p {
    position: relative;
    z-index: 3;
}

.feature-card .feature-icon {
    position: relative;
    z-index: 3;
}

.about-hero {
    padding: 4rem 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Floating Water Elements for About Page */
.floating-water-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.water-drop {
    position: absolute;
    width: 15px;
    height: 25px;
    background: var(--gradient-primary);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    animation: waterDropFloat 8s ease-in-out infinite;
    opacity: 0.6;
}

.water-drop-1 { left: 5%; top: 10%; animation-delay: 0s; }
.water-drop-2 { left: 15%; top: 20%; animation-delay: 1s; }
.water-drop-3 { left: 25%; top: 15%; animation-delay: 2s; }
.water-drop-4 { left: 35%; top: 25%; animation-delay: 3s; }
.water-drop-5 { left: 45%; top: 10%; animation-delay: 4s; }
.water-drop-6 { left: 55%; top: 20%; animation-delay: 5s; }

@keyframes waterDropFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.6;
    }
    25% {
        transform: translateY(-20px) rotate(5deg);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-10px) rotate(0deg);
        opacity: 1;
    }
    75% {
        transform: translateY(-30px) rotate(-5deg);
        opacity: 0.7;
    }
}

/* About Background Icons */
.about-background-icons {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.bg-icon {
    position: absolute;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--white);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: bgIconFloat 10s ease-in-out infinite;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
}

.bg-icon:hover {
    transform: scale(1.3);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 25px rgba(102, 204, 255, 0.6);
}

.bg-icon-1 { left: 10%; top: 30%; animation-delay: 0s; }
.bg-icon-2 { left: 20%; top: 40%; animation-delay: 1s; }
.bg-icon-3 { left: 30%; top: 35%; animation-delay: 2s; }
.bg-icon-4 { left: 40%; top: 45%; animation-delay: 3s; }
.bg-icon-5 { left: 50%; top: 30%; animation-delay: 4s; }
.bg-icon-6 { left: 60%; top: 40%; animation-delay: 5s; }

@keyframes bgIconFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-15px) rotate(3deg);
    }
    50% {
        transform: translateY(-5px) rotate(0deg);
    }
    75% {
        transform: translateY(-25px) rotate(-3deg);
    }
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-subtitle {
    font-size: 1.3rem;
    color: var(--ocean-blue);
    margin-bottom: 1.5rem;
}

.about-description p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.profile-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
}

.profile-placeholder {
    width: 300px;
    height: 300px;
    background: var(--gradient-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: var(--white);
    box-shadow: var(--shadow-medium);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.profile-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

/* Skills Section */
.skills {
    padding: 2rem 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.category-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-shadow: 0 0 10px rgba(102, 204, 255, 0.5);
}

.category-title i {
    color: var(--water-cyan);
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

.skill-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.skill-item {
    background: rgba(255, 255, 255, 0.15);
    padding: 1rem;
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
    margin-bottom: 0.75rem;
}

.skill-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 10px 30px rgba(102, 204, 255, 0.3);
}

.skill-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

/* Compact typography for skills */
.skills .section-title { font-size: 2rem; }
.skills .category-title { font-size: 1.1rem; }
.skills .skill-name { font-size: 0.95rem; }
.skills .skill-percentage { font-size: 0.9rem; }

/* Mobile media query removed - uses desktop styles */

.skill-name {
    font-weight: 600;
    color: var(--dark-blue);
    font-size: 1.1rem;
}

.skill-percentage {
    font-weight: 600;
    color: var(--water-cyan);
    font-size: 1rem;
    animation: percentageGlow 2s ease-in-out infinite alternate;
}

@keyframes percentageGlow {
    0% {
        text-shadow: 0 0 5px rgba(102, 204, 255, 0.5);
    }
    100% {
        text-shadow: 0 0 15px rgba(102, 204, 255, 0.8);
    }
}

.skill-bar {
    height: 12px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.skill-progress {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 6px;
    width: 0;
    transition: width 2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.skill-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: skillShimmer 2s infinite;
}

.skill-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 6px;
    opacity: 0;
    filter: blur(8px);
    transition: opacity 0.3s ease;
}

.skill-item:hover .skill-glow {
    opacity: 0.5;
}

@keyframes skillShimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

@keyframes fillBar {
    from { width: 0; }
}

/* Experience Timeline */
.experience {
    padding: 4rem 0;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gradient-primary);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: 0;
    margin-right: 50%;
    text-align: right;
    padding-right: 2rem;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 50%;
    margin-right: 0;
    text-align: left;
    padding-left: 2rem;
}

.timeline-content {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
}

.timeline-content:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 40px rgba(102, 204, 255, 0.3);
}

.timeline-marker {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    z-index: 2;
}

.marker-dot {
    width: 20px;
    height: 20px;
    background: var(--gradient-primary);
    border-radius: 50%;
    border: 3px solid var(--white);
    box-shadow: 0 0 20px rgba(102, 204, 255, 0.6);
    animation: markerPulse 2s ease-in-out infinite;
}

.marker-line {
    width: 2px;
    height: 100%;
    background: var(--gradient-primary);
    margin: 0 auto;
    margin-top: 10px;
}

@keyframes markerPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 20px rgba(102, 204, 255, 0.6);
    }
    50% {
        transform: scale(1.2);
        box-shadow: 0 0 30px rgba(102, 204, 255, 0.8);
    }
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 20px;
    height: 20px;
    background: var(--primary-blue);
    border-radius: 50%;
    transform: translateY(-50%);
}

.timeline-item:nth-child(odd) .timeline-content::before {
    right: -60px;
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: -60px;
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.timeline-header h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--white);
    margin: 0;
}

.timeline-badge {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    animation: badgeGlow 2s ease-in-out infinite alternate;
}

@keyframes badgeGlow {
    0% {
        box-shadow: 0 0 10px rgba(102, 204, 255, 0.5);
    }
    100% {
        box-shadow: 0 0 20px rgba(102, 204, 255, 0.8);
    }
}

.timeline-company {
    font-weight: 500;
    color: var(--water-cyan);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.timeline-company i {
    color: var(--water-cyan);
    animation: iconFloat 3s ease-in-out infinite;
}

.timeline-period {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.timeline-period i {
    color: var(--water-cyan);
}

.timeline-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.timeline-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-tag {
    background: rgba(102, 204, 255, 0.2);
    color: var(--white);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    border: 1px solid rgba(102, 204, 255, 0.3);
    transition: all 0.3s ease;
}

.skill-tag:hover {
    background: rgba(102, 204, 255, 0.3);
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(102, 204, 255, 0.4);
}

.projects-hero {
    padding: 4rem 0;
    text-align: center;
    position: relative;
    z-index: 1;
}

/* Floating Project Elements */
.floating-project-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.project-bubble {
    position: absolute;
    width: 25px;
    height: 25px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, rgba(102, 204, 255, 0.2) 70%);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: projectBubbleFloat 12s ease-in-out infinite;
    opacity: 0.7;
}

.project-bubble-1 { left: 5%; top: 15%; animation-delay: 0s; }
.project-bubble-2 { left: 15%; top: 25%; animation-delay: 2s; }
.project-bubble-3 { left: 25%; top: 20%; animation-delay: 4s; }
.project-bubble-4 { left: 35%; top: 30%; animation-delay: 6s; }
.project-bubble-5 { left: 45%; top: 15%; animation-delay: 8s; }
.project-bubble-6 { left: 55%; top: 25%; animation-delay: 10s; }

@keyframes projectBubbleFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.7;
    }
    25% {
        transform: translateY(-30px) scale(1.1);
        opacity: 0.9;
    }
    50% {
        transform: translateY(-15px) scale(0.9);
        opacity: 1;
    }
    75% {
        transform: translateY(-45px) scale(1.2);
        opacity: 0.8;
    }
}

/* Project Background Icons */
.project-background-icons {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.project-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    animation: projectIconFloat 15s ease-in-out infinite;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
}

.project-icon:hover {
    transform: scale(1.4);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 35px rgba(102, 204, 255, 0.7);
}

.project-icon-1 { left: 8%; top: 35%; animation-delay: 0s; }
.project-icon-2 { left: 18%; top: 45%; animation-delay: 2s; }
.project-icon-3 { left: 28%; top: 40%; animation-delay: 4s; }
.project-icon-4 { left: 38%; top: 50%; animation-delay: 6s; }
.project-icon-5 { left: 48%; top: 35%; animation-delay: 8s; }
.project-icon-6 { left: 58%; top: 45%; animation-delay: 10s; }

@keyframes projectIconFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-20px) rotate(5deg);
    }
    50% {
        transform: translateY(-10px) rotate(0deg);
    }
    75% {
        transform: translateY(-30px) rotate(-5deg);
    }
}

.projects-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white);
    text-shadow: 0 0 20px rgba(102, 204, 255, 0.5);
}

.projects-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.project-stat {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
}

.project-stat:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(102, 204, 255, 0.3);
}

.projects-subtitle {
    font-size: 1.3rem;
    color: var(--ocean-blue);
}

.projects-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 16px;
    border: 2px solid var(--primary-blue);
    background: transparent;
    color: var(--primary-blue);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary-blue);
    color: var(--white);
}

.projects-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transform: translateY(0);
    position: relative;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(102, 204, 255, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.project-card:hover::before {
    opacity: 1;
}

.project-card:hover {
    box-shadow: var(--shadow-medium);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-image {
    height: 200px;
    background: var(--gradient-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 2;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-preview {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    transform: scale(0);
    transition: all 0.3s ease;
}

.project-card:hover .project-preview {
    transform: scale(1);
}

.project-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.project-card:hover .project-glow {
    opacity: 0.3;
}

.project-content {
    padding: 1.5rem;
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.project-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
    color: var(--white);
}

.project-badge {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    animation: projectBadgeGlow 2s ease-in-out infinite alternate;
}

@keyframes projectBadgeGlow {
    0% {
        box-shadow: 0 0 10px rgba(102, 204, 255, 0.5);
    }
    100% {
        box-shadow: 0 0 20px rgba(102, 204, 255, 0.8);
    }
}

.project-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.project-tech {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.tech-tag {
    background: rgba(102, 204, 255, 0.1);
    color: var(--primary-blue);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

.project-links {
    display: flex;
    gap: 1rem;
}

.project-link {
    color: var(--water-cyan);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    background: rgba(102, 204, 255, 0.1);
    border: 1px solid rgba(102, 204, 255, 0.2);
}

.project-link:hover {
    color: var(--white);
    background: rgba(102, 204, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 204, 255, 0.3);
}

.project-link i {
    transition: transform 0.3s ease;
}

.project-link:hover i {
    transform: scale(1.2);
}

.contact-hero {
    padding: 4rem 0;
    text-align: center;
}

.contact-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-subtitle {
    font-size: 1.3rem;
    color: var(--ocean-blue);
}

.contact-content {
    padding: 4rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

.contact-info p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
}

.contact-details h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-blue);
}

.contact-details p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* Contact Form */
.contact-form-container {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--primary-blue);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid rgba(102, 204, 255, 0.2);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.8);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.form-ripple {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.form-ripple::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(102, 204, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.form-group input:focus + .form-ripple::before,
.form-group textarea:focus + .form-ripple::before {
    width: 300px;
    height: 300px;
}

.submit-btn {
    align-self: flex-start;
    position: relative;
    overflow: hidden;
}

.btn-icon {
    margin-left: 0.5rem;
    transition: var(--transition);
}

.submit-btn:hover .btn-icon {
    transform: translateX(5px);
}

/* Form Success */
.form-success {
    text-align: center;
    padding: 2rem;
}

.success-icon {
    font-size: 3rem;
    color: #28a745;
    margin-bottom: 1rem;
}

.form-success h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

/* Map Section */
.map-section {
    padding: 4rem 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

.map-section h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--primary-blue);
}

.map-placeholder {
    height: 300px;
    background: var(--gradient-secondary);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    text-align: center;
}

.map-content i {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

/* CTA Sections */
.cta,
.cta-projects {
    padding: 4rem 0;
    background: var(--gradient-primary);
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta .btn-primary {
    background: var(--white);
    color: var(--primary-blue);
}

.cta .btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
}

/* Enhanced Footer */
.footer {
    background: linear-gradient(135deg, var(--dark-blue) 0%, #001122 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

/* Footer Waves */
.footer-waves {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    overflow: hidden;
}

.footer-wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background: linear-gradient(45deg, rgba(102, 204, 255, 0.1), rgba(0, 153, 255, 0.05));
    border-radius: 0 0 50% 50%;
    animation: footerWave 6s ease-in-out infinite;
}

.footer-wave:nth-child(1) {
    animation-delay: 0s;
    opacity: 0.7;
}

.footer-wave:nth-child(2) {
    animation-delay: 2s;
    opacity: 0.5;
}

.footer-wave:nth-child(3) {
    animation-delay: 4s;
    opacity: 0.3;
}

@keyframes footerWave {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

.footer-content {
    position: relative;
    z-index: 1;
    padding: 4rem 0 2rem;
}

.footer-sections {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    margin-bottom: 3rem;
}

/* Brand Section */
.brand-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-logo-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(102, 204, 255, 0.3);
    animation: logoFloat 3s ease-in-out infinite;
}

.footer-logo-icon i {
    color: var(--white);
    font-size: 1.5rem;
    animation: spin 3s linear infinite;
}

.footer-logo h3 {
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

.footer-description {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.8;
    margin: 0;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social .social-link {
    width: 45px;
    height: 45px;
    background: rgba(102, 204, 255, 0.1);
    border: 1px solid rgba(102, 204, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.footer-social .social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transition: var(--transition);
    z-index: -1;
}

.footer-social .social-link:hover::before {
    left: 0;
}

.footer-social .social-link:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 10px 25px rgba(102, 204, 255, 0.3);
    border-color: var(--water-cyan);
}

.footer-social .social-link i {
    font-size: 1.2rem;
    transition: var(--transition);
}

/* Footer Sections */
.footer-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--water-cyan);
    margin: 0;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 1px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin: 0;
    padding: 0;
}

.footer-link {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
    opacity: 0.8;
    position: relative;
    padding-left: 1rem;
}

.footer-link::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--water-cyan);
    transition: var(--transition);
}

.footer-link:hover {
    color: var(--water-cyan);
    opacity: 1;
    transform: translateX(5px);
}

.footer-link:hover::before {
    transform: translateX(3px);
}

/* Contact Section */
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem;
    background: rgba(102, 204, 255, 0.05);
    border-radius: var(--border-radius);
    border: 1px solid rgba(102, 204, 255, 0.1);
    transition: var(--transition);
}

.contact-item:hover {
    background: rgba(102, 204, 255, 0.1);
    border-color: rgba(102, 204, 255, 0.2);
    transform: translateX(5px);
}

.contact-item i {
    color: var(--water-cyan);
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

.contact-item span {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Newsletter Section */
.newsletter-section {
    margin-top: 1.5rem;
}

.newsletter-section h5 {
    font-size: 1.1rem;
    color: var(--water-cyan);
    margin: 0 0 0.5rem 0;
}

.newsletter-section p {
    font-size: 0.9rem;
    opacity: 0.7;
    margin: 0 0 1rem 0;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.newsletter-input-group {
    display: flex;
    gap: 0.5rem;
}

.newsletter-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(102, 204, 255, 0.3);
    border-radius: var(--border-radius);
    padding: 0.75rem;
    color: var(--white);
    font-size: 0.9rem;
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--water-cyan);
    box-shadow: 0 0 15px rgba(102, 204, 255, 0.3);
}

.newsletter-btn {
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--border-radius);
    padding: 0.75rem 1rem;
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(102, 204, 255, 0.4);
}

.newsletter-btn i {
    font-size: 1rem;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(102, 204, 255, 0.2);
    padding-top: 2rem;
    margin-top: 2rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-copyright {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-copyright p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin: 0;
}

.footer-copyright i {
    color: var(--water-cyan);
    animation: pulse 2s ease-in-out infinite;
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.legal-link {
    color: var(--white);
    text-decoration: none;
    font-size: 0.9rem;
    opacity: 0.7;
    transition: var(--transition);
}

.legal-link:hover {
    color: var(--water-cyan);
    opacity: 1;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(102, 204, 255, 0.3);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(102, 204, 255, 0.4);
}

.back-to-top i {
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-5px); }
    60% { transform: translateY(-3px); }
}

/* Responsive Design */
/* Mobile media query removed - uses desktop styles */

/* Mobile media query removed - uses desktop styles */

.filter-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;
}

.filter-btn:hover::before {
    left: 100%;
}

/* Services Section */
.services {
    padding: 4rem 0;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 204, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-5px);
}

.service-icon {
    font-size: 3.5rem;
    color: var(--water-cyan);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    color: var(--white);
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--white);
}

.service-card p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-tech {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Latest Projects Section */
.latest-projects {
    padding: 4rem 0;
    background: rgba(0, 17, 34, 0.8);
}

.projects-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.project-preview-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.project-preview-card:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-5px);
}

.project-preview-image {
    height: 200px;
    background: var(--gradient-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--white);
}

.project-preview-content {
    padding: 2rem;
}

.project-preview-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--white);
}

.project-preview-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.project-preview-tech {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.view-all-projects {
    text-align: center;
    margin-top: 3rem;
}

/* Testimonials Section */
.testimonials {
    padding: 4rem 0;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-size: 4rem;
    color: var(--water-cyan);
    opacity: 0.3;
    font-family: serif;
}

.testimonial-card:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-5px);
}

.testimonial-content {
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.testimonial-content p {
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
    line-height: 1.6;
    font-size: 1.1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
}

.author-info h4 {
    color: var(--white);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.author-info span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Skills Overview Section */
.skills-overview {
    padding: 4rem 0;
    background: rgba(0, 17, 34, 0.8);
}

.skills-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.skill-category {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.skill-category:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-5px);
}

.skill-category h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--water-cyan);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.skill-category h3 i {
    font-size: 1.2rem;
}

.skill-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.skill-tag {
    background: rgba(102, 204, 255, 0.2);
    color: var(--water-cyan);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(102, 204, 255, 0.3);
    transition: all 0.3s ease;
}

.skill-tag:hover {
    background: rgba(102, 204, 255, 0.3);
    transform: translateY(-2px);
}

/* Blog Section */
.blog-section {
    padding: 4rem 0;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.blog-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.blog-card:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-5px);
}

.blog-image {
    height: 200px;
    background: var(--gradient-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--white);
}

.blog-content {
    padding: 2rem;
}

.blog-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--white);
}

.blog-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Contact CTA Section */
.contact-cta {
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(0, 17, 34, 0.9), rgba(0, 34, 68, 0.9));
    position: relative;
    overflow: hidden;
}

.contact-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(102, 204, 255, 0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.contact-cta .cta-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.contact-cta .cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white);
}

.contact-cta .cta-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive Design for New Sections */
/* Mobile media query removed - uses desktop styles */

/* Mobile media query removed - uses desktop styles */

/* Global Styles */
body {
  background: linear-gradient(135deg, #001122 0%, #003366 50%, #0066cc 100%);
  color: var(--white);
}

body .main-content,
body .hero,
body .section,
body .features,
body .projects-hero,
body .about-hero,
body .contact-hero {
  background: transparent;
  color: var(--white);
}

/* About/Skills sections */
body .skills {
    background: rgba(0, 17, 34, 0.8);
    border-color: rgba(102, 204, 255, 0.15);
}

body .skill-item {
    background: rgba(0, 17, 34, 0.6);
    border-color: rgba(102, 204, 255, 0.25);
}

body .skill-item:hover {
    background: rgba(0, 17, 34, 0.7);
    box-shadow: 0 10px 30px rgba(0, 153, 255, 0.25);
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo-icon,
    .footer-logo-icon,
    .search-toggle,
    .back-to-top {
        border: 0.5px solid rgba(102, 204, 255, 0.3);
    }
}

/* Print Styles */
@media print {
    .navbar,
    .footer,
    .back-to-top,
    .search-container,
    .hamburger,
    .mobile-menu-overlay {
        display: none !important;
    }
    
    .main-content {
        margin-top: 0;
    }
    
    body {
        background: linear-gradient(135deg, #001122 0%, #003366 50%, #0066cc 100%) !important;
        color: var(--white) !important;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .logo-icon,
    .footer-logo-icon,
    .back-to-top i,
    .loading-spinner {
        animation: none;
    }
    
    .nav-link:hover,
    .footer-link:hover,
    .contact-item:hover,
    .social-link:hover {
        transform: none;
    }
    
    .search-box,
    .mobile-menu,
    .notification,
    .search-results {
        transition: none;
    }
}



body {
    background: linear-gradient(135deg, #001122 0%, #003366 50%, #0066cc 100%);
    color: var(--white);
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .search-box,
    .search-results-content,
    .mobile-menu {
        background: rgba(0, 0, 0, 0.95);
    }
}


/* Modern Hero Section */
.projects-hero-modern {
    padding: 6rem 0 4rem;
    background: linear-gradient(135deg, rgba(0, 150, 255, 0.1) 0%, rgba(0, 200, 255, 0.05) 100%);
    position: relative;
    overflow: hidden;
}

.projects-hero-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(102, 204, 255, 0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content-modern {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text-modern {
    max-width: 600px;
}

.hero-title-modern {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.title-line {
    display: block;
    background: linear-gradient(135deg, var(--water-cyan) 0%, var(--primary-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleSlideIn 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(30px);
}

.title-line:nth-child(1) { animation-delay: 0.1s; }
.title-line:nth-child(2) { animation-delay: 0.2s; }

.title-accent {
    display: block;
    font-size: 3rem;
    color: var(--water-cyan);
    text-shadow: 0 0 30px rgba(102, 204, 255, 0.5);
    animation: titleSlideIn 0.8s ease-out 0.3s forwards;
    opacity: 0;
    transform: translateY(30px);
}

.hero-subtitle-modern {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem;
    line-height: 1.6;
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
    opacity: 0;
    transform: translateY(20px);
}

.hero-stats-modern {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    animation: fadeInUp 0.8s ease-out 0.5s forwards;
    opacity: 0;
    transform: translateY(20px);
}

.stat-modern {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.stat-modern:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(102, 204, 255, 0.3);
}

.hero-visual-modern {
    position: relative;
    height: 400px;
}

.floating-cards {
    position: relative;
    width: 100%;
    height: 100%;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    color: var(--water-cyan);
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    animation: floatCard 6s ease-in-out infinite;
}

.floating-card i {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    display: block;
}

.floating-card:hover {
    transform: scale(1.1) translateY(-10px);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(102, 204, 255, 0.4);
}

.card-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.card-2 {
    top: 50%;
    right: 20%;
    animation-delay: 2s;
}

.card-3 {
    bottom: 20%;
    left: 30%;
    animation-delay: 4s;
}

/* Modern Filter Section */
.filter-section-modern {
    padding: 2rem 0;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.filter-container-modern {
    display: flex;
    justify-content: center;
}

.filter-tabs-modern {
    display: flex;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.filter-tab-modern {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: transparent;
    border: none;
    border-radius: 25px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.filter-tab-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--water-cyan) 0%, var(--primary-blue) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 25px;
}

.filter-tab-modern.active::before {
    opacity: 1;
}

.filter-tab-modern.active {
    color: white;
    transform: scale(1.05);
}

.filter-tab-modern:hover:not(.active) {
    color: var(--water-cyan);
    background: rgba(255, 255, 255, 0.1);
}

.tab-icon {
    position: relative;
    z-index: 1;
}

.tab-text {
    position: relative;
    z-index: 1;
}

.tab-count {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Modern Projects Grid */
.projects-grid-modern {
    padding: 4rem 0;
    background: rgba(0, 0, 0, 0.2);
}

.projects-container-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.project-card-modern {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.project-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 204, 255, 0.1) 0%, rgba(0, 150, 255, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.project-card-modern:hover::before {
    opacity: 1;
}

.project-card-modern:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(102, 204, 255, 0.3);
    border-color: rgba(102, 204, 255, 0.3);
}

.project-preview-modern {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.project-image-modern {
    width: 100%;
    height: 100%;
    position: relative;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 204, 255, 0.1) 0%, rgba(0, 150, 255, 0.05) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--water-cyan);
    transition: all 0.3s ease;
}

.project-card-modern:hover .image-placeholder {
    transform: scale(1.1);
}

.project-overlay-modern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.project-card-modern:hover .project-overlay-modern {
    opacity: 1;
}

.overlay-content {
    text-align: center;
    color: white;
}

.overlay-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--water-cyan);
}

.overlay-text {
    font-size: 1.2rem;
    font-weight: 600;
}

.project-badge-modern {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-badge-modern.featured {
    background: rgba(255, 215, 0, 0.2);
    color: #ffd700;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.project-badge-modern.popular {
    background: rgba(255, 105, 180, 0.2);
    color: #ff69b4;
    border: 1px solid rgba(255, 105, 180, 0.3);
}

.project-badge-modern.design {
    background: rgba(138, 43, 226, 0.2);
    color: #8a2be2;
    border: 1px solid rgba(138, 43, 226, 0.3);
}

.project-badge-modern.ecommerce {
    background: rgba(34, 139, 34, 0.2);
    color: #228b22;
    border: 1px solid rgba(34, 139, 34, 0.3);
}

.project-badge-modern.game {
    background: rgba(255, 69, 0, 0.2);
    color: #ff4500;
    border: 1px solid rgba(255, 69, 0, 0.3);
}

.project-badge-modern.data {
    background: rgba(0, 191, 255, 0.2);
    color: #00bfff;
    border: 1px solid rgba(0, 191, 255, 0.3);
}

.project-info-modern {
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.project-header-modern {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.project-title-modern {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--water-cyan);
    margin: 0;
    line-height: 1.3;
}

.project-category-modern {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
}

.project-category-modern i {
    color: var(--water-cyan);
}

.project-description-modern {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.project-tech-modern {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tech-chip-modern {
    background: rgba(102, 204, 255, 0.1);
    color: var(--water-cyan);
    padding: 0.4rem 0.8rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(102, 204, 255, 0.2);
    transition: all 0.3s ease;
}

.tech-chip-modern:hover {
    background: rgba(102, 204, 255, 0.2);
    transform: translateY(-2px);
}

.project-actions-modern {
    display: flex;
    gap: 1rem;
}

.action-btn-modern {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.action-btn-modern::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;
}

.action-btn-modern:hover::before {
    left: 100%;
}

.action-btn-modern.primary {
    background: linear-gradient(135deg, var(--water-cyan) 0%, var(--primary-blue) 100%);
    color: white;
}

.action-btn-modern.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 204, 255, 0.4);
}

.action-btn-modern.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--water-cyan);
    border: 1px solid rgba(102, 204, 255, 0.3);
}

.action-btn-modern.secondary:hover {
    background: rgba(102, 204, 255, 0.1);
    transform: translateY(-2px);
}

/* Modern CTA Section */
.cta-projects-modern {
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(0, 150, 255, 0.1) 0%, rgba(0, 200, 255, 0.05) 100%);
    position: relative;
    overflow: hidden;
}

.cta-projects-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(102, 204, 255, 0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.5;
}

.cta-content-modern {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.cta-text-modern {
    max-width: 600px;
}

.cta-title-modern {
    font-size: 3rem;
    font-weight: 700;
    color: var(--water-cyan);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.cta-subtitle-modern {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.cta-actions-modern {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-btn-modern {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-btn-modern::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;
}

.cta-btn-modern:hover::before {
    left: 100%;
}

.cta-btn-modern.primary {
    background: linear-gradient(135deg, var(--water-cyan) 0%, var(--primary-blue) 100%);
    color: white;
}

.cta-btn-modern.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(102, 204, 255, 0.4);
}

.cta-btn-modern.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--water-cyan);
    border: 2px solid rgba(102, 204, 255, 0.3);
}

.cta-btn-modern.secondary:hover {
    background: rgba(102, 204, 255, 0.1);
    transform: translateY(-3px);
    border-color: var(--water-cyan);
}

/* Animations */
@keyframes titleSlideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatCard {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

body .mobile-menu,
body .search-box,
body .search-results-content {
  background: rgba(0, 0, 0, 0.95) !important;
  color: var(--white) !important;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #0066cc;
    --secondary-blue: #0099ff;
    --light-blue: #66ccff;
    --dark-blue: #003366;
    --ocean-blue: #006994;
    --water-cyan: #00bfff;
    --ice-blue: #b0e0e6;
    --steam-gray: #e6f3ff;
    --white: #ffffff;
    --black: #1a1a1a;
    --gradient-primary: linear-gradient(135deg, var(--primary-blue), var(--water-cyan));
    --gradient-secondary: linear-gradient(135deg, var(--ocean-blue), var(--light-blue));
    --gradient-rainbow: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #feca57, #ff9ff3);
    --shadow-soft: 0 8px 32px rgba(0, 102, 204, 0.1);
    --shadow-medium: 0 12px 40px rgba(0, 102, 204, 0.2);
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    --primary-color: #00bfff;
    --primary-glow: #81d4fa;
    --text-primary: #ffffff;
    --text-secondary: #b3e5fc;
    --bg-gradient-start: #001122;
    --bg-gradient-end: #003366;
    --card-bg: rgba(255, 255, 255, 0.1);
    --card-bg-hover: rgba(255, 255, 255, 0.15);
    --card-shadow: rgba(0, 102, 204, 0.12);
    --card-shadow-hover: rgba(0, 102, 204, 0.18);
    --ripple-color: rgba(33, 150, 243, 0.18);
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--white);
    background: linear-gradient(135deg, #001122 0%, #003366 50%, #0066cc 100%);
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Mobile styles removed - uses desktop styles */

/* Animated Background */
.animated-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: linear-gradient(135deg, #001122 0%, #003366 50%, #0066cc 100%) !important;
}

/* Ocean Waves */
.ocean-waves {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 200px;
}

.wave {
    position: absolute;
    bottom: 0;
    width: 200%;
    height: 100%;
    background: linear-gradient(45deg, rgba(102, 204, 255, 0.3), rgba(0, 153, 255, 0.2));
    border-radius: 50% 50% 0 0;
    animation: wave 10s ease-in-out infinite;
    will-change: transform;
    transform: translateZ(0);
}

.wave-1 {
    animation-delay: 0s;
    opacity: 0.7;
}

.wave-2 {
    animation-delay: 2s;
    opacity: 0.5;
}

.wave-3 {
    animation-delay: 4s;
    opacity: 0.3;
}

.wave-4 {
    animation-delay: 6s;
    opacity: 0.1;
}

/* Floating Particles */
.particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--light-blue);
    border-radius: 50%;
    animation: float-particle 12s linear infinite;
    will-change: transform, opacity;
    transform: translateZ(0);
    opacity: 0.6;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { left: 20%; animation-delay: 1s; }
.particle:nth-child(3) { left: 30%; animation-delay: 2s; }
.particle:nth-child(4) { left: 40%; animation-delay: 3s; }
.particle:nth-child(5) { left: 50%; animation-delay: 4s; }
.particle:nth-child(6) { left: 60%; animation-delay: 5s; }
.particle:nth-child(7) { left: 70%; animation-delay: 6s; }
.particle:nth-child(8) { left: 80%; animation-delay: 7s; }
.particle:nth-child(9) { left: 90%; animation-delay: 8s; }
.particle:nth-child(10) { left: 95%; animation-delay: 9s; }
.particle:nth-child(11) { left: 5%; animation-delay: 10s; }
.particle:nth-child(12) { left: 15%; animation-delay: 11s; }
.particle:nth-child(13) { left: 25%; animation-delay: 12s; }
.particle:nth-child(14) { left: 35%; animation-delay: 13s; }
.particle:nth-child(15) { left: 45%; animation-delay: 14s; }
.particle:nth-child(16) { left: 55%; animation-delay: 15s; }
.particle:nth-child(17) { left: 65%; animation-delay: 16s; }

/* Raindrops */
.raindrops {
    position: absolute;
    width: 100%;
    height: 100%;
}

.raindrop {
    position: absolute;
    width: 2px;
    height: 20px;
    background: linear-gradient(to bottom, transparent, var(--light-blue));
    border-radius: 0 0 50% 50%;
    animation: raindrop 4s linear infinite;
    will-change: transform, opacity;
    transform: translateZ(0);
}

.raindrop:nth-child(1) { left: 5%; animation-delay: 0s; }
.raindrop:nth-child(2) { left: 15%; animation-delay: 0.3s; }
.raindrop:nth-child(3) { left: 25%; animation-delay: 0.6s; }
.raindrop:nth-child(4) { left: 35%; animation-delay: 0.9s; }
.raindrop:nth-child(5) { left: 45%; animation-delay: 1.2s; }
.raindrop:nth-child(6) { left: 55%; animation-delay: 1.5s; }
.raindrop:nth-child(7) { left: 65%; animation-delay: 1.8s; }
.raindrop:nth-child(8) { left: 75%; animation-delay: 2.1s; }
.raindrop:nth-child(9) { left: 85%; animation-delay: 2.4s; }
.raindrop:nth-child(10) { left: 95%; animation-delay: 2.7s; }

/* Water Bubbles Background */
.water-bubbles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

/* Enhanced Bubble Animations */
.bubble {
    position: absolute;
    background: radial-gradient(circle, rgba(102, 204, 255, 0.3) 0%, rgba(0, 153, 255, 0.1) 70%, transparent 100%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
    will-change: transform, opacity;
    transform: translateZ(0);
    cursor: pointer;
    transition: var(--transition);
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.1);
}

.bubble::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 20%;
    width: 30%;
    height: 30%;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    filter: blur(1px);
}

/* .bubble:hover {
    transform: scale(1.2);
    background: radial-gradient(circle, rgba(102, 204, 255, 0.5) 0%, rgba(0, 153, 255, 0.2) 70%, transparent 100%);
    box-shadow: 0 0 30px rgba(102, 204, 255, 0.4);
} */

.bubble:nth-child(1) { width: 60px; height: 60px; left: 10%; animation-delay: 0s; }
.bubble:nth-child(2) { width: 40px; height: 40px; left: 20%; animation-delay: 1s; }
.bubble:nth-child(3) { width: 80px; height: 80px; left: 30%; animation-delay: 2s; }
.bubble:nth-child(4) { width: 50px; height: 50px; left: 40%; animation-delay: 3s; }
.bubble:nth-child(5) { width: 70px; height: 70px; left: 50%; animation-delay: 4s; }
.bubble:nth-child(6) { width: 45px; height: 45px; left: 60%; animation-delay: 5s; }
.bubble:nth-child(7) { width: 65px; height: 65px; left: 70%; animation-delay: 6s; }
.bubble:nth-child(8) { width: 55px; height: 55px; left: 80%; animation-delay: 7s; }
.bubble:nth-child(9) { width: 75px; height: 75px; left: 90%; animation-delay: 8s; }
.bubble:nth-child(10) { width: 35px; height: 35px; left: 95%; animation-delay: 9s; }

@keyframes float {
    0%, 100% {
        transform: translateY(100vh) scale(0.8);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) scale(1.2);
        opacity: 0;
    }
}

/* Additional Animations */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

@keyframes wave {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(10px);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(102, 204, 255, 0.3);
    }
    50% {
        box-shadow: 0 0 30px rgba(102, 204, 255, 0.6);
    }
}

@keyframes slideInUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeInScale {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Landing Page Animations for All Pages */
@keyframes wave {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-20px);
    }
}

@keyframes float-particle {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) scale(1);
        opacity: 0;
    }
}

@keyframes raindrop {
    0% {
        transform: translateY(-100px);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    100% {
        transform: translateY(100vh);
        opacity: 0;
    }
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes letterGlow {
    0% {
        text-shadow: 0 0 20px rgba(102, 204, 255, 0.5);
    }
    100% {
        text-shadow: 0 0 30px rgba(102, 204, 255, 0.8), 0 0 40px rgba(102, 204, 255, 0.6);
    }
}

@keyframes subscriptPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

@keyframes dropletFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-20px) scale(1.1);
    }
}

@keyframes iconFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-15px) rotate(5deg);
    }
    50% {
        transform: translateY(-10px) rotate(0deg);
    }
    75% {
        transform: translateY(-15px) rotate(-5deg);
    }
}

@keyframes titleAnimation {
    0%, 100% {
        transform: translateY(0) scale(1);
        color: var(--white);
    }
    50% {
        transform: translateY(-10px) scale(1.1);
        color: var(--water-cyan);
    }
}

@keyframes subtitleGlow {
    0% {
        text-shadow: 0 0 10px rgba(102, 204, 255, 0.3);
    }
    100% {
        text-shadow: 0 0 20px rgba(102, 204, 255, 0.6);
    }
}

@keyframes moleculeRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes atomOrbit1 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(10px, -10px); }
}

@keyframes atomOrbit2 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-10px, -10px); }
}

@keyframes bond1 {
    0%, 100% { transform: translateY(-50%) rotate(-45deg); }
    50% { transform: translateY(-50%) rotate(-35deg); }
}

@keyframes bond2 {
    0%, 100% { transform: translateY(-50%) rotate(45deg); }
    50% { transform: translateY(-50%) rotate(35deg); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Water State Animations */
@keyframes waterFlow {
    0%, 100% {
        left: -100%;
        opacity: 0;
    }
    50% {
        left: 100%;
        opacity: 1;
    }
}

@keyframes waterRipple {
    0%, 100% {
        left: -100%;
        opacity: 0;
    }
    25% {
        left: 25%;
        opacity: 0.5;
    }
    75% {
        left: 75%;
        opacity: 0.5;
    }
    100% {
        left: 100%;
        opacity: 0;
    }
}

@keyframes waterDrop {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 10px rgba(0, 150, 255, 0.6));
    }
    50% {
        transform: scale(1.1);
        filter: drop-shadow(0 0 20px rgba(0, 150, 255, 0.8));
    }
}

/* Ice State Animations */
@keyframes iceCrystal {
    0%, 100% {
        left: -100%;
        opacity: 0;
        transform: rotate(0deg);
    }
    50% {
        left: 100%;
        opacity: 1;
        transform: rotate(180deg);
    }
}

@keyframes iceShimmer {
    0%, 100% {
        left: -100%;
        opacity: 0;
    }
    25% {
        left: 25%;
        opacity: 0.3;
    }
    75% {
        left: 75%;
        opacity: 0.3;
    }
    100% {
        left: 100%;
        opacity: 0;
    }
}

@keyframes iceGlow {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 15px rgba(173, 216, 230, 0.7));
    }
    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 0 25px rgba(173, 216, 230, 0.9));
    }
}

/* Air State Animations */
@keyframes airFlow {
    0%, 100% {
        left: -100%;
        opacity: 0;
        transform: translateY(0);
    }
    50% {
        left: 100%;
        opacity: 0.3;
        transform: translateY(-10px);
    }
}

@keyframes airDrift {
    0%, 100% {
        left: -100%;
        opacity: 0;
        transform: translateY(0);
    }
    25% {
        left: 25%;
        opacity: 0.2;
        transform: translateY(-5px);
    }
    75% {
        left: 75%;
        opacity: 0.2;
        transform: translateY(5px);
    }
    100% {
        left: 100%;
        opacity: 0;
        transform: translateY(0);
    }
}

@keyframes airFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
        filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.6));
    }
    50% {
        transform: translateY(-5px) scale(1.05);
        filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.8));
    }
}

/* Additional Water State Animations */
@keyframes bubbleRise {
    0% {
        bottom: -10px;
        opacity: 0;
        transform: scale(0);
    }
    50% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        bottom: 100%;
        opacity: 0;
        transform: scale(0.5);
    }
}

/* Additional Ice State Animations */
@keyframes crystalSparkle {
    0%, 100% {
        opacity: 0.3;
        transform: rotate(0deg) scale(1);
    }
    50% {
        opacity: 1;
        transform: rotate(180deg) scale(1.2);
    }
}

/* Additional Air State Animations */
@keyframes particleFloat {
    0% {
        top: 100%;
        opacity: 0;
        transform: translateX(0);
    }
    25% {
        opacity: 1;
        transform: translateX(10px);
    }
    75% {
        opacity: 1;
        transform: translateX(-10px);
    }
    100% {
        top: -10px;
        opacity: 0;
        transform: translateX(0);
    }
}

/* Enhanced Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 17, 34, 0.95);
    backdrop-filter: blur(15px);
    border-bottom: 2px solid rgba(102, 204, 255, 0.3);
    z-index: 1000;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(0, 102, 204, 0.2);
}

.navbar:hover {
    background: rgba(0, 17, 34, 0.98);
    border-bottom-color: var(--water-cyan);
    box-shadow: 0 6px 25px rgba(0, 102, 204, 0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

/* Enhanced Logo */
.nav-logo {
    display: flex;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 0.5rem;
    transition: var(--transition);
}

.logo-link:hover {
    transform: scale(1.05);
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(102, 204, 255, 0.3);
    animation: logoFloat 3s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.logo-icon i {
    color: var(--white);
    font-size: 1.2rem;
    z-index: 2;
    position: relative;
    display: block;
    animation: none;
}

.logo-ripple {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    animation: logoRipple 2s ease-out infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes logoRipple {
    0% {
        width: 0;
        height: 0;
        opacity: 1;
    }
    100% {
        width: 60px;
        height: 60px;
        opacity: 0;
    }
}

.nav-logo h2 {
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: logoFloat 4s ease-in-out infinite;
    text-shadow: 0 0 20px rgba(102, 204, 255, 0.3);
    margin: 0;
}

.logo-subtitle {
    font-size: 0.8rem;
    color: var(--light-blue);
    opacity: 0.8;
    margin-left: 0.5rem;
}

.water-text {
    color: var(--primary-blue) !important;
    -webkit-text-fill-color: var(--primary-blue) !important;
}

/* Enhanced Navigation Menu */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 1rem;
}

.nav-item {
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 0.75rem 1.5rem;
    border-radius: 20px;
    background: rgba(102, 204, 255, 0.1);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid transparent;
}

.nav-link i {
    font-size: 1rem;
    transition: var(--transition);
}

.nav-link:hover {
    background: rgba(102, 204, 255, 0.2);
    color: var(--water-cyan);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 204, 255, 0.3);
    border-color: rgba(102, 204, 255, 0.3);
}

.nav-link:hover i {
    transform: scale(1.2);
    color: var(--water-cyan);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

/* Navigation Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Search Container */
.search-container {
    position: relative;
}

.search-toggle {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: var(--transition);
    background: rgba(102, 204, 255, 0.1);
}

.search-toggle:hover {
    background: rgba(102, 204, 255, 0.2);
    transform: scale(1.1);
}

.search-box {
    position: absolute;
    top: 100%;
    right: 0;
    width: 300px;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(102, 204, 255, 0.3);
    border-radius: var(--border-radius);
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    z-index: 1001;
}

.search-box.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.search-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(102, 204, 255, 0.3);
    border-radius: var(--border-radius);
    padding: 0.75rem;
    color: var(--white);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.search-input:focus {
    outline: none;
    border-color: var(--water-cyan);
    box-shadow: 0 0 15px rgba(102, 204, 255, 0.3);
}

.search-btn {
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--border-radius);
    padding: 0.75rem 1rem;
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
}

.search-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(102, 204, 255, 0.4);
}

/* Enhanced Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--border-radius);
    background: rgba(102, 204, 255, 0.1);
    transition: var(--transition);
}

.hamburger:hover {
    background: rgba(102, 204, 255, 0.2);
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--primary-blue);
    margin: 3px 0;
    transition: var(--transition);
    border-radius: 2px;
}

.hamburger.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* ===== ENHANCED MOBILE MENU STYLES ===== */

/* Hamburger Icon Animation */
.hamburger-icon {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    transition: all 0.3s ease;
}

.hamburger-line {
    display: block;
    height: 2.5px;
    width: 100%;
    background: var(--water-cyan);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.hamburger-menu-btn.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger-menu-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.hamburger-menu-btn.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 17, 34, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    overflow: hidden;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

/* Hide main content when mobile menu is open */
body.mobile-menu-open .main-content,
body.mobile-menu-open .hero,
body.mobile-menu-open .section {
    visibility: hidden;
    pointer-events: none;
    opacity: 0;
}

.mobile-menu-overlay.active ~ * .main-content {
    visibility: hidden;
    pointer-events: none;
}

/* Mobile Menu Panel */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    max-width: 85vw;
    height: 100vh;
    background: linear-gradient(180deg, #001122 0%, #003366 50%, #001122 100%);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-left: 2px solid rgba(102, 204, 255, 0.2);
    padding: 0;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    z-index: 10001;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
}

/* Responsive adjustments for mobile menu */
@media (max-width: 480px) {
    .mobile-menu {
        width: 100%;
        max-width: 100vw;
        right: -100%;
    }
}

@media (max-width: 375px) {
    .mobile-menu {
        width: 100%;
        max-width: 100vw;
    }
    
    .mobile-menu-content {
        padding: 1rem;
    }
    
    .mobile-header {
        padding-bottom: 1rem;
        margin-bottom: 1.5rem;
    }
}

.mobile-menu-overlay.active .mobile-menu {
    right: 0;
}

/* Water Effect Background */
.mobile-menu-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.mobile-menu-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 150px;
    background: linear-gradient(90deg, transparent, rgba(102, 204, 255, 0.1), transparent);
    animation: mobileWave 8s ease-in-out infinite;
}

@keyframes mobileWave {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-20px);
    }
}

.mobile-menu-bubbles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.mobile-bubble {
    position: absolute;
    border-radius: 50%;
    background: rgba(102, 204, 255, 0.1);
    animation: mobileBubbleFloat 15s infinite ease-in-out;
}

.mobile-bubble:nth-child(1) {
    width: 60px;
    height: 60px;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 12s;
}

.mobile-bubble:nth-child(2) {
    width: 40px;
    height: 40px;
    left: 60%;
    animation-delay: 2s;
    animation-duration: 15s;
}

.mobile-bubble:nth-child(3) {
    width: 80px;
    height: 80px;
    left: 35%;
    animation-delay: 4s;
    animation-duration: 18s;
}

.mobile-bubble:nth-child(4) {
    width: 50px;
    height: 50px;
    left: 85%;
    animation-delay: 6s;
    animation-duration: 14s;
}

@keyframes mobileBubbleFloat {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 0.5;
    }
    90% {
        opacity: 0.5;
    }
    100% {
        transform: translateY(-100px) scale(1);
        opacity: 0;
    }
}

/* Mobile Menu Content */
.mobile-menu-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1.5rem;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(102, 204, 255, 0.3) transparent;
}

.mobile-menu-content::-webkit-scrollbar {
    width: 6px;
}

.mobile-menu-content::-webkit-scrollbar-track {
    background: transparent;
}

.mobile-menu-content::-webkit-scrollbar-thumb {
    background: rgba(102, 204, 255, 0.3);
    border-radius: 3px;
}

.mobile-menu-content::-webkit-scrollbar-thumb:hover {
    background: rgba(102, 204, 255, 0.5);
}

/* Mobile Header */
.mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid rgba(102, 204, 255, 0.2);
    position: relative;
}

.mobile-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.mobile-logo-img {
    height: 45px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(102, 204, 255, 0.4));
    transition: all 0.3s ease;
}

.mobile-logo .logo-link:hover .mobile-logo-img {
    transform: scale(1.05);
    filter: drop-shadow(0 0 12px rgba(102, 204, 255, 0.6));
}

.mobile-logo-icon {
    position: relative;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(102, 204, 255, 0.1);
    border-radius: 12px;
    border: 2px solid rgba(102, 204, 255, 0.3);
}

.mobile-logo-icon i {
    color: var(--water-cyan);
    font-size: 1.8rem;
    z-index: 1;
}

.mobile-logo-ripple {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    background: rgba(102, 204, 255, 0.2);
    animation: mobileLogoRipple 2s ease-in-out infinite;
}

@keyframes mobileLogoRipple {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.2);
        opacity: 0;
    }
}

.mobile-logo-text {
    display: flex;
    flex-direction: column;
}

.mobile-logo-title {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--water-cyan), var(--primary-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.mobile-logo-subtitle {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
}

/* Mobile Close Button */
.mobile-close {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(102, 204, 255, 0.3);
    border-radius: 12px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.mobile-close::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(102, 204, 255, 0.1);
    transform: scale(0);
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.mobile-close:hover::before {
    transform: scale(1);
}

.mobile-close:hover {
    border-color: var(--water-cyan);
    transform: rotate(90deg);
}

.mobile-close-icon {
    position: relative;
    width: 20px;
    height: 20px;
    z-index: 1;
}

.close-line {
    position: absolute;
    width: 100%;
    height: 2.5px;
    background: var(--water-cyan);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.close-line:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.close-line:nth-child(2) {
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
}

/* Quick Actions */
.mobile-quick-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.mobile-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(102, 204, 255, 0.2);
    border-radius: 12px;
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.mobile-action-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(102, 204, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.mobile-action-btn:hover::before {
    width: 300px;
    height: 300px;
}

.mobile-action-btn:hover {
    border-color: var(--water-cyan);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 204, 255, 0.2);
}

.mobile-action-btn i {
    z-index: 1;
    color: var(--water-cyan);
    font-size: 1rem;
}

.mobile-action-btn span {
    z-index: 1;
}

/* Mobile Navigation Menu */
.mobile-nav-menu {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.mobile-nav-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 1.25rem;
    color: var(--white);
    text-decoration: none;
    border-radius: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(102, 204, 255, 0.1);
    position: relative;
    overflow: hidden;
    transform: translateX(-20px);
    opacity: 0;
    animation: mobileNavItemSlide 0.5s ease forwards;
}

.mobile-nav-item:nth-child(1) { animation-delay: 0.1s; }
.mobile-nav-item:nth-child(2) { animation-delay: 0.15s; }
.mobile-nav-item:nth-child(3) { animation-delay: 0.2s; }
.mobile-nav-item:nth-child(4) { animation-delay: 0.25s; }
.mobile-nav-item:nth-child(5) { animation-delay: 0.3s; }

@keyframes mobileNavItemSlide {
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.mobile-nav-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: var(--water-cyan);
    transform: scaleY(0);
    transition: transform 0.3s ease;
    border-radius: 0 4px 4px 0;
}

.mobile-nav-item:hover,
.mobile-nav-item:active,
.mobile-nav-item.active {
    background: rgba(102, 204, 255, 0.15);
    border-color: var(--water-cyan);
    transform: translateX(8px) scale(1.02);
    box-shadow: 0 8px 25px rgba(102, 204, 255, 0.2);
}

.mobile-nav-item:hover::before,
.mobile-nav-item.active::before {
    transform: scaleY(1);
}

.mobile-nav-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(102, 204, 255, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(102, 204, 255, 0.2);
    transition: all 0.3s ease;
}

.mobile-nav-item:hover .mobile-nav-icon,
.mobile-nav-item.active .mobile-nav-icon {
    background: rgba(102, 204, 255, 0.2);
    border-color: var(--water-cyan);
    transform: scale(1.1) rotate(5deg);
}

.mobile-nav-icon i {
    color: var(--water-cyan);
    font-size: 1.3rem;
    transition: transform 0.3s ease;
}

.mobile-nav-item:hover .mobile-nav-icon i,
.mobile-nav-item.active .mobile-nav-icon i {
    transform: scale(1.2);
}

.mobile-nav-text {
    flex: 1;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    z-index: 1;
}

.mobile-nav-ripple {
    position: absolute;
    width: 0;
    height: 0;
    background: rgba(102, 204, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    pointer-events: none;
}

.mobile-nav-item:active .mobile-nav-ripple {
    width: 300px;
    height: 300px;
}

/* Mobile Menu Footer */
.mobile-menu-footer {
    margin-top: auto;
    padding-top: 2rem;
    border-top: 2px solid rgba(102, 204, 255, 0.2);
}

.mobile-footer-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    text-align: center;
}

.mobile-social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.mobile-social-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(102, 204, 255, 0.2);
    border-radius: 12px;
    color: var(--water-cyan);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.mobile-social-link::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--water-cyan), var(--primary-blue));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-social-link i {
    font-size: 1.2rem;
    z-index: 1;
    transition: transform 0.3s ease;
}

.mobile-social-link:hover {
    border-color: var(--water-cyan);
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 10px 30px rgba(102, 204, 255, 0.3);
}

.mobile-social-link:hover::before {
    opacity: 1;
}

.mobile-social-link:hover i {
    color: var(--white);
    transform: rotate(360deg) scale(1.2);
}

.social-tooltip {
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: var(--white);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.mobile-social-link:hover .social-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-5px);
}

.mobile-menu-copyright {
    text-align: center;
    padding-top: 1rem;
}

.mobile-menu-copyright p {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

/* Main Content */
.main-content {
    margin-top: 70px;
    min-height: calc(100vh - 70px);
    position: relative;
    z-index: 1;
}

/* Page Sections */
.hero, .about-hero, .projects-hero, .contact-hero, .features, .skills, .experience, .projects-grid, .contact-content {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    margin: 2rem 0;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-soft);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 24px;
    border: none;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
    background: var(--primary-blue);
    color: var(--white);
}

/* Floating Water Droplets */
.floating-droplets {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.droplet {
    position: absolute;
    width: 20px;
    height: 30px;
    background: var(--gradient-primary);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    animation: dropletFloat 6s ease-in-out infinite;
    opacity: 0.7;
}

.droplet-1 { left: 10%; top: 20%; animation-delay: 0s; }
.droplet-2 { left: 20%; top: 30%; animation-delay: 1s; }
.droplet-3 { left: 30%; top: 25%; animation-delay: 2s; }
.droplet-4 { left: 40%; top: 35%; animation-delay: 3s; }
.droplet-5 { left: 50%; top: 20%; animation-delay: 4s; }
.droplet-6 { left: 60%; top: 30%; animation-delay: 5s; }
.droplet-7 { left: 70%; top: 25%; animation-delay: 6s; }
.droplet-8 { left: 80%; top: 35%; animation-delay: 7s; }

/* Interactive Background Elements */
.interactive-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.floating-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: iconFloat 8s ease-in-out infinite;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
}

.floating-icon:hover {
    transform: scale(1.2);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 30px rgba(102, 204, 255, 0.5);
}

.icon-1 { left: 5%; top: 15%; animation-delay: 0s; }
.icon-2 { left: 15%; top: 25%; animation-delay: 1s; }
.icon-3 { left: 25%; top: 20%; animation-delay: 2s; }
.icon-4 { left: 35%; top: 30%; animation-delay: 3s; }
.icon-5 { left: 45%; top: 15%; animation-delay: 4s; }
.icon-6 { left: 55%; top: 25%; animation-delay: 5s; }

/* Hero Section */
.hero {
    padding: 4rem 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(102, 204, 255, 0.1) 0%, rgba(0, 153, 255, 0.05) 100%);
    animation: shimmer 3s ease-in-out infinite;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: var(--white);
    text-shadow: 0 0 20px rgba(102, 204, 255, 0.5);
    animation: titleAnimation 3s ease-in-out infinite;
    position: relative;
}

.hero-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    animation: titleUnderline 2s ease-in-out infinite;
}

@keyframes titleUnderline {
    0%, 100% {
        width: 0;
    }
    50% {
        width: 100%;
    }
}

.water-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--light-blue);
    margin-bottom: 1.5rem;
    animation: subtitleGlow 2s ease-in-out infinite alternate;
    position: relative;
    overflow: hidden;
}

.hero-subtitle::after {
    content: '|';
    position: absolute;
    right: -5px;
    animation: cursorBlink 1s infinite;
    color: var(--water-cyan);
}

@keyframes cursorBlink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

.hero-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    position: relative;
}

.hero-buttons::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-primary);
    animation: buttonWave 3s ease-in-out infinite;
}

@keyframes buttonWave {
    0%, 100% {
        transform: translateX(-100%);
        opacity: 0;
    }
    50% {
        transform: translateX(100%);
        opacity: 1;
    }
}

/* Water Molecule Animation */
.water-molecule {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
    animation: moleculeFloat 8s ease-in-out infinite;
    position: relative;
}

.water-molecule::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(102, 204, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: moleculeGlow 4s ease-in-out infinite;
}

.water-molecule:hover {
    animation-play-state: paused;
    transform: scale(1.1);
}

@keyframes moleculeFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-10px) rotate(2deg);
    }
    50% {
        transform: translateY(-5px) rotate(0deg);
    }
    75% {
        transform: translateY(-15px) rotate(-2deg);
    }
}

@keyframes moleculeGlow {
    0%, 100% {
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1.2);
    }
}

.molecule-container {
    position: relative;
    width: 200px;
    height: 200px;
    animation: rotate 20s linear infinite;
}

.oxygen-atom {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    box-shadow: var(--shadow-medium);
}

.hydrogen-atom {
    position: absolute;
    width: 30px;
    height: 30px;
    background: var(--light-blue);
    border-radius: 50%;
    box-shadow: var(--shadow-soft);
}

.hydrogen-1 {
    top: 20%;
    left: 20%;
    animation: orbit1 8s ease-in-out infinite;
}

.hydrogen-2 {
    top: 20%;
    right: 20%;
    animation: orbit2 8s ease-in-out infinite;
}

.bond {
    position: absolute;
    background: var(--primary-blue);
    height: 3px;
    border-radius: 2px;
    transform-origin: left center;
}

.bond-1 {
    top: 50%;
    left: 50%;
    width: 80px;
    transform: translateY(-50%) rotate(-45deg);
    animation: bond1 8s ease-in-out infinite;
}

.bond-2 {
    top: 50%;
    left: 50%;
    width: 80px;
    transform: translateY(-50%) rotate(45deg);
    animation: bond2 8s ease-in-out infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes orbit1 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(10px, -10px); }
}

@keyframes orbit2 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-10px, -10px); }
}

@keyframes bond1 {
    0%, 100% { transform: translateY(-50%) rotate(-45deg); }
    50% { transform: translateY(-50%) rotate(-35deg); }
}

@keyframes bond2 {
    0%, 100% { transform: translateY(-50%) rotate(45deg); }
    50% { transform: translateY(-50%) rotate(35deg); }
}

/* Stats Section */
.stats-section {
    padding: 4rem 0;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(102, 204, 255, 0.3);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--water-cyan);
    text-shadow: 0 0 20px rgba(102, 204, 255, 0.5);
    margin-bottom: 0.5rem;
    animation: numberGlow 2s ease-in-out infinite alternate;
    transition: all 0.3s ease;
}

.stat-number.animating {
    animation: numberCount 2s ease-out, numberGlow 2s ease-in-out infinite alternate;
    transform: scale(1.1);
}

.stat-label {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    transition: all 0.3s ease;
}

.stat-item:hover .stat-number {
    transform: scale(1.05);
    text-shadow: 0 0 30px rgba(102, 204, 255, 0.8);
}

.stat-item:hover .stat-label {
    color: rgba(255, 255, 255, 1);
}

@keyframes numberGlow {
    0% {
        text-shadow: 0 0 20px rgba(102, 204, 255, 0.5);
    }
    100% {
        text-shadow: 0 0 30px rgba(102, 204, 255, 0.8), 0 0 40px rgba(102, 204, 255, 0.4);
    }
}

@keyframes numberCount {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.2);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Features Section */
.features {
    padding: 4rem 0;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 1000px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transform: translateY(0);
}

.feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.feature-card:hover::after {
    left: 100%;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
}

.feature-card:hover {
    box-shadow: var(--shadow-medium);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Liquid Card - Water Effect */
.feature-card.liquid {
    background: linear-gradient(135deg, rgba(0, 150, 255, 0.1), rgba(0, 200, 255, 0.05));
    border: 2px solid rgba(0, 150, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.feature-card.liquid::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 150, 255, 0.2), transparent);
    animation: waterFlow 3s ease-in-out infinite;
    z-index: 1;
}

.feature-card.liquid::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 150, 255, 0.3), transparent);
    animation: waterRipple 4s ease-in-out infinite;
    z-index: 1;
}

.feature-card.liquid .water-bubbles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.feature-card.liquid .water-bubble {
    position: absolute;
    width: 8px;
    height: 8px;
    background: rgba(0, 150, 255, 0.4);
    border-radius: 50%;
    animation: bubbleRise 6s ease-in-out infinite;
}

.feature-card.liquid .water-bubble:nth-child(1) { left: 10%; animation-delay: 0s; }
.feature-card.liquid .water-bubble:nth-child(2) { left: 30%; animation-delay: 2s; }
.feature-card.liquid .water-bubble:nth-child(3) { left: 70%; animation-delay: 4s; }

.feature-card.liquid .feature-icon {
    color: var(--water-cyan);
    animation: waterDrop 2s ease-in-out infinite;
    text-shadow: 0 0 20px rgba(0, 150, 255, 0.6);
}

.feature-card.liquid h3 {
    color: var(--water-cyan);
    text-shadow: 0 0 15px rgba(0, 150, 255, 0.5);
}

/* Solid Card - Ice Effect */
.feature-card.solid {
    background: linear-gradient(135deg, rgba(173, 216, 230, 0.1), rgba(240, 248, 255, 0.05));
    border: 2px solid rgba(173, 216, 230, 0.4);
    position: relative;
    overflow: hidden;
}

.feature-card.solid::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(173, 216, 230, 0.2), transparent);
    animation: iceCrystal 5s ease-in-out infinite;
    z-index: 1;
}

.feature-card.solid::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(240, 248, 255, 0.3), transparent);
    animation: iceShimmer 6s ease-in-out infinite;
    z-index: 1;
}

.feature-card.solid .ice-crystals {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.feature-card.solid .ice-crystal {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(173, 216, 230, 0.6);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    animation: crystalSparkle 8s ease-in-out infinite;
}

.feature-card.solid .ice-crystal:nth-child(1) { left: 15%; top: 20%; animation-delay: 0s; }
.feature-card.solid .ice-crystal:nth-child(2) { left: 60%; top: 40%; animation-delay: 3s; }
.feature-card.solid .ice-crystal:nth-child(3) { left: 85%; top: 60%; animation-delay: 6s; }

.feature-card.solid .feature-icon {
    color: var(--ice-blue);
    animation: iceGlow 3s ease-in-out infinite;
    text-shadow: 0 0 25px rgba(173, 216, 230, 0.7);
}

.feature-card.solid h3 {
    color: var(--ice-blue);
    text-shadow: 0 0 15px rgba(173, 216, 230, 0.5);
}

/* Gas Card - Air Effect */
.feature-card.gas {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(240, 240, 240, 0.05));
    border: 2px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.feature-card.gas::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: airFlow 4s ease-in-out infinite;
    z-index: 1;
}

.feature-card.gas::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(240, 240, 240, 0.3), transparent);
    animation: airDrift 5s ease-in-out infinite;
    z-index: 1;
}

.feature-card.gas .air-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.feature-card.gas .air-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    animation: particleFloat 10s ease-in-out infinite;
}

.feature-card.gas .air-particle:nth-child(1) { left: 20%; animation-delay: 0s; }
.feature-card.gas .air-particle:nth-child(2) { left: 50%; animation-delay: 3s; }
.feature-card.gas .air-particle:nth-child(3) { left: 80%; animation-delay: 6s; }

.feature-card.gas .feature-icon {
    color: var(--steam-gray);
    animation: airFloat 3s ease-in-out infinite;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
}

.feature-card.gas h3 {
    color: var(--steam-gray);
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--water-cyan);
    text-shadow: 0 0 10px rgba(102, 204, 255, 0.3);
    position: relative;
    z-index: 3;
}

.feature-card p {
    position: relative;
    z-index: 3;
}

.feature-card .feature-icon {
    position: relative;
    z-index: 3;
}

.about-hero {
    padding: 4rem 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Floating Water Elements for About Page */
.floating-water-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.water-drop {
    position: absolute;
    width: 15px;
    height: 25px;
    background: var(--gradient-primary);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    animation: waterDropFloat 8s ease-in-out infinite;
    opacity: 0.6;
}

.water-drop-1 { left: 5%; top: 10%; animation-delay: 0s; }
.water-drop-2 { left: 15%; top: 20%; animation-delay: 1s; }
.water-drop-3 { left: 25%; top: 15%; animation-delay: 2s; }
.water-drop-4 { left: 35%; top: 25%; animation-delay: 3s; }
.water-drop-5 { left: 45%; top: 10%; animation-delay: 4s; }
.water-drop-6 { left: 55%; top: 20%; animation-delay: 5s; }

@keyframes waterDropFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.6;
    }
    25% {
        transform: translateY(-20px) rotate(5deg);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-10px) rotate(0deg);
        opacity: 1;
    }
    75% {
        transform: translateY(-30px) rotate(-5deg);
        opacity: 0.7;
    }
}

/* About Background Icons */
.about-background-icons {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.bg-icon {
    position: absolute;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--white);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: bgIconFloat 10s ease-in-out infinite;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
}

.bg-icon:hover {
    transform: scale(1.3);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 25px rgba(102, 204, 255, 0.6);
}

.bg-icon-1 { left: 10%; top: 30%; animation-delay: 0s; }
.bg-icon-2 { left: 20%; top: 40%; animation-delay: 1s; }
.bg-icon-3 { left: 30%; top: 35%; animation-delay: 2s; }
.bg-icon-4 { left: 40%; top: 45%; animation-delay: 3s; }
.bg-icon-5 { left: 50%; top: 30%; animation-delay: 4s; }
.bg-icon-6 { left: 60%; top: 40%; animation-delay: 5s; }

@keyframes bgIconFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-15px) rotate(3deg);
    }
    50% {
        transform: translateY(-5px) rotate(0deg);
    }
    75% {
        transform: translateY(-25px) rotate(-3deg);
    }
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-subtitle {
    font-size: 1.3rem;
    color: var(--ocean-blue);
    margin-bottom: 1.5rem;
}

.about-description p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.profile-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
}

.profile-placeholder {
    width: 300px;
    height: 300px;
    background: var(--gradient-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: var(--white);
    box-shadow: var(--shadow-medium);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.profile-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

/* Skills Section */
.skills {
    padding: 2rem 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.category-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-shadow: 0 0 10px rgba(102, 204, 255, 0.5);
}

.category-title i {
    color: var(--water-cyan);
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

.skill-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.skill-item {
    background: rgba(255, 255, 255, 0.15);
    padding: 1rem;
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
    margin-bottom: 0.75rem;
}

.skill-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 10px 30px rgba(102, 204, 255, 0.3);
}

.skill-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

/* Compact typography for skills */
.skills .section-title { font-size: 2rem; }
.skills .category-title { font-size: 1.1rem; }
.skills .skill-name { font-size: 0.95rem; }
.skills .skill-percentage { font-size: 0.9rem; }

/* Mobile media query removed - uses desktop styles */

.skill-name {
    font-weight: 600;
    color: var(--dark-blue);
    font-size: 1.1rem;
}

.skill-percentage {
    font-weight: 600;
    color: var(--water-cyan);
    font-size: 1rem;
    animation: percentageGlow 2s ease-in-out infinite alternate;
}

@keyframes percentageGlow {
    0% {
        text-shadow: 0 0 5px rgba(102, 204, 255, 0.5);
    }
    100% {
        text-shadow: 0 0 15px rgba(102, 204, 255, 0.8);
    }
}

.skill-bar {
    height: 12px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.skill-progress {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 6px;
    width: 0;
    transition: width 2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.skill-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: skillShimmer 2s infinite;
}

.skill-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 6px;
    opacity: 0;
    filter: blur(8px);
    transition: opacity 0.3s ease;
}

.skill-item:hover .skill-glow {
    opacity: 0.5;
}

@keyframes skillShimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

@keyframes fillBar {
    from { width: 0; }
}

/* Experience Timeline */
.experience {
    padding: 4rem 0;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gradient-primary);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: 0;
    margin-right: 50%;
    text-align: right;
    padding-right: 2rem;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 50%;
    margin-right: 0;
    text-align: left;
    padding-left: 2rem;
}

.timeline-content {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
}

.timeline-content:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 40px rgba(102, 204, 255, 0.3);
}

.timeline-marker {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    z-index: 2;
}

.marker-dot {
    width: 20px;
    height: 20px;
    background: var(--gradient-primary);
    border-radius: 50%;
    border: 3px solid var(--white);
    box-shadow: 0 0 20px rgba(102, 204, 255, 0.6);
    animation: markerPulse 2s ease-in-out infinite;
}

.marker-line {
    width: 2px;
    height: 100%;
    background: var(--gradient-primary);
    margin: 0 auto;
    margin-top: 10px;
}

@keyframes markerPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 20px rgba(102, 204, 255, 0.6);
    }
    50% {
        transform: scale(1.2);
        box-shadow: 0 0 30px rgba(102, 204, 255, 0.8);
    }
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 20px;
    height: 20px;
    background: var(--primary-blue);
    border-radius: 50%;
    transform: translateY(-50%);
}

.timeline-item:nth-child(odd) .timeline-content::before {
    right: -60px;
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: -60px;
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.timeline-header h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--white);
    margin: 0;
}

.timeline-badge {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    animation: badgeGlow 2s ease-in-out infinite alternate;
}

@keyframes badgeGlow {
    0% {
        box-shadow: 0 0 10px rgba(102, 204, 255, 0.5);
    }
    100% {
        box-shadow: 0 0 20px rgba(102, 204, 255, 0.8);
    }
}

.timeline-company {
    font-weight: 500;
    color: var(--water-cyan);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.timeline-company i {
    color: var(--water-cyan);
    animation: iconFloat 3s ease-in-out infinite;
}

.timeline-period {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.timeline-period i {
    color: var(--water-cyan);
}

.timeline-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.timeline-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-tag {
    background: rgba(102, 204, 255, 0.2);
    color: var(--white);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    border: 1px solid rgba(102, 204, 255, 0.3);
    transition: all 0.3s ease;
}

.skill-tag:hover {
    background: rgba(102, 204, 255, 0.3);
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(102, 204, 255, 0.4);
}

.projects-hero {
    padding: 4rem 0;
    text-align: center;
    position: relative;
    z-index: 1;
}

/* Floating Project Elements */
.floating-project-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.project-bubble {
    position: absolute;
    width: 25px;
    height: 25px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, rgba(102, 204, 255, 0.2) 70%);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: projectBubbleFloat 12s ease-in-out infinite;
    opacity: 0.7;
}

.project-bubble-1 { left: 5%; top: 15%; animation-delay: 0s; }
.project-bubble-2 { left: 15%; top: 25%; animation-delay: 2s; }
.project-bubble-3 { left: 25%; top: 20%; animation-delay: 4s; }
.project-bubble-4 { left: 35%; top: 30%; animation-delay: 6s; }
.project-bubble-5 { left: 45%; top: 15%; animation-delay: 8s; }
.project-bubble-6 { left: 55%; top: 25%; animation-delay: 10s; }

@keyframes projectBubbleFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.7;
    }
    25% {
        transform: translateY(-30px) scale(1.1);
        opacity: 0.9;
    }
    50% {
        transform: translateY(-15px) scale(0.9);
        opacity: 1;
    }
    75% {
        transform: translateY(-45px) scale(1.2);
        opacity: 0.8;
    }
}

/* Project Background Icons */
.project-background-icons {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.project-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    animation: projectIconFloat 15s ease-in-out infinite;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
}

.project-icon:hover {
    transform: scale(1.4);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 35px rgba(102, 204, 255, 0.7);
}

.project-icon-1 { left: 8%; top: 35%; animation-delay: 0s; }
.project-icon-2 { left: 18%; top: 45%; animation-delay: 2s; }
.project-icon-3 { left: 28%; top: 40%; animation-delay: 4s; }
.project-icon-4 { left: 38%; top: 50%; animation-delay: 6s; }
.project-icon-5 { left: 48%; top: 35%; animation-delay: 8s; }
.project-icon-6 { left: 58%; top: 45%; animation-delay: 10s; }

@keyframes projectIconFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-20px) rotate(5deg);
    }
    50% {
        transform: translateY(-10px) rotate(0deg);
    }
    75% {
        transform: translateY(-30px) rotate(-5deg);
    }
}

.projects-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white);
    text-shadow: 0 0 20px rgba(102, 204, 255, 0.5);
}

.projects-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.project-stat {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
}

.project-stat:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(102, 204, 255, 0.3);
}

.projects-subtitle {
    font-size: 1.3rem;
    color: var(--ocean-blue);
}

.projects-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 16px;
    border: 2px solid var(--primary-blue);
    background: transparent;
    color: var(--primary-blue);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary-blue);
    color: var(--white);
}

.projects-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transform: translateY(0);
    position: relative;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(102, 204, 255, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.project-card:hover::before {
    opacity: 1;
}

.project-card:hover {
    box-shadow: var(--shadow-medium);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-image {
    height: 200px;
    background: var(--gradient-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 2;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-preview {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    transform: scale(0);
    transition: all 0.3s ease;
}

.project-card:hover .project-preview {
    transform: scale(1);
}

.project-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.project-card:hover .project-glow {
    opacity: 0.3;
}

.project-content {
    padding: 1.5rem;
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.project-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
    color: var(--white);
}

.project-badge {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    animation: projectBadgeGlow 2s ease-in-out infinite alternate;
}

@keyframes projectBadgeGlow {
    0% {
        box-shadow: 0 0 10px rgba(102, 204, 255, 0.5);
    }
    100% {
        box-shadow: 0 0 20px rgba(102, 204, 255, 0.8);
    }
}

.project-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.project-tech {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.tech-tag {
    background: rgba(102, 204, 255, 0.1);
    color: var(--primary-blue);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

.project-links {
    display: flex;
    gap: 1rem;
}

.project-link {
    color: var(--water-cyan);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    background: rgba(102, 204, 255, 0.1);
    border: 1px solid rgba(102, 204, 255, 0.2);
}

.project-link:hover {
    color: var(--white);
    background: rgba(102, 204, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 204, 255, 0.3);
}

.project-link i {
    transition: transform 0.3s ease;
}

.project-link:hover i {
    transform: scale(1.2);
}

.contact-hero {
    padding: 4rem 0;
    text-align: center;
}

.contact-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-subtitle {
    font-size: 1.3rem;
    color: var(--ocean-blue);
}

.contact-content {
    padding: 4rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

.contact-info p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
}

.contact-details h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-blue);
}

.contact-details p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* Contact Form */
.contact-form-container {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--primary-blue);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid rgba(102, 204, 255, 0.2);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.8);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.form-ripple {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.form-ripple::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(102, 204, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.form-group input:focus + .form-ripple::before,
.form-group textarea:focus + .form-ripple::before {
    width: 300px;
    height: 300px;
}

.submit-btn {
    align-self: flex-start;
    position: relative;
    overflow: hidden;
}

.btn-icon {
    margin-left: 0.5rem;
    transition: var(--transition);
}

.submit-btn:hover .btn-icon {
    transform: translateX(5px);
}

/* Form Success */
.form-success {
    text-align: center;
    padding: 2rem;
}

.success-icon {
    font-size: 3rem;
    color: #28a745;
    margin-bottom: 1rem;
}

.form-success h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

/* Map Section */
.map-section {
    padding: 4rem 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

.map-section h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--primary-blue);
}

.map-placeholder {
    height: 300px;
    background: var(--gradient-secondary);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    text-align: center;
}

.map-content i {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

/* CTA Sections */
.cta,
.cta-projects {
    padding: 4rem 0;
    background: var(--gradient-primary);
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta .btn-primary {
    background: var(--white);
    color: var(--primary-blue);
}

.cta .btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
}

/* Enhanced Footer */
.footer {
    background: linear-gradient(135deg, var(--dark-blue) 0%, #001122 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

/* Footer Waves */
.footer-waves {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    overflow: hidden;
}

.footer-wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background: linear-gradient(45deg, rgba(102, 204, 255, 0.1), rgba(0, 153, 255, 0.05));
    border-radius: 0 0 50% 50%;
    animation: footerWave 6s ease-in-out infinite;
}

.footer-wave:nth-child(1) {
    animation-delay: 0s;
    opacity: 0.7;
}

.footer-wave:nth-child(2) {
    animation-delay: 2s;
    opacity: 0.5;
}

.footer-wave:nth-child(3) {
    animation-delay: 4s;
    opacity: 0.3;
}

@keyframes footerWave {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

.footer-content {
    position: relative;
    z-index: 1;
    padding: 4rem 0 2rem;
}

.footer-sections {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    margin-bottom: 3rem;
}

/* Brand Section */
.brand-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-logo-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(102, 204, 255, 0.3);
    animation: logoFloat 3s ease-in-out infinite;
}

.footer-logo-icon i {
    color: var(--white);
    font-size: 1.5rem;
    animation: spin 3s linear infinite;
}

.footer-logo h3 {
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

.footer-description {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.8;
    margin: 0;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social .social-link {
    width: 45px;
    height: 45px;
    background: rgba(102, 204, 255, 0.1);
    border: 1px solid rgba(102, 204, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.footer-social .social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transition: var(--transition);
    z-index: -1;
}

.footer-social .social-link:hover::before {
    left: 0;
}

.footer-social .social-link:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 10px 25px rgba(102, 204, 255, 0.3);
    border-color: var(--water-cyan);
}

.footer-social .social-link i {
    font-size: 1.2rem;
    transition: var(--transition);
}

/* Footer Sections */
.footer-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--water-cyan);
    margin: 0;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 1px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin: 0;
    padding: 0;
}

.footer-link {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
    opacity: 0.8;
    position: relative;
    padding-left: 1rem;
}

.footer-link::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--water-cyan);
    transition: var(--transition);
}

.footer-link:hover {
    color: var(--water-cyan);
    opacity: 1;
    transform: translateX(5px);
}

.footer-link:hover::before {
    transform: translateX(3px);
}

/* Contact Section */
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem;
    background: rgba(102, 204, 255, 0.05);
    border-radius: var(--border-radius);
    border: 1px solid rgba(102, 204, 255, 0.1);
    transition: var(--transition);
}

.contact-item:hover {
    background: rgba(102, 204, 255, 0.1);
    border-color: rgba(102, 204, 255, 0.2);
    transform: translateX(5px);
}

.contact-item i {
    color: var(--water-cyan);
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

.contact-item span {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Newsletter Section */
.newsletter-section {
    margin-top: 1.5rem;
}

.newsletter-section h5 {
    font-size: 1.1rem;
    color: var(--water-cyan);
    margin: 0 0 0.5rem 0;
}

.newsletter-section p {
    font-size: 0.9rem;
    opacity: 0.7;
    margin: 0 0 1rem 0;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.newsletter-input-group {
    display: flex;
    gap: 0.5rem;
}

.newsletter-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(102, 204, 255, 0.3);
    border-radius: var(--border-radius);
    padding: 0.75rem;
    color: var(--white);
    font-size: 0.9rem;
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--water-cyan);
    box-shadow: 0 0 15px rgba(102, 204, 255, 0.3);
}

.newsletter-btn {
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--border-radius);
    padding: 0.75rem 1rem;
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(102, 204, 255, 0.4);
}

.newsletter-btn i {
    font-size: 1rem;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(102, 204, 255, 0.2);
    padding-top: 2rem;
    margin-top: 2rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-copyright {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-copyright p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin: 0;
}

.footer-copyright i {
    color: var(--water-cyan);
    animation: pulse 2s ease-in-out infinite;
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.legal-link {
    color: var(--white);
    text-decoration: none;
    font-size: 0.9rem;
    opacity: 0.7;
    transition: var(--transition);
}

.legal-link:hover {
    color: var(--water-cyan);
    opacity: 1;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(102, 204, 255, 0.3);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(102, 204, 255, 0.4);
}

.back-to-top i {
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-5px); }
    60% { transform: translateY(-3px); }
}

/* Responsive Design */
/* Mobile media query removed - uses desktop styles */

/* Mobile media query removed - uses desktop styles */

.filter-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;
}

.filter-btn:hover::before {
    left: 100%;
}

/* Services Section */
.services {
    padding: 4rem 0;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 204, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-5px);
}

.service-icon {
    font-size: 3.5rem;
    color: var(--water-cyan);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    color: var(--white);
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--white);
}

.service-card p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-tech {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Latest Projects Section */
.latest-projects {
    padding: 4rem 0;
    background: rgba(0, 17, 34, 0.8);
}

.projects-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.project-preview-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.project-preview-card:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-5px);
}

.project-preview-image {
    height: 200px;
    background: var(--gradient-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--white);
}

.project-preview-content {
    padding: 2rem;
}

.project-preview-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--white);
}

.project-preview-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.project-preview-tech {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.view-all-projects {
    text-align: center;
    margin-top: 3rem;
}

/* Testimonials Section */
.testimonials {
    padding: 4rem 0;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-size: 4rem;
    color: var(--water-cyan);
    opacity: 0.3;
    font-family: serif;
}

.testimonial-card:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-5px);
}

.testimonial-content {
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.testimonial-content p {
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
    line-height: 1.6;
    font-size: 1.1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
}

.author-info h4 {
    color: var(--white);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.author-info span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Skills Overview Section */
.skills-overview {
    padding: 4rem 0;
    background: rgba(0, 17, 34, 0.8);
}

.skills-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.skill-category {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.skill-category:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-5px);
}

.skill-category h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--water-cyan);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.skill-category h3 i {
    font-size: 1.2rem;
}

.skill-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.skill-tag {
    background: rgba(102, 204, 255, 0.2);
    color: var(--water-cyan);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(102, 204, 255, 0.3);
    transition: all 0.3s ease;
}

.skill-tag:hover {
    background: rgba(102, 204, 255, 0.3);
    transform: translateY(-2px);
}

/* Blog Section */
.blog-section {
    padding: 4rem 0;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.blog-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.blog-card:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-5px);
}

.blog-image {
    height: 200px;
    background: var(--gradient-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--white);
}

.blog-content {
    padding: 2rem;
}

.blog-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--white);
}

.blog-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Contact CTA Section */
.contact-cta {
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(0, 17, 34, 0.9), rgba(0, 34, 68, 0.9));
    position: relative;
    overflow: hidden;
}

.contact-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(102, 204, 255, 0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.contact-cta .cta-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.contact-cta .cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white);
}

.contact-cta .cta-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo-icon,
    .footer-logo-icon,
    .search-toggle,
    .back-to-top {
        border: 0.5px solid rgba(102, 204, 255, 0.3);
    }
}

/* Print Styles */
@media print {
    .navbar,
    .footer,
    .back-to-top,
    .search-container,
    .hamburger,
    .mobile-menu-overlay {
        display: none !important;
    }
    
    .main-content {
        margin-top: 0;
    }
    
    body {
        background: linear-gradient(135deg, #001122 0%, #003366 50%, #0066cc 100%) !important;
        color: var(--white) !important;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .logo-icon,
    .footer-logo-icon,
    .back-to-top i,
    .loading-spinner {
        animation: none;
    }
    
    .nav-link:hover,
    .footer-link:hover,
    .contact-item:hover,
    .social-link:hover {
        transform: none;
    }
    
    .search-box,
    .mobile-menu,
    .notification,
    .search-results {
        transition: none;
    }
}



body {
    background: linear-gradient(135deg, #001122 0%, #003366 50%, #0066cc 100%);
    color: var(--white);
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .search-box,
    .search-results-content,
    .mobile-menu {
        background: rgba(0, 0, 0, 0.95);
    }
}


/* Modern Hero Section */
.projects-hero-modern {
    padding: 6rem 0 4rem;
    background: linear-gradient(135deg, rgba(0, 150, 255, 0.1) 0%, rgba(0, 200, 255, 0.05) 100%);
    position: relative;
    overflow: hidden;
}

.projects-hero-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(102, 204, 255, 0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content-modern {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text-modern {
    max-width: 600px;
}

.hero-title-modern {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.title-line {
    display: block;
    background: linear-gradient(135deg, var(--water-cyan) 0%, var(--primary-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleSlideIn 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(30px);
}

.title-line:nth-child(1) { animation-delay: 0.1s; }
.title-line:nth-child(2) { animation-delay: 0.2s; }

.title-accent {
    display: block;
    font-size: 3rem;
    color: var(--water-cyan);
    text-shadow: 0 0 30px rgba(102, 204, 255, 0.5);
    animation: titleSlideIn 0.8s ease-out 0.3s forwards;
    opacity: 0;
    transform: translateY(30px);
}

.hero-subtitle-modern {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem;
    line-height: 1.6;
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
    opacity: 0;
    transform: translateY(20px);
}

.hero-stats-modern {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    animation: fadeInUp 0.8s ease-out 0.5s forwards;
    opacity: 0;
    transform: translateY(20px);
}

.stat-modern {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.stat-modern:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(102, 204, 255, 0.3);
}

.hero-visual-modern {
    position: relative;
    height: 400px;
}

.floating-cards {
    position: relative;
    width: 100%;
    height: 100%;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    color: var(--water-cyan);
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    animation: floatCard 6s ease-in-out infinite;
}

.floating-card i {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    display: block;
}

.floating-card:hover {
    transform: scale(1.1) translateY(-10px);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(102, 204, 255, 0.4);
}

.card-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.card-2 {
    top: 50%;
    right: 20%;
    animation-delay: 2s;
}

.card-3 {
    bottom: 20%;
    left: 30%;
    animation-delay: 4s;
}

/* Modern Filter Section */
.filter-section-modern {
    padding: 2rem 0;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.filter-container-modern {
    display: flex;
    justify-content: center;
}

.filter-tabs-modern {
    display: flex;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.filter-tab-modern {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: transparent;
    border: none;
    border-radius: 25px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.filter-tab-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--water-cyan) 0%, var(--primary-blue) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 25px;
}

.filter-tab-modern.active::before {
    opacity: 1;
}

.filter-tab-modern.active {
    color: white;
    transform: scale(1.05);
}

.filter-tab-modern:hover:not(.active) {
    color: var(--water-cyan);
    background: rgba(255, 255, 255, 0.1);
}

.tab-icon {
    position: relative;
    z-index: 1;
}

.tab-text {
    position: relative;
    z-index: 1;
}

.tab-count {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Modern Projects Grid */
.projects-grid-modern {
    padding: 4rem 0;
    background: rgba(0, 0, 0, 0.2);
}

.projects-container-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.project-card-modern {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.project-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 204, 255, 0.1) 0%, rgba(0, 150, 255, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.project-card-modern:hover::before {
    opacity: 1;
}

.project-card-modern:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(102, 204, 255, 0.3);
    border-color: rgba(102, 204, 255, 0.3);
}

.project-preview-modern {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.project-image-modern {
    width: 100%;
    height: 100%;
    position: relative;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 204, 255, 0.1) 0%, rgba(0, 150, 255, 0.05) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--water-cyan);
    transition: all 0.3s ease;
}

.project-card-modern:hover .image-placeholder {
    transform: scale(1.1);
}

.project-overlay-modern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.project-card-modern:hover .project-overlay-modern {
    opacity: 1;
}

.overlay-content {
    text-align: center;
    color: white;
}

.overlay-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--water-cyan);
}

.overlay-text {
    font-size: 1.2rem;
    font-weight: 600;
}

.project-badge-modern {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-badge-modern.featured {
    background: rgba(255, 215, 0, 0.2);
    color: #ffd700;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.project-badge-modern.popular {
    background: rgba(255, 105, 180, 0.2);
    color: #ff69b4;
    border: 1px solid rgba(255, 105, 180, 0.3);
}

.project-badge-modern.design {
    background: rgba(138, 43, 226, 0.2);
    color: #8a2be2;
    border: 1px solid rgba(138, 43, 226, 0.3);
}

.project-badge-modern.ecommerce {
    background: rgba(34, 139, 34, 0.2);
    color: #228b22;
    border: 1px solid rgba(34, 139, 34, 0.3);
}

.project-badge-modern.game {
    background: rgba(255, 69, 0, 0.2);
    color: #ff4500;
    border: 1px solid rgba(255, 69, 0, 0.3);
}

.project-badge-modern.data {
    background: rgba(0, 191, 255, 0.2);
    color: #00bfff;
    border: 1px solid rgba(0, 191, 255, 0.3);
}

.project-info-modern {
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.project-header-modern {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.project-title-modern {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--water-cyan);
    margin: 0;
    line-height: 1.3;
}

.project-category-modern {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
}

.project-category-modern i {
    color: var(--water-cyan);
}

.project-description-modern {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.project-tech-modern {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tech-chip-modern {
    background: rgba(102, 204, 255, 0.1);
    color: var(--water-cyan);
    padding: 0.4rem 0.8rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(102, 204, 255, 0.2);
    transition: all 0.3s ease;
}

.tech-chip-modern:hover {
    background: rgba(102, 204, 255, 0.2);
    transform: translateY(-2px);
}

.project-actions-modern {
    display: flex;
    gap: 1rem;
}

.action-btn-modern {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.action-btn-modern::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;
}

.action-btn-modern:hover::before {
    left: 100%;
}

.action-btn-modern.primary {
    background: linear-gradient(135deg, var(--water-cyan) 0%, var(--primary-blue) 100%);
    color: white;
}

.action-btn-modern.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 204, 255, 0.4);
}

.action-btn-modern.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--water-cyan);
    border: 1px solid rgba(102, 204, 255, 0.3);
}

.action-btn-modern.secondary:hover {
    background: rgba(102, 204, 255, 0.1);
    transform: translateY(-2px);
}

/* Modern CTA Section */
.cta-projects-modern {
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(0, 150, 255, 0.1) 0%, rgba(0, 200, 255, 0.05) 100%);
    position: relative;
    overflow: hidden;
}

.cta-projects-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(102, 204, 255, 0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.5;
}

.cta-content-modern {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.cta-text-modern {
    max-width: 600px;
}

.cta-title-modern {
    font-size: 3rem;
    font-weight: 700;
    color: var(--water-cyan);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.cta-subtitle-modern {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.cta-actions-modern {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-btn-modern {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-btn-modern::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;
}

.cta-btn-modern:hover::before {
    left: 100%;
}

.cta-btn-modern.primary {
    background: linear-gradient(135deg, var(--water-cyan) 0%, var(--primary-blue) 100%);
    color: white;
}

.cta-btn-modern.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(102, 204, 255, 0.4);
}

.cta-btn-modern.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--water-cyan);
    border: 2px solid rgba(102, 204, 255, 0.3);
}

.cta-btn-modern.secondary:hover {
    background: rgba(102, 204, 255, 0.1);
    transform: translateY(-3px);
    border-color: var(--water-cyan);
}

/* Animations */
@keyframes titleSlideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatCard {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

body .mobile-menu,
body .search-box,
body .search-results-content {
  background: rgba(0, 0, 0, 0.95) !important;
  color: var(--white) !important;
}

/* ===== NEW MODERN FOOTER DESIGN ===== */

/* Modern Footer */
.footer-modern {
    position: relative;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 50, 100, 0.8) 100%);
    color: white;
    overflow: hidden;
    margin-top: 4rem;
}

/* Animated Background */
.footer-bg-modern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.footer-waves-modern {
    .hero-visual-modern,
    .hero-stats-modern {
        color: var(--white) !important;
    }
    
    /* Hero text colors */
    .hero-title-modern,
    .hero-title,
    .hero-subtitle-modern,
    .hero-subtitle {
        color: var(--white) !important;
    }
    
    
    
    
    
    
    
    
    
    
    
    /* Mobile Menu styles */
    .mobile-menu,
    
    .mobile-menu-overlay,
    
    .mobile-menu-content,
    
    .mobile-header,
    
    .mobile-logo-title,
    
    .mobile-logo-subtitle,
    
    .mobile-logo-icon,
    
    .mobile-logo-icon i,
    
    .mobile-close,
    
    .close-line,
    
    .mobile-action-btn,
    
    .mobile-action-btn:hover,
    
    .mobile-action-btn i,
    
    .mobile-nav-item,
    
    .mobile-nav-item:hover,
    .mobile-nav-item.active,
    
    .mobile-nav-icon,
    
    .mobile-nav-icon i,
    
    .mobile-nav-text,
    
    .mobile-nav-item::before,
    
    .mobile-menu-footer,
    
    .mobile-footer-title,
    
    .mobile-social-link,
    
    .mobile-social-link:hover,
    
    .mobile-social-link i,
    
    .mobile-menu-copyright p,
    
    /* Page-Specific Mobile Color Overrides - ALL PAGES */
    /* Home Page Sections */
    .home-hero,
    .hero-section,
    .features-section,
    .skills-section,
    .experience-section,
    
    /* About Page Sections */
    .about-section,
    .about-content,
    .about-hero,
    .timeline-section,
    
    /* Projects Page Sections */
    .projects-section,
    .projects-content,
    .projects-hero,
    .filter-section-modern,
    
    /* Services Page Sections */
    .services-section,
    .services-content,
    .services-hero,
    .services-main,
    .process-section,
    
    /* Contact Page Sections */
    .contact-section,
    .contact-content,
    .contact-hero,
    .contact-modern-section,
    .map-modern-section,
    
    /* Universal Sections - All Pages */
    .section,
    .main-section,
    .content-section,
    .page-section,
    
    /* Index Page - Floating Droplets & Icons */
    /* Droplets use gradient colors - already matching desktop */
    
    .floating-icon,
    
    .floating-icon:hover,
    
    .floating-icon i,
    
    /* Index Page - Hero Section */
    .hero,
    .hero-content,
    .hero-text,
    .hero-visual,
    
    .hero-title,
    .water-gradient,
    .water-text,
    
    .water-gradient {
        background: linear-gradient(135deg, var(--water-cyan), var(--primary-blue)) !important;
        -webkit-background-clip: text !important;
        -webkit-text-fill-color: transparent !important;
        background-clip: text !important;
    }
    
    .water-text {
        color: var(--water-cyan) !important;
    }
    
    .hero-subtitle,
    .hero-description,
    .hero-description p,
    
    /* Hero buttons - colors handled by .btn-primary and .btn-secondary below */
    /* Water molecule - animation elements use gradient colors */
    
    /* Index Page - Stats Section */
    .stats-section,
    .stats-grid,
    .stat-item,
    
    .stat-number,
    
    .stat-label,
    
    /* Index Page - Features Section */
    .features,
    .features-grid,
    
    .feature-card,
    
    .feature-card h3,
    
    .feature-card p,
    
    .feature-icon,
    
    .feature-icon i,
    
    /* Index Page - Services Section */
    .services,
    .services-grid,
    
    .service-card,
    
    .service-card h3,
    
    .service-card p,
    
    .service-icon,
    
    .service-icon i,
    
    /* Service tech tags - handled below in Tech Tags section */
    
    /* Index Page - Latest Projects Section */
    .latest-projects,
    .projects-preview,
    
    .project-preview-card,
    
    .project-preview-content h3,
    .project-preview-content p,
    
    .project-preview-content p {
        color: rgba(255, 255, 255, 0.8) !important;
    }
    
    .project-preview-image,
    
    .project-preview-image i,
    
    /* Project preview tech tags - handled below in Tech Tags section */
    /* View all projects button - handled in Buttons section */
    
    /* Index Page - Skills Overview Section */
    .skills-overview,
    .skills-categories,
    
    .skill-category,
    
    .skill-category h3,
    
    .skill-category h3 i,
    
    /* Skill tags - handled below in Tech Tags section */
    
    /* Index Page - Contact CTA Section */
    .contact-cta,
    .cta-content,
    
    .cta-content h2,
    .cta-content p,
    
    .cta-content p {
        color: rgba(255, 255, 255, 0.8) !important;
    }
    
    /* CTA buttons - handled in Buttons section */
    
    /* Tech Tags - All Sections */
    .tech-tag,
    .skill-tag,
    
    /* Buttons - All Sections */
    .btn-primary,
    
    .btn-secondary,
    
    .btn-secondary:hover,
    
    /* ===== ABOUT PAGE - Mobile Color Overrides ===== */
    .about-background-icons,
    .bg-icon,
    
    .bg-icon i,
    
    .about-content,
    .about-text,
    .about-image,
    
    .about-text,
    .description-paragraph,
    
    /* Timeline Section - About Page */
    .experience,
    .timeline,
    
    .timeline-item,
    
    .timeline-header h3,
    .timeline-company,
    .timeline-period,
    
    .timeline-company i,
    .timeline-period i,
    
    /* Skills Section - About Page */
    .skills,
    .skills-grid,
    
    .skills #skillsLoading,
    
    .skills #skillsLoading i,
    
    /* ===== PROJECTS PAGE - Mobile Color Overrides ===== */
    .project-background-icons,
    .project-icon,
    
    .project-icon i,
    
    /* Projects Hero Modern - Already handled above */
    .projects-hero-modern,
    .hero-content-modern,
    .hero-text-modern,
    
    /* Filter Section */
    .filter-section-modern,
    .filter-container-modern,
    
    .filter-tabs-modern,
    
    .filter-tab-modern,
    
    .filter-tab-modern.active,
    
    .tab-icon,
    .tab-text,
    .tab-count,
    
    .tab-icon i,
    
    /* Projects Grid */
    .projects-grid-modern,
    .projects-container-modern,
    
    .projects-loading,
    
    .projects-loading i,
    
    /* Projects CTA */
    .cta-projects-modern,
    .cta-content-modern,
    .cta-text-modern,
    
    .cta-title-modern,
    .cta-subtitle-modern,
    
    .cta-subtitle-modern {
        color: rgba(255, 255, 255, 0.8) !important;
    }
    
    /* ===== SERVICES PAGE - Mobile Color Overrides ===== */
    .services-hero,
    .hero-bg-services,
    .hero-waves-services,
    .hero-particles-services,
    
    .hero-content-services,
    .hero-text-services,
    .hero-stats-services,
    
    .stat-item-service,
    
    .stat-number-service,
    
    .stat-label-service,
    
    .floating-card-service,
    
    /* Services Grid Section */
    .services-grid-section,
    .section-header-services,
    
    .section-description-services,
    
    /* Service Cards - Detailed */
    .service-card-header,
    .service-card-body,
    .service-card-footer,
    
    .service-title,
    
    .service-badge,
    
    .service-description,
    
    .feature-item,
    
    .feature-item i,
    
    .feature-item span,
    
    .service-price,
    .price-amount,
    .price-period,
    
    .price-amount {
        color: var(--water-cyan) !important;
    }
    
    .service-cta,
    
    .service-cta:hover,
    
    /* Process Section */
    .process-section,
    .process-timeline,
    
    .process-step,
    
    .step-number,
    
    .step-content h3,
    .step-content p,
    
    .step-content p {
        color: rgba(255, 255, 255, 0.8) !important;
    }
    
    .step-icon,
    
    .step-icon i,
    
    /* Services CTA Section */
    .services-cta-section,
    .cta-content-services,
    .cta-text-services,
    
    .cta-text-services h2,
    .cta-text-services p,
    
    .cta-text-services p {
        color: rgba(255, 255, 255, 0.8) !important;
    }
    
    .cta-btn-primary,
    .cta-btn-secondary,
    
    .cta-btn-secondary,
    
    .cta-visual-services,
    .cta-card-services,
    
    .cta-card-services h3,
    .cta-card-services p,
    
    .cta-card-services p {
        color: rgba(255, 255, 255, 0.8) !important;
    }
    
    .cta-card-services i,
    
    /* ===== CONTACT PAGE - Mobile Color Overrides ===== */
    /* Contact Hero - Already handled above */
    .contact-hero-modern,
    
    /* Contact Section */
    .contact-modern-section,
    .contact-modern-grid,
    .contact-modern-info,
    .contact-methods-modern,
    
    .contact-modern-info h2,
    
    .contact-method-modern,
    
    .contact-method-modern:hover,
    
    .contact-icon-modern,
    
    .contact-icon-modern i,
    
    .contact-details-modern,
    .contact-label,
    .contact-value,
    
    .contact-label {
        color: rgba(255, 255, 255, 0.7) !important;
    }
    
    /* Contact Form */
    .contact-modern-form-container,
    .contact-modern-form,
    
    .form-group-modern,
    
    .form-group-modern label,
    
    .form-group-modern input,
    .form-group-modern textarea,
    
    .form-group-modern input:focus,
    .form-group-modern textarea:focus,
    
    .form-group-modern input::placeholder,
    .form-group-modern textarea::placeholder,
    
    .input-underline,
    
    .btn-modern,
    .btn-primary-modern,
    
    .btn-text,
    .btn-icon,
    
    .form-success-modern,
    
    .success-icon-modern,
    .form-success-modern h3,
    .form-success-modern p,
    
    .success-icon-modern i,
    
    /* Map Section */
    .map-modern-section,
    
    .map-title-modern,
    
    .map-modern-placeholder,
    .map-modern-content,
    
    .map-modern-content i,
    .map-modern-content p,
    
    .map-modern-content i {
        color: var(--water-cyan) !important;
    }
    
    
    
    /* Cards and components on mobile */
    
    
    
    
    
    
    
    
    
    
    /* CTA Buttons */
    .cta-btn-modern.primary,
    .cta-btn-modern.secondary {
        background: var(--gradient-primary) !important;
        color: var(--white) !important;
        border: 2px solid rgba(102, 204, 255, 0.3) !important;
    }
    
    .cta-btn-modern.secondary {
        background: rgba(255, 255, 255, 0.1) !important;
        color: var(--water-cyan) !important;
        border: 2px solid rgba(102, 204, 255, 0.3) !important;
    }
    
    /* Text elements */
    .hero-description-modern,
    .hero-description,
    p,
    .description {
        color: rgba(255, 255, 255, 0.8) !important;
    }
    
    /* Navigation match desktop */
    .modern-nav {
        background: rgba(0, 17, 34, 0.9) !important;
        backdrop-filter: blur(10px) !important;
    }
    
    /* Card backgrounds match desktop EXACTLY */
    .project-card-modern {
        background: rgba(255, 255, 255, 0.05) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        color: var(--white) !important;
    }
    
    .service-card {
        background: rgba(255, 255, 255, 0.1) !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
        color: var(--white) !important;
    }
    
    .skill-item {
        background: rgba(255, 255, 255, 0.1) !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
        color: var(--white) !important;
    }
    
    .floating-card {
        background: rgba(255, 255, 255, 0.1) !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
        color: var(--water-cyan) !important;
    }
    
    .timeline-content {
        background: rgba(255, 255, 255, 0.1) !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
        color: var(--white) !important;
    }
    
    /* Button colors match desktop */
    .action-btn-modern,
    .btn-primary,
    .btn-secondary {
        color: var(--white) !important;
    }
    
    /* Links match desktop */
    a {
        color: var(--water-cyan) !important;
    }
    
    a:hover {
        color: var(--light-blue) !important;
    }
    
    /* Navigation Items - Match Desktop */
    .nav-item,
    .modern-nav .nav-item,
    .nav-item .nav-text,
    .nav-item .nav-icon {
        color: var(--white) !important;
    }
    
    .nav-item:hover,
    .modern-nav .nav-item:hover {
        color: var(--water-cyan) !important;
    }
    
    .nav-item .nav-icon {
        color: var(--water-cyan) !important;
    }
    
    /* Footer Modern - Match Desktop */
    .footer-modern,
    
    .footer-modern .footer-title,
    .footer-modern .footer-link,
    
    .footer-modern .footer-link {
        color: var(--light-blue) !important;
    }
    
    .footer-modern .footer-link:hover {
        color: var(--water-cyan) !important;
    }
    
    /* Contact Hero Modern - Match Desktop */
    .contact-hero-modern,
    
    /* Section Title Modern - Match Desktop */
    .section-title-modern,
    
    /* Title Line and Accent - Match Desktop */
    .title-line,
    .title-accent,
    
    /* Stats Modern - Match Desktop */
    .stat-modern,
    
    .stat-modern .stat-number,
    
    .stat-modern .stat-label,
    
    /* Tech Chips - Match Desktop */
    .tech-chip,
    .tech-chip-modern,
    
    /* Filter Tabs - Match Desktop */
    .filter-tab-modern,
    
    .filter-tab-modern.active,
    
    .filter-tab-modern:hover:not(.active),
    
    /* Form Inputs - Match Desktop */
    input,
    textarea,
    select,
    .contact-modern-form input,
    .contact-modern-form textarea,
    .newsletter-input {
        background: rgba(255, 255, 255, 0.08) !important;
        color: var(--white) !important;
        border: 1px solid rgba(102, 204, 255, 0.2) !important;
    }
    
    input::placeholder,
    textarea::placeholder,
    .contact-modern-form input::placeholder,
    .newsletter-input::placeholder {
        color: rgba(255, 255, 255, 0.5) !important;
    }
    
    input:focus,
    textarea:focus,
    select:focus,
    .contact-modern-form input:focus {
        border-color: var(--water-cyan) !important;
        background: rgba(255, 255, 255, 0.12) !important;
    }
    
    /* Project Info Modern - Match Desktop */
    .project-info-modern,
    .project-title-modern,
    .project-description-modern,
    
    .project-description-modern,
    
    /* Project Category Modern - Match Desktop */
    .project-category-modern,
    
    .project-category-modern i,
    
    /* Skills Section - Match Desktop */
    .skill-name,
    .skill-item .skill-name,
    
    .skill-bar,
    
    /* Services Section - Match Desktop */
    .service-card h2,
    .service-card p,
    
    .service-icon,
    
    /* Timeline - Match Desktop */
    .timeline-content,
    .timeline-header h3,
    .timeline-description,
    
    .timeline-description,
    
    /* Contact Methods - Match Desktop */
    .contact-method-modern h3,
    .contact-method-modern p,
    
    /* Hero Description Modern - Match Desktop */
    .hero-description-modern,
    
    /* Logo and Brand Colors - Match Desktop */
    .logo-text,
    .nav-logo h2,
    
    .logo-subtitle,
    
    /* Action Buttons - Match Desktop */
    .action-btn-modern.primary,
    .action-btn-modern.secondary,
    
    .action-btn-modern.secondary,
    
    /* Services Page - Match Desktop */
    .services-hero,
    .hero-title-services,
    .hero-description-services,
    .section-title-services,
    
    .hero-title-services,
    .section-title-services,
    
    .hero-description-services,
    
    .stat-label-service,
    .stat-number-service,
    
    .floating-card-service,
    
    /* Search Overlay - Match Desktop */
    .search-overlay,
    
    .search-results,
    .search-results-content,
    
    .search-result-item,
    .search-results-header h3,
    
    .search-result-item h4,
    
    .search-result-item p,
    
    /* Social Links - Match Desktop */
    .social-link-modern,
    .footer-social .social-link,
    .mobile-social-links .social-link,
    
    .social-link-modern:hover,
    .footer-social .social-link:hover,
    
    /* Back to Top - Match Desktop */
    .back-to-top,
    .back-to-top-modern,
    
    /* Newsletter Section - Match Desktop */
    .newsletter-section h5,
    .newsletter-section p,
    
    .newsletter-section h5 {
        color: var(--water-cyan) !important;
    }
    
    /* Admin Components (if visible on mobile) - Match Desktop */
    .admin-nav,
    .admin-content,
    .admin-card,
    .tab-btn,
    
    .tab-btn,
    .admin-nav h1,
    
    .tab-btn.active,
    
    /* Modal - Match Desktop */
    .modal-content,
    .modal-header,
    .modal-body,
    
    .modal-header h3,
    
    /* Additional Text Elements */
    h1, h2, h3, h4, h5, h6,
    
    /* Label Elements */
    label,
    .form-label,
    
    /* Select Dropdowns */
    select option {
        background: rgba(0, 17, 34, 0.95) !important;
        color: var(--white) !important;
    }
    
    /* ===== COMPREHENSIVE CATCH-ALL - Ensure ALL elements match desktop ===== */
    /* Home Page Specific Elements */
    .stats-section,
    .stats-grid,
    .stat-item,
    .floating-droplets,
    .droplet,
    .interactive-elements,
    .floating-icon,
    
    .stat-item,
    
    /* About Page Specific Elements */
    .floating-water-elements,
    .water-drop,
    .about-background-icons,
    .about-stats,
    
    /* Projects Page Specific Elements */
    .floating-project-elements,
    .project-bubble,
    
    /* Contact Page Additional Elements */
    .map-modern-section,
    .water-bubbles,
    
    /* Services Page Additional Elements */
    .floating-cards-services,
    .services-cta-section,
    
    /* Footer Elements */
    .footer-modern,
    .footer-content-modern,
    .footer-links-modern,
    .footer-social-modern,
    
    /* Final Catch-All for Any Remaining Elements */
    div[class*="section"],
    div[class*="hero"],
    div[class*="content"],
    div[class*="grid"],
    div[class*="container"],
    section[class*="section"],
    section[class*="hero"] {
        background: transparent !important;
    }
    
    /* Ensure all paragraphs and text inherit white color */
}

@media (max-width: 480px) {
    /* Small mobile devices */
    body,
    
    /* Match desktop styles */
    .hero-title-modern,
    .hero-title,
    .hero-subtitle-modern,
    .hero-subtitle {
        color: var(--white) !important;
    }
    
    .cta-btn-modern.primary {
        background: var(--gradient-primary) !important;
        color: var(--white) !important;
    }
    
    .cta-btn-modern.secondary {
        background: rgba(255, 255, 255, 0.1) !important;
        color: var(--water-cyan) !important;
        border: 2px solid rgba(102, 204, 255, 0.3) !important;
    }
    
    /* Additional 480px color overrides - Match Desktop */
    /* All colors inherit from 768px media query rules above */
}

/* Animated Background */
.footer-bg-modern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.footer-waves-modern {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
}

.wave-modern {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background: linear-gradient(45deg, rgba(102, 204, 255, 0.1) 0%, rgba(0, 150, 255, 0.05) 100%);
    border-radius: 50% 50% 0 0;
    animation: footerWaveModern 8s ease-in-out infinite;
}

.wave-1-modern {
    animation-delay: 0s;
    opacity: 0.3;
}

.wave-2-modern {
    animation-delay: 2s;
    opacity: 0.2;
}

.wave-3-modern {
    animation-delay: 4s;
    opacity: 0.1;
}

.footer-particles-modern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.particle-modern {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--water-cyan);
    border-radius: 50%;
    animation: particleFloatModern 6s ease-in-out infinite;
}

.particle-modern:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; }
.particle-modern:nth-child(2) { left: 30%; top: 40%; animation-delay: 2s; }
.particle-modern:nth-child(3) { left: 60%; top: 30%; animation-delay: 4s; }
.particle-modern:nth-child(4) { left: 80%; top: 50%; animation-delay: 1s; }
.particle-modern:nth-child(5) { left: 90%; top: 25%; animation-delay: 3s; }

/* Main Footer Content */
.footer-content-modern {
    position: relative;
    z-index: 2;
    padding: 4rem 0 2rem;
}

/* Top Section */
.footer-top-modern {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand-modern {
    max-width: 400px;
}

.brand-logo-modern {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.logo-icon-modern {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--water-cyan) 0%, var(--primary-blue) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    box-shadow: 0 8px 20px rgba(102, 204, 255, 0.3);
    position: relative;
    z-index: 1;
    animation: logoPulseModern 3s ease-in-out infinite;
}

.logo-icon-modern i {
    display: block;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 191, 255, 0.5);
    animation: waterDrop 2s ease-in-out infinite;
}

@keyframes waterDrop {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.9;
    }
}

.logo-text-modern h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
    background: linear-gradient(135deg, var(--water-cyan) 0%, var(--primary-blue) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-text-modern span {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.brand-description-modern {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.social-links-modern {
    display: flex;
    gap: 1rem;
}

.social-link-modern {
    position: relative;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--water-cyan);
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link-modern:hover {
    transform: translateY(-5px) scale(1.1);
    background: rgba(102, 204, 255, 0.2);
    box-shadow: 0 10px 25px rgba(102, 204, 255, 0.4);
}

.social-tooltip {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.8rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.social-tooltip::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 5px solid rgba(0, 0, 0, 0.9);
}

.social-link-modern:hover .social-tooltip {
    opacity: 1;
    visibility: visible;
}

/* Footer Sections */
.footer-sections-modern {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-section-modern {
    padding: 1rem;
}

.section-title-modern {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--water-cyan);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(102, 204, 255, 0.3);
}

.section-title-modern i {
    font-size: 1rem;
}

.footer-links-modern {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-modern li {
    margin-bottom: 0.8rem;
}

.footer-link-modern {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.footer-link-modern::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--water-cyan);
    transition: width 0.3s ease;
}

.footer-link-modern:hover {
    color: var(--water-cyan);
    transform: translateX(5px);
}

.footer-link-modern:hover::before {
    width: 100%;
}

/* Contact Info */
.contact-info-modern {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item-modern {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-item-modern:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
    border-color: rgba(102, 204, 255, 0.3);
}

.contact-item-modern i {
    color: var(--water-cyan);
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.contact-item-modern span {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

/* Newsletter Section */
.newsletter-section-modern {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.newsletter-section-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 204, 255, 0.1), transparent);
    animation: newsletterShimmer 3s ease-in-out infinite;
}

.newsletter-content-modern {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.newsletter-text-modern h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--water-cyan);
    margin-bottom: 0.5rem;
}

.newsletter-text-modern p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.newsletter-form-modern {
    min-width: 300px;
}

.input-group-modern {
    display: flex;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.newsletter-input-modern {
    flex: 1;
    background: transparent;
    border: none;
    color: white;
    padding: 0.8rem 1rem;
    font-size: 0.9rem;
    outline: none;
}

.newsletter-input-modern::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-btn-modern {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--water-cyan) 0%, var(--primary-blue) 100%);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-btn-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 204, 255, 0.4);
}

.newsletter-success-modern {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #4CAF50;
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

/* Bottom Section */
.footer-bottom-modern {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
}

.footer-bottom-content-modern {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright-modern p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-size: 0.9rem;
}

.copyright-details-modern {
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

.copyright-details-modern i {
    color: #ff6b6b;
    margin: 0 0.2rem;
}

.footer-legal-modern {
    display: flex;
    gap: 2rem;
}

.legal-link-modern {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.legal-link-modern:hover {
    color: var(--water-cyan);
    transform: translateY(-2px);
}

/* Back to Top Button */
.back-to-top-modern {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--water-cyan) 0%, var(--primary-blue) 100%);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    z-index: 1000;
    box-shadow: 0 8px 25px rgba(102, 204, 255, 0.3);
}

.back-to-top-modern.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top-modern:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 15px 35px rgba(102, 204, 255, 0.5);
}

.back-to-top-ripple {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.6s ease;
}

.back-to-top-modern:hover .back-to-top-ripple {
    width: 100%;
    height: 100%;
}

/* Floating Elements */
.footer-floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.floating-bubble-modern {
    position: absolute;
    background: rgba(102, 204, 255, 0.1);
    border-radius: 50%;
    animation: bubbleFloatModern 8s ease-in-out infinite;
}

.bubble-1 {
    width: 20px;
    height: 20px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.bubble-2 {
    width: 15px;
    height: 15px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.bubble-3 {
    width: 25px;
    height: 25px;
    bottom: 30%;
    left: 20%;
    animation-delay: 4s;
}

.bubble-4 {
    width: 12px;
    height: 12px;
    top: 40%;
    right: 30%;
    animation-delay: 6s;
}

/* Animations */
@keyframes footerWaveModern {
    0%, 100% {
        transform: translateX(0) scaleY(1);
    }
    50% {
        transform: translateX(-25%) scaleY(1.1);
    }
}

@keyframes particleFloatModern {
    0%, 100% {
        transform: translateY(0px) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-20px) scale(1.2);
        opacity: 1;
    }
}

@keyframes logoPulseModern {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 8px 20px rgba(102, 204, 255, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 12px 30px rgba(102, 204, 255, 0.5);
    }
}

@keyframes newsletterShimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

@keyframes bubbleFloatModern {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-30px) rotate(180deg);
    }
}

/* Responsive Design */
/* Mobile media query removed - uses desktop styles */

/* Mobile media query removed - uses desktop styles */



/* Services Hero Section */
.services-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 50, 100, 0.8) 100%);
    color: white;
    overflow: hidden;
}

.hero-bg-services {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero-waves-services {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
}

.hero-wave-service {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background: linear-gradient(45deg, rgba(102, 204, 255, 0.1) 0%, rgba(0, 150, 255, 0.05) 100%);
    border-radius: 50% 50% 0 0;
    animation: heroWaveService 10s ease-in-out infinite;
}

.hero-wave-service.wave-1 {
    animation-delay: 0s;
    opacity: 0.3;
}

.hero-wave-service.wave-2 {
    animation-delay: 3s;
    opacity: 0.2;
}

.hero-wave-service.wave-3 {
    animation-delay: 6s;
    opacity: 0.1;
}

.hero-particles-services {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.particle-service {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--water-cyan);
    border-radius: 50%;
    animation: particleFloatService 8s ease-in-out infinite;
}

.particle-service:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; }
.particle-service:nth-child(2) { left: 30%; top: 40%; animation-delay: 2s; }
.particle-service:nth-child(3) { left: 60%; top: 30%; animation-delay: 4s; }
.particle-service:nth-child(4) { left: 80%; top: 50%; animation-delay: 1s; }
.particle-service:nth-child(5) { left: 90%; top: 25%; animation-delay: 3s; }

.hero-content-services {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 2rem 0;
}

.hero-title-services {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.title-line {
    display: block;
    color: rgba(255, 255, 255, 0.8);
}

.title-highlight {
    display: block;
    background: linear-gradient(135deg, var(--water-cyan) 0%, var(--primary-blue) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description-services {
    font-size: 1.2rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem;
}

.hero-stats-services {
    display: flex;
    gap: 3rem;
}

.stat-item-service {
    text-align: center;
}

.stat-number-service {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--water-cyan);
    margin-bottom: 0.5rem;
}

.stat-label-service {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-visual-services {
    display: flex;
    justify-content: center;
    align-items: center;
}

.floating-cards-services {
    position: relative;
    width: 400px;
    height: 400px;
}

.floating-card-service {
    position: absolute;
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--water-cyan);
    font-size: 0.9rem;
    font-weight: 600;
    animation: floatCardService 6s ease-in-out infinite;
}

.floating-card-service i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.floating-card-service.card-1 {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 0s;
}

.floating-card-service.card-2 {
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    animation-delay: 1s;
}

.floating-card-service.card-3 {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 2s;
}

.floating-card-service.card-4 {
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    animation-delay: 3s;
}

/* Services Grid Section */
.services-grid-section {
    padding: 6rem 0;
    background: var(--bg-color);
}

.section-header-services {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title-services {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.section-description-services {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 204, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(102, 204, 255, 0.2);
}

.service-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.service-icon {
    position: relative;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--water-cyan) 0%, var(--primary-blue) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.icon-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    border-radius: inherit;
    filter: blur(10px);
    opacity: 0.5;
    animation: iconGlow 3s ease-in-out infinite;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
}

.service-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: linear-gradient(135deg, var(--water-cyan) 0%, var(--primary-blue) 100%);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.service-card-body {
    margin-bottom: 2rem;
}

.service-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.feature-item i {
    color: var(--water-cyan);
    font-size: 0.9rem;
}

.feature-item span {
    color: var(--text-color);
    font-size: 0.9rem;
}

.service-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag {
    background: rgba(102, 204, 255, 0.1);
    color: var(--water-cyan);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(102, 204, 255, 0.2);
}

.service-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.service-price {
    display: flex;
    flex-direction: column;
}

.price-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
}

.price-period {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.service-cta {
    background: linear-gradient(135deg, var(--water-cyan) 0%, var(--primary-blue) 100%);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.service-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 204, 255, 0.4);
}

/* Process Section */
.process-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.05) 0%, rgba(102, 204, 255, 0.05) 100%);
}

.process-timeline {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 4rem;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--water-cyan) 0%, var(--primary-blue) 100%);
    z-index: 1;
}

.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
    flex: 1;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--water-cyan) 0%, var(--primary-blue) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    box-shadow: 0 8px 20px rgba(102, 204, 255, 0.3);
}

.step-content {
    max-width: 200px;
}

.step-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.step-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.step-icon {
    width: 40px;
    height: 40px;
    background: rgba(102, 204, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--water-cyan);
    margin-top: 1rem;
}

/* CTA Section */
.services-cta-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 50, 100, 0.8) 100%);
    color: white;
}

.cta-content-services {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.cta-text-services h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-text-services p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
}

.cta-btn-primary {
    background: linear-gradient(135deg, var(--water-cyan) 0%, var(--primary-blue) 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(102, 204, 255, 0.4);
}

.cta-btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 1rem 2rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.cta-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.cta-visual-services {
    display: flex;
    justify-content: center;
}

.cta-card-services {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    max-width: 300px;
}

.cta-card-services i {
    font-size: 3rem;
    color: var(--water-cyan);
    margin-bottom: 1rem;
}

.cta-card-services h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.cta-card-services p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

/* Animations */
@keyframes heroWaveService {
    0%, 100% {
        transform: translateX(0) scaleY(1);
    }
    50% {
        transform: translateX(-25%) scaleY(1.1);
    }
}

@keyframes particleFloatService {
    0%, 100% {
        transform: translateY(0px) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-30px) scale(1.2);
        opacity: 1;
    }
}

@keyframes floatCardService {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

@keyframes iconGlow {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

/* Responsive Design */
/* Mobile media query removed - uses desktop styles */

/* Mobile media query removed - uses desktop styles */


/* --- Navigation Bar Fixes --- */

/* Remove default link styles for nav */
.modern-nav .nav-menu a.nav-item {
  color: var(--text-primary) !important;
  text-decoration: none !important;
  font-weight: 500;
  font-size: 1rem;
  background: rgba(255,255,255,0.08);
  border-radius: 25px;
  margin: 0 0.25rem;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  transition: all 0.3s cubic-bezier(.25,.8,.25,1);
  box-shadow: 0 2px 8px rgba(102,204,255,0.08);
}

.modern-nav .nav-menu a.nav-item:hover, .modern-nav .nav-menu a.nav-item:focus {
  background: rgba(102,204,255,0.15);
  color: var(--water-cyan) !important;
  box-shadow: 0 4px 16px rgba(102,204,255,0.18);
  outline: none;
}

.modern-nav .nav-menu a.nav-item .nav-icon {
  color: var(--water-cyan);
  font-size: 1.1rem;
  transition: color 0.3s, transform 0.3s;
}

.modern-nav .nav-menu a.nav-item:hover .nav-icon {
  color: var(--primary-blue);
  transform: scale(1.2) rotate(5deg);
}

.modern-nav .nav-menu a.nav-item .nav-underline {
  position: absolute;
  left: 20%;
  bottom: 10px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--water-cyan), var(--primary-blue));
  border-radius: 1px;
  transition: width 0.3s;
}

.modern-nav .nav-menu a.nav-item:hover .nav-underline,
.modern-nav .nav-menu a.nav-item:focus .nav-underline {
  width: 60%;
}

/* Remove underline from all nav links */
.modern-nav .nav-menu a.nav-item:visited {
  color: var(--text-primary) !important;
  text-decoration: none !important;
}

/* Hamburger Menu Button */
.hamburger-menu-btn {
    display: none;
}

/* Mobile media query removed - uses desktop styles */

/* --- Search Overlay Fixes --- */

.search-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10, 20, 40, 0.85);
  backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  transition: all 0.3s;
}

.search-overlay .search-container {
  background: rgba(30, 40, 60, 0.7);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
  padding: 2.5rem 2rem 2rem 2rem;
  min-width: 350px;
  max-width: 95vw;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  position: relative;
}

.search-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.search-header h3 {
  color: var(--water-cyan);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
}

.search-close {
  background: none;
  border: none;
  color: var(--water-cyan);
  font-size: 1.5rem;
  cursor: pointer;
  border-radius: 50%;
  padding: 0.5rem;
  transition: background 0.2s;
}
.search-close:hover {
  background: rgba(102,204,255,0.1);
}

.search-input-wrapper {
  position: relative;
  margin-bottom: 1.5rem;
}

.search-input {
  width: 100%;
  padding: 1rem 3rem 1rem 1rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(102,204,255,0.15);
  border-radius: 12px;
  color: #fff;
  font-size: 1.1rem;
  outline: none;
  transition: border 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(102,204,255,0.08);
}
.search-input:focus {
  border: 1.5px solid var(--water-cyan);
  box-shadow: 0 0 12px rgba(102,204,255,0.18);
}
.search-input::placeholder {
  color: #b6d6f6;
  opacity: 0.7;
}

.search-icon {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--water-cyan);
  font-size: 1.3rem;
  pointer-events: none;
  z-index: 2;
}

.search-results {
  max-height: 250px;
  overflow-y: auto;
  color: #fff;
  font-size: 1rem;
  margin-top: 0.5rem;
}

/* Mobile media query removed - uses desktop styles */

/* --- Search Overlay Visibility Fix --- */
.search-overlay {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.3s;
}
.search-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* --- Hide nav on scroll down --- */
.modern-nav.nav-hidden {
  transform: translateY(-120%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(.4,0,.2,1), opacity 0.3s;
}
.modern-nav {
  transition: transform 0.4s cubic-bezier(.4,0,.2,1), opacity 0.3s;
}

/* --- Floating Overlay Nav --- */
.modern-nav.floating-nav {
  position: absolute !important;
  left: 50%;
  transform: translate(-50%, 0);
  width: 90vw;
  max-width: 1100px;
  top: var(--floating-nav-top, 0px);
  background: rgba(20, 30, 50, 0.85);
  box-shadow: 0 8px 32px rgba(0,0,0,0.18), 0 1.5px 8px rgba(102,204,255,0.08);
  border-radius: 22px;
  z-index: 3000;
  backdrop-filter: blur(16px);
  margin: 0 auto;
  transition: top 0.3s, opacity 0.3s, transform 0.4s cubic-bezier(.4,0,.2,1);
}

/* Mobile media queries removed - uses desktop styles */
.contact-hero-modern {
  position: relative;
  padding: 5rem 0 2rem 0;
  background: var(--gradient-primary);
  overflow: hidden;
  min-height: 350px;
  z-index: 1;
}
.contact-hero-modern .hero-content-modern {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.hero-text-modern {
  flex: 1 1 350px;
  z-index: 2;
}
.hero-title-modern {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1rem;
  line-height: 1.1;
  letter-spacing: -1px;
  animation: titleSlideIn 1s cubic-bezier(0.4,0,0.2,1);
}
.hero-title-modern .title-accent {
  color: var(--primary-glow);
  text-shadow: 0 0 16px var(--primary-glow);
  animation: glow 2s infinite alternate;
}
.hero-title-modern .title-line {
  display: block;
  opacity: 0;
  animation: fadeInUp 0.7s forwards;
}
.hero-title-modern .title-line:nth-child(1) { animation-delay: 0.2s; }
.hero-title-modern .title-line:nth-child(2) { animation-delay: 0.5s; }
.hero-subtitle-modern {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  animation: fadeInUp 1s 0.7s forwards;
  opacity: 0;
}
.hero-visual-modern {
  flex: 1 1 250px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  z-index: 2;
}
.floating-cards {
  display: flex;
  gap: 1.5rem;
}
.floating-card {
  width: 64px;
  height: 64px;
  background: var(--card-bg);
  box-shadow: 0 8px 32px var(--card-shadow);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--primary-glow);
  animation: floatCard 4s ease-in-out infinite;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
}
.floating-card.card-1 { animation-delay: 0s; }
.floating-card.card-2 { animation-delay: 1s; }
.floating-card.card-3 { animation-delay: 2s; }
.floating-card:hover {
  background: var(--card-bg-hover);
  color: var(--primary-color);
  transform: scale(1.15) translateY(-8px);
  box-shadow: 0 12px 40px var(--card-shadow-hover);
}
.water-bubbles {
  position: absolute;
  left: 0; top: 0; width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
}
.bubble {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(102,204,255,0.3) 0%, rgba(0,153,255,0.1) 70%, transparent 100%);
  animation: bubbleFloatModern 8s ease-in-out infinite;
}
.bubble-1 { width: 60px; height: 60px; left: 10%; top: 60%; animation-delay: 0s; }
.bubble-2 { width: 40px; height: 40px; left: 80%; top: 30%; animation-delay: 2s; }
.bubble-3 { width: 80px; height: 80px; left: 50%; top: 80%; animation-delay: 4s; }
.bubble-4 { width: 50px; height: 50px; left: 70%; top: 10%; animation-delay: 6s; }

/* Contact Modern Section */
.contact-modern-section {
  padding: 3rem 0 2rem 0;
  background: var(--bg-gradient-end);
  position: relative;
  z-index: 2;
}
.contact-modern-grid {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
}
.contact-modern-info {
  flex: 1 1 320px;
  background: var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-soft);
  padding: 2rem 1.5rem;
  margin-bottom: 2rem;
  animation: fadeInUp 1s 0.2s forwards;
  opacity: 0;
}
.contact-modern-info h2 {
  font-size: 1.5rem;
  color: var(--primary-glow);
  margin-bottom: 1.2rem;
}
.contact-methods-modern {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.contact-method-modern {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--card-bg-hover);
  border-radius: 10px;
  padding: 0.8rem 1.2rem;
  color: var(--text-primary);
  text-decoration: none;
  box-shadow: 0 2px 12px var(--card-shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.contact-method-modern:hover {
  background: var(--primary-glow);
  color: var(--primary-blue);
  transform: scale(1.04) translateY(-2px);
  box-shadow: 0 4px 24px var(--card-shadow-hover);
}
.contact-icon-modern {
  font-size: 1.6rem;
  color: var(--primary-color);
  background: var(--card-bg);
  border-radius: 50%;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px var(--card-shadow);
  transition: var(--transition);
}
.contact-method-modern:hover .contact-icon-modern {
  background: var(--primary-glow);
  color: var(--primary-blue);
}
.contact-details-modern {
  display: flex;
  flex-direction: column;
}
.contact-label {
  font-weight: 600;
  font-size: 1rem;
  color: var(--primary-glow);
}
.contact-value {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* Modern Contact Form */
.contact-modern-form-container {
  flex: 1 1 400px;
  background: var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-medium);
  padding: 2.5rem 2rem;
  animation: fadeInUp 1s 0.4s forwards;
  opacity: 0;
  position: relative;
}
.contact-modern-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.form-group-modern {
  position: relative;
  margin-bottom: 1.2rem;
}
.form-group-modern input,
.form-group-modern textarea {
  width: 100%;
  padding: 1rem 0.8rem 0.5rem 0.8rem;
  background: transparent;
  border: none;
  border-bottom: 2px solid var(--primary-glow);
  color: var(--text-primary);
  font-size: 1.1rem;
  border-radius: 0;
  outline: none;
  transition: border-color 0.3s;
  resize: none;
  font-family: inherit;
}
.form-group-modern input:focus,
.form-group-modern textarea:focus {
  border-bottom: 2.5px solid var(--primary-color);
}
.form-group-modern label {
  position: absolute;
  left: 0.9rem;
  top: 1.1rem;
  color: var(--text-secondary);
  font-size: 1rem;
  pointer-events: none;
  transition: 0.2s;
  opacity: 0.7;
}
.form-group-modern input:focus + label,
.form-group-modern input:not(:placeholder-shown) + label,
.form-group-modern input.has-value + label,
.form-group-modern input.focused + label,
.form-group-modern textarea:focus + label,
.form-group-modern textarea:not(:placeholder-shown) + label,
.form-group-modern.has-value label,
.form-group-modern.focused label {
  top: -0.7rem;
  left: 0.5rem;
  font-size: 0.9rem;
  color: var(--primary-glow);
  opacity: 1;
}
.input-underline {
  display: block;
  position: absolute;
  left: 0; bottom: 0;
  width: 0%; height: 2px;
  background: var(--primary-color);
  border-radius: 2px;
  transition: width 0.3s cubic-bezier(0.4,0,0.2,1);
}
.form-group-modern input:focus ~ .input-underline,
.form-group-modern textarea:focus ~ .input-underline {
  width: 100%;
}
.btn-modern {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.9rem 2.2rem;
  font-size: 1.1rem;
  font-weight: 700;
  border: none;
  border-radius: 30px;
  background: var(--gradient-primary);
  color: var(--white);
  box-shadow: 0 4px 16px var(--card-shadow);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.btn-modern .btn-icon {
  font-size: 1.3rem;
  transition: transform 0.3s;
}
.btn-modern:hover {
  background: var(--gradient-secondary);
  color: var(--primary-blue);
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 8px 32px var(--card-shadow-hover);
}
.btn-modern:hover .btn-icon {
  transform: translateX(6px) scale(1.2);
}
.form-success-modern {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  background: var(--card-bg-hover);
  border-radius: var(--border-radius);
  box-shadow: 0 2px 12px var(--card-shadow);
  margin-top: 1.5rem;
  animation: fadeInScale 0.7s;
}
.success-icon-modern {
  font-size: 2.5rem;
  color: #4CAF50;
  margin-bottom: 0.7rem;
  animation: pulse 1.2s infinite alternate;
}

/* Map Modern Section */
.map-modern-section {
  padding: 2.5rem 0 3rem 0;
  background: var(--bg-gradient-start);
  position: relative;
  z-index: 1;
}
.map-title-modern {
  font-size: 1.4rem;
  color: var(--primary-glow);
  margin-bottom: 1.2rem;
  text-align: center;
}
.map-modern-placeholder {
  margin: 0 auto;
  max-width: 420px;
  background: var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-soft);
  padding: 2rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInUp 1s 0.6s forwards;
  opacity: 0;
}
.map-modern-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-glow);
  font-size: 1.1rem;
}
.map-modern-content i {
  font-size: 2.2rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  animation: bounce 1.5s infinite alternate;
}

/* Animations */
@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-18px); }
}
@keyframes bubbleFloatModern {
  0% { transform: translateY(0) scale(1); opacity: 0.7; }
  50% { transform: translateY(-40px) scale(1.1); opacity: 1; }
  100% { transform: translateY(0) scale(1); opacity: 0.7; }
}
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInScale {
  0% { opacity: 0; transform: scale(0.9); }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes titleSlideIn {
  0% { opacity: 0; transform: translateY(-40px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes glow {
  0% { text-shadow: 0 0 16px var(--primary-glow); }
  100% { text-shadow: 0 0 32px var(--primary-color); }
}
@keyframes bounce {
  0% { transform: translateY(0); }
  100% { transform: translateY(-10px); }
}

/* Mobile media queries removed - uses desktop styles */

  
/* --- Modern Water-Themed Loading Screen Styles --- */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0a1929 0%, #1a365d 50%, #2d5a87 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
  overflow: hidden;
}

.loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
  display: none !important;
  pointer-events: none;
  z-index: -1;
}

.loading-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* Loading Waves */
.loading-waves {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 200px;
}

.loading-wave {
  position: absolute;
  bottom: 0;
  width: 200%;
  height: 100%;
  background: linear-gradient(45deg, rgba(102, 204, 255, 0.4), rgba(0, 153, 255, 0.3));
  border-radius: 50% 50% 0 0;
  animation: loadingWave 6s ease-in-out infinite;
}

.loading-wave.wave-1 {
  animation-delay: 0s;
  opacity: 0.8;
}

.loading-wave.wave-2 {
  animation-delay: 2s;
  opacity: 0.6;
}

.loading-wave.wave-3 {
  animation-delay: 4s;
  opacity: 0.4;
}

/* Loading Particles */
.loading-particles {
  position: absolute;
  width: 100%;
  height: 100%;
}

.loading-particle {
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--primary-glow);
  border-radius: 50%;
  animation: loadingParticleFloat 8s linear infinite;
  box-shadow: 0 0 12px var(--primary-glow);
}

.loading-particle:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; }
.loading-particle:nth-child(2) { left: 30%; top: 40%; animation-delay: 1s; }
.loading-particle:nth-child(3) { left: 60%; top: 30%; animation-delay: 2s; }
.loading-particle:nth-child(4) { left: 80%; top: 50%; animation-delay: 3s; }
.loading-particle:nth-child(5) { left: 90%; top: 25%; animation-delay: 4s; }
.loading-particle:nth-child(6) { left: 20%; top: 60%; animation-delay: 5s; }
.loading-particle:nth-child(7) { left: 70%; top: 15%; animation-delay: 6s; }
.loading-particle:nth-child(8) { left: 40%; top: 70%; animation-delay: 7s; }

/* Water State Transformation Animation */
.water-state-container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  text-align: center;
}

.state-animation {
  position: relative;
  width: 160px; /* slightly smaller for balance */
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Liquid State */
.state-liquid {
  position: absolute;
  width: 120px;
  height: 80px;
  background: linear-gradient(135deg, #66ccff 0%, #0099ff 100%);
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    /* Animation reduced for performance */
    animation: liquidFlow 6s ease-in-out;
  box-shadow: 0 0 30px rgba(102, 204, 255, 0.5);
}

.state-liquid::before {
  content: '';
  position: absolute;
  top: 20%;
  left: 20%;
  width: 60%;
  height: 60%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, transparent 100%);
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
}

/* Solid State (Ice) */
.state-solid {
  position: absolute;
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, #e0f7fa 0%, #b0e0e6 100%);
  border-radius: 15px;
  transform: rotate(45deg);
    /* Animation reduced for performance */
    animation: iceCrystal 8s ease-in-out;
  box-shadow: 0 0 30px rgba(176, 224, 230, 0.6);
  opacity: 0;
}

.state-solid::before {
  content: '';
  position: absolute;
  top: 10%;
  left: 10%;
  width: 80%;
  height: 80%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, transparent 100%);
  border-radius: 10px;
  transform: rotate(-45deg);
}

/* Gas State */
.state-gas {
  position: absolute;
  width: 140px;
  height: 60px;
  background: radial-gradient(ellipse, rgba(102, 204, 255, 0.6) 0%, rgba(102, 204, 255, 0.2) 70%, transparent 100%);
  border-radius: 50%;
    /* Animation reduced for performance */
    animation: gasExpand 5s ease-in-out;
  opacity: 0;
}

.state-gas::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80%;
  height: 80%;
  background: radial-gradient(ellipse, rgba(255, 255, 255, 0.3) 0%, transparent 100%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

/* State Labels */
.state-label {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.2rem;
  font-weight: 600;
  color: #66ccff;
  text-shadow: 0 0 10px rgba(102, 204, 255, 0.5);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.state-label.active {
  opacity: 1;
}

/* Loading Logo */
.loading-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

/* New orbital behind the loader molecule */
.loading-orbital {
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(102, 204, 255, 0.0), rgba(102, 204, 255, 0.35), rgba(0, 170, 255, 0.65), rgba(102, 204, 255, 0.35), rgba(102, 204, 255, 0.0));
  filter: blur(16px);
    /* Animation reduced for performance */
    animation: orbitalSpin 7s linear;
  box-shadow: 0 0 40px rgba(0, 170, 255, 0.35);
}

@keyframes orbitalSpin {
  0% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.04); }
  100% { transform: rotate(360deg) scale(1); }
}

.logo-molecule {
  position: relative;
  width: 80px;
  height: 80px;
  animation: moleculeRotate 4s linear infinite;
}

.oxygen-atom {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 24px;
  background: var(--primary-color);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 20px var(--primary-glow);
  animation: oxygenPulse 2s ease-in-out infinite;
}

.hydrogen-atom {
  position: absolute;
  width: 16px;
  height: 16px;
  background: var(--light-blue);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--light-blue);
  animation: hydrogenOrbit 3s linear infinite;
}

.hydrogen-1 {
  top: 10%;
  left: 20%;
  animation-delay: 0s;
}

.hydrogen-2 {
  top: 10%;
  right: 20%;
  animation-delay: 1.5s;
}

.bond {
  position: absolute;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-glow), var(--light-blue));
  border-radius: 1px;
  animation: bondGlow 2s ease-in-out infinite;
}

.bond-1 {
  top: 50%;
  left: 50%;
  width: 20px;
  transform: translate(-50%, -50%) rotate(-45deg);
  animation-delay: 0s;
}

.bond-2 {
  top: 50%;
  left: 50%;
  width: 20px;
  transform: translate(-50%, -50%) rotate(45deg);
  animation-delay: 1s;
}

.loading-title {
  font-size: 3rem;
  font-weight: 800;
  color: var(--white);
  margin: 0;
  text-shadow: 0 0 20px var(--primary-glow);
  animation: titleGlow 3s ease-in-out infinite;
}

.loading-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin: 0;
  animation: subtitleFloat 2s ease-in-out infinite;
}

/* Loading Progress */
.loading-progress {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  width: 360px; /* wider progress bar */
  max-width: 90vw;
}

.progress-container {
  width: 100%;
  height: 8px; /* thicker bar */
  background: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  backdrop-filter: blur(10px);
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #66ccff 0%, #0099ff 50%, #66ccff 100%);
  border-radius: 6px;
  width: 0%;
  transition: width 0.25s ease;
  position: relative;
  overflow: hidden;
}

.progress-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  animation: progressShimmer 2s infinite;
}

.progress-text {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  text-align: center;
}

/* Loading Stats */
.loading-stats {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 1.25rem; /* tighter spacing */
  margin-top: 1rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1rem;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 15px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(102, 204, 255, 0.15);
  transition: all 0.3s ease;
  min-width: 80px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.stat-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(102, 204, 255, 0.3);
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: #8fd6ff;
    text-shadow: 0 0 10px rgba(102, 204, 255, 0.5);
    font-family: 'Roboto Mono', 'Menlo', 'Consolas', monospace;
    min-width: 3.5ch;
    width: 3.5ch;
    display: inline-block;
    text-align: center;
    letter-spacing: 0.05em;
    transition: none !important;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

/* Loading Tips */
.loading-tips {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.tip-container {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 25px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: tipFloat 3s ease-in-out infinite;
}

.tip-icon {
  font-size: 1.2rem;
  color: #66ccff;
  animation: iconSpin 4s linear infinite;
}

.tip-text {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

/* Water State Animations */
@keyframes liquidFlow {
  0%, 100% { 
    transform: scale(1) rotate(0deg);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  }
  25% { 
    transform: scale(1.1) rotate(5deg);
    border-radius: 45% 55% 55% 45% / 55% 65% 35% 45%;
  }
  50% { 
    transform: scale(0.9) rotate(-5deg);
    border-radius: 55% 45% 45% 55% / 65% 55% 45% 35%;
  }
  75% { 
    transform: scale(1.05) rotate(3deg);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  }
}

@keyframes iceCrystal {
  0%, 100% { 
    transform: rotate(45deg) scale(1);
    opacity: 0;
  }
  25% { 
    transform: rotate(45deg) scale(1.1);
    opacity: 1;
  }
  50% { 
    transform: rotate(45deg) scale(0.9);
    opacity: 1;
  }
  75% { 
    transform: rotate(45deg) scale(1.05);
    opacity: 1;
  }
}

@keyframes gasExpand {
  0%, 100% { 
    transform: scale(0.8);
    opacity: 0;
  }
  25% { 
    transform: scale(1.2);
    opacity: 0.8;
  }
  50% { 
    transform: scale(1);
    opacity: 1;
  }
  75% { 
    transform: scale(1.1);
    opacity: 0.6;
  }
}

/* Molecule Animations */
@keyframes moleculeFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-20px) rotate(90deg); }
  50% { transform: translateY(-10px) rotate(180deg); }
  75% { transform: translateY(-30px) rotate(270deg); }
}

@keyframes corePulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.2); }
}

@keyframes orbitRotate {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes electronGlow {
  0%, 100% { box-shadow: 0 0 10px #66ccff; }
  50% { box-shadow: 0 0 20px #66ccff, 0 0 30px #66ccff; }
}

@keyframes moleculeRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes oxygenPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.2); }
}

@keyframes hydrogenOrbit {
  0% { transform: rotate(0deg) translateX(25px) rotate(0deg); }
  100% { transform: rotate(360deg) translateX(25px) rotate(-360deg); }
}

@keyframes bondGlow {
  0%, 100% { opacity: 0.6; box-shadow: 0 0 5px var(--primary-glow); }
  50% { opacity: 1; box-shadow: 0 0 15px var(--primary-glow); }
}

@keyframes titleGlow {
  0%, 100% { text-shadow: 0 0 20px var(--primary-glow); }
  50% { text-shadow: 0 0 40px var(--primary-color); }
}

@keyframes subtitleFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

@keyframes progressShimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

@keyframes progressGlow {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.6; }
}

@keyframes textPulse {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

@keyframes tipFloat {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-10px); }
}

@keyframes iconSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Responsive Design */
/* Mobile media query removed - uses desktop styles */

/* Mobile media query removed - uses desktop styles */


/* Hide main content during loading - but don't blur */
body.loading .main-content,
body.loading .navbar,
body.loading .footer {
  opacity: 0;
  pointer-events: none;
}

body.loading .main-content {
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Ensure no blur is applied to body during loading */
body.loading {
  filter: none !important;
  backdrop-filter: none !important;
}

/* Show content after loading */
body.loaded .main-content,
body.loaded .navbar,
body.loaded .footer {
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

body.loaded .main-content {
  transform: translateY(0);
}

/* Force loading screen to be hidden when not needed */
.loading-screen:not(.hidden) {
  z-index: 9999;
}

body.loaded .loading-screen,
.loading-screen.hidden {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  z-index: -1 !important;
}

@keyframes iconSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes loadingComplete {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.8; }
  100% { transform: scale(0.8); opacity: 0; }
}

/* === Custom Cursor === */
body.cursor-enabled {
  cursor: none;
}

.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 10000;
  will-change: transform, width, height, opacity;
}

.cursor-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary-glow);
  box-shadow: 0 0 10px var(--primary-glow);
}

.cursor-ring {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid rgba(102, 204, 255, 0.6);
  background: radial-gradient(circle, rgba(102, 204, 255, 0.15) 0%, rgba(102, 204, 255, 0.05) 60%, transparent 70%);
  transition: width 0.15s ease, height 0.15s ease, opacity 0.2s ease, border-color 0.15s ease;
}

.cursor-ring.active {
  width: 36px;
  height: 36px;
  border-color: rgba(255, 255, 255, 0.9);
}

.cursor-ring.link-hover {
  width: 42px;
  height: 42px;
  border-color: #66ccff;
}

/* Mobile media query removed - uses desktop styles */

/* === Themed Scrollbar === */
/* WebKit */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: linear-gradient(180deg, rgba(0, 17, 34, 0.6), rgba(0, 51, 102, 0.6));
  border-radius: 8px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #0099ff, #66ccff);
  border-radius: 8px;
  border: 2px solid rgba(0, 0, 0, 0);
  background-clip: padding-box;
  box-shadow: inset 0 0 6px rgba(255, 255, 255, 0.2);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #00aaff, #7ad3ff);
}

/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: #4db8ff rgba(0, 17, 34, 0.3);
}

/* Mobile media queries removed - uses desktop styles */

/* Filter tabs horizontal scroll on mobile */
.filter-tabs-modern {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.filter-tabs-modern::-webkit-scrollbar { display: none; }
.filter-tab-modern { flex: 0 0 auto; min-width: 160px; }

@keyframes moleculeClick {
  0% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.2); }
  100% { transform: rotate(360deg) scale(1); }
}

/* ============================================
   ALL MOBILE DESIGN/STYLE/COLOR RULES REMOVED
   Mobile now uses desktop styles directly
   Only dark theme override remains (lines 10969-11158)
   ============================================ */
  