:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --secondary: #ec4899;
    --bg-dark: #0f172a;
    --card-bg: #1e293b;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --glass-bg: rgba(30, 41, 59, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --gradient: linear-gradient(135deg, #6366f1 0%, #ec4899 100%);
    --container-width: 1200px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
.logo {
    font-family: 'Outfit', sans-serif;
}

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

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.text-gradient {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

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

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--primary);
    color: white;
}

.btn-secondary:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

/* Navbar */
.navbar {
    height: 80px;
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 15, 30, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(99, 102, 241, 0.2);
    box-shadow:
        0 4px 30px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
}

.navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #6366f1, #ec4899, #6366f1);
    background-size: 200% 100%;
    animation: gradientSlide 3s linear infinite;
}

@keyframes gradientSlide {
    0% {
        background-position: 0% 0%;
    }

    100% {
        background-position: 200% 0%;
    }
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.logo a,
.logo-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    color: var(--text-primary);
    transition: opacity 0.2s;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
    display: block;
    border-radius: 5px;
}

.logo-link:hover {
    opacity: 0.88;
}

.logo-icon-box {
    width: 38px;
    height: 38px;
    background: var(--gradient);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: white;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.logo-link:hover .logo-icon-box {
    transform: rotate(-8deg) scale(1.1);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.6);
}

.logo-name {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text-primary);
}

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

.logo-icon {
    color: var(--primary);
    margin-right: 0.5rem;
    font-size: 1.5rem;
}

.logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
    display: block;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

.logo-text-fallback {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--text-primary);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    position: relative;
    font-weight: 500;
    color: var(--text-secondary);
    padding-bottom: 4px;
    transition: color 0.3s ease;
}

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

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

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

.nav-cta {
    background: var(--gradient);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
}

/* Hero Section */
.hero {
    padding: 180px 0 100px;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('WhatsApp Image 2026-02-20 at 11.14.11 PM.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(10, 15, 30, 0.8) 0%,
            rgba(10, 15, 30, 0.6) 50%,
            rgba(10, 15, 30, 0.9) 100%);
    z-index: 1;
}

.hero-content-full {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero-text-centered h1 {
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 900;
    /* Extra Bold */
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    letter-spacing: -1px;
}

.hero-text-centered p {
    font-size: 1.4rem;
    color: var(--text-secondary);
    margin: 0 auto 2.5rem;
    max-width: 600px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

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

.hero-image-wrapper {
    position: relative;
}

.hero-img {
    width: 100%;
    position: relative;
    z-index: 2;
    border-radius: 2rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    display: block;
}

.hero-img-container {
    position: relative;
    z-index: 2;
    border-radius: 2rem;
    overflow: hidden;
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.7),
        0 0 0 1px rgba(99, 102, 241, 0.2),
        0 0 60px rgba(99, 102, 241, 0.15);
}

.hero-img-container .hero-img {
    box-shadow: none;
    border-radius: 0;
}

.hero-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(99, 102, 241, 0.15) 0%,
            transparent 50%,
            rgba(236, 72, 153, 0.1) 100%);
    z-index: 3;
    pointer-events: none;
}

.hero-blob {
    position: absolute;
    top: -10%;
    right: -10%;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, transparent 70%);
    filter: blur(40px);
    z-index: 1;
}

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

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

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

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

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

/* Product Card Styles */
.service-card {
    background: var(--card-bg);
    padding: 0;
    /* Changed to 0 to allow image to flush to top */
    border-radius: 1.5rem;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
    overflow: hidden;
    /* Added to clip child images */
    display: flex;
    flex-direction: column;
}

.product-image-container {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
    background: rgba(0, 0, 0, 0.2);
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .product-img {
    transform: scale(1.1);
}

.product-info-content {
    padding: 2.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.btn-whatsapp {
    background: #25d366;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1rem;
    border-radius: 0.8rem;
    font-weight: 600;
    transition: var(--transition);
}

.btn-whatsapp:hover {
    background: #128c7e;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

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

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-secondary);
}

.product-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    margin-top: auto;
    margin-bottom: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 0.5rem;
    text-align: center;
    border: 1px dashed var(--primary);
}

/* Calculator Section */
.calculator-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-dark) 0%, #1e293b 100%);
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.check-list {
    margin-top: 2rem;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.check-list i {
    color: var(--primary);
}

.calc-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 3rem;
    border-radius: 2rem;
    backdrop-filter: blur(20px);
}

.calc-group {
    margin-bottom: 1.5rem;
}

.calc-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.calc-group select,
.calc-group input {
    width: 100%;
    padding: 1rem;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid var(--glass-border);
    border-radius: 0.8rem;
    color: white;
    font-size: 1rem;
    outline: none;
}

.calc-result {
    margin: 2rem 0;
    padding: 1.5rem;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.result-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

.full-width {
    width: 100%;
    text-align: center;
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
}

.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 2.5rem;
    padding: 4rem;
    backdrop-filter: blur(20px);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h2 {
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.contact-details {
    margin-top: 3rem;
}

/* Center Contact Info when no form is present */
.contact-info-centered {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-info-centered .contact-details {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-info-centered .contact-item {
    justify-content: center;
    width: 100%;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.contact-item i {
    font-size: 1.2rem;
    color: var(--primary);
    width: 20px;
}

.contact-form .input-group {
    margin-bottom: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1.2rem;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid var(--glass-border);
    border-radius: 1rem;
    color: white;
    font-size: 1rem;
    outline: none;
}

.contact-form textarea {
    resize: none;
}

/* Footer */
.footer {
    padding: 4rem 0;
    border-top: 1px solid var(--glass-border);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: var(--text-secondary);
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--card-bg);
    border-radius: 50%;
    border: 1px solid var(--glass-border);
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-5px);
}

/* Mobile Responsive Improvements */
@media (max-width: 992px) {
    .container {
        padding: 0 1.5rem;
    }

    .hero-content,
    .grid-2,
    .contact-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

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

    .hero-text p {
        margin: 0 auto 2.5rem;
    }

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

    .calc-card,
    .glass-card {
        padding: 2.5rem 1.5rem;
    }

    .services-grid,
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
        background: transparent;
        color: white;
        font-size: 1.5rem;
        cursor: pointer;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(15, 23, 42, 0.98);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        border-bottom: 1px solid var(--glass-border);
        text-align: center;
        backdrop-filter: blur(15px);
    }

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

    .navbar.scrolled .nav-links {
        background: rgba(15, 23, 42, 0.98);
    }

    .hero {
        padding: 120px 0 80px;
    }

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

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

    .hero-btns {
        flex-direction: column;
        gap: 1rem;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {

    .hero-text h1,
    .section-title {
        font-size: 1.8rem;
    }

    .stats-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
}

/* Reveal Animations */
[data-reveal] {
    opacity: 0;
    transition: 1s cubic-bezier(0.5, 0, 0, 1);
}

[data-reveal="up"] {
    transform: translateY(50px);
}

[data-reveal="left"] {
    transform: translateX(-50px);
}

[data-reveal="right"] {
    transform: translateX(50px);
}

.revealed {
    opacity: 1;
    transform: translate(0, 0) !important;
}