/* ==== VARIABLES ==== */
:root {
    --primary-color: #00788C;
    --accent-color: #6A0DAD;
    --secondary-accent: #00AEEF;
    --background-color: #FFFFFF;
    --light-section: #F4F8F9;
    --text-main: #1F2A30;
    --text-muted: #5F6C72;
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 15px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 15px 30px rgba(0, 120, 140, 0.15);
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --transition: all 0.3s ease;
}

/* ==== RESET & BASE ==== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    color: var(--primary-color);
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.bg-light {
    background-color: var(--light-section);
}

section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background-color: var(--secondary-accent);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.subsection-title {
    font-size: 1.4rem;
    margin-bottom: 20px;
    margin-top: 20px;
    color: var(--primary-color);
}

/* ==== BUTTONS ==== */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--accent-color);
    color: #fff;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background-color: #550a8b;
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.btn-accent {
    background-color: var(--secondary-accent);
    color: #fff;
}

.btn-accent:hover {
    background-color: #0098d4;
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
    width: 100%;
}

/* ==== NAVBAR ==== */
.navbar {
    padding: 15px 0;
    background-color: #fff;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.logo-icon {
    font-size: 1.8rem;
    color: var(--secondary-accent);
}

.nav-links {
    display: none;
}

/* ==== HERO SECTION ==== */
.hero {
    background: linear-gradient(135deg, #00788C 0%, #6A0DAD 100%);
    color: #fff;
    padding: 80px 0 60px;
    text-align: center;
}

.hero h1 {
    color: #fff;
    font-size: 2.2rem;
    margin-bottom: 20px;
    line-height: 1.3;
}

.hero .subheadline {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero .hero-trust {
    margin-top: 20px;
    font-size: 0.9rem;
    color: var(--secondary-accent);
    font-weight: 600;
    background: rgba(255, 255, 255, 0.1);
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
}

/* ==== SERVICES SECTION ==== */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.service-card {
    background: #fff;
    padding: 25px 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
    border: 1px solid #e1e8ed;
}

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

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

.service-card h4 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.service-card.secondary {
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: left;
}

.service-card.secondary .service-icon {
    margin-bottom: 0;
    font-size: 1.8rem;
    color: var(--secondary-accent);
}

.service-card.secondary h4 {
    margin-bottom: 0;
    font-size: 1rem;
}

/* ==== WHY CHOOSE US ==== */
.features-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #fff;
    padding: 15px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.feature-icon-wrapper {
    background: var(--light-section);
    color: var(--accent-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-item span {
    font-weight: 500;
    font-size: 1.05rem;
}

/* ==== HOW IT WORKS ==== */
.steps-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
}

.step-box {
    background: #fff;
    padding: 20px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-sm);
    position: relative;
    border: 2px solid transparent;
    transition: var(--transition);
}

.step-box:hover {
    border-color: var(--primary-color);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary-accent);
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-family: 'Poppins', sans-serif;
}

.step-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin: 15px 0 10px;
}

.step-arrow {
    display: flex;
    justify-content: center;
    color: var(--secondary-accent);
    font-size: 1.5rem;
}

/* ==== TESTIMONIALS ==== */
.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.testimonial-card {
    background: #fff;
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    position: relative;
}

.stars {
    color: #FFD700;
    margin-bottom: 10px;
}

.quote {
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.author {
    font-weight: 600;
    color: var(--primary-color);
    font-family: 'Poppins', sans-serif;
}

/* ==== LOCATION ==== */
.location-content {
    background: #fff;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.location-details {
    padding: 30px 20px;
    text-align: center;
}

.location-large-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.location-details h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.location-details h4 {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.reference-text {
    background: var(--light-section);
    padding: 10px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-style: italic;
}

.map-container iframe {
    display: block;
}

/* ==== CONTACT FORM ==== */
.contact-subtitle {
    text-align: center;
    margin-top: -30px;
    margin-bottom: 30px;
    color: var(--text-muted);
}

.form-wrapper {
    background: #fff;
    padding: 30px 20px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--primary-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 120, 140, 0.1);
}

.btn-submit {
    width: 100%;
    font-size: 1.1rem;
}

/* ==== FINAL CTA ==== */
.final-cta {
    background: var(--primary-color);
    color: #fff;
    text-align: center;
}

.final-cta h2 {
    color: #fff;
    margin-bottom: 30px;
}

.final-cta .btn {
    width: 100%;
    max-width: 350px;
}

/* ==== FOOTER ==== */
.footer {
    background: #15202B;
    color: #fff;
    padding: 40px 0 20px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    margin-bottom: 30px;
}

.footer-info h3 {
    color: #fff;
    margin-bottom: 5px;
}

.footer-info p {
    color: #aaa;
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 15px;
}

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

.social-icon:hover {
    background: var(--secondary-accent);
    color: #fff;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.8rem;
    color: #888;
}

/* ==== FLOATING WHATSAPP ==== */
.float-wa {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.float-wa:hover {
    background-color: #128C7E;
    transform: scale(1.1);
}

/* ==== ANIMATIONS ==== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.show {
    opacity: 1;
    transform: translateY(0);
}

/* ==== MEDIA QUERIES (TABLET & DESKTOP) ==== */
@media screen and (min-width: 480px) {
    .nav-links {
        display: block;
    }
}

@media screen and (min-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero .subheadline {
        font-size: 1.3rem;
    }
    
    .btn-large {
        width: auto;
    }

    .services-grid.primary-services {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .steps-container {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
    
    .step-box {
        flex: 1;
    }
    
    .step-arrow {
        transform: rotate(0);
        margin: 0 10px;
    }

    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .location-content {
        display: flex;
        align-items: stretch;
    }

    .location-details {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .map-container {
        flex: 2;
    }

    .map-container iframe {
        height: 100%;
        min-height: 400px;
    }

    .form-wrapper {
        max-width: 700px;
        margin: 0 auto;
        padding: 40px;
    }

    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

@media screen and (min-width: 1024px) {
    .services-grid.primary-services {
        grid-template-columns: repeat(4, 1fr);
    }

    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
