:root {
    --primary-color: #007bff;
    --secondary-color: #00d4ff;
    --dark-bg: #0a0e14;
    --card-bg: #161b22;
    --text-white: #ffffff;
    --text-gray: #a0a0a0;
    --whatsapp-green: #25d366;
    --transition: all 0.3s ease;

    /* Theme Variables */
    --bg-color: var(--dark-bg);
    --header-bg: rgba(10, 14, 20, 0.8);
    --text-color: var(--text-white);
    --border-color: rgba(255, 255, 255, 0.1);
    --card-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.light-theme {
    --bg-color: #f4f7f6;
    --header-bg: rgba(255, 255, 255, 0.9);
    --text-color: #1a1a1a;
    --text-gray: #555555;
    --card-bg: #ffffff;
    --border-color: rgba(0, 0, 0, 0.1);
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.5s ease, color 0.5s ease;
    /* Global fixed background with dark overlay */
    background: linear-gradient(rgba(10, 14, 20, 0.85), rgba(10, 14, 20, 0.9)), url('background.jpg');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}



/* Header & Nav */
header {
    background: var(--header-bg);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* User Logo & Lightning Styles */
.logo-container {
    display: flex;
    align-items: center;
}

.nav-logo-user {
    height: 35px;
    /* Reduced from 60px */
    width: auto;
    border-radius: 8px;
    filter: drop-shadow(0 0 5px var(--primary-color));
    object-fit: contain;
}

.nav-company-name {
    font-size: 0.9rem;
    /* Reduced from 1.2rem */
    font-weight: 700;
    color: var(--text-color);
    margin-left: 0.8rem;
    letter-spacing: 0.5px;
    text-shadow: 0 0 10px rgba(0, 123, 255, 0.5);
    white-space: nowrap;
    /* Prevent wrapping */
}

@media (max-width: 768px) {
    .nav-company-name {
        display: none;
        /* Hide on mobile to prevent overflow */
    }
}

.lightning-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    /* Slightly reduced from 150% to prevent overflow */
    z-index: -1;
    pointer-events: none;
    opacity: 0.8;
    animation: lightning-flicker 4s infinite;
}

.lightning-img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

@keyframes lightning-flicker {

    0%,
    100% {
        opacity: 0.6;
        filter: brightness(1);
    }

    5%,
    10% {
        opacity: 1;
        filter: brightness(1.5);
    }

    7%,
    12% {
        opacity: 0.4;
        filter: brightness(0.8);
    }

    50% {
        opacity: 0.7;
    }
}

.user-logo-3d-wrapper {
    position: relative;
    z-index: 1;
    animation: floating 6s ease-in-out infinite;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-user-logo {
    width: 100%;
    max-width: 320px;
    /* Reduced from 400px */
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 123, 255, 0.4);
    border: 2px solid rgba(0, 123, 255, 0.3);
    object-fit: contain;
}

/* 3D Logo Styles */
.logo-3d-container {
    position: relative;
    width: 60px;
    height: 60px;
}

.logo-3d {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 10px var(--primary-color));
    transition: transform 0.3s ease;
}

.logo-3d:hover {
    transform: scale(1.1) rotate(5deg);
}

/* Unique Hero Layout */
.hero-unique {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.8)), url('background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
}

/* Logo Watermark Overlay Removed */

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    gap: 2rem;
    align-items: center;
}

.hero-center-spacer {
    pointer-events: none;
}

.hero-text-right {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.hero-text-right h2 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 50%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.3));
}

.hero-phone {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-white);
    text-decoration: none;
    transition: var(--transition);
    text-shadow: 0 0 10px rgba(0, 123, 255, 0.5);
}

.hero-phone:hover {
    color: var(--primary-color);
    transform: scale(1.05);
}

.hero-text {
    text-align: left;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(0, 123, 255, 0.15);
    color: var(--secondary-color);
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0, 212, 255, 0.3);
    backdrop-filter: blur(5px);
    box-shadow: 0 0 15px rgba(0, 123, 255, 0.2);
}

.hero-text h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 50%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.3));
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

.hero-text p {
    font-size: 1.25rem;
    color: var(--text-gray);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    max-width: 90%;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.user-logo-3d-wrapper {
    position: relative;
    z-index: 1;
    animation: floating 6s ease-in-out infinite;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-user-logo {
    width: 100%;
    max-width: 380px;
    height: auto;
    border-radius: 25px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7), 0 0 40px rgba(0, 123, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    object-fit: contain;
    transition: transform 0.3s ease;
}

.hero-user-logo:hover {
    transform: scale(1.02);
}

.lightning-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140%;
    z-index: -1;
    pointer-events: none;
    opacity: 0.8;
    animation: lightning-flicker 4s infinite;
}

@keyframes floating {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(1deg);
    }

    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

@media (max-width: 992px) {
    .hero-grid .hero-text p {
        max-width: 100%;
    }

    .hero-grid .hero-visual {
        margin-top: 2rem;
    }

    .hero-grid .hero-user-logo {
        max-width: 300px;
    }
}

/* Asymmetric Services */
.services-grid-asymmetric {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.service-card-premium {
    background: rgba(22, 27, 34, 0.6);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-card-premium:nth-child(even) {
    transform: translateY(30px);
}

.service-card-premium:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.highlight-electric {
    background: linear-gradient(145deg, rgba(0, 123, 255, 0.1), rgba(22, 27, 34, 0.6));
    border: 1px solid var(--primary-color);
}

/* Contact */

@media (max-width: 992px) {

    .hero-grid,
    .reviews-container {
        grid-template-columns: 1fr;
    }

    .hero-center-spacer {
        display: none;
    }

    .hero-text {
        text-align: center;
    }

    .hero-text h1 {
        font-size: 3rem;
    }

    .service-card-premium:nth-child(even) {
        transform: none;
    }
}

/* Removed redundant .nav-logo and .hero-logo styles */

.logo {
    display: flex;
    align-items: center;
}

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

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
}

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

@media (max-width: 1100px) {
    .nav-links li {
        margin-left: 1rem;
    }

    .nav-company-name {
        font-size: 0.9rem;
    }
}

.theme-btn {
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-btn:hover {
    color: var(--primary-color);
    transform: rotate(15deg);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: radial-gradient(circle at center, rgba(0, 123, 255, 0.15) 0%, transparent 70%);
    padding-top: 80px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #fff, var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

/* Electric Animations */
@keyframes electric-glow {
    0% {
        box-shadow: 0 0 5px var(--primary-color), 0 0 10px var(--primary-color);
    }

    50% {
        box-shadow: 0 0 20px var(--secondary-color), 0 0 40px var(--primary-color);
    }

    100% {
        box-shadow: 0 0 5px var(--primary-color), 0 0 10px var(--primary-color);
    }
}

@keyframes flicker {

    0%,
    19.999%,
    22%,
    62.999%,
    64%,
    64.999%,
    70%,
    100% {
        opacity: 1;
    }

    20%,
    21.999%,
    63%,
    63.999%,
    65%,
    69.999% {
        opacity: 0.4;
    }
}

/* Buttons */
.btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
    display: inline-block;
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.5);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px) scale(1.05);
    animation: electric-glow 1.5s infinite, shake 0.5s infinite;
}

@keyframes shake {

    0%,
    100% {
        transform: translateY(-3px) scale(1.05) translateX(0);
    }

    25% {
        transform: translateY(-3px) scale(1.05) translateX(-1px);
    }

    75% {
        transform: translateY(-3px) scale(1.05) translateX(1px);
    }
}

.btn-whatsapp {
    background-color: var(--whatsapp-green);
    color: white;
}

.btn-whatsapp:hover {
    background-color: #1ebe5d;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.6);
}

.btn-vcf {
    background-color: #444;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-vcf:hover {
    background-color: #555;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
    .social-btns {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 2rem auto 0;
    }

    .social-btns .btn {
        width: 100%;
    }
}

/* Services */
.services {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    perspective: 1000px;
}

.service-card {
    background-color: var(--card-bg);
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 123, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px) rotateX(5deg) rotateY(5deg);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 123, 255, 0.2);
}

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

.service-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.service-card:hover i {
    transform: scale(1.2);
    animation: flicker 2s infinite;
}

.service-card.highlight {
    background: linear-gradient(145deg, var(--card-bg), #1e252e);
    border: 1px solid var(--primary-color);
}

/* Why Us */
.why-us {
    padding: 100px 0;
    background-color: rgba(13, 17, 23, 0.5);
    /* Semi-transparent to show global background */
    backdrop-filter: blur(5px);
    /* Glassmorphism effect */
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.why-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
}

.check {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.5rem;
}

/* Regions */
.regions {
    padding: 100px 0;
    text-align: center;
}

.region-focus {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: var(--secondary-color);
}

.region-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.region-tags span {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Testimonials */
.testimonials {
    padding: 100px 0;
    background-color: #0d1117;
}

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

.testimonial {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    font-style: italic;
}

.author {
    display: block;
    margin-top: 1rem;
    color: var(--primary-color);
    font-weight: bold;
    font-style: normal;
}

/* About Us */
.about {
    padding: 100px 0;
    background-color: var(--dark-bg);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
    font-size: 1.1rem;
    color: var(--text-gray);
}

.about-content p {
    margin-bottom: 1.5rem;
}

.about-content h3 {
    color: var(--text-white);
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

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

.about-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.about-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.about-card h4 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.about-why-us {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.about-why-us li {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.03);
    padding: 1rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.about-why-us li i {
    color: var(--primary-color);
}

/* Brands */
.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.brand-item {
    background: rgba(255, 255, 255, 0.9);
    /* Light background for logo visibility */
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
}

.brand-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    /* Only grayscale, no brightness adjustment */
    transition: var(--transition);
    opacity: 0.8;
}

.brand-item:hover {
    background: #ffffff;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border-color: var(--primary-color);
}

.brand-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

/* Contact */
.contact {
    padding: 100px 0;
    text-align: center;
}

.contact-info {
    max-width: 600px;
    margin: 0 auto;
}

.social-btns {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* Footer */
footer {
    padding: 3rem 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-gray);
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .nav-links {
        display: none;
    }

    .hero-btns {
        flex-direction: column;
    }
}

/* Sticky Mobile Call Button */
.sticky-call {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: var(--primary-color);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: none;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.4);
    z-index: 999;
    text-decoration: none;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 123, 255, 0.7);
    }

    70% {
        transform: scale(1.1);
        box-shadow: 0 0 0 10px rgba(0, 123, 255, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 123, 255, 0);
    }
}

@media (max-width: 768px) {
    .sticky-call {
        display: flex;
    }
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: none;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 999;
    transition: var(--transition);
}

.back-to-top.visible {
    display: flex;
}

.back-to-top:hover {
    background: var(--primary-color);
}