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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1e293b;
    background-color: #ffffff;
    font-weight: 400;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(34, 197, 94, 0.2);
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
    background: rgba(15, 23, 42, 0.98);
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.3);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.1rem 24px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.5rem;
    color: #22c55e;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.nav-brand:hover {
    transform: scale(1.05);
}

.logo {
    width: 250px;
    height: auto;
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    text-decoration: none;
    color: #e2e8f0;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover,
.nav-link.active {
    color: #22c55e;
    transform: translateY(-1px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #22c55e, #16a34a);
    transition: width 0.3s ease;
}

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

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

.language-selector {
    display: flex;
    gap: 0.5rem;
    background: rgba(34, 197, 94, 0.1);
    padding: 0.5rem;
    border-radius: 12px;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.lang-btn {
    background: none;
    border: none;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    color: #e2e8f0;
}

.lang-btn:hover {
    background: rgba(34, 197, 94, 0.2);
    transform: scale(1.1);
}

.lang-btn.active {
    background: #22c55e;
    color: #0f172a;
    transform: scale(1.05);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.mobile-menu-btn:hover {
    background: rgba(34, 197, 94, 0.1);
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: #e2e8f0;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -2;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(15, 23, 42, 0.9) 0%, 
        rgba(30, 41, 59, 0.8) 30%,
        rgba(34, 197, 94, 0.1) 70%,
        rgba(15, 23, 42, 0.9) 100%);
    z-index: -1;
}

.hero-content {
    text-align: center;
    color: white;
    max-width: 900px;
    margin: 0 auto;
    z-index: 1;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 2rem;
    text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out;
    background: linear-gradient(135deg, #ffffff, #22c55e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    color: #cbd5e1;
    font-weight: 400;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 3rem;
    animation: fadeInUp 1s ease-out 0.4s both;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #16a34a, #15803d);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(34, 197, 94, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid #22c55e;
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.2);
}

.btn-secondary:hover {
    background: #22c55e;
    color: #0f172a;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(34, 197, 94, 0.4);
}

/* Sections */
.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 4rem;
    color: #0f172a;
    font-weight: 800;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #22c55e, #16a34a);
    border-radius: 2px;
}

.services-overview {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    position: relative;
}

.services-overview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #22c55e, transparent);
}

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

.service-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(15, 23, 42, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(34, 197, 94, 0.1);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #22c55e, #16a34a);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.15);
    border-color: #22c55e;
}

.service-icon {
    margin-bottom: 2rem;
    position: relative;
}

.service-icon img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 20px;
    border: 3px solid #22c55e;
    transition: transform 0.3s ease;
}

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

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: #0f172a;
    font-weight: 700;
    line-height: 1.3;
}

.service-card p {
    color: #64748b;
    line-height: 1.7;
    font-size: 1rem;
}

/* CTA Section */
.cta-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #22c55e 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.cta-content p {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Page Header */
.page-header {
    padding: 10rem 0 5rem;
    text-align: center;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%2322c55e" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.page-header h1 {
    font-size: 3.5rem;
    color: #0f172a;
    margin-bottom: 1.5rem;
    font-weight: 800;
    position: relative;
    z-index: 1;
}

.page-header p {
    font-size: 1.3rem;
    color: #64748b;
    position: relative;
    z-index: 1;
}

/* About Page */
.about-content {
    padding: 5rem 0;
}

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

.content-text h2 {
    font-size: 2.5rem;
    color: #0f172a;
    margin-bottom: 2rem;
    font-weight: 800;
}

.content-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 1.5rem;
}

.about-image {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.15);
    transition: transform 0.3s ease;
}

.about-image:hover {
    transform: scale(1.02);
}

.mission-vision {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

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

.mv-card {
    background: white;
    padding: 4rem 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(15, 23, 42, 0.08);
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid rgba(34, 197, 94, 0.1);
}

.mv-card:hover {
    transform: translateY(-5px);
}

.mv-card h3 {
    font-size: 2rem;
    color: #0f172a;
    margin-bottom: 2rem;
    font-weight: 700;
}

.mv-card p {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.8;
}

.why-choose {
    padding: 5rem 0;
}

.why-choose h2 {
    text-align: center;
    font-size: 3rem;
    color: #0f172a;
    margin-bottom: 4rem;
    font-weight: 800;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.feature-item {
    text-align: center;
    padding: 3rem 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(15, 23, 42, 0.08);
    transition: transform 0.3s ease;
    border: 1px solid rgba(34, 197, 94, 0.1);
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 4rem;
    margin-bottom: 2rem;
    filter: hue-rotate(90deg);
}

.feature-item h4 {
    font-size: 1.4rem;
    color: #0f172a;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.feature-item p {
    color: #64748b;
    line-height: 1.7;
}

/* Services Detail Page */
.services-detail {
    padding: 5rem 0;
}

.service-section {
    margin-bottom: 6rem;
    background: white;
    border-radius: 20px;
    padding: 4rem;
    box-shadow: 0 10px 40px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(34, 197, 94, 0.1);
}

.service-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.service-section.reverse .service-header {
    grid-template-columns: 1fr 1fr;
}

.service-section.reverse .service-content {
    order: -1;
}

.service-image {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 15px 50px rgba(15, 23, 42, 0.15);
    transition: transform 0.3s ease;
}

.service-image:hover {
    transform: scale(1.02);
}

.service-content h2 {
    font-size: 2.2rem;
    color: #0f172a;
    margin-bottom: 2rem;
    font-weight: 800;
}

.service-list {
    list-style: none;
}

.service-list li {
    padding: 1rem 0;
    font-size: 1.1rem;
    color: #475569;
    position: relative;
    padding-left: 3rem;
    border-bottom: 1px solid rgba(34, 197, 94, 0.1);
    transition: all 0.3s ease;
}

.service-list li:hover {
    color: #0f172a;
    padding-left: 3.5rem;
}

.service-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 1rem;
    color: #22c55e;
    font-weight: bold;
    font-size: 1.2rem;
    width: 2rem;
    height: 2rem;
    background: rgba(34, 197, 94, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Contact Page */
.contact-section {
    padding: 5rem 0;
}

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

.contact-form {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 4rem 3rem;
    border-radius: 20px;
    border: 1px solid rgba(34, 197, 94, 0.1);
}

.contact-form-section h2 {
    font-size: 2.2rem;
    color: #0f172a;
    margin-bottom: 3rem;
    font-weight: 800;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 600;
    color: #0f172a;
    font-size: 1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
    transform: translateY(-1px);
}

.contact-info {
    background: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(15, 23, 42, 0.08);
    height: fit-content;
    border: 1px solid rgba(34, 197, 94, 0.1);
}

.contact-info h3 {
    font-size: 1.8rem;
    color: #0f172a;
    margin-bottom: 3rem;
    font-weight: 700;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 3rem;
    padding: 1.5rem;
    background: rgba(34, 197, 94, 0.05);
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateX(5px);
}

.contact-icon {
    font-size: 1.8rem;
    min-width: 3rem;
    height: 3rem;
    background: #22c55e;
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-details h4 {
    font-size: 1.2rem;
    color: #0f172a;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-details p {
    color: #64748b;
    margin: 0;
    line-height: 1.6;
}

.contact-details a {
    color: #22c55e;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: #16a34a;
    text-decoration: underline;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #25d366;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.whatsapp-btn:hover {
    background: #1ebe5d;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
}

.map-section {
    margin-top: 4rem;
}

.map-section h3 {
    font-size: 2rem;
    color: #0f172a;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 700;
}

.map-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(15, 23, 42, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.2);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    padding: 4rem 0 2rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #22c55e, transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1.5rem;
    color: #22c55e;
    font-weight: 700;
}

.footer-section h3 {
    font-size: 1.5rem;
}

.footer-section p,
.footer-section a {
    color: #cbd5e1;
    text-decoration: none;
    line-height: 1.8;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #22c55e;
}

.footer-section a {
    display: block;
    margin-bottom: 0.8rem;
    padding: 0.3rem 0;
}

.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 2rem;
    text-align: center;
    color: #94a3b8;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(15, 23, 42, 0.98);
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 8px 32px rgba(15, 23, 42, 0.3);
        border-top: 1px solid rgba(34, 197, 94, 0.2);
    }

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

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .content-grid,
    .service-header,
    .mv-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .service-section.reverse .service-content {
        order: 0;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }

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

    .container {
        padding: 0 20px;
    }

    .contact-form {
        padding: 2.5rem 2rem;
    }

    .service-section {
        padding: 2.5rem 2rem;
    }

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

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

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .service-card {
        padding: 2rem 1.5rem;
    }

    .mv-card {
        padding: 2.5rem 2rem;
    }

    .contact-form {
        padding: 2rem 1.5rem;
    }
}

/* Performance Optimizations */
.hero-image,
.service-image,
.about-image {
    will-change: transform;
}

/* Focus styles for accessibility */
button:focus,
input:focus,
select:focus,
textarea:focus,
a:focus {
    outline: 2px solid #22c55e;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .navbar,
    .hero,
    .cta-section,
    .footer {
        display: none;
    }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #16a34a, #15803d);
}

/* Selection color */
::selection {
    background: rgba(34, 197, 94, 0.2);
    color: #0f172a;
}

/* Loading animation for images */
img {
    transition: opacity 0.3s ease;
}

img[loading="lazy"] {
    opacity: 0;
}

img[loading="lazy"].loaded {
    opacity: 1;
}