/* Global Variables */
:root {
    --primary-color: #0a192f;
    /* Deep Navy */
    --secondary-color: #112240;
    /* Lighter Navy */
    --accent-color: #64ffda;
    /* Tech Cyan */
    --text-light: #ccd6f6;
    --text-white: #ffffff;
    --text-nav: #8892b0;
    --transition: all 0.3s ease-in-out;
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--primary-color);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text-white);
    margin-bottom: 20px;
    font-weight: 700;
}

p {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid var(--accent-color);
    background: transparent;
    color: var(--accent-color);
    margin-right: 15px;
}

.btn:hover {
    background: rgba(100, 255, 218, 0.1);
}

.btn-primary {
    background: var(--accent-color);
    color: var(--primary-color);
}

.btn-primary:hover {
    background: #4cdbb6;
}

.section-padding {
    padding: 80px 0;
}

/* Flexbox Utils */
.flex {
    display: flex;
    flex-wrap: wrap;
}

.justify-between {
    justify-content: space-between;
}

.items-center {
    align-items: center;
}

/* Glassmorphism Card Style */
.glass-card {
    background: rgba(17, 34, 64, 0.5);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    padding: 40px;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
}

/* Form Styling Enhancements */
.form-group {
    margin-bottom: 20px;
    position: relative;
}

input,
textarea,
select {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-white);
    font-family: inherit;
    transition: var(--transition);
    font-size: 1rem;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 15px rgba(100, 255, 218, 0.1);
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.icon-box {
    width: 50px;
    height: 50px;
    background: rgba(100, 255, 218, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--accent-color);
    transition: var(--transition);
}

.contact-info-item:hover .icon-box {
    background: var(--accent-color);
    color: var(--primary-color);
    transform: rotate(10deg);
}

/* Slider Styles */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.2s cubic-bezier(0.77, 0, 0.175, 1), visibility 1.2s;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(1.2) rotate(1deg);
    /* Start with zoom and slight tilt */
    filter: blur(10px);
    /* Start blurred */
}

.slide.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1) rotate(0deg);
    filter: blur(0);
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Cinematic Gradient: Dark at bottom for text contrast, transparent in middle/top for image clarity */
    background: linear-gradient(180deg, rgba(10, 25, 47, 0.2) 0%, rgba(10, 25, 47, 0) 40%, rgba(10, 25, 47, 0.7) 100%);
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 20px;
    /* Removed card background and blur for total image visibility */
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    box-shadow: none;
}

.slide-title {
    font-size: 3.5rem;
    color: var(--text-white);
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(50px) skewY(5deg);
    /* Added skew for dynamic feel */
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1) 0.6s;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

.slide.active .slide-title {
    opacity: 1;
    transform: translateY(0) skewY(0deg);
}

.slide-desc {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1) 0.8s;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.8);
}

.slide.active .slide-desc {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.slide-btns {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1) 1s;
    display: flex;
    gap: 20px;
    justify-content: center;
}

.slide.active .slide-btns {
    opacity: 1;
    transform: translateY(0);
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 15px;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid transparent;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot:hover {
    background: rgba(100, 255, 218, 0.4);
}

.dot.active {
    background: var(--accent-color);
    transform: scale(1.3);
    box-shadow: 0 0 15px var(--accent-color);
}

/* Navbar Styles */
.menu-btn {
    display: none;
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    background: rgba(10, 25, 47, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1100;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid rgba(100, 255, 218, 0.1);
}

nav.scrolled {
    height: 70px;
    background: rgba(10, 25, 47, 0.95);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-bottom-color: rgba(100, 255, 218, 0.2);
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-white);
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(45deg, var(--text-white) 30%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-cta {
    padding: 10px 20px;
    border: 1px solid var(--accent-color);
    border-radius: 5px;
    color: var(--accent-color) !important;
    font-weight: 600;
    font-size: 0.85rem !important;
    transition: all 0.3s ease;
    margin-left: 10px;
}

.nav-cta:hover {
    background: var(--accent-color);
    color: var(--primary-color) !important;
    box-shadow: 0 0 20px rgba(100, 255, 218, 0.3);
}

.nav-links {
    display: flex;
    gap: 20px;
    height: 100%;
    align-items: center;
}

.nav-links>li {
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
}

.nav-links a {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
    position: relative;
    padding: 10px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

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

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-color);
}

/* Mega Menu Styles */
.nav-links li {
    position: static;
}

.has-mega-menu {
    position: relative;
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(17, 34, 64, 0.98);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(100, 255, 218, 0.3);
    border-bottom: 4px solid var(--accent-color);
    visibility: hidden;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    padding: 60px 0;
    z-index: 1000;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.has-mega-menu:hover .mega-menu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.mega-menu-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.mega-item {
    display: flex;
    gap: 15px;
    text-decoration: none;
    transition: var(--transition);
    padding: 15px;
    border-radius: 8px;
}

.mega-item:hover {
    background: rgba(100, 255, 218, 0.05);
    transform: translateY(-3px);
}

.mega-item i {
    font-size: 1.5rem;
    color: var(--accent-color);
    width: 30px;
}

.mega-item h4 {
    color: var(--text-white);
    margin-bottom: 5px;
    font-size: 1rem;
}

.mega-item p {
    color: var(--text-nav);
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.4;
}

/* Responsiveness */
@media (max-width: 1024px) {
    .mega-menu-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    nav {
        padding: 0 30px;
    }

    .menu-btn {
        display: block;
        cursor: pointer;
        font-size: 1.6rem;
        color: var(--accent-color);
        z-index: 1001;
        transition: var(--transition);
        padding: 5px;
    }

    .menu-btn:hover {
        transform: scale(1.1);
        text-shadow: 0 0 10px var(--accent-color);
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(10, 25, 47, 0.98);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        z-index: 1000;
        padding-top: 80px;
        backdrop-filter: blur(15px);
    }

    .nav-links.active {
        display: flex;
        right: 0;
    }

    .nav-links li {
        margin: 0;
        height: auto;
        display: block;
        width: 100%;
    }

    .nav-links li a {
        display: block;
        padding: 12px 20px;
        font-size: 1.1rem;
        color: var(--text-white);
        text-align: center;
        width: 100%;
    }

    .has-mega-menu:hover .mega-menu {
        display: none;
    }

    .has-mega-menu.open .mega-menu {
        display: block;
        position: static;
        opacity: 1;
        visibility: visible;
        padding: 10px 0;
        border: none;
        box-shadow: none;
        background: rgba(100, 255, 218, 0.05);
    }

    .has-mega-menu.open .mega-menu-content {
        display: block;
        padding: 0 40px;
    }

    .has-mega-menu.open .mega-item {
        padding: 10px 0;
        text-align: left;
    }

    .has-mega-menu.open .mega-item i {
        display: none;
    }

    .has-mega-menu.open .mega-item h4 {
        font-size: 0.95rem;
        margin: 0;
    }

    .has-mega-menu.open .mega-item p {
        display: none;
    }

    .has-mega-menu .fa-chevron-down {
        transition: transform 0.3s ease;
        margin-left: 8px;
    }

    .has-mega-menu.open .fa-chevron-down {
        transform: rotate(180deg);
    }
}

@media (max-width: 768px) {
    .slide-title {
        font-size: 2.5rem;
    }

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

    nav {
        padding: 0 20px;
    }
}

/* Globe Animation Footer */
.globe-wrapper {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 20px 0 0 -10px;
}

#globe-canvas {
    width: 100%;
    height: 100%;
}

.globe-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 130px;
    height: 130px;
    border: 1px solid rgba(100, 255, 218, 0.2);
    border-radius: 50%;
    pointer-events: none;
    animation: pulseGlobe 4s infinite;
}

@keyframes pulseGlobe {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.3;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.1;
    }

    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.3;
    }
}

/* Footer Styles */
footer {
    background: #020c1b;
    padding: 100px 0 50px;
    position: relative;
    border-top: 1px solid rgba(100, 255, 218, 0.05);
    overflow: hidden;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px;
    margin-bottom: 60px;
}

.footer-col h4 {
    color: var(--text-white);
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent-color);
}

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

.footer-links a {
    color: var(--text-nav);
    transition: var(--transition);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--accent-color);
    transform: translateX(5px);
}

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

.social-icon {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--accent-color);
    color: var(--primary-color);
    transform: translateY(-5px);
    border-color: var(--accent-color);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-nav);
    font-size: 0.85rem;
}

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

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* Product Card Enhancements */
.product-card {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.product-card:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: var(--accent-color) !important;
    background: rgba(100, 255, 218, 0.05) !important;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(100, 255, 218, 0.1),
            transparent);
    transition: 0.8s;
}

.product-card:hover::before {
    left: 100%;
}

.mega-menu-col ul li {
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
}

.mega-menu-col ul li:hover {
    color: var(--accent-color) !important;
    padding-left: 5px;
}
/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.3);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #128c7e;
    color: #fff;
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.5);
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 25px;
    }
}
