/* Global Variables - White 3D Theme */
:root {
    --bg-color: #f8f9fa;
    /* Light background */
    --text-color: #1a1a1a;
    /* Dark text */
    --text-muted: #555555;
    --primary-neon: #2563eb;
    /* Strong Blue */
    --secondary-neon: #7c3aed;
    /* Deep Purple */
    --glass-bg: rgba(255, 255, 255, 0.6);
    /* Light Glass */
    --glass-border: rgba(255, 255, 255, 0.8);
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    /* Soft shadow */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --section-padding: 80px 0;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: #000;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Utilities */
.text-neon {
    color: var(--primary-neon);
}

.text-gradient {
    background: linear-gradient(45deg, var(--primary-neon), var(--secondary-neon));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-family: var(--font-heading);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    outline: none;
}

.btn-primary {
    background: linear-gradient(90deg, var(--primary-neon), var(--secondary-neon));
    color: #fff;
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.4);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--primary-neon);
    color: var(--primary-neon);
}

.btn-secondary:hover {
    background: var(--primary-neon);
    color: #fff;
}

.btn-whatsapp {
    background-color: #25D366;
    color: #fff;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
}

/* Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 2000;
    transition: all 0.3s ease;
    animation: pulse-whatsapp 2s infinite;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    background-color: #128C7E;
    color: #fff;
}

@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Light Glass Card */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--card-shadow);
    transition: transform 0.1s ease-out, box-shadow 0.3s ease;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.glass-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: #fff;
}

.card-content {
    transform: translateZ(20px);
}

/* Background Glows - Adjusted for White */
.bg-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.15;
    /* Lower opacity for subtle tint */
    animation: float-bg 10s infinite alternate;
}

.bg-glow-1 {
    background: var(--primary-neon);
    top: -100px;
    left: -100px;
}

.bg-glow-2 {
    background: var(--secondary-neon);
    bottom: -100px;
    right: -100px;
    animation-delay: -5s;
}

@keyframes float-bg {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(50px, 50px);
    }
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: 0.3s;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    font-family: var(--font-heading);
    letter-spacing: 1px;
    color: #000;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links li a {
    font-size: 1rem;
    font-weight: 500;
    position: relative;
    color: var(--text-color);
}

.nav-links li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--primary-neon);
    transition: 0.3s;
}

.nav-links li a:hover::after {
    width: 100%;
}

.nav-btn {
    padding: 10px 25px;
    font-size: 0.9rem;
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #000;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 50px;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

/* 3D Hero Visuals - Tech Box */
.hero-visual {
    position: relative;
    height: 600px;
    width: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
    transform-style: preserve-3d;
}

.tech-box-container {
    position: relative;
    width: 200px;
    height: 200px;
    transform-style: preserve-3d;
    animation: float-box 6s ease-in-out infinite;
}

.tech-box {
    width: 100%;
    height: 100%;
    position: absolute;
    transform-style: preserve-3d;
    animation: rotate-box 15s infinite linear;
}

.box-face {
    position: absolute;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid var(--primary-neon);
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.2);
    backdrop-filter: blur(5px);
}

.front {
    transform: translateZ(100px);
}

.back {
    transform: rotateY(180deg) translateZ(100px);
}

.right {
    transform: rotateY(90deg) translateZ(100px);
}

.left {
    transform: rotateY(-90deg) translateZ(100px);
}

.top {
    transform: rotateX(90deg) translateZ(100px);
}

.bottom {
    transform: rotateX(-90deg) translateZ(100px);
}

/* Inner Core */
.inner-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: var(--primary-neon);
    filter: blur(20px);
    opacity: 0.6;
    border-radius: 50%;
    animation: pulse-core 3s infinite alternate;
}

/* Satellite Boxes */
.satellite {
    position: absolute;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--secondary-neon);
    box-shadow: 0 0 10px var(--secondary-neon);
    transform-style: preserve-3d;
}

.sat-1 {
    top: -50px;
    left: -50px;
    animation: orbit-1 8s infinite linear;
}

.sat-2 {
    bottom: -20px;
    right: -60px;
    animation: orbit-2 12s infinite linear reverse;
}

.sat-3 {
    top: 50%;
    left: 120%;
    width: 30px;
    height: 30px;
    background: var(--secondary-neon);
    animation: orbit-3 10s infinite ease-in-out;
}

@keyframes float-box {

    0%,
    100% {
        transform: translateY(0) rotateX(5deg);
    }

    50% {
        transform: translateY(-30px) rotateX(-5deg);
    }
}

@keyframes rotate-box {
    0% {
        transform: rotateX(0) rotateY(0) rotateZ(0);
    }

    100% {
        transform: rotateX(360deg) rotateY(360deg) rotateZ(360deg);
    }
}

@keyframes pulse-core {
    0% {
        opacity: 0.4;
        transform: translate(-50%, -50%) scale(0.8);
    }

    100% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.2);
    }
}

@keyframes orbit-1 {
    0% {
        transform: rotateY(0) translateZ(180px) rotateY(0);
    }

    100% {
        transform: rotateY(360deg) translateZ(180px) rotateY(-360deg);
    }
}

@keyframes orbit-2 {
    0% {
        transform: rotateX(0) translateZ(200px) rotateX(0);
    }

    100% {
        transform: rotateX(360deg) translateZ(200px) rotateX(-360deg);
    }
}

@keyframes orbit-3 {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(-20px, -100px);
    }
}

/* 3D Grid Floor Background */
.grid-bg {
    position: fixed;
    bottom: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-image:
        linear-gradient(rgba(37, 99, 235, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    transform: perspective(500px) rotateX(60deg);
    animation: move-grid 20s linear infinite;
    z-index: -2;
    mask-image: linear-gradient(to bottom, transparent 0%, white 40%, white 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, white 40%, white 100%);
}

@keyframes move-grid {
    0% {
        transform: perspective(500px) rotateX(60deg) translateY(0);
    }

    100% {
        transform: perspective(500px) rotateX(60deg) translateY(50px);
    }
}

/* Services Section */
.section {
    padding: var(--section-padding);
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
    color: #000;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card-icon {
    margin-bottom: 20px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.card-icon img {
    height: 50px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s;
}

.glass-card:hover .card-icon img {
    transform: scale(1.1);
}

.glass-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #000;
}

.glass-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Why Choose Us - UPGRADED */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.6) 100%);
    padding: 30px;
    border-radius: 20px;
    border-left: 4px solid var(--secondary-neon);
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(124, 58, 237, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.feature-item:hover::before {
    opacity: 1;
}

.feature-item:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.95) 100%);
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-left-color: var(--primary-neon);
}

.feature-badge {
    font-size: 3rem;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.15), rgba(37, 99, 235, 0.15));
    width: 80px;
    height: 80px;
    min-width: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(124, 58, 237, 0.2);
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.feature-item:hover .feature-badge {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 25px rgba(124, 58, 237, 0.3);
}

.feature-text {
    flex: 1;
    position: relative;
    z-index: 1;
}

.feature-text h3 {
    margin-bottom: 10px;
    color: #000;
    font-size: 1.4rem;
    font-weight: 700;
}

.feature-text p {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 1rem;
}

/* About Section */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.profile-card {
    width: 300px;
    height: 300px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.profile-icon {
    font-size: 8rem;
    color: #000;
    z-index: 2;
}

.profile-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, var(--primary-neon), transparent 70%);
    opacity: 0.2;
    animation: pulse 4s infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(0.8);
        opacity: 0.2;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.4;
    }
}

.role {
    color: var(--primary-neon);
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

/* Contact Section */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.contact-info p {
    color: var(--text-muted);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.contact-details {
    margin-top: 40px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
    color: var(--text-muted);
}

.contact-form-container {
    padding: 40px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-muted);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    color: #000;
    font-family: var(--font-body);
    transition: 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-neon);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.btn-block {
    width: 100%;
}

/* Footer */
.footer {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding: 40px 0;
    margin-top: 50px;
    background: #fff;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: #000;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    font-size: 1.2rem;
    color: var(--text-muted);
}

.social-links a:hover {
    color: var(--primary-neon);
}

.copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Animations Classes (for JS) */
.fade-in,
.fade-in-up,
.fade-in-left,
.fade-in-right {
    opacity: 0;
    transition: all 0.8s ease-out;
}

.fade-in-up {
    transform: translateY(30px);
}

.fade-in-left {
    transform: translateX(-30px);
}

.fade-in-right {
    transform: translateX(30px);
}

.visible {
    opacity: 1;
    transform: translate(0, 0);
}

.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

.delay-400 {
    transition-delay: 0.4s;
}

.delay-500 {
    transition-delay: 0.5s;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3rem;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-btns {
        justify-content: center;
    }

    .hero-visual {
        height: 300px;
        margin-top: 30px;
    }

    .about-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .section-title {
        text-align: center !important;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .floating-whatsapp {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 25px;
    }
}
/* Feature Badge Icons */
.feature-badge img { width: 50px; height: 50px; object-fit: contain; filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.1)); }


/* Enhanced Mobile Responsiveness */
@media (max-width: 576px) {
    .hero-title { font-size: 2rem; line-height: 1.2; }
    .hero-subtitle { font-size: 1rem; }
    .hero-btns { flex-direction: column; width: 100%; }
    .hero-btns .btn { width: 100%; text-align: center; }
    .section-title { font-size: 2rem; }
    .services-grid { grid-template-columns: 1fr; gap: 20px; }
    .features-grid { grid-template-columns: 1fr; gap: 25px; }
    .feature-item { padding: 20px; gap: 15px; }
    .feature-badge { width: 60px; height: 60px; min-width: 60px; }
    .feature-badge img { width: 35px; height: 35px; }
    .feature-text h3 { font-size: 1.2rem; }
    .feature-text p { font-size: 0.9rem; }
    .tech-box-container { width: 150px; height: 150px; }
    .hero-visual { height: 250px; width: 100%; }
    .contact-info h2 { font-size: 2rem; }
    .glass-card { padding: 20px; }
    .nav-btn { display: none; }
}


/* About Section - Centered */
.about-content-centered {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}
.about-content-centered .section-title {
    text-align: center;
}
.about-content-centered .role {
    text-align: center;
    display: block;
}
.about-content-centered p {
    text-align: center;
    line-height: 1.8;
    font-size: 1.1rem;
}


/* Mobile Menu Improvements */
@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        gap: 0;
        padding: 0;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        z-index: 999;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
    }
    .nav-links li {
        width: 100%;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
    .nav-links li a {
        display: block;
        padding: 15px 20px;
        width: 100%;
        text-align: center;
    }
    .nav-links li a:hover {
        background: rgba(37, 99, 235, 0.05);
    }
}
