/* Global Overflow Prevention */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #0a0a0a;
    overflow-x: hidden;
    width: 100%;
    min-height: 100vh;
    position: relative;
}

/* Prevent horizontal scroll on all elements */
section,
.container,
.nav-container {
    max-width: 100%;
    overflow-x: hidden;
}

/* Animated Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #0a0a0a, #1a1a2e, #16213e, #0f3460);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    z-index: -2;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Floating particles */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(0, 255, 255, 0.6);
    border-radius: 50%;
    animation: float 20s infinite linear;
}

@keyframes float {
    0% {
        transform: translateY(100vh) translateX(0px);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) translateX(100px);
        opacity: 0;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    width: 100%;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
}

/* Glass morphism effect */
.glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
}

/* Neon glow effects */
.neon-blue {
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3),
                0 0 40px rgba(0, 255, 255, 0.2),
                0 0 60px rgba(0, 255, 255, 0.1);
}

.neon-purple {
    box-shadow: 0 0 20px rgba(138, 43, 226, 0.4),
                0 0 40px rgba(138, 43, 226, 0.3),
                0 0 60px rgba(138, 43, 226, 0.2);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #ffffff;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

h1 {
    font-size: 4rem;
    font-weight: 700;
    background: linear-gradient(135deg, #00ffff, #ff00ff, #ffff00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textGlow 3s ease-in-out infinite alternate;
}

@keyframes textGlow {
    from {
        filter: drop-shadow(0 0 20px rgba(0, 255, 255, 0.8));
    }
    to {
        filter: drop-shadow(0 0 30px rgba(255, 0, 255, 0.8));
    }
}

h2 {
    font-size: clamp(2rem, 5vw, 2.8rem);
    background: linear-gradient(135deg, #00ffff, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    position: relative;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #00ffff, transparent);
    border-radius: 2px;
}

h3 {
    font-size: 1.6rem;
    color: #00ffff;
}

p {
    margin-bottom: 1rem;
    color: #b0b0b0;
    font-size: 1.1rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.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;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #00ffff, #0080ff);
    color: #000;
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.3);
    border: 2px solid transparent;
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 255, 255, 0.4);
    background: linear-gradient(135deg, #00ffff, #ff00ff);
}

.btn-secondary {
    background: transparent;
    color: #00ffff;
    border: 2px solid #00ffff;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(0, 255, 255, 0.1);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.4);
    color: #ffffff;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.95);
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

@media (min-width: 1400px) {
    .nav-container {
        max-width: 1400px;
        padding: 0 3rem;
    }
}

@media (min-width: 1920px) {
    .nav-container {
        max-width: 1600px;
    }
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    height: 45px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(0, 255, 255, 0.5));
    transition: all 0.3s ease;
}

.logo:hover {
    filter: drop-shadow(0 0 20px rgba(0, 255, 255, 0.8));
    transform: scale(1.1);
}

.company-name {
    font-weight: 700;
    font-size: 1.4rem;
    background: linear-gradient(135deg, #00ffff, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 10px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00ffff, #ff00ff);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: #00ffff;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
    padding: 5px;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: #00ffff;
    margin: 4px 0;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(ellipse at center, rgba(0, 255, 255, 0.1) 0%, transparent 70%),
                linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    color: white;
    overflow: hidden;
    border-bottom: 2px solid transparent;
    background-clip: padding-box;
    width: 100%;
    padding: 0;
    padding-top: 80px;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(0, 255, 255, 0.5) 25%, 
        rgba(255, 0, 255, 0.5) 50%, 
        rgba(0, 255, 255, 0.5) 75%, 
        transparent 100%
    );
    animation: borderGlow 3s ease-in-out infinite alternate;
    z-index: 10;
}

@keyframes borderGlow {
    0% { 
        opacity: 0.5;
        box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
    }
    100% { 
        opacity: 1;
        box-shadow: 0 0 40px rgba(0, 255, 255, 0.6);
    }
}

/* Video Background */
.hero-video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    border-radius: 0;
}

.hero-video-background video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%) scale(1.05);
    object-fit: cover;
    filter: brightness(0.4) contrast(1.2) saturate(1.1) blur(0.5px);
    transition: all 0.3s ease;
    opacity: 0;
}

.hero-video-background video.loaded {
    opacity: 1;
}

.hero:hover .hero-video-background video {
    transform: translate(-50%, -50%) scale(1.08);
    filter: brightness(0.5) contrast(1.3) saturate(1.2) blur(0px);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(0, 255, 255, 0.15) 0%,
        rgba(138, 43, 226, 0.1) 25%,
        rgba(0, 0, 0, 0.4) 50%,
        rgba(255, 0, 255, 0.1) 75%,
        rgba(0, 255, 255, 0.15) 100%
    );
    backdrop-filter: blur(1px);
    z-index: 2;
    transition: all 0.3s ease;
}

.video-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        circle at 30% 70%,
        rgba(0, 255, 255, 0.1) 0%,
        transparent 50%
    ),
    radial-gradient(
        circle at 70% 30%,
        rgba(255, 0, 255, 0.1) 0%,
        transparent 50%
    );
    animation: overlayPulse 6s ease-in-out infinite alternate;
}

@keyframes overlayPulse {
    0% { opacity: 0.5; }
    100% { opacity: 1; }
}

.video-controls {
    position: absolute;
    bottom: 30px;
    right: 30px;
    z-index: 6;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hero:hover .video-controls {
    opacity: 1;
}

.video-toggle {
    background: rgba(0, 255, 255, 0.2);
    border: 2px solid rgba(0, 255, 255, 0.5);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.video-toggle:hover {
    background: rgba(0, 255, 255, 0.3);
    border-color: rgba(0, 255, 255, 0.8);
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.4);
}

.video-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 3;
    color: #00ffff;
    transition: opacity 0.5s ease;
}

.video-loading.hidden {
    opacity: 0;
    pointer-events: none;
}

.video-loader {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(0, 255, 255, 0.3);
    border-top: 3px solid #00ffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

.video-loading p {
    font-size: 1rem;
    margin: 0;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.hero:hover .video-overlay {
    background: linear-gradient(
        135deg,
        rgba(0, 255, 255, 0.2) 0%,
        rgba(138, 43, 226, 0.15) 25%,
        rgba(0, 0, 0, 0.3) 50%,
        rgba(255, 0, 255, 0.15) 75%,
        rgba(0, 255, 255, 0.2) 100%
    );
}

.hero::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 1000 1000"><defs><pattern id="circuit" x="0" y="0" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M10 10h80v80h-80z" fill="none" stroke="rgba(0,255,255,0.1)" stroke-width="1"/><circle cx="50" cy="50" r="3" fill="rgba(0,255,255,0.3)"/><path d="M50 10v40M10 50h40M50 60v30M60 50h30" stroke="rgba(0,255,255,0.2)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23circuit)"/></svg>') repeat;
    opacity: 0.2;
    animation: circuitFlow 20s linear infinite;
    z-index: 3;
}

@keyframes circuitFlow {
    0% { transform: translateX(0) translateY(0); }
    100% { transform: translateX(-100px) translateY(-100px); }
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(0, 255, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 0, 255, 0.1) 0%, transparent 50%);
    animation: backgroundPulse 8s ease-in-out infinite alternate;
    z-index: 4;
}

@keyframes backgroundPulse {
    0% { opacity: 0.3; }
    100% { opacity: 0.7; }
}

.hero-content {
    position: relative;
    z-index: 5;
    text-align: center;
    max-width: 1100px;
    margin: 0 auto;
    animation: heroFadeIn 2s ease-out;
    padding: 2rem 1rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

@keyframes heroFadeIn {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    margin-top: 0;
    background: linear-gradient(135deg, #00ffff 0%, #ff00ff 50%, #ffff00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleGlow 4s ease-in-out infinite alternate;
    text-shadow: 0 0 50px rgba(0, 255, 255, 0.5);
    position: relative;
    z-index: 6;
    line-height: 1.2;
    text-align: center;
    word-break: keep-all;
    white-space: nowrap;
    overflow: visible;
}

.hero-title::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #00ffff 0%, #ff00ff 50%, #ffff00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: blur(2px);
    opacity: 0.7;
    z-index: -1;
    animation: titleGlowBg 4s ease-in-out infinite alternate;
}

@keyframes titleGlowBg {
    0% {
        filter: blur(2px) brightness(1);
        opacity: 0.7;
    }
    100% {
        filter: blur(3px) brightness(1.5);
        opacity: 0.9;
    }
}

@keyframes titleGlow {
    0% {
        filter: drop-shadow(0 0 20px rgba(0, 255, 255, 0.8));
        transform: scale(1);
    }
    100% {
        filter: drop-shadow(0 0 40px rgba(255, 0, 255, 0.8));
        transform: scale(1.02);
    }
}

.hero-tagline {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 500;
    margin-bottom: 2rem;
    color: #00ffff;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
    animation: taglineFloat 3s ease-in-out infinite alternate;
    text-align: center;
    line-height: 1.3;
}

@keyframes taglineFloat {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-10px); }
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.2rem);
    margin-bottom: 3rem;
    color: #b0b0b0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    text-align: center;
    padding: 0 1rem;
}

.hero-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
    padding: 0 1rem;
}

@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        padding: 0 0.5rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
}

/* Floating elements */
.floating-element {
    position: absolute;
    width: 100px;
    height: 100px;
    border: 2px solid rgba(0, 255, 255, 0.2);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.floating-element:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.floating-element:nth-child(3) {
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* Professional Layout Improvements */
.section-header {
    text-align: center;
    margin-bottom: 5rem;
    position: relative;
    padding: 0 1rem;
}

@media (max-width: 768px) {
    .section-header {
        margin-bottom: 3rem;
        padding: 0 0.5rem;
    }
}

@media (max-width: 480px) {
    .section-header {
        margin-bottom: 2.5rem;
    }
}

.section-header::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100px;
    background: linear-gradient(to bottom, transparent, #00ffff, transparent);
}

.section-header p {
    font-size: 1.2rem;
    color: #b0b0b0;
    max-width: 600px;
    margin: 1rem auto 0;
    line-height: 1.6;
}

/* About Section */
.about {
    padding: 8rem 0;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.9), rgba(26, 26, 46, 0.9));
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(0, 255, 255, 0.05) 0%, transparent 50%);
}

.about-content {
    margin-bottom: 5rem;
    position: relative;
    z-index: 2;
}

.about-text {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(0, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .about-text {
        padding: 2.5rem 2rem;
    }
    
    .about-text h3 {
        font-size: 1.6rem;
    }
    
    .about-text p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .about-text {
        padding: 2rem 1.5rem;
    }
    
    .about-text h3 {
        font-size: 1.4rem;
        margin-bottom: 1.5rem;
    }
    
    .about-text p {
        font-size: 0.95rem;
        line-height: 1.7;
    }
}

.about-text h3 {
    color: #00ffff;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #e0e0e0;
}

.vision-mission {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.vision, .mission {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(0, 255, 255, 0.2);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .vision, .mission {
        padding: 2rem 1.5rem;
    }
    
    .vision h4, .mission h4 {
        font-size: 1.3rem;
    }
    
    .vision p, .mission p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .vision, .mission {
        padding: 2rem 1.5rem;
    }
    
    .vision h4, .mission h4 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .vision p, .mission p {
        font-size: 0.95rem;
    }
}

.vision::before, .mission::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.vision:hover::before, .mission:hover::before {
    left: 100%;
}

.vision:hover, .mission:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 255, 255, 0.2);
    border-color: rgba(0, 255, 255, 0.4);
}

.vision h4, .mission h4 {
    color: #00ffff;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
}

.vision p, .mission p {
    color: #e0e0e0;
    line-height: 1.7;
}

.values {
    position: relative;
    z-index: 2;
}

.values h3 {
    text-align: center;
    color: #00ffff;
    margin-bottom: 3rem;
    font-size: 2.2rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

@media (max-width: 768px) {
    .values-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .values-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.value-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(0, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .value-card {
        padding: 2rem 1.5rem;
    }
    
    .value-icon {
        font-size: 2.5rem;
    }
    
    .value-card h4 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .value-card {
        padding: 2rem 1.5rem;
    }
    
    .value-icon {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .value-card h4 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .value-card p {
        font-size: 0.95rem;
    }
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.1), rgba(255, 0, 255, 0.1));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.value-card:hover::before {
    opacity: 1;
}

.value-card:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: 0 30px 60px rgba(0, 255, 255, 0.3);
    border-color: rgba(0, 255, 255, 0.4);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 20px rgba(0, 255, 255, 0.5));
    position: relative;
    z-index: 2;
}

.value-card h4 {
    color: #00ffff;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    position: relative;
    z-index: 2;
}

.value-card p {
    color: #e0e0e0;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

/* Services Section */
.services {
    padding: 8rem 0;
    background: linear-gradient(135deg, rgba(22, 33, 62, 0.9), rgba(10, 10, 10, 0.9));
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 30%, rgba(255, 0, 255, 0.05) 0%, transparent 50%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    position: relative;
    z-index: 2;
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .services-grid {
        gap: 1.5rem;
    }
}

.service-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    padding: 3rem;
    border-radius: 25px;
    border: 1px solid rgba(0, 255, 255, 0.1);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .service-card {
        padding: 2.5rem 2rem;
    }
    
    .service-icon {
        font-size: 3rem;
    }
    
    .service-card h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .service-card {
        padding: 2rem 1.5rem;
    }
    
    .service-icon {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
    }
    
    .service-card h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .service-card p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    .service-benefits li {
        font-size: 0.9rem;
        padding: 0.6rem 0;
    }
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.1), rgba(138, 43, 226, 0.1));
    opacity: 0;
    transition: opacity 0.5s ease;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-20px) rotateX(5deg);
    box-shadow: 0 40px 80px rgba(0, 255, 255, 0.3);
    border-color: rgba(0, 255, 255, 0.5);
}

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    filter: drop-shadow(0 0 20px rgba(0, 255, 255, 0.6));
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.2) rotateY(360deg);
    filter: drop-shadow(0 0 30px rgba(255, 0, 255, 0.8));
}

.service-card h3 {
    color: #00ffff;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    position: relative;
    z-index: 2;
}

.service-card p {
    color: #e0e0e0;
    line-height: 1.7;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.service-benefits {
    list-style: none;
    margin-top: 2rem;
    position: relative;
    z-index: 2;
}

.service-benefits li {
    padding: 0.8rem 0;
    color: #b0b0b0;
    position: relative;
    padding-left: 2rem;
    transition: all 0.3s ease;
}

.service-benefits li::before {
    content: "⚡";
    position: absolute;
    left: 0;
    color: #00ffff;
    font-weight: bold;
    font-size: 1.2rem;
    filter: drop-shadow(0 0 10px rgba(0, 255, 255, 0.5));
}

.service-card:hover .service-benefits li {
    color: #ffffff;
    transform: translateX(10px);
}

/* Approach Section */
.approach {
    padding: 8rem 0;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.95), rgba(26, 26, 46, 0.95));
    position: relative;
}

.approach::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(0, 255, 255, 0.03) 0%, transparent 70%);
}

.approach-timeline {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    padding: 0 1rem;
}

@media (max-width: 768px) {
    .approach-timeline {
        padding: 0 0.5rem;
    }
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 4rem;
    position: relative;
    opacity: 0;
    transform: translateX(-50px);
    animation: slideInLeft 0.8s ease forwards;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
    transform: translateX(50px);
    animation: slideInRight 0.8s ease forwards;
}

.timeline-item:nth-child(1) { animation-delay: 0.2s; }
.timeline-item:nth-child(2) { animation-delay: 0.4s; }
.timeline-item:nth-child(3) { animation-delay: 0.6s; }
.timeline-item:nth-child(4) { animation-delay: 0.8s; }
.timeline-item:nth-child(5) { animation-delay: 1.0s; }

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.timeline-item:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 35px;
    top: 80px;
    width: 3px;
    height: calc(100% + 2rem);
    background: linear-gradient(to bottom, #00ffff, rgba(0, 255, 255, 0.3), #00ffff);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.timeline-item:nth-child(even):not(:last-child)::after {
    right: 35px;
    left: auto;
}

.timeline-number {
    background: linear-gradient(135deg, #00ffff, #0080ff);
    color: #000;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    margin-right: 3rem;
    flex-shrink: 0;
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.5);
    transition: all 0.4s ease;
    position: relative;
    z-index: 3;
}

.timeline-item:nth-child(even) .timeline-number {
    margin-right: 0;
    margin-left: 3rem;
}

.timeline-number:hover {
    transform: scale(1.2) rotateY(360deg);
    box-shadow: 0 0 50px rgba(0, 255, 255, 0.8);
}

.timeline-content {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(0, 255, 255, 0.2);
    flex: 1;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .timeline-content {
        padding: 2.5rem 2rem;
    }
    
    .timeline-content h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .timeline-content {
        padding: 2rem 1.5rem;
    }
    
    .timeline-content h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .timeline-content p {
        font-size: 0.95rem;
    }
    
    .timeline-number {
        width: 60px;
        height: 60px;
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.timeline-content:hover::before {
    left: 100%;
}

.timeline-content:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 255, 255, 0.2);
    border-color: rgba(0, 255, 255, 0.4);
}

.timeline-content h3 {
    color: #00ffff;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    position: relative;
    z-index: 2;
}

.timeline-content p {
    color: #e0e0e0;
    line-height: 1.7;
    position: relative;
    z-index: 2;
}

/* Clients Section */
.clients {
    padding: 8rem 0;
    background: linear-gradient(135deg, rgba(22, 33, 62, 0.9), rgba(15, 52, 96, 0.9));
    position: relative;
}

.clients::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(138, 43, 226, 0.05) 0%, transparent 50%);
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    position: relative;
    z-index: 2;
}

@media (max-width: 768px) {
    .clients-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .clients-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.client-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    padding: 3rem;
    border-radius: 25px;
    text-align: center;
    border: 1px solid rgba(138, 43, 226, 0.2);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .client-card {
        padding: 2.5rem 2rem;
    }
    
    .client-icon {
        font-size: 3rem;
    }
    
    .client-card h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .client-card {
        padding: 2rem 1.5rem;
    }
    
    .client-icon {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
    }
    
    .client-card h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .client-card p {
        font-size: 0.95rem;
    }
}

.client-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.1), rgba(0, 255, 255, 0.1));
    opacity: 0;
    transition: opacity 0.5s ease;
}

.client-card:hover::before {
    opacity: 1;
}

.client-card:hover {
    transform: translateY(-20px) scale(1.05);
    box-shadow: 0 40px 80px rgba(138, 43, 226, 0.3);
    border-color: rgba(138, 43, 226, 0.5);
}

.client-icon {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    filter: drop-shadow(0 0 20px rgba(138, 43, 226, 0.6));
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
}

.client-card:hover .client-icon {
    transform: scale(1.3) rotateY(360deg);
    filter: drop-shadow(0 0 30px rgba(0, 255, 255, 0.8));
}

.client-card h3 {
    color: #8a2be2;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    position: relative;
    z-index: 2;
}

.client-card p {
    color: #e0e0e0;
    line-height: 1.7;
    position: relative;
    z-index: 2;
}

/* Quality Section */
.quality {
    padding: 8rem 0;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.95), rgba(26, 26, 46, 0.95));
    position: relative;
}

.quality::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255, 215, 0, 0.03) 0%, transparent 70%);
}

.quality-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 3rem;
    position: relative;
    z-index: 2;
}

@media (max-width: 768px) {
    .quality-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .quality-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.quality-item {
    text-align: center;
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(255, 215, 0, 0.2);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .quality-item {
        padding: 2.5rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .quality-item {
        padding: 2rem 1.5rem;
    }
    
    .quality-icon {
        font-size: 2.5rem;
    }
    
    .quality-item h3 {
        font-size: 1.1rem;
    }
    
    .quality-item p {
        font-size: 0.95rem;
    }
}

.quality-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 165, 0, 0.1));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.quality-item:hover::before {
    opacity: 1;
}

.quality-item:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(255, 215, 0, 0.2);
    border-color: rgba(255, 215, 0, 0.4);
}

.quality-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.5));
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
}

.quality-item:hover .quality-icon {
    transform: scale(1.2) rotateZ(360deg);
    filter: drop-shadow(0 0 30px rgba(255, 215, 0, 0.8));
}

.quality-item h3 {
    color: #ffd700;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    position: relative;
    z-index: 2;
}

.quality-item p {
    color: #e0e0e0;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

/* Contact Section */
.contact {
    padding: 8rem 0;
    background: linear-gradient(135deg, rgba(22, 33, 62, 0.9), rgba(10, 10, 10, 0.9));
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 30%, rgba(0, 255, 255, 0.05) 0%, transparent 50%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
    position: relative;
    z-index: 2;
}

@media (max-width: 1024px) {
    .contact-content {
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

.contact-form {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    padding: 3.5rem;
    border-radius: 25px;
    border: 1px solid rgba(0, 255, 255, 0.2);
    transition: all 0.4s ease;
}

@media (max-width: 768px) {
    .contact-form {
        padding: 2.5rem 2rem;
    }
}

@media (max-width: 480px) {
    .contact-form {
        padding: 2rem 1.5rem;
    }
    
    .form-group label {
        font-size: 1rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 12px 15px;
        font-size: 0.95rem;
    }
}

.contact-form:hover {
    box-shadow: 0 30px 60px rgba(0, 255, 255, 0.2);
    border-color: rgba(0, 255, 255, 0.4);
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 600;
    color: #00ffff;
    font-size: 1.1rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid rgba(0, 255, 255, 0.2);
    border-radius: 15px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #888;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00ffff;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

.contact-info {
    padding: 2rem 0;
}

@media (max-width: 768px) {
    .contact-info {
        padding: 1rem 0;
    }
    
    .contact-info h3 {
        font-size: 1.6rem;
    }
    
    .contact-info p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .contact-info h3 {
        font-size: 1.4rem;
        margin-bottom: 1.5rem;
    }
    
    .contact-info p {
        font-size: 0.95rem;
        line-height: 1.7;
    }
}

.contact-info h3 {
    color: #00ffff;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.contact-info p {
    color: #e0e0e0;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.contact-cta {
    background: linear-gradient(135deg, #00ffff, #8a2be2);
    color: #000;
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    margin-top: 3rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 255, 255, 0.3);
}

@media (max-width: 768px) {
    .contact-cta {
        padding: 2.5rem 2rem;
        margin-top: 2rem;
    }
    
    .cta-text {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .contact-cta {
        padding: 2rem 1.5rem;
    }
    
    .cta-text {
        font-size: 1.1rem;
    }
}

.contact-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.contact-cta:hover::before {
    left: 100%;
}

.cta-text {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #0a0a0a, #1a1a2e);
    color: white;
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(0, 255, 255, 0.2);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 0%, rgba(0, 255, 255, 0.05) 0%, transparent 50%);
}

.footer-content {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 1.5rem;
}

.footer-logo .logo {
    filter: drop-shadow(0 0 15px rgba(0, 255, 255, 0.5));
}

.footer-logo .company-name {
    background: linear-gradient(135deg, #00ffff, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-tagline {
    color: #00ffff;
    margin: 0;
    font-size: 1.2rem;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 255, 255, 0.2);
    position: relative;
    z-index: 2;
}

.footer-bottom p {
    color: #888;
    margin: 0;
    font-size: 0.9rem;
}

/* Large Desktop Optimization */
@media (min-width: 1400px) {
    .hero-title {
        font-size: 5rem;
    }
    
    .hero-tagline {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1.3rem;
    }
    
    .container {
        max-width: 1400px;
        padding: 0 3rem;
    }
}

@media (min-width: 1920px) {
    .hero-title {
        font-size: 5.5rem;
    }
    
    .hero-tagline {
        font-size: 2.2rem;
    }
    
    .container {
        max-width: 1600px;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .nav-menu {
        gap: 1.5rem;
    }
    
    .nav-link {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-container {
        padding: 0 1.5rem;
    }
    
    .logo {
        height: 40px;
    }
    
    .company-name {
        font-size: 1.2rem;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 0;
        flex-direction: column;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(30px);
        width: 100%;
        height: 100vh;
        text-align: center;
        transition: left 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        box-shadow: 0 0 50px rgba(0, 255, 255, 0.2);
        padding: 0;
        border: none;
        justify-content: center;
        align-items: center;
        gap: 0;
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 0;
        width: 100%;
        opacity: 0;
        transform: translateX(-50px);
        animation: slideInMenu 0.5s ease forwards;
    }
    
    .nav-menu.active li:nth-child(1) { animation-delay: 0.1s; }
    .nav-menu.active li:nth-child(2) { animation-delay: 0.2s; }
    .nav-menu.active li:nth-child(3) { animation-delay: 0.3s; }
    .nav-menu.active li:nth-child(4) { animation-delay: 0.4s; }
    .nav-menu.active li:nth-child(5) { animation-delay: 0.5s; }
    .nav-menu.active li:nth-child(6) { animation-delay: 0.6s; }
    .nav-menu.active li:nth-child(7) { animation-delay: 0.7s; }
    
    @keyframes slideInMenu {
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }
    
    .nav-link {
        display: block;
        padding: 1.5rem 2rem;
        font-size: 1.3rem;
        font-weight: 600;
        width: 100%;
        border-bottom: 1px solid rgba(0, 255, 255, 0.1);
        transition: all 0.3s ease;
    }
    
    .nav-link:hover {
        background: rgba(0, 255, 255, 0.1);
        padding-left: 3rem;
    }
    
    .nav-link::after {
        display: none;
    }
    
    .hero {
        min-height: 100vh;
        padding-top: 80px;
    }
    
    .hero-content {
        padding: 2rem 1rem;
        min-height: calc(100vh - 80px);
    }
    
    .hero-title {
        font-size: clamp(2rem, 10vw, 3rem);
        white-space: normal;
        word-break: break-word;
        line-height: 1.2;
        margin-bottom: 1rem;
        margin-top: 0;
    }
    
    .hero-tagline {
        font-size: clamp(1rem, 4vw, 1.4rem);
        margin-bottom: 1rem;
    }
    
    .hero-description {
        font-size: clamp(0.9rem, 3vw, 1.1rem);
        padding: 0 1rem;
        margin-bottom: 2rem;
    }
    
    .hero-content {
        padding: 2rem 1rem;
    }
    
    .hero-video-background video {
        transform: translate(-50%, -50%) scale(1.2);
    }
    
    .hero:hover .hero-video-background video {
        transform: translate(-50%, -50%) scale(1.25);
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        width: 100%;
        padding: 0 1rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
    
    .vision-mission {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .timeline-item {
        flex-direction: column;
        text-align: center;
    }
    
    .timeline-item:nth-child(even) {
        flex-direction: column;
    }
    
    .timeline-number {
        margin-right: 0;
        margin-bottom: 1.5rem;
    }
    
    .timeline-item:nth-child(even) .timeline-number {
        margin-left: 0;
        margin-bottom: 1.5rem;
    }
    
    .timeline-item:not(:last-child)::after {
        display: none;
    }
    
    .services-grid,
    .clients-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .service-card,
    .client-card {
        padding: 2.5rem;
    }
    
    h2 {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        margin-bottom: 1.5rem;
    }
    
    .section-header p {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .container {
        padding: 0 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .nav-container {
        padding: 0 1rem;
    }
    
    .logo {
        height: 35px;
    }
    
    .company-name {
        font-size: 1rem;
    }
    
    .nav-link {
        font-size: 1.2rem;
        padding: 1.2rem 1.5rem;
    }
    
    .hero {
        min-height: 100vh;
    }
    
    .hero-content {
        padding: 1.5rem 0.5rem;
        min-height: calc(100vh - 80px);
    }
    
    .hero-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
        line-height: 1.2;
        margin-bottom: 1rem;
        margin-top: 0;
    }
    
    .hero-tagline {
        font-size: clamp(0.9rem, 4vw, 1.2rem);
        margin-bottom: 1rem;
    }
    
    .hero-description {
        font-size: clamp(0.85rem, 3vw, 1rem);
        margin-bottom: 2rem;
        padding: 0 0.5rem;
    }
    
    .hero-content {
        padding: 1.5rem 0.5rem;
    }
    
    .hero-video-background video {
        transform: translate(-50%, -50%) scale(1.3);
        filter: brightness(0.3) contrast(1.1) saturate(1.0) blur(1px);
    }
    
    .hero:hover .hero-video-background video {
        transform: translate(-50%, -50%) scale(1.35);
    }
    
    .video-controls {
        bottom: 15px;
        right: 15px;
    }
    
    .video-toggle {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    h2 {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }
    
    .btn {
        padding: 12px 25px;
        font-size: 0.95rem;
    }
    
    .value-card,
    .service-card,
    .client-card {
        padding: 2rem 1.5rem;
    }
    
    .timeline-content {
        padding: 2rem 1.5rem;
    }
    
    .contact-form {
        padding: 2rem 1.5rem;
    }
    
    .form-group input,
    .form-group textarea {
        font-size: 1rem;
        padding: 0.9rem 1rem;
    }
    
    .section-header p {
        font-size: 0.95rem;
    }
    
    /* Section padding untuk mobile */
    section {
        padding: 4rem 0;
    }
    
    .about,
    .services,
    .project-gallery,
    .activities,
    .approach,
    .clients,
    .contact {
        padding: 4rem 0;
    }
    
    /* Improve section headers */
    .section-header {
        margin-bottom: 2rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }
    
    .section-header p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
}

/* Advanced Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-100px);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(100px);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* Section Spacing and Layout */
section {
    scroll-margin-top: 100px;
    padding: 6rem 0;
    position: relative;
    overflow-x: hidden;
}

.about, .services, .approach, .clients, .quality, .contact {
    padding: 8rem 0;
}

/* Smooth touch interactions for mobile */
@media (hover: none) and (pointer: coarse) {
    * {
        -webkit-tap-highlight-color: rgba(0, 255, 255, 0.2);
    }
    
    .btn,
    .nav-link,
    .service-card,
    .client-card,
    .value-card,
    .quality-item,
    .gallery-card {
        touch-action: manipulation;
    }
    
    /* Reduce hover effects on touch devices */
    .service-card:hover,
    .client-card:hover,
    .value-card:hover,
    .quality-item:hover {
        transform: none;
    }
    
    /* Add active states for touch */
    .btn:active {
        transform: scale(0.95);
    }
    
    .service-card:active,
    .client-card:active,
    .value-card:active {
        transform: scale(0.98);
    }
}

@media (max-width: 768px) {
    section {
        padding: 4rem 0;
    }
    
    .about, .services, .approach, .clients, .quality, .contact {
        padding: 5rem 0;
    }
}

@media (max-width: 480px) {
    section {
        padding: 3rem 0;
    }
    
    .about, .services, .approach, .clients, .quality, .contact {
        padding: 4rem 0;
    }
}

/* Loading animation */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a0a0a, #1a1a2e);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loading.fade-out {
    opacity: 0;
    pointer-events: none;
}

.loader {
    width: 60px;
    height: 60px;
    border: 3px solid rgba(0, 255, 255, 0.3);
    border-top: 3px solid #00ffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.5);
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1a2e;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #00ffff, #8a2be2);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #8a2be2, #00ffff);
}

/* Selection color */
::selection {
    background: rgba(0, 255, 255, 0.3);
    color: #ffffff;
}

::-moz-selection {
    background: rgba(0, 255, 255, 0.3);
    color: #ffffff;
}
/* Professional Card Layout */
.value-card,
.service-card,
.client-card,
.quality-item {
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* Ensure consistent spacing in cards */
.card-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

/* Professional spacing for all sections */
@media (min-width: 1200px) {
    .about-content,
    .services-grid,
    .clients-grid,
    .values-grid,
    .quality-grid {
        padding: 0 2rem;
    }
}

/* Ultra-wide screen optimization */
@media (min-width: 2560px) {
    .hero-title {
        font-size: 6rem;
    }
    
    .hero-tagline {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.4rem;
    }
    
    .container {
        max-width: 1800px;
    }
}
/* WhatsApp Helpdesk - Elegant & Luxury Design */
.whatsapp-helpdesk {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 10000;
    font-family: 'Inter', sans-serif;
}

.whatsapp-button {
    position: relative;
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #25D366, #128C7E, #075E54);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4),
                0 4px 15px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 3px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.whatsapp-button:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.6),
                0 8px 25px rgba(0, 0, 0, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.4);
}

.whatsapp-icon {
    color: white;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.whatsapp-button:hover .whatsapp-icon {
    transform: scale(1.1);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4));
}

.whatsapp-pulse {
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25D366, #128C7E);
    opacity: 0.7;
    animation: whatsappPulse 2s infinite;
}

@keyframes whatsappPulse {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.4;
    }
    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}

.whatsapp-chat-box {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 280px;
    max-height: 380px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2),
                0 4px 12px rgba(37, 211, 102, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.9);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    max-width: calc(100vw - 80px);
}

.whatsapp-chat-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(37, 211, 102, 0.05) 0%, 
        rgba(255, 255, 255, 0.1) 50%, 
        rgba(18, 140, 126, 0.05) 100%);
    pointer-events: none;
    z-index: 1;
}

.whatsapp-chat-box > * {
    position: relative;
    z-index: 2;
}

.whatsapp-chat-box.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.chat-header {
    background: linear-gradient(135deg, #25D366, #128C7E);
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.chat-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.chat-header:hover::before {
    left: 100%;
}

.chat-avatar {
    position: relative;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(1.1) contrast(1.1);
}

.online-indicator {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 14px;
    height: 14px;
    background: #4CAF50;
    border-radius: 50%;
    border: 2px solid white;
    animation: onlinePulse 2s infinite;
}

@keyframes onlinePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.chat-info {
    flex: 1;
    color: white;
}

.chat-info h4 {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.chat-info .status {
    margin: 0;
    font-size: 0.75rem;
    opacity: 0.9;
    font-weight: 400;
}

.chat-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.chat-close svg {
    width: 16px;
    height: 16px;
}

.chat-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.chat-body {
    padding: 14px 12px;
    max-height: 220px;
    overflow-y: auto;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.chat-body::-webkit-scrollbar {
    width: 6px;
}

.chat-body::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 3px;
}

.chat-body::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #25D366, #128C7E);
    border-radius: 3px;
}

.chat-message {
    margin-bottom: 12px;
    animation: messageSlideIn 0.5s ease;
}

@keyframes messageSlideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.bot-message .message-content {
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    padding: 10px 12px;
    border-radius: 12px 12px 12px 3px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(37, 211, 102, 0.2);
    position: relative;
}

.bot-message .message-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #25D366, #128C7E);
    border-radius: 12px 12px 0 0;
}

.message-content p {
    margin: 0 0 4px 0;
    color: #2c3e50;
    font-size: 0.8rem;
    line-height: 1.3;
}

.message-content p:last-child {
    margin-bottom: 0;
}

.message-time {
    font-size: 0.7rem;
    color: #7f8c8d;
    margin-top: 6px;
    text-align: left;
    font-weight: 500;
}

.quick-options {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.quick-btn {
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    border: 1px solid rgba(37, 211, 102, 0.3);
    border-radius: 16px;
    padding: 8px 12px;
    font-size: 0.75rem;
    color: #2c3e50;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: left;
    font-weight: 500;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.quick-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(37, 211, 102, 0.1), transparent);
    transition: left 0.5s ease;
}

.quick-btn:hover::before {
    left: 100%;
}

.quick-btn:hover {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    border-color: #25D366;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
}

.chat-footer {
    padding: 12px;
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.chat-input-container {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 6px;
}

.chat-input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid rgba(37, 211, 102, 0.3);
    border-radius: 16px;
    font-size: 0.8rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    color: #2c3e50;
}

.chat-input:focus {
    outline: none;
    border-color: #25D366;
    box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.2);
    background: rgba(255, 255, 255, 1);
}

.send-btn {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 2px 6px rgba(37, 211, 102, 0.3);
}

.send-btn svg {
    width: 16px;
    height: 16px;
}

.send-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.chat-disclaimer {
    font-size: 0.7rem;
    color: #7f8c8d;
    text-align: center;
    margin: 0;
    font-style: italic;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .whatsapp-helpdesk {
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-button {
        width: 55px;
        height: 55px;
    }
    
    .whatsapp-chat-box {
        width: calc(100vw - 60px);
        max-width: 260px;
        bottom: 70px;
        right: -15px;
        max-height: 320px;
    }
    
    .chat-header {
        padding: 10px;
    }
    
    .chat-body {
        padding: 12px 10px;
        max-height: 180px;
    }
    
    .chat-footer {
        padding: 10px;
    }
    
    .chat-avatar {
        width: 32px;
        height: 32px;
    }
    
    .chat-info h4 {
        font-size: 0.85rem;
    }
    
    .chat-info .status {
        font-size: 0.7rem;
    }
    
    .quick-btn {
        font-size: 0.7rem;
        padding: 6px 10px;
    }
    
    .message-content p {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .whatsapp-chat-box {
        width: calc(100vw - 50px);
        max-width: 240px;
        right: -10px;
        max-height: 300px;
    }
    
    .chat-header {
        padding: 8px;
    }
    
    .chat-body {
        padding: 10px 8px;
        max-height: 160px;
    }
    
    .chat-footer {
        padding: 8px;
    }
    
    .chat-avatar {
        width: 28px;
        height: 28px;
    }
    
    .chat-info h4 {
        font-size: 0.8rem;
    }
    
    .chat-info .status {
        font-size: 0.65rem;
    }
    
    .quick-btn {
        font-size: 0.65rem;
        padding: 5px 8px;
    }
    
    .message-content p {
        font-size: 0.7rem;
    }
    
    .chat-input {
        font-size: 0.75rem;
        padding: 6px 10px;
    }
    
    .send-btn {
        width: 32px;
        height: 32px;
    }
    
    .send-btn svg {
        width: 14px;
        height: 14px;
    }
    
    .chat-close {
        width: 22px;
        height: 22px;
    }
    
    .chat-close svg {
        width: 14px;
        height: 14px;
    }
}

/* Elegant entrance animation */
.whatsapp-helpdesk {
    animation: helpdeskEntrance 1s ease-out 2s both;
}

@keyframes helpdeskEntrance {
    from {
        opacity: 0;
        transform: translateY(100px) scale(0.5);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Notification badge */
.whatsapp-button::after {
    content: '';
    position: absolute;
    top: -5px;
    right: -5px;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #ff4757, #ff3742);
    border-radius: 50%;
    border: 3px solid white;
    animation: notificationPulse 2s infinite;
    box-shadow: 0 2px 8px rgba(255, 71, 87, 0.4);
}

@keyframes notificationPulse {
    0%, 100% { 
        transform: scale(1);
        opacity: 1;
    }
    50% { 
        transform: scale(1.2);
        opacity: 0.8;
    }
}
/* Portfolio Section */
.portfolio {
    padding: 8rem 0;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.95), rgba(22, 33, 62, 0.95));
    position: relative;
}

.portfolio::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 80% 20%, rgba(0, 255, 255, 0.05) 0%, transparent 50%);
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(0, 255, 255, 0.3);
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-weight: 500;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.filter-btn:hover::before {
    left: 100%;
}

.filter-btn:hover,
.filter-btn.active {
    background: linear-gradient(135deg, #00ffff, #0080ff);
    color: #000;
    border-color: #00ffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 255, 255, 0.3);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 3rem;
    position: relative;
    z-index: 2;
    margin-bottom: 5rem;
}

.portfolio-item {
    opacity: 1;
    transform: scale(1);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.portfolio-item.hidden {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
}

.portfolio-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(0, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.portfolio-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(0, 255, 255, 0.2);
    border-color: rgba(0, 255, 255, 0.4);
}

/* Portfolio Icon Header */
.portfolio-icon-header {
    padding: 2rem 2rem 1rem;
    text-align: center;
    background: linear-gradient(135deg, 
        rgba(0, 255, 255, 0.05) 0%, 
        rgba(138, 43, 226, 0.05) 100%);
    border-bottom: 1px solid rgba(0, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.portfolio-icon-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.portfolio-card:hover .portfolio-icon-header::before {
    left: 100%;
}

.project-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #00ffff, #0080ff);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.3);
    position: relative;
    z-index: 2;
}

.project-icon svg {
    color: #000;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    transition: all 0.3s ease;
}

.portfolio-card:hover .project-icon {
    transform: translateY(-10px) scale(1.1) rotateY(360deg);
    box-shadow: 0 20px 50px rgba(0, 255, 255, 0.5);
    background: linear-gradient(135deg, #ff00ff, #00ffff);
}

.portfolio-card:hover .project-icon svg {
    transform: scale(1.1);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.project-category {
    color: #00ffff;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
    position: relative;
    z-index: 2;
}

.portfolio-content {
    padding: 1.5rem 2rem 2rem;
}

.portfolio-content h3 {
    color: #00ffff;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.3;
}

.portfolio-content > p {
    color: #e0e0e0;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Project Features */
.project-features {
    margin: 1.5rem 0;
    display: grid;
    gap: 0.8rem;
}

.feature-item {
    color: #b0b0b0;
    font-size: 0.9rem;
    padding: 0.5rem 0;
    border-left: 3px solid rgba(0, 255, 255, 0.3);
    padding-left: 1rem;
    transition: all 0.3s ease;
    position: relative;
}

.feature-item:hover {
    color: #ffffff;
    border-left-color: #00ffff;
    transform: translateX(5px);
}

.feature-item::before {
    content: '';
    position: absolute;
    left: -3px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(135deg, #00ffff, #ff00ff);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-item:hover::before {
    opacity: 1;
}

/* Portfolio Tech Tags */
.portfolio-tech {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin: 1.5rem 0;
}

.tech-tag {
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.2), rgba(138, 43, 226, 0.2));
    color: #00ffff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(0, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.tech-tag:hover {
    background: linear-gradient(135deg, #00ffff, #0080ff);
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 255, 0.3);
}

/* Portfolio Actions */
.portfolio-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    justify-content: center;
}

.portfolio-btn {
    background: rgba(255, 255, 255, 0.05);
    color: #00ffff;
    border: 2px solid rgba(0, 255, 255, 0.3);
    padding: 12px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.portfolio-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.portfolio-btn:hover::before {
    left: 100%;
}

.portfolio-btn:hover {
    background: linear-gradient(135deg, #00ffff, #0080ff);
    color: #000;
    border-color: #00ffff;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 255, 255, 0.3);
}

.portfolio-btn svg {
    transition: all 0.3s ease;
}

.portfolio-btn:hover svg {
    transform: scale(1.1);
}

/* Portfolio Stats */
.portfolio-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-top: 5rem;
    position: relative;
    z-index: 2;
}

.stat-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    padding: 3rem 2rem;
    border-radius: 20px;
    border: 1px solid rgba(0, 255, 255, 0.2);
    transition: all 0.4s ease;
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 255, 255, 0.2);
    border-color: rgba(0, 255, 255, 0.4);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #00ffff, #ff00ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    min-width: 120px;
    display: inline-block;
    text-align: center;
}

/* Removed countUp animation - stats are now completely static */

.stat-label {
    color: #b0b0b0;
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Portfolio Modal */
.portfolio-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
}

.portfolio-modal.active {
    display: flex;
    opacity: 1;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.modal-content {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.95), rgba(22, 33, 62, 0.95));
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(0, 255, 255, 0.2);
    max-width: 800px;
    max-height: 90vh;
    width: 90%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 255, 255, 0.3);
    transform: scale(0.8);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.portfolio-modal.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(0, 255, 255, 0.3);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #00ffff;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    z-index: 10001;
}

.modal-close:hover {
    background: rgba(0, 255, 255, 0.2);
    border-color: #00ffff;
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.4);
}

.modal-body {
    padding: 3rem;
    max-height: 80vh;
    overflow-y: auto;
    color: #e0e0e0;
    line-height: 1.7;
}

.modal-body::-webkit-scrollbar {
    width: 8px;
}

.modal-body::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #00ffff, #8a2be2);
    border-radius: 4px;
}

.modal-body h2 {
    color: #00ffff;
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.modal-body h3 {
    color: #00ffff;
    font-size: 1.4rem;
    margin: 2rem 0 1rem;
    border-bottom: 2px solid rgba(0, 255, 255, 0.2);
    padding-bottom: 0.5rem;
}

.modal-body p {
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.modal-body ul {
    margin: 1rem 0 1.5rem 2rem;
}

.modal-body li {
    margin-bottom: 0.8rem;
    color: #b0b0b0;
}

.modal-body strong {
    color: #00ffff;
    font-weight: 600;
}

/* Mobile responsive for modal */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        max-height: 95vh;
    }
    
    .modal-body {
        padding: 2rem 1.5rem;
    }
    
    .modal-body h2 {
        font-size: 1.6rem;
    }
    
    .modal-body h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .modal-content {
        width: 98%;
        max-height: 98vh;
    }
    
    .modal-body {
        padding: 1.5rem 1rem;
    }
    
    .modal-close {
        top: 15px;
        right: 15px;
        width: 35px;
        height: 35px;
    }
}

.stat-label {
    color: #e0e0e0;
    font-size: 1.1rem;
    font-weight: 500;
}

/* Portfolio Modal */
.portfolio-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10001;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.portfolio-modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

.modal-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    border: 1px solid rgba(0, 255, 255, 0.3);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.1);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #333;
    transition: all 0.3s ease;
    z-index: 10;
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.2);
    transform: scale(1.1);
}

.modal-body {
    padding: 3rem;
    color: #333;
}

.modal-body h2 {
    color: #333;
    margin-bottom: 1rem;
}

.modal-body h3 {
    color: #00ffff;
    margin: 2rem 0 1rem 0;
}

.modal-body p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.modal-body ul {
    color: #666;
    margin: 1rem 0;
    padding-left: 2rem;
}

.modal-body li {
    margin-bottom: 0.5rem;
}

/* Responsive Portfolio */
@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .portfolio-filters {
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
    
    .portfolio-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .stat-item {
        padding: 2rem 1rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .portfolio-actions {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .portfolio-btn {
        padding: 10px 16px;
        font-size: 0.85rem;
        justify-content: center;
    }
    
    .portfolio-icon-header {
        padding: 1.5rem 1.5rem 1rem;
    }
    
    .project-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 1rem;
    }
    
    .project-icon svg {
        width: 40px;
        height: 40px;
    }
    
    .portfolio-content {
        padding: 1rem 1.5rem 1.5rem;
    }
    
    .portfolio-content h3 {
        font-size: 1.2rem;
    }
    
    .project-features {
        gap: 0.6rem;
    }
    
    .feature-item {
        font-size: 0.85rem;
        padding: 0.4rem 0;
        padding-left: 0.8rem;
    }
}

@media (max-width: 480px) {
    .portfolio {
        padding: 5rem 0;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .portfolio-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .portfolio-icon-header {
        padding: 1rem 1rem 0.8rem;
    }
    
    .project-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 0.8rem;
    }
    
    .project-icon svg {
        width: 32px;
        height: 32px;
    }
    
    .portfolio-content {
        padding: 0.8rem 1rem 1.2rem;
    }
    
    .portfolio-content h3 {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }
    
    .portfolio-content > p {
        font-size: 0.9rem;
        margin-bottom: 1.2rem;
    }
    
    .project-features {
        gap: 0.5rem;
        margin: 1rem 0;
    }
    
    .feature-item {
        font-size: 0.8rem;
        padding: 0.3rem 0;
        padding-left: 0.6rem;
    }
    
    .portfolio-tech {
        gap: 0.4rem;
        margin: 1rem 0;
    }
    
    .tech-tag {
        padding: 4px 10px;
        font-size: 0.75rem;
    }
    
    .portfolio-actions {
        margin-top: 1.5rem;
        gap: 0.6rem;
    }
    
    .portfolio-btn {
        padding: 8px 14px;
        font-size: 0.8rem;
    }
    
    .portfolio-btn svg {
        width: 16px;
        height: 16px;
    }
    
    .modal-content {
        margin: 1rem;
        max-height: 85vh;
    }
    
    .modal-body {
        padding: 2rem 1.5rem;
    }
}


/* ============================================
   PROJECT GALLERY SECTION
   ============================================ */

.project-gallery {
    padding: 8rem 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #0a0a0a 100%);
    position: relative;
    overflow: hidden;
}

.project-gallery::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255, 0, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
    position: relative;
    z-index: 1;
    grid-auto-rows: 1fr;
}

.gallery-item {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
    display: flex;
    flex-direction: column;
    min-height: 500px;
}

.gallery-item:nth-child(1) { animation-delay: 0.1s; }
.gallery-item:nth-child(2) { animation-delay: 0.2s; }
.gallery-item:nth-child(3) { animation-delay: 0.3s; }
.gallery-item:nth-child(4) { animation-delay: 0.4s; }
.gallery-item:nth-child(5) { animation-delay: 0.5s; }
.gallery-item:nth-child(6) { animation-delay: 0.6s; }
.gallery-item:nth-child(7) { animation-delay: 0.7s; }
.gallery-item:nth-child(8) { animation-delay: 0.8s; }
.gallery-item:nth-child(9) { animation-delay: 0.9s; }
.gallery-item:nth-child(10) { animation-delay: 1.0s; }
.gallery-item:nth-child(11) { animation-delay: 1.1s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gallery-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(0, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    height: 100%;
    min-height: 500px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.gallery-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.1), rgba(255, 0, 255, 0.1));
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 1;
}

.gallery-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(0, 255, 255, 0.3);
    box-shadow: 
        0 20px 60px rgba(0, 255, 255, 0.2),
        0 0 40px rgba(0, 255, 255, 0.1),
        inset 0 0 20px rgba(0, 255, 255, 0.05);
}

.gallery-card:hover::before {
    opacity: 1;
}

.gallery-image {
    position: relative;
    width: 100%;
    height: 320px !important;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    flex-shrink: 0;
}

.gallery-image-wrapper img,
.gallery-image img {
    width: 100%;
    height: 320px !important;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(0.9) contrast(1.1);
    display: block;
}

.gallery-card:hover .gallery-image-wrapper img,
.gallery-card:hover .gallery-image img {
    transform: scale(1.1);
    filter: brightness(1) contrast(1.2);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.3) 40%,
        rgba(0, 0, 0, 0.9) 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

.gallery-info h3 {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    transform: translateY(20px);
    transition: transform 0.4s ease 0.1s;
}

.gallery-card:hover .gallery-info h3 {
    transform: translateY(0);
}

.gallery-info p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    transform: translateY(20px);
    transition: transform 0.4s ease 0.15s;
}

.gallery-card:hover .gallery-info p {
    transform: translateY(0);
}

.gallery-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.8rem;
    transform: translateY(20px);
    transition: transform 0.4s ease 0.2s;
    justify-content: center;
}

.gallery-card:hover .gallery-tags {
    transform: translateY(0);
}

.gallery-tags .tag {
    background: rgba(0, 255, 255, 0.2);
    color: #00ffff;
    padding: 0.25rem 0.7rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    border: 1px solid rgba(0, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.gallery-view-btn {
    background: linear-gradient(135deg, #00ffff, #00cccc);
    color: #000;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    transform: translateY(20px);
    opacity: 0;
    width: fit-content;
}

.gallery-card:hover .gallery-view-btn {
    transform: translateY(0);
    opacity: 1;
    transition: all 0.4s ease 0.25s;
}

.gallery-view-btn:hover {
    background: linear-gradient(135deg, #00ffff, #00ffff);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.4);
}

.gallery-view-btn svg {
    width: 20px;
    height: 20px;
}

/* Gallery Image Wrapper */
.gallery-image-wrapper {
    position: relative;
    width: 100%;
    height: 320px !important;
    min-height: 320px !important;
    max-height: 320px !important;
    overflow: hidden;
    flex-shrink: 0;
    flex-grow: 0;
}

.gallery-image-wrapper img {
    width: 100% !important;
    height: 320px !important;
    min-height: 320px !important;
    max-height: 320px !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(0.9) contrast(1.1);
}

/* Gallery Icon */
.gallery-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 255, 255, 0.1);
    border: 2px solid rgba(0, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    transform: scale(0);
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.gallery-card:hover .gallery-icon {
    transform: scale(1);
    transition-delay: 0.1s;
}

.gallery-icon svg {
    color: #00ffff;
    filter: drop-shadow(0 0 10px rgba(0, 255, 255, 0.5));
    width: 32px;
    height: 32px;
}

/* Gallery Content */
.gallery-content {
    text-align: center;
    padding: 0 1rem;
}

.gallery-content h3 {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    transform: translateY(20px);
    transition: transform 0.4s ease 0.1s;
    line-height: 1.3;
}

.gallery-card:hover .gallery-content h3 {
    transform: translateY(0);
}

.gallery-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    margin-bottom: 0.8rem;
    transform: translateY(20px);
    transition: transform 0.4s ease 0.15s;
    line-height: 1.4;
}

.gallery-card:hover .gallery-content p {
    transform: translateY(0);
}

/* View Indicator */
.view-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.6rem 1.2rem;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.2), rgba(0, 255, 255, 0.1));
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 30px;
    color: #00ffff;
    font-size: 0.8rem;
    font-weight: 600;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease 0.3s;
    backdrop-filter: blur(10px);
}

.gallery-card:hover .view-indicator {
    transform: translateY(0);
    opacity: 1;
}

.view-indicator svg {
    animation: pulse 2s ease-in-out infinite;
    width: 18px;
    height: 18px;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

/* ============================================
   IMAGE MODAL
   ============================================ */

.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.image-modal.active {
    display: flex;
}

.image-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    animation: fadeIn 0.3s ease;
}

.image-modal-content {
    position: relative;
    max-width: 1400px;
    width: 100%;
    max-height: 90vh;
    background: rgba(26, 26, 46, 0.9);
    border-radius: 20px;
    border: 1px solid rgba(0, 255, 255, 0.2);
    overflow: hidden;
    animation: modalSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 30px 90px rgba(0, 0, 0, 0.5),
        0 0 60px rgba(0, 255, 255, 0.2);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(30px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.image-modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid rgba(0, 255, 255, 0.3);
    color: #00ffff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    backdrop-filter: blur(10px);
}

.image-modal-close:hover {
    background: rgba(0, 255, 255, 0.2);
    border-color: #00ffff;
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.5);
}

.image-modal-body {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-image-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
}

.image-modal-body img {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(0, 255, 255, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-modal-info {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.05), rgba(255, 0, 255, 0.05));
    border-radius: 15px;
    border: 1px solid rgba(0, 255, 255, 0.2);
    width: 100%;
    max-width: 800px;
    backdrop-filter: blur(10px);
}

.image-modal-info h3 {
    color: #00ffff;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

.image-modal-info p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

.image-modal-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
    pointer-events: none;
    z-index: 10;
}

.nav-btn {
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid rgba(0, 255, 255, 0.3);
    color: #00ffff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
    backdrop-filter: blur(10px);
}

.nav-btn:hover {
    background: rgba(0, 255, 255, 0.2);
    border-color: #00ffff;
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.5);
}

.nav-btn:active {
    transform: scale(0.95);
}

/* ============================================
   ACTIVITIES & EVENTS SECTION
   ============================================ */

.activities {
    padding: 8rem 0;
    background: linear-gradient(135deg, rgba(15, 52, 96, 0.9), rgba(10, 10, 10, 0.9));
    position: relative;
    overflow: hidden;
}

.activities::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255, 215, 0, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
    position: relative;
    z-index: 2;
}

.activity-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 215, 0, 0.15);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    display: flex;
    flex-direction: column;
}

.activity-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 165, 0, 0.1));
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 1;
}

.activity-card:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: rgba(255, 215, 0, 0.4);
    box-shadow: 
        0 25px 60px rgba(255, 215, 0, 0.25),
        0 0 40px rgba(255, 215, 0, 0.15),
        inset 0 0 20px rgba(255, 215, 0, 0.05);
}

.activity-card:hover::before {
    opacity: 1;
}

.activity-image-wrapper {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
}

.activity-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(0.85) contrast(1.1);
}

.activity-card:hover .activity-image-wrapper img {
    transform: scale(1.15);
    filter: brightness(1) contrast(1.2);
}

.activity-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.4) 50%,
        rgba(0, 0, 0, 0.9) 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
}

.activity-card:hover .activity-overlay {
    opacity: 1;
}

.activity-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 215, 0, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 30px;
    border: 1px solid rgba(255, 215, 0, 0.4);
    color: #ffd700;
    font-size: 0.85rem;
    font-weight: 600;
    width: fit-content;
    transform: translateY(-20px);
    transition: transform 0.4s ease 0.1s;
}

.activity-card:hover .activity-badge {
    transform: translateY(0);
}

.activity-badge svg {
    width: 18px;
    height: 18px;
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.6));
}

.view-activity-btn {
    background: linear-gradient(135deg, #ffd700, #ffa500);
    color: #000;
    border: none;
    padding: 0.9rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.4s ease;
    transform: translateY(20px);
    opacity: 0;
    width: 100%;
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.3);
}

.activity-card:hover .view-activity-btn {
    transform: translateY(0);
    opacity: 1;
    transition: all 0.4s ease 0.2s;
}

.view-activity-btn:hover {
    background: linear-gradient(135deg, #ffd700, #ffd700);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255, 215, 0, 0.5);
}

.view-activity-btn svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.view-activity-btn:hover svg {
    transform: scale(1.2);
}

.activity-content {
    padding: 2rem;
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.activity-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.activity-category {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 215, 0, 0.15);
    color: #ffd700;
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(255, 215, 0, 0.3);
    backdrop-filter: blur(10px);
}

.activity-category svg {
    width: 14px;
    height: 14px;
}

.activity-content h3 {
    color: #ffd700;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.activity-card:hover .activity-content h3 {
    color: #ffed4e;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.activity-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Activity Modal (reuse image modal styles) */
.activity-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.activity-modal.active {
    display: flex;
}

/* Responsive Activities */
@media (max-width: 1024px) {
    .activities-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .activities {
        padding: 5rem 0;
    }
    
    .activities-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .activity-image-wrapper {
        height: 250px;
    }
    
    .activity-content {
        padding: 1.5rem;
    }
    
    .activity-content h3 {
        font-size: 1.2rem;
    }
    
    .activity-overlay {
        opacity: 1;
        background: linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0) 0%,
            rgba(0, 0, 0, 0.5) 50%,
            rgba(0, 0, 0, 0.85) 100%
        );
    }
    
    .activity-badge {
        transform: translateY(0);
    }
    
    .view-activity-btn {
        padding: 0.8rem 1.2rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .activities-grid {
        gap: 1.5rem;
    }
    
    .activity-image-wrapper {
        height: 220px;
    }
    
    .activity-content {
        padding: 1.5rem;
    }
    
    .activity-content h3 {
        font-size: 1.1rem;
    }
    
    .activity-content p {
        font-size: 0.9rem;
    }
    
    .activity-badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }
    
    .view-activity-btn {
        padding: 0.75rem 1rem;
        font-size: 0.8rem;
    }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .gallery-image-wrapper,
    .gallery-image {
        height: 300px !important;
    }
    
    .gallery-image-wrapper img,
    .gallery-image img {
        height: 300px !important;
    }
}

@media (max-width: 768px) {
    .project-gallery {
        padding: 5rem 0;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .gallery-item {
        min-height: auto;
    }
    
    .gallery-card {
        min-height: auto;
    }
    
    .gallery-image-wrapper,
    .gallery-image {
        height: 200px !important;
        min-height: 200px !important;
        max-height: 200px !important;
    }
    
    .gallery-image-wrapper img,
    .gallery-image img {
        height: 200px !important;
        min-height: 200px !important;
        max-height: 200px !important;
    }
    
    .gallery-overlay {
        opacity: 1;
        background: linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0) 0%,
            rgba(0, 0, 0, 0.5) 50%,
            rgba(0, 0, 0, 0.95) 100%
        );
        padding: 1.5rem;
    }
    
    .gallery-content h3,
    .gallery-content p,
    .gallery-tags,
    .view-indicator {
        transform: translateY(0);
        opacity: 1;
    }
    
    .gallery-content h3 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .gallery-content p {
        font-size: 0.85rem;
        line-height: 1.4;
        margin-bottom: 0.6rem;
    }
    
    .gallery-icon {
        transform: scale(1);
        width: 50px;
        height: 50px;
        margin-bottom: 0.8rem;
    }
    
    .gallery-icon svg {
        width: 26px;
        height: 26px;
    }
    
    .gallery-tags {
        margin-bottom: 0.6rem;
    }
    
    .gallery-tags .tag {
        font-size: 0.65rem;
        padding: 0.2rem 0.6rem;
    }
    
    .view-indicator {
        font-size: 0.75rem;
        padding: 0.5rem 1rem;
        margin-top: 0.6rem;
    }
    
    .image-modal-content {
        max-width: 95%;
        margin: 1rem;
    }
    
    .image-modal-body {
        padding: 1rem;
    }
    
    .image-modal-body img {
        max-height: 60vh;
    }
    
    .image-modal-info h3 {
        font-size: 1.5rem;
    }
    
    .nav-btn {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .project-gallery {
        padding: 4rem 0;
    }
    
    .gallery-grid {
        gap: 1.2rem;
    }
    
    .gallery-image-wrapper,
    .gallery-image {
        height: 180px !important;
        min-height: 180px !important;
        max-height: 180px !important;
    }
    
    .gallery-image-wrapper img,
    .gallery-image img {
        height: 180px !important;
        min-height: 180px !important;
        max-height: 180px !important;
    }
    
    .gallery-overlay {
        padding: 1.2rem;
    }
    
    .gallery-content h3 {
        font-size: 1rem;
        margin-bottom: 0.4rem;
    }
    
    .gallery-content p {
        font-size: 0.8rem;
        line-height: 1.3;
        margin-bottom: 0.5rem;
    }
    
    .gallery-icon {
        width: 45px;
        height: 45px;
        margin-bottom: 0.6rem;
    }
    
    .gallery-icon svg {
        width: 24px;
        height: 24px;
    }
    
    .gallery-tags {
        gap: 0.3rem;
        margin-bottom: 0.5rem;
    }
    
    .gallery-tags .tag {
        font-size: 0.6rem;
        padding: 0.2rem 0.5rem;
    }
    
    .view-indicator {
        font-size: 0.7rem;
        padding: 0.4rem 0.8rem;
        margin-top: 0.5rem;
    }
    
    .view-indicator svg {
        width: 16px;
        height: 16px;
    }
    
    .image-modal-close {
        width: 40px;
        height: 40px;
        top: 1rem;
        right: 1rem;
    }
    
    .image-modal-info {
        padding: 1.5rem;
    }
    
    .image-modal-info h3 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }
    
    .image-modal-info p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
}
