@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #050b18;
    --primary-light: #0d1629;
    --secondary: #00f2ff; /* Vibrant Cyan */
    --accent: #7000ff; /* Electric Purple */
    --accent-glow: rgba(0, 242, 255, 0.3);
    --gold: #ffcc00; /* Rich Gold */
    --gold-glow: rgba(255, 204, 0, 0.4);
    --rose: #ff007a;
    --text-main: #e2e8f0;
    --text-dim: #94a3b8;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

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

body {
    font-family: 'Outfit', 'Poppins', sans-serif;
    background-color: var(--primary);
    background-image: 
        radial-gradient(at 0% 0%, rgba(112, 0, 255, 0.1) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(0, 242, 255, 0.1) 0px, transparent 50%);
    color: var(--text-main);
    overflow-x: hidden;
    scroll-behavior: smooth;
    line-height: 1.6;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--primary);
}
::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--secondary);
}

/* Glassmorphism Utility */
.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

/* Navbar Premium */
.navbar {
    background: rgba(10, 25, 47, 0.85) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1.2rem 0;
    transition: var(--transition);
}

.navbar-brand {
    font-size: 1.5rem;
    letter-spacing: 2px;
    color: var(--white) !important;
    text-shadow: 0 0 10px rgba(26, 115, 232, 0.5);
}

.nav-link {
    color: var(--text-main) !important;
    font-weight: 500;
    margin: 0 10px;
    position: relative;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--white) !important;
}

/* Hero Section High-Tech */
.hero-section {
    min-height: 100vh;
    padding-top: 100px;
    background: radial-gradient(circle at 50% 50%, rgba(112, 0, 255, 0.1) 0%, rgba(5, 11, 24, 1) 100%);
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 200%;
    background-image: 
        linear-gradient(rgba(0, 242, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 242, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    transform: perspective(500px) rotateX(60deg) translateY(-50%);
    animation: gridMove 20s linear infinite;
    z-index: -1;
    opacity: 0.5;
}

@keyframes gridMove {
    0% { transform: perspective(500px) rotateX(60deg) translateY(-50%); }
    100% { transform: perspective(500px) rotateX(60deg) translateY(0%); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(5, 11, 24, 0.4), rgba(5, 11, 24, 0.8));
    z-index: -1;
}

.scanline {
    width: 100%;
    height: 100px;
    z-index: 10;
    background: linear-gradient(0deg, rgba(0, 242, 255, 0) 0%, rgba(0, 242, 255, 0.1) 50%, rgba(0, 242, 255, 0) 100%);
    opacity: 0.1;
    position: absolute;
    bottom: 100%;
    animation: scanline 8s linear infinite;
}

@keyframes scanline {
    0% { bottom: 100%; }
    100% { bottom: -100px; }
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease-out;
}

.text-gradient {
    background: linear-gradient(90deg, #00f2ff, #7000ff);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.animate-glow {
    text-shadow: 0 0 20px rgba(0, 242, 255, 0.4);
    animation: pulseGlow 3s infinite alternate;
}

@keyframes pulseGlow {
    from { text-shadow: 0 0 10px rgba(0, 242, 255, 0.2); }
    to { text-shadow: 0 0 30px rgba(112, 0, 255, 0.6); }
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 300;
    line-height: 1.8;
}

.hero-stats {
    margin-top: 4rem;
    display: flex;
    gap: 3rem;
    animation: fadeInUp 1.5s ease-out;
}

.stat-item h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 0;
}

.stat-item p {
    font-size: 0.9rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Animated Features */
.floating-card {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Glitch Effect */
.glitch-text {
    position: relative;
    color: white;
}

.glitch-text::before, .glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch-text::before {
    left: 2px;
    text-shadow: -2px 0 var(--rose);
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-1 5s infinite linear alternate-reverse;
}

.glitch-text::after {
    left: -2px;
    text-shadow: -2px 0 var(--secondary);
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-2 5s infinite linear alternate-reverse;
}

@keyframes glitch-1 {
    0% { clip: rect(10px, 9999px, 85px, 0); }
    10% { clip: rect(31px, 9999px, 86px, 0); }
    20% { clip: rect(13px, 9999px, 63px, 0); }
    30% { clip: rect(44px, 9999px, 5px, 0); }
    40% { clip: rect(82px, 9999px, 20px, 0); }
    50% { clip: rect(32px, 9999px, 54px, 0); }
    60% { clip: rect(54px, 9999px, 96px, 0); }
    70% { clip: rect(21px, 9999px, 4px, 0); }
    80% { clip: rect(13px, 9999px, 85px, 0); }
    90% { clip: rect(98px, 9999px, 54px, 0); }
    100% { clip: rect(10px, 9999px, 85px, 0); }
}

@keyframes glitch-2 {
    0% { clip: rect(65px, 9999px, 12px, 0); }
    100% { clip: rect(20px, 9999px, 98px, 0); }
}

/* Service Cards Overhaul */
.section-title {
    font-weight: 800;
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 15px;
}

.section-title::before {
    content: '';
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    border-radius: 2px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.service-card-premium {
    background: var(--primary-light);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.service-card-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--secondary) 0%, transparent 100%);
    opacity: 0;
    transition: var(--transition);
    z-index: 0;
}

.service-card-premium:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: var(--secondary);
    box-shadow: 0 0 30px rgba(0, 242, 255, 0.3);
}

.service-icon-wrapper {
    width: 70px;
    height: 70px;
    background: rgba(0, 242, 255, 0.05);
    border: 1px solid rgba(0, 242, 255, 0.1);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.service-card-premium:hover .service-icon-wrapper {
    background: var(--secondary);
    box-shadow: 0 0 20px var(--secondary);
}

.service-card-premium:hover .service-icon-wrapper i {
    color: var(--primary);
}

.service-icon-wrapper i {
    font-size: 2rem;
    color: var(--secondary);
}

.service-card-premium h4 {
    color: var(--white);
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.service-card-premium p {
    color: var(--text-dim);
    font-size: 1rem;
    position: relative;
    z-index: 1;
}

/* Project Cards Portfolio */
.project-card-new {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    aspect-ratio: 16/10;
    cursor: pointer;
    background: var(--primary-light);
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(5, 11, 24, 0.1), rgba(5, 11, 24, 0.9));
    z-index: 1;
}

.project-card-new::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid transparent;
    border-radius: 28px;
    background: linear-gradient(90deg, var(--secondary), var(--accent)) border-box;
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask-composite: destination-out;
    opacity: 0;
    transition: var(--transition);
}

.project-card-new:hover::after {
    opacity: 1;
}

.project-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a73e8, #0a192f);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-card-new i.main-icon {
    font-size: 4rem;
    color: var(--white);
    opacity: 0.8;
    position: relative;
    z-index: 2;
    transition: var(--transition);
}

.project-card-new:hover {
    border-color: var(--secondary);
    box-shadow: 0 20px 40px rgba(0, 242, 255, 0.2);
    transform: translateY(-10px);
}

.project-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(transparent, rgba(10, 25, 47, 0.95));
    transition: var(--transition);
    transform: translateY(20px);
}

.project-card-new:hover .project-bg {
    transform: scale(1.1);
}

.project-card-new:hover i.main-icon {
    transform: scale(1.2) rotate(-5deg);
    color: var(--secondary);
}

.project-card-new:hover .project-content {
    transform: translateY(0);
}

.project-category {
    font-size: 0.8rem;
    color: var(--secondary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.project-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
}

/* Floating WhatsApp */
.whatsapp-fixed {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: var(--transition);
    text-decoration: none;
}

.whatsapp-fixed:hover {
    transform: scale(1.1) rotate(10deg);
    color: white;
}

/* Brands Scroll */
.brands-section {
    padding: 4rem 0;
    border-top: 1px solid var(--glass-border);
    background: rgba(10, 25, 47, 0.5);
}

.brand-logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-dim);
    filter: grayscale(1);
    opacity: 0.5;
    transition: var(--transition);
    cursor: default;
}

.brand-logo:hover {
    filter: grayscale(0) drop-shadow(0 0 10px var(--secondary));
    opacity: 1;
    color: var(--secondary);
    transform: scale(1.1);
}

.brand-logo {
    display: inline-block;
    animation: simpleFloat 4s ease-in-out infinite;
}

@keyframes simpleFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

footer {
    padding: 5rem 0 2rem;
    background: var(--primary-light);
    border-top: 1px solid var(--glass-border);
}

.footer-logo {
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 2rem;
    display: block;
}

.social-pill {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    background: var(--glass);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: var(--text-main);
    transition: var(--transition);
    text-decoration: none;
}

.social-pill:hover {
    background: var(--secondary);
    color: var(--white);
    transform: translateY(-5px);
}

@media (max-width: 991px) {
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
}

