* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #0066ff;
    --deep-blue: #001a3d;
    --electric-blue: #00d4ff;
    --midnight: #000814;
    --glow: #00ffff;
    --white: #ffffff;
    --dark-gradient: linear-gradient(135deg, #000814 0%, #001a3d 100%);
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: var(--dark-gradient);
    color: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
}

/* 3D Canvas */
#three-canvas {
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    cursor: grab;
}

#three-canvas:active {
    cursor: grabbing;
}

/* Particle Background */
#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.3;
}

/* Geometric Background */
.geometric-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -3;
    opacity: 0.1;
    background-image:
        radial-gradient(circle at 20% 30%, var(--primary-blue) 0%, transparent 25%),
        radial-gradient(circle at 80% 70%, var(--electric-blue) 0%, transparent 25%),
        linear-gradient(45deg, transparent 49%, var(--glow) 49%, var(--glow) 51%, transparent 51%),
        linear-gradient(-45deg, transparent 49%, var(--primary-blue) 49%, var(--primary-blue) 51%, transparent 51%);
    background-size: 30% 30%, 30% 30%, 60px 60px, 60px 60px;
}

/* Navigation */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 5%;
    background: rgba(0, 8, 20, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
}

header.scrolled {
    padding: 1rem 5%;
    background: rgba(0, 8, 20, 0.97);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--light);
    text-decoration: none;
}

.main-visual img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.logo img {
    /* background: linear-gradient(135deg, var(--primary-blue), var(--electric-blue)); */
    width: 80px;
    height: 80px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.logo-icon::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        left: -50%;
    }

    100% {
        left: 100%;
    }
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-blue), var(--electric-blue));
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--electric-blue);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Current Page/Section Indicator */
.nav-links a.current-page {
    color: var(--electric-blue);
    font-weight: 600;
}

.nav-links a.current-page::after {
    width: 100%;
    background: linear-gradient(90deg, var(--electric-blue), var(--primary-blue));
}

.nav-links a.current-section {
    color: var(--electric-blue);
}

.nav-links a.current-section::after {
    width: 100%;
    background: linear-gradient(90deg, var(--electric-blue), var(--primary-blue));
}

.dropdown-menu a.current-section {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(0, 102, 255, 0.2));
    color: var(--electric-blue);
    border-left: 3px solid var(--electric-blue);
}

/* Dropdown Styles */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.dropdown-toggle i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.dropdown.active .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: linear-gradient(135deg, rgba(0, 8, 20, 0.95), rgba(0, 26, 61, 0.95));
    border: 1px solid var(--electric-blue);
    border-radius: 10px;
    padding: 0.5rem 0;
    min-width: 220px;
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 400;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.dropdown-menu a:hover {
    background: rgba(0, 212, 255, 0.1);
    border-left-color: var(--electric-blue);
    color: var(--electric-blue);
    padding-left: 2rem;
}

.dropdown-menu a::after {
    display: none;
}

.header-cta {
    background: linear-gradient(135deg, var(--primary-blue), var(--electric-blue));
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.header-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: 0.5s;
}

.header-cta:hover::before {
    left: 100%;
}

.header-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 102, 255, 0.4);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--white);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 5% 5%;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 70%, rgba(37, 99, 235, 0.15) 0%, transparent 25%),
        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.15) 0%, transparent 25%);
    z-index: -1;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    animation: fadeInUp 1s ease-out;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(6, 182, 212, 0.15);
    color: var(--electric-blue);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    gap: 0.5rem;
}

.hero-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--electric-blue);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--white) 0%, var(--electric-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
    line-height: 1.7;
    animation: fadeInUp 2s ease-out 0.5s both;
}

.hero-desc {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-blue), var(--electric-blue));
    color: white;
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 102, 255, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

.hero-visual {
    position: relative;
    animation: fadeIn 1.5s ease-out;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-visual {
    width: 100%;
    height: 400px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    display: none;
    /* Hide the original visual */
}

/* Service Wheel Styles */
.service-wheel {
    position: relative;
    width: 500px;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: wheelRotate 60s linear infinite;
}

@keyframes wheelRotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.wheel-center {
    position: absolute;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    box-shadow: 0 0 20px rgba(0, 102, 255, 0.3);
}

.center-content {
    text-align: center;
    color: var(--white);
}

.center-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.center-logo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: contain;
}

.card-desc {
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 5px;
}

.wheel-card {
    position: absolute;
    width: 120px;
    height: 120px;
    background: #001a3d9c;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transform-origin: 250px;
    transform: rotate(calc(var(--i) * 90deg)) translateX(180px) rotate(calc(var(--i) * -90deg));
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(0, 102, 255, 0.2);
    z-index: 5;
}

.wheel-card:hover {
    width: 130px;
    height: 130px;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 25px rgba(0, 102, 255, 0.4);
    z-index: 20;
}

.card-content {
    text-align: center;
    color: var(--white);
    transform: rotate(calc(var(--i) * 0deg));
    width: 100%;
    padding: 10px;
}

/* .card-icon {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--electric-blue);
} */

.card-title {
    font-size: -1.65rem;
    /* font-weight: 600; */
    margin: 0;
    line-height: 1.2;
}

/* Connecting lines between cards */
.service-wheel::before {
    content: '';
    position: absolute;
    width: 360px;
    height: 360px;
    border: 1px dashed rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    z-index: 1;
}

/* Add connecting lines from center to each card */
.wheel-card::before {
    /* content: ''; */
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80px;
    height: 1px;
    background: linear-gradient(90deg, rgba(0, 102, 255, 0.5), rgba(0, 212, 255, 0.2));
    transform: rotate(calc((var(--i) - 1) * -45deg)) translateX(-50%);
    transform-origin: left;
    z-index: 0;
}

/* Add glow effect to the wheel */
.service-wheel::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.1) 0%, transparent 70%);
    z-index: 0;
    animation: pulse 4s infinite;
}

/* Mobile responsive styles */
@media (max-width: 768px) {
    .service-wheel {
        width: 300px;
        height: 300px;
        margin-top: 50px;
    }

    .wheel-center {
        width: 100px;
        height: 100px;
    }

    .center-content h3 {
        font-size: 0.7rem;
    }

    .card-title {
        display: none;
    }

    .wheel-card {
        width: 90px;
        height: 90px;
        transform-origin: 150px;
        transform: rotate(calc(var(--i) * 90deg)) translateX(120px) rotate(calc(var(--i) * -90deg));
    }

    .wheel-card:hover {
        width: 75px;
        height: 75px;
    }

    .card-title {
        font-size: -1.65rem;
    }

    .center-logo {
        width: 80px;
        height: 80px;
    }

    .service-wheel::before {
        width: 240px;
        height: 240px;
    }

    /* Mobile shuffling animation */
    @keyframes mobileCardShuffle {

        0%,
        100% {
            transform: translateY(0);
            opacity: 1;
        }

        50% {
            transform: translateY(-10px);
            opacity: 0.8;
        }
    }

    /* Apply shuffling animation only on mobile */
    @media (max-width: 576px) {
        .card-icon {
            font-size: 1rem;
            margin-left: 3%;
        }

        /* .service-wheel {
                    animation: none;
                    flex-direction: column;
                    height: auto;
                    width: 100%;
                } */

        /* .wheel-center {
                    position: relative;
                    margin-bottom: 20px;
                }
                
                .wheel-card {
                    position: relative;
                    margin: 10px 0;
                    transform: none;
                    animation: mobileCardShuffle 3s ease-in-out infinite;
                    animation-delay: calc(var(--i) * 0.2s);
                    width: 80px;
                    height: 80px;
                } */

        /* .wheel-card::before,
                .service-wheel::before,
                .service-wheel::after {
                    display: none;
                } */

        /* .card-content {
                    transform: none;
                } */
        .card-title {
            display: none;
        }

        .hero-content {
            grid-template-columns: 1fr;
        }

        .hero-visual {
            margin-top: 30px;
        }
    }
}

.main-visual::before {
    content: '';
    position: absolute;
    width: 800px;
    height: 800px;
    background: linear-gradient(135deg, var(--primary-blue), var(--electric-blue));
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.2;
    animation: pulse 4s ease-in-out infinite;
}

.circle {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: rotate 20s linear infinite;
}

.circle:nth-child(1) {
    width: 300px;
    height: 300px;
}

.circle:nth-child(2) {
    width: 200px;
    height: 200px;
    animation-direction: reverse;
    animation-duration: 15s;
}

.circle:nth-child(3) {
    width: 100px;
    height: 100px;
    animation-duration: 10s;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: float 6s ease-in-out infinite;
    z-index: 2;
    /* bottom: 20%; */
}

/* .floating-card:nth-child(1) {
            top: -50%;
            left: -10%;
            width: 220px;
            animation-delay: 0s;
        } */

.floating-card:nth-child(2) {
    top: 80%;
    right: -10%;
    width: 200px;
    animation-delay: 1s;
}

.floating-card:nth-child(3) {
    bottom: 50%;
    left: 60%;
    width: 180px;
    animation-delay: 2s;
}

.floating-card:nth-child(4) {
    top: -1%;
    left: -10%;
    width: 220px;
    animation-delay: 0s;
}

.floating-card:nth-child(5) {
    bottom: -20%;
    left: 15%;
    width: 220px;
    animation-delay: 0s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.card-icon {
    /* background: linear-gradient(135deg, var(--primary-blue), var(--electric-blue)); */
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 5px;
    color: var(--electric-blue);
    font-size: 2.5rem;
    margin-left: 20%;
}

.card-title {
    font-size: -1.65rem;
    margin-bottom: 0.5rem;
}

.card-desc {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Section Styles */
.section {
    padding: 100px 50px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 60px;
    background: linear-gradient(135deg, var(--white), var(--electric-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--electric-blue));
    border-radius: 2px;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 60px;
}

.about-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

.about-text p {
    margin-bottom: 30px;
}

.company-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    position: relative;
    height: 550px;
    /* background: linear-gradient(135deg, var(--primary-blue), var(--electric-blue)); */
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
}

.company-image img{
border-radius: 5%;
width: 70%;
/* height: 80%; */
}

/* Stats Section */
.stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 80px;
    text-align: center;
}

.stat-item {
    padding: 30px;
    background: rgba(0, 102, 255, 0.1);
    border-radius: 15px;
    border: 1px solid rgba(0, 102, 255, 0.2);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-10px);
    border-color: var(--electric-blue);
    box-shadow: 0 15px 30px rgba(0, 212, 255, 0.2);
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    background: linear-gradient(135deg, var(--primary-blue), var(--electric-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

.stat-label {
    color: var(--electric-blue);
    font-weight: 500;
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.holographic-card {
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.1), rgba(0, 212, 255, 0.05));
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 20px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    cursor: pointer;
}

.holographic-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(0, 212, 255, 0.3), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.holographic-card:hover::before {
    animation: shimmer 0.6s ease;
    opacity: 1;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }

    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.holographic-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--electric-blue);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.3);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.card-title {
    font-size: -1.65rem;
    margin-bottom: 15px;
    color: var(--electric-blue);
}

.card-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* 3D Mission Cards */
.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.mission-card {
    perspective: 1000px;
    height: 300px;
}

.mission-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: left;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.mission-card:hover .mission-card-inner {
    transform: rotateY(180deg);
}

.mission-card-front,
.mission-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 15px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mission-card-front {
    background: rgba(0, 20, 60, 0.5);
    border: 1px solid var(--electric-blue);
}

.mission-card-back {
    background: rgba(0, 20, 60);
    color: #fff;
    /* backdrop-filter: blur(10px); */
    transform: rotateY(180deg);
}

.mission-card h3 {
    color: var(--electric-blue);
    margin-bottom: 1rem;
}

/* Projects Showcase */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.project-card {
    background: rgba(0, 20, 40, 0.6);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 102, 255, 0.3);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 102, 255, 0.3);
    border-color: var(--electric-blue);
}

.project-img {
    height: 200px;
    background: linear-gradient(135deg, var(--primary-blue), var(--electric-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
}

.project-content {
    padding: 20px;
}

.project-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--electric-blue);
}

.project-desc {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
}

/* Project Categories */
.project-category {
    margin-bottom: 50px;
}

.category-title {
    font-size: 2rem;
    color: var(--electric-blue);
    margin-bottom: 30px;
    text-align: center;
    position: relative;
}

.category-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-blue), var(--electric-blue));
    border-radius: 2px;
}

.project-status {
    color: var(--electric-blue);
    font-style: italic;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.project-team {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(0, 102, 255, 0.3);
}

.project-team p {
    color: rgba(255, 255, 255, 0.9);
    margin: 5px 0;
    font-size: 0.9rem;
}

.read-more-btn {
    margin-top: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.read-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 102, 255, 0.4);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: linear-gradient(135deg, rgba(0, 8, 20, 0.95), rgba(0, 26, 61, 0.95));
    margin: 2% auto;
    padding: 0;
    border: 1px solid var(--electric-blue);
    border-radius: 20px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 212, 255, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    padding: 20px 30px 10px;
    border-bottom: 1px solid rgba(0, 102, 255, 0.3);
    display: flex;
    justify-content: flex-end;
}

.modal-close {
    background: none;
    border: none;
    color: var(--electric-blue);
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(0, 212, 255, 0.1);
    transform: rotate(90deg);
}

.modal-body {
    padding: 30px;
    color: var(--white);
}

.modal-body h2 {
    color: var(--electric-blue);
    margin-bottom: 20px;
    font-size: 2.2rem;
}

.modal-body h3 {
    color: var(--primary-blue);
    margin: 25px 0 15px;
    font-size: 1.4rem;
}

.modal-status,
.modal-category,
.modal-description {
    margin-bottom: 15px;
    line-height: 1.6;
}

.modal-section {
    margin-bottom: 30px;
}

.modal-section p {
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
}

.modal-section ul {
    list-style: none;
    padding-left: 0;
}

.modal-section li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.modal-section li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: var(--electric-blue);
    font-size: 0.8rem;
}

/* Responsive Design for Projects */
@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .category-title {
        font-size: 1.6rem;
    }
    
    .modal-content {
        width: 95%;
        margin: 5% auto;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .modal-body h2 {
        font-size: 1.8rem;
    }
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.team-member {
    text-align: center;
    background: rgba(0, 102, 255, 0.05);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 102, 255, 0.2);
}

.team-member:hover {
    transform: translateY(-10px);
    border-color: var(--electric-blue);
    box-shadow: 0 15px 30px rgba(0, 212, 255, 0.2);
}

.member-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-blue), var(--electric-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
}

.member-name {
    font-size: 1.5rem;
    margin-bottom: 5px;
    color: var(--white);
}

.member-role {
    color: var(--electric-blue);
    margin-bottom: 15px;
}

/* Testimonials */
.testimonials-container {
    max-width: 1000px;
    margin: 60px auto 0;
    position: relative;
}

.testimonial {
    background: rgba(0, 20, 40, 0.6);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    border: 1px solid rgba(0, 102, 255, 0.3);
    margin: 20px;
}

.testimonial-text {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    line-height: 1.6;
    position: relative;
}

.testimonial-text::before,
.testimonial-text::after {
    content: '"';
    font-size: 3rem;
    color: var(--electric-blue);
    opacity: 0.5;
    position: absolute;
}

.testimonial-text::before {
    top: -20px;
    left: -20px;
}

.testimonial-text::after {
    bottom: -40px;
    right: -20px;
}

.testimonial-author {
    font-weight: bold;
    color: var(--electric-blue);
    margin-top: 20px;
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.1), rgba(0, 8, 20, 0.9));
    border-radius: 30px;
    padding: 60px;
    margin: 100px auto;
    max-width: 1200px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.1), transparent);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Footer */
footer {
    text-align: center;
    padding: 60px 40px 40px;
    background: rgba(0, 8, 20, 0.9);
    border-top: 1px solid rgba(0, 212, 255, 0.2);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    text-align: left;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: bold;
    background: linear-gradient(135deg, var(--primary-blue), var(--electric-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 15px;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.footer-heading {
    color: var(--electric-blue);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--electric-blue);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    color: rgba(255, 255, 255, 0.7);
}

/* Scroll Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-title {
        font-size: 2.75rem;
    }

    .hero-cta {
        justify-content: center;
    }

    .floating-card {
        display: none;
    }

    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        background: rgba(0, 8, 20, 0.95);
        width: 100%;
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        transition: all 0.5s ease;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-links.active {
        left: 0;
    }

    .menu-toggle {
        display: block;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 80px 30px;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .contact-section {
        padding: 40px 30px;
    }

    .hero {
        padding: 100px 30px 50px;
    }

    nav {
        padding: 20px 30px;
    }

    .stats-container {
        grid-template-columns: 1fr;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Loading Animation */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--midnight);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.5s ease;
}

.loader.hidden {
    opacity: 0;
    pointer-events: none;
}

.loader-circle {
    width: 100px;
    height: 100px;
    border: 3px solid rgba(0, 212, 255, 0.2);
    border-top-color: var(--electric-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Blog and Event Specific Styles */
.blog-meta, .event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.blog-date, .event-date {
    color: var(--electric-blue);
    font-weight: 600;
}

.blog-category-tag, .event-time, .event-location {
    background: linear-gradient(135deg, var(--primary-blue), var(--electric-blue));
    color: var(--white);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.blog-author, .event-speakers {
    margin-top: 15px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.blog-card, .event-card {
    transition: all 0.3s ease;
}

.blog-card:hover, .event-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.2);
}

.past-event {
    opacity: 0.8;
}

.past-event:hover {
    opacity: 1;
}

.register-btn, .watch-replay-btn {
    margin-top: 15px;
    width: 100%;
}

.event-meta span {
    display: block;
    margin-bottom: 5px;
}

@media (min-width: 768px) {
    .event-meta span {
        display: inline-block;
        margin-bottom: 0;
    }
}

/* Enhanced Blog and Event Categories */
.blog-category, .event-category {
    margin-bottom: 60px;
}

.blog-category:last-child, .event-category:last-child {
    margin-bottom: 0;
}

/* Achievements Section */
.achievements-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.achievement-card {
    background: linear-gradient(135deg, rgba(0, 26, 61, 0.8), rgba(0, 8, 20, 0.9));
    border: 1px solid rgba(0, 102, 255, 0.3);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.achievement-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent, rgba(0, 212, 255, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.achievement-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.3);
    border-color: var(--electric-blue);
}

.achievement-card:hover::before {
    opacity: 1;
}

.achievement-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-blue), var(--electric-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    position: relative;
    z-index: 1;
}

.achievement-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--electric-blue);
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.achievement-label {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.achievement-desc {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .achievements-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .achievement-card {
        padding: 30px 20px;
    }
    
    .achievement-number {
        font-size: 2.5rem;
    }
}
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Event Modal responsive layout and actions */
#eventModalOverlay .modal-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

#eventModalOverlay .modal-details {
  padding: 16px 20px;
}

#eventModalOverlay #eventModalDescription {
  margin-bottom: 16px;
  line-height: 1.5;
}

#eventModalOverlay .modal-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 640px) {
  #eventModalOverlay .modal-body {
    grid-template-columns: 1fr;
  }
  #eventModalOverlay .modal-image {
    height: 200px;
  }
}

/* Contact Section Styles */
.contact-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    margin-top: 50px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.contact-form-wrapper, .contact-info-wrapper {
    background: linear-gradient(135deg, rgba(0, 26, 61, 0.8), rgba(0, 8, 20, 0.9));
    border: 1px solid rgba(0, 102, 255, 0.3);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(10px);
}

.contact-form-wrapper h3, .contact-info-wrapper h3 {
    font-size: 1.8rem;
    color: var(--electric-blue);
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--white);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--electric-blue);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.2);
}

.contact-intro {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
}

.info-cards {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-card {
    display: flex;
    align-items: center;
    gap: 20px;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-blue), var(--electric-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--white);
    flex-shrink: 0;
}

.info-content h4 {
    color: var(--electric-blue);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.info-content p {
    color: rgba(255, 255, 255, 0.8);
}

.social-connect {
    margin-top: 40px;
}

.social-connect h4 {
    margin-bottom: 15px;
    color: var(--white);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--electric-blue);
    color: var(--white);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.3);
}

.w-100 {
    width: 100%;
}

@media (max-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .contact-form-wrapper, .contact-info-wrapper {
        padding: 25px;
    }
}