/* ==========================================================================
   CSS VARIABLES & RESET
   ========================================================================== */
:root {
    /* Colors */
    --primary-blue: #0d2b66; /* Main dark blue from logo/mockup */
    --primary-blue-dark: #081a40;
    --primary-green: #1f9e4d; /* Accent green */
    --whatsapp-green: #25d366;
    --whatsapp-green-dark: #128c7e;
    --text-dark: #2d3748;
    --text-muted: #718096;
    --bg-light: #f7f9fc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --card-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
    --card-shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Typography */
    --font-main: 'Poppins', sans-serif;
    
    /* Transitions */
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

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

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

.section-title {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 3rem;
    font-weight: 700;
    text-transform: uppercase;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--primary-green);
    margin: 10px auto 0;
    border-radius: 2px;
}

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

section {
    padding: 5rem 0;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
}

.btn i {
    font-size: 1.25rem;
}

.btn-primary {
    background-color: var(--whatsapp-green);
    color: var(--bg-white);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.btn-primary:hover {
    background-color: var(--whatsapp-green-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
}

.btn-secondary {
    background-color: var(--primary-blue);
    color: var(--bg-white);
    box-shadow: 0 4px 12px rgba(13, 43, 102, 0.2);
}

.btn-secondary:hover {
    background-color: var(--primary-blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(13, 43, 102, 0.3);
}

.btn-text-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.btn-number {
    font-weight: 700;
    font-size: 1.1rem;
}

.btn-subtext {
    font-size: 0.75rem;
    font-weight: 400;
    opacity: 0.9;
}

.btn-whatsapp-nav {
    background-color: var(--whatsapp-green);
    color: var(--bg-white);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-size: 0.9rem;
}

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

.btn-block {
    width: 100%;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--bg-white);
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid var(--border-color);
}

.header.scrolled {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border-bottom: transparent;
}

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

.nav-logo {
    max-height: 55px;
    object-fit: contain;
}

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

.nav-link {
    color: var(--primary-blue);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-green);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-green);
    transition: var(--transition);
}

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

.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.hamburger {
    display: none;
    cursor: pointer;
    background: transparent;
    border: none;
}

.hamburger .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: var(--primary-blue);
    border-radius: 3px;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
    padding-top: 120px; /* Accounts for fixed header */
    padding-bottom: 4rem;
    background: linear-gradient(135deg, #f8faff 0%, #eef3fb 100%);
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3rem;
    line-height: 1.2;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero-content .highlight {
    color: var(--primary-green);
}

.hero-content p {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
}

.hero-image img {
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(13, 43, 102, 0.15);
    transform: perspective(1000px) rotateY(-5deg);
    transition: var(--transition);
    max-width: 80%;
    margin: 0 auto;
    display: block;
}

.hero-image:hover img {
    transform: perspective(1000px) rotateY(0deg);
}

/* ==========================================================================
   FEATURES BAR
   ========================================================================== */
.features-bar {
    background-color: var(--primary-blue);
    color: var(--bg-white);
    padding: 2rem 0;
}

.features-container {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.8rem;
}

.feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-green);
    transition: var(--transition);
}

.feature-item:hover .feature-icon {
    background-color: var(--primary-green);
    color: var(--bg-white);
    transform: translateY(-5px);
}

.feature-item span {
    font-size: 0.85rem;
    font-weight: 500;
    line-height: 1.3;
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
}

.service-card {
    background-color: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

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

.service-img-wrapper {
    position: relative;
    height: 160px;
    overflow: hidden;
}

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

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

.service-icon {
    position: absolute;
    bottom: -20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: var(--primary-green);
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    z-index: 2;
}

.service-card h3 {
    padding: 1.5rem 1.2rem 0.5rem;
    font-size: 1.1rem;
    color: var(--primary-blue);
    font-weight: 600;
}

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

/* ==========================================================================
   PROCESS SECTION
   ========================================================================== */
.process-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
}

.process-step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 0 1rem;
}

.step-icon-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
}

.step-icon {
    width: 100%;
    height: 100%;
    background-color: var(--bg-white);
    border: 2px dashed var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-blue);
    transition: var(--transition);
}

.process-step:hover .step-icon {
    background-color: var(--primary-green);
    color: var(--bg-white);
    border-style: solid;
}

.step-num {
    position: absolute;
    top: 0;
    right: 0;
    width: 25px;
    height: 25px;
    background-color: var(--primary-blue);
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    border: 2px solid var(--bg-light);
}

.process-step h3 {
    font-size: 1.1rem;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

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

.process-connector {
    flex: 0 0 10%;
    height: 2px;
    background-color: var(--border-color);
    margin-top: 40px;
    position: relative;
    z-index: 1;
}

/* ==========================================================================
   AREAS SECTION
   ========================================================================== */
.areas-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.area-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-weight: 500;
    color: var(--primary-blue);
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
    transition: var(--transition);
    cursor: default;
}

.area-badge i {
    color: var(--primary-green);
    font-size: 1.2rem;
}

.area-badge:hover {
    background-color: var(--primary-blue);
    color: var(--bg-white);
    border-color: var(--primary-blue);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(13, 43, 102, 0.15);
}

/* ==========================================================================
   REVIEWS SECTION
   ========================================================================== */
.reviews-slider {
    padding-bottom: 3rem;
}

.review-card {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    height: auto;
    display: flex;
    flex-direction: column;
    border-top: 4px solid var(--primary-green);
}

.stars {
    color: #fbbc04;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.review-text {
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.review-author {
    display: flex;
    flex-direction: column;
}

.review-author strong {
    color: var(--primary-blue);
}

.review-author span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.swiper-pagination-bullet-active {
    background-color: var(--primary-green) !important;
}

.swiper-button-next, .swiper-button-prev {
    color: var(--primary-blue) !important;
    background-color: var(--bg-white);
    width: 40px !important;
    height: 40px !important;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.swiper-button-next::after, .swiper-button-prev::after {
    font-size: 1.2rem !important;
    font-weight: 700;
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */
.faq-container {
    max-width: 800px;
}

.accordion-item {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 1.5rem;
    cursor: pointer;
    background-color: var(--bg-white);
    transition: var(--transition);
}

.accordion-header:hover {
    background-color: var(--bg-light);
}

.acc-title {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 600;
    color: var(--primary-blue);
}

.acc-title i {
    color: var(--primary-green);
    font-size: 1.2rem;
}

.acc-icon {
    font-size: 1.5rem;
    color: var(--text-muted);
    transition: transform 0.3s ease;
}

.accordion-item.active .acc-icon {
    transform: rotate(180deg);
    color: var(--primary-green);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background-color: var(--bg-white);
}

.accordion-content p {
    padding: 0 1.5rem 1.2rem 3.5rem;
    color: var(--text-muted);
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background-color: var(--bg-white);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: var(--transition);
}

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

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-blue);
}

.info-item.whatsapp-item i {
    color: var(--whatsapp-green);
}

.info-item span {
    color: var(--text-dark);
    font-weight: 500;
}

.contact-whatsapp-box {
    background: linear-gradient(135deg, var(--whatsapp-green) 0%, var(--whatsapp-green-dark) 100%);
    border-radius: 12px;
    padding: 1.5rem;
    color: var(--bg-white);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.2);
}

.contact-whatsapp-box > i {
    font-size: 2.5rem;
}

.whatsapp-box-content h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.whatsapp-box-content p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.btn-whatsapp-solid {
    background-color: var(--bg-white);
    color: var(--whatsapp-green-dark);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
}

.contact-map-wrapper {
    background-color: var(--bg-white);
    padding: 1rem;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    height: 100%;
    min-height: 400px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    background-color: var(--primary-blue-dark);
    color: rgba(255,255,255,0.8);
    padding-top: 4rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 2rem;
    align-items: center;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
    max-height: 70px;
    background-color: #fff;
    padding: 5px;
    border-radius: 4px;
}

.footer-desc-col p {
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer-social-col {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

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

.social-icon:hover {
    background-color: var(--primary-green);
    transform: translateY(-3px);
}

.footer-bottom {
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.85rem;
}

/* ==========================================================================
   FLOATING CALL BUTTON
   ========================================================================== */
.floating-call {
    position: fixed;
    bottom: 30px;
    right: 30px;
    height: 60px;
    padding: 0 25px;
    background-color: var(--primary-green);
    color: #fff;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
    animation: bounce-slight 2s infinite ease-in-out;
}

.floating-call i {
    font-size: 1.5rem;
}

.floating-call:hover {
    background-color: #1fa34c;
    transform: scale(1.05);
    color: #fff;
    animation: none;
}

@keyframes bounce-slight {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 992px) {
    .hero-container, .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .hero {
        padding-top: 100px;
    }

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

    .hero-content p {
        margin: 1.5rem auto;
    }

    .hero-btns {
        justify-content: center;
    }
    
    .hero-image {
        margin-top: 2rem;
    }

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

    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
    
    .process-connector {
        display: none;
    }

    .process-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-social-col {
        justify-content: center;
    }
    
    .footer-logo {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    
    .navbar {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: var(--bg-white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 15px rgba(0,0,0,0.05);
        padding: 2rem 0;
    }

    .navbar.active {
        left: 0;
    }

    .nav-menu {
        flex-direction: column;
        gap: 2rem;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }

    .features-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }

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

@media (max-width: 480px) {
    .hero-btns {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
    }
    
    .features-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    
    .feature-item {
        gap: 0.4rem;
    }
    
    .feature-icon {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }

    .feature-item span {
        font-size: 0.7rem;
        line-height: 1.1;
    }
    
    .floating-call {
        bottom: 20px;
        right: 20px;
        height: 50px;
        padding: 0 18px;
        font-size: 0.95rem;
    }
    
    .floating-call i {
        font-size: 1.3rem;
    }
}