:root {
    /* Updated Styles v2.0 - Orange Theme */
    --primary-color: #f97316;
    --primary-dark: #ea580c;
    --secondary-color: #fbbf24;
    --text-color: #1e293b;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --max-width: 1200px;
    --header-height: 80px;
    --transition: all 0.3s ease;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-white);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }

p { margin-bottom: 1rem; color: var(--text-light); }

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

ul { list-style: none; }

img { max-width: 100%; height: auto; display: block; }

/* Utilities */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-padding {
    padding: 5rem 0;
}

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

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

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

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

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }

/* Header */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    height: var(--header-height);
    display: flex;
    align-items: center;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 1001; /* Ensure logo stays above mobile menu */
}

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

.nav-links a {
    font-weight: 500;
    color: var(--text-color);
}

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

.nav-links .btn {
    color: white;
}

.nav-links .btn:hover {
    color: white;
}

.switch-group {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.switch-container {
    display: flex;
    background-color: #f1f5f9;
    border-radius: 0.5rem;
    padding: 0.25rem;
    gap: 0;
}

.switch-btn {
    background: none;
    border: none;
    padding: 0.25rem 0.75rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    color: var(--text-light);
    transition: all 0.2s ease;
}

.switch-btn.active {
    background-color: white;
    color: var(--primary-color);
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}

.switch-btn:hover {
    color: var(--primary-color);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1001; /* Ensure toggle stays above mobile menu */
}

/* Hero Section */
.hero {
    padding-top: calc(var(--header-height) + 4rem);
    padding-bottom: 5rem;
    background: linear-gradient(135deg, #eff6ff 0%, #ffffff 100%);
    overflow: hidden;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-image {
    flex: 1;
    position: relative;
}

.hero-image img {
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
    width: 100%;
    animation: float 6s ease-in-out infinite;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* Trust Section */
.trust-section {
    background-color: var(--bg-white);
    padding: 3rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.trust-logos {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
    opacity: 0.6;
}

.trust-logos img {
    height: 30px;
    filter: grayscale(100%);
    transition: var(--transition);
}

.trust-logos img:hover {
    filter: grayscale(0);
    opacity: 1;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-header .subtitle {
    color: var(--secondary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    display: block;
}

/* Services */
.service-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid #e2e8f0;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: #eff6ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

/* Process */
.process-step {
    position: relative;
    padding: 2rem;
    text-align: center;
}

.step-number {
    font-size: 4rem;
    font-weight: 900;
    color: #f1f5f9;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
}

/* Why Choose Us */
.why-us {
    background-color: var(--bg-light);
}

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

.feature-icon {
    color: var(--secondary-color);
    font-size: 1.25rem;
    flex-shrink: 0;
}

/* Portfolio */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 1.5rem;
    transform: translateY(100%);
    transition: var(--transition);
}

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

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
}

.portfolio-overlay h4, .portfolio-overlay p {
    color: white;
    margin: 0;
}

/* Testimonial */
.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.client-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    object-fit: cover;
    border: 3px solid var(--primary-color);
}

.stars {
    color: #fbbf24;
    margin-bottom: 1rem;
}

/* Pricing */
.pricing-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    border: 1px solid #e2e8f0;
    position: relative;
    transition: var(--transition);
}

.pricing-card.popular {
    border-color: var(--primary-color);
    transform: scale(1.05);
    z-index: 1;
    box-shadow: var(--shadow-lg);
}

.badge-popular {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 1.5rem 0;
}

.price span {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 400;
}

.pricing-features {
    margin: 2rem 0;
    text-align: left;
}

.pricing-features li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.pricing-features li i {
    color: var(--secondary-color);
}

/* FAQ */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 1rem;
}

.faq-question {
    padding: 1.5rem 0;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.125rem;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding-bottom: 0;
}

.faq-answer p {
    padding-bottom: 1.5rem;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-icon {
    transition: var(--transition);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

/* CTA */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    text-align: center;
}

.cta-section h2, .cta-section p {
    color: white;
}

/* Form Styles */
.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
    border-top: 5px solid var(--primary-color);
}

.form-section {
    margin-bottom: 2.5rem;
    border-bottom: 1px dashed #e2e8f0;
    padding-bottom: 2rem;
}

.form-section:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.form-section h3 {
    margin-bottom: 1.5rem;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.25rem;
    font-weight: 700;
}

.form-section h3 i {
    color: var(--primary-color);
    background: #eff6ff;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1rem;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid #cbd5e1;
    border-radius: 0.5rem;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background-color: #f8fafc;
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: #94a3b8;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: white;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.form-group ::placeholder {
    color: #94a3b8;
}

.form-actions {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

.btn-whatsapp {
    background-color: #25D366 !important;
    color: white !important;
    width: 100%;
    font-size: 1.125rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(37, 211, 102, 0.3);
    border: none;
}

.btn-whatsapp:hover {
    background-color: #128c7e !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(37, 211, 102, 0.4);
}

@media (max-width: 768px) {
    .form-container {
        padding: 1.5rem;
    }
    
    .form-section h3 {
        font-size: 1.125rem;
    }
.btn {
  margin: 0 auto;
}    
}

/* Footer */
footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand h3 {
    color: white;
    margin-bottom: 1rem;
}

.footer-links h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.footer-links ul li {
    margin-bottom: 0.75rem;
}

.footer-links a:hover {
    color: white;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

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

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 2rem;
    text-align: center;
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 968px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .nav-links {
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed; /* Changed to fixed for full screen overlay effect if needed, or stick with absolute */
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: center;
        padding: 2rem;
        box-shadow: none;
        gap: 2rem;
        z-index: 1000;
        text-align: center;
    }

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

    .nav-links .btn {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .mobile-toggle {
        display: block;
    }

    .switch-group {
        margin: 1rem 0;
        justify-content: center;
        display: flex;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }

    .pricing-card.popular {
        transform: scale(1);
    }
}
