/* Base CSS Variables */
*{
    margin: 0;
    padding: 0 ;
    box-sizing: border-box;
}
:root {
    /* Dark Theme Colors */
    --bg-primary: #0a0c12;
    --bg-secondary: #1a1d29;
    --bg-card: #1e2330;
    --accent-purple: #8b5cf6;
    --accent-pink: #ec4899;
    --accent-blue: #3b82f6;
    --accent-green: #10b981;
    --accent-red: #ef4444;
    --accent-yellow: #f59e0b;
    --text-primary: #ffffff;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    --border-color: #374151;
    --border-light: #4b5563;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Additional Colors */
    --white: #ffffff;
    --black: #000000;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --navy: #1e293b;
    
    /* Gradients */
    --brand-gradient: linear-gradient(135deg, var(--accent-purple), var(--accent-pink));
    --whatsapp-gradient: linear-gradient(135deg, #25d366, #128c7e);
}

/* Light Theme Override */
[data-theme="light"] {
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-card: #ffffff;
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    --border-light: #cbd5e1;
}

/* System Theme Detection */
@media (prefers-color-scheme: dark) {
    :root {
        --bg-primary: #0a0c12;
        --bg-secondary: #1a1d29;
        --bg-card: #1e2330;
        --text-primary: #ffffff;
        --text-secondary: #9ca3af;
        --text-muted: #6b7280;
        --border-color: #374151;
        --border-light: #4b5563;
    }
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Skip Link for Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--accent-purple);
    color: var(--white);
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 1000;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 6px;
}

/* Theme Transition */
.theme-transitioning {
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Utility Classes */
.brand-gradient-text {
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.gradient-primary {
    background: var(--brand-gradient);
}

/* Navigation */
.navbar {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(139, 92, 246, 0.2);
    position: sticky;
    top: 0;
    z-index: 50;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1rem;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 4rem;
}

/* Logo */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100px;
    height: 80px;
}

.logo-icon img {
    height: 100%;
    max-width: 100%;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    background: linear-gradient(135deg, #a78bfa, #f472b6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Desktop Navigation */
.desktop-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.2s ease;
    font-weight: 500;
}

.nav-link:hover {
    color: var(--accent-purple);
}

.nav-link.active {
    color: var(--accent-purple);
    font-weight: 500;
}

/* WhatsApp Button */
.whatsapp-btn {
    background: var(--whatsapp-gradient);
    color: var(--white);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: opacity 0.2s ease;
}

.whatsapp-btn:hover {
    opacity: 0.9;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
}

.menu-btn {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

/* Mobile Navigation */
.mobile-menu {
    display: none;
    border-top: 1px solid rgba(139, 92, 246, 0.2);
    padding: 0.5rem 0;
}

.mobile-nav-link {
    display: block;
    padding: 0.75rem 1rem;
    color: #d1d5db;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.mobile-nav-link:hover {
    background: rgba(139, 92, 246, 0.1);
    color: var(--accent-purple);
}

.mobile-nav-link.active {
    background: rgba(139, 92, 246, 0.3);
    color: var(--accent-purple);
}

.mobile-whatsapp {
    margin: 0.5rem 1rem;
    width: calc(100% - 2rem);
    justify-content: center;
}

/* Theme Toggle */
.theme-toggle-container {
    position: fixed;
    top: 5rem;
    right: 1rem;
    z-index: 40;
}

.theme-toggle-btn {
    background: var(--brand-gradient);
    color: var(--white);
    border: none;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: var(--shadow-lg);
    transition: transform 0.2s ease;
}

.theme-toggle-btn:hover {
    transform: scale(1.1);
}

/* Back to Top Button */
.back-to-top-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 3rem;
    height: 3rem;
    background: var(--brand-gradient);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 40;
}

.back-to-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

/* Main Content */
.main-content {
    min-height: calc(100vh - 4rem - 20rem); /* Account for nav and footer */
    /* padding: 2rem 0; */
}

/* Footer */
.footer {
    background: var(--gray-900);
    border-top: 1px solid rgba(139, 92, 246, 0.2);
    padding: 3rem 0 1rem;
}

.footer-container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand {
    grid-column: 1 / -1;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
    margin-bottom: 1rem;
    height: 50px;
}
.footer-logo>.logo-icon{
    height: 100%;
    width: 50px;
    display: flex;
    justify-content: flex-start;
}
.footer-logo>.logo-icon>img{
    height: 100%;
    max-width: 100%;
}

.footer-description {
    color: var(--gray-400);
    margin-bottom: 1.5rem;
    max-width: 28rem;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: var(--accent-purple);
    font-size: 1.5rem;
    transition: color 0.2s ease;
}

.social-link:hover {
    color: #a78bfa;
}

.footer-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--accent-purple);
}

.footer-links {
    list-style: none;
}

.footer-link {
    color: var(--gray-400);
    text-decoration: none;
    display: block;
    padding: 0.25rem 0;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: var(--accent-purple);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.contact-icon {
    color: var(--accent-purple);
    margin-top: 0.125rem;
    flex-shrink: 0;
}

.contact-text {
    color: var(--gray-400);
    font-size: 0.875rem;
    line-height: 1.5;
}

.footer-bottom {
    border-top: 1px solid rgba(139, 92, 246, 0.2);
    padding-top: 2rem;
    text-align: center;
    gap: 20px;
}

.footer-copyright {
    color: var(--gray-400);
    font-size: 0.875rem;
}

/* Touch Feedback */
.touch-active {
    transform: scale(0.95);
    opacity: 0.8;
}
.company-profile>a{
    text-decoration: none;
    color: var(--accent-pink);
}

/* Responsive Design */
@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }
    
    .footer-brand {
        grid-column: 1 / 2;
    }
}

@media (max-width: 767px) {
    .desktop-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .mobile-menu.show {
        display: block;
    }
    
    .nav-container {
        padding: 0 5px;
    }

    .logo-text{
        font-size: 15px;
    }

    .logo-icon{
        height: 40px;
        width: 50px;
    }
    
    .theme-toggle-container {
        right: 0.5rem;
    }
    
    .theme-toggle-btn {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1rem;
    }
    
    .back-to-top-btn {
        bottom: 1rem;
        right: 1rem;
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1rem;
    }
    .company-profile>a{
        font-size: 13px;
    }

    .footer-copyright{
        font-size: 10px;
    }
}

/* Container Utilities */
.container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Card Styles */
.card {
    background: var(--bg-card);
    border-radius: 0.75rem;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.card-header {
    padding: 1.5rem 1.5rem 0;
}

.card-content {
    padding: 1.5rem;
}

.card-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-primary {
    background: var(--brand-gradient);
    color: var(--white);
}

.btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* Form Styles */
.form-input, .form-select, .form-textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    background: var(--bg-card);
    color: var(--text-primary);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--accent-purple);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15);
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* Grid Utilities */
.grid {
    display: grid;
}

.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

/* Responsive Grid */
@media (min-width: 640px) {
    .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 768px) {
    .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1280px) {
    .xl\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Text Utilities */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }

.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

/* Spacing Utilities */
.m-0 { margin: 0; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }

.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mt-16 { margin-top: 4rem; }

.mx-auto { margin-left: auto; margin-right: auto; }

.p-0 { padding: 0; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }

.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }

.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }

/* Flexbox Utilities */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.space-x-2 > * + * { margin-left: 0.5rem; }
.space-x-3 > * + * { margin-left: 0.75rem; }
.space-x-4 > * + * { margin-left: 1rem; }

/* Border Utilities */
.border-0 { border: 0; }
.border-t { border-top: 1px solid var(--border-color); }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }

/* Shadow Utilities */
.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-lg { box-shadow: var(--shadow-lg); }

/* Transition Utilities */
.transition-all { transition: all 0.2s ease; }
.transition-colors { transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease; }
.transition-transform { transition: transform 0.2s ease; }

/* Hover Effects */
.hover\:opacity-90:hover { opacity: 0.9; }
.hover\:scale-110:hover { transform: scale(1.1); }
.hover\:translate-y-1:hover { transform: translateY(-0.25rem); }
.hover\:translate-y-2:hover { transform: translateY(-0.5rem); }

/* Cursor Utilities */
.cursor-pointer { cursor: pointer; }

/* Overflow Utilities */
.overflow-hidden { overflow: hidden; }

/* Position Utilities */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }

/* Z-index Utilities */
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-30 { z-index: 30; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }

/* Display Utilities */
.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }
.inline-flex { display: inline-flex; }

/* Width and Height Utilities */
.w-full { width: 100%; }
.h-full { height: 100%; }
.h-fit { height: fit-content; }

/* Opacity Utilities */
.opacity-50 { opacity: 0.5; }
.opacity-90 { opacity: 0.9; }

/* Transform Utilities */
.scale-110 { transform: scale(1.1); }
.translate-y-1 { transform: translateY(0.25rem); }
.translate-y-2 { transform: translateY(0.5rem); }
.translate-y-4 { transform: translateY(1rem); }

/* Backdrop Filter */
.backdrop-blur-md { backdrop-filter: blur(12px); }

/* Gradient Text */
.bg-clip-text { -webkit-background-clip: text; background-clip: text; }
.text-transparent { color: transparent; }

/* Lazy Loading */
.lazy {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lazy.loaded {
    opacity: 1;
}
