:root {
    /* @tweakable The size of the icons in the advantages section */
    --advantage-icon-size: 40px;
    /* @tweakable The size of the icons in the services section */
    --service-icon-size: 60px; 
    /* @tweakable The maximum width for large illustrative images on desktop (used in Hero, About, Process sections) */
    --main-illustrative-image-max-width-desktop: 55%; 
    /* @tweakable The maximum width for large illustrative images on mobile (up to 768px) */
    --illustrative-image-max-width-mobile: 60%; 
    /* @tweakable The maximum width for large illustrative images on small mobile (up to 480px) */
    --illustrative-image-max-width-small-mobile: 75%; 
    /* @tweakable The height of the logo in the header */
    --logo-height: 60px; 

    /* Color Palette */
    /* @tweakable Primary brand color, used for headings, buttons, and links */
    --color-primary: #007bff;
    /* @tweakable Secondary color, used for secondary buttons and accents */
    --color-secondary: #6c757d;
    /* @tweakable Text color for body content */
    --color-text-body: #333;
    /* @tweakable Text color for darker elements or headings */
    --color-text-heading: #007bff; 
    /* @tweakable Background color for light sections */
    --color-background-light: #f8f9fa;
    /* @tweakable Background color for main sections */
    --color-background-main: #fff;
    /* @tweakable Border color */
    --color-border: #ddd;
    /* @tweakable Shadow color for elements like header and cards */
    --color-shadow: rgba(0, 0, 0, 0.1);

    /* Typography */
    /* @tweakable Font family for the body */
    --font-family-body: 'Inter', sans-serif;
    /* @tweakable Font family for headings */
    --font-family-heading: 'Inter', sans-serif; 

    /* Spacing */
    /* @tweakable Padding for sections */
    --section-padding: 80px 0;
    /* @tweakable Padding for containers */
    --container-padding: 0 20px;

    /* Layout */
    /* @tweakable Maximum width for the main content container */
    --container-max-width: 1200px;
    /* @tweakable Gap between grid items in services and testimonials */
    --grid-gap: 30px;
    /* @tweakable Gap between advantage items */
    --advantage-gap: 20px;

    /* Elements */
    /* @tweakable Padding for buttons */
    --button-padding: 10px 20px;
    /* @tweakable Border radius for buttons */
    --button-border-radius: 5px;
    /* @tweakable Width of the floating WhatsApp button when hovered */
    --whatsapp-float-hover-width: 250px;
    /* @tweakable Size of the WhatsApp icon in the floating button */
    --whatsapp-float-icon-size: 50px; 
}

/* General Styles */
body {
    font-family: var(--font-family-body);
    margin: 0;
    padding: 0;
    color: var(--color-text-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: var(--color-background-main);
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: var(--container-padding);
}

.section-padding {
    padding: var(--section-padding);
}

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

h1, h2, h3 {
    font-family: var(--font-family-heading);
    color: var(--color-text-heading);
    margin-bottom: 20px;
}

h1 {
    font-size: 2.5em;
    font-weight: 700;
    line-height: 1.2;
}

h2 {
    font-size: 2em;
    font-weight: 700;
    text-align: center;
    margin-bottom: 15px;
}

h3 {
    font-size: 1.5em;
    font-weight: 600;
}

.section-subtitle {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 40px;
    color: #555;
}

p {
    margin-bottom: 20px;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #0056b3;
}

.btn {
    display: inline-block;
    padding: var(--button-padding);
    border-radius: var(--button-border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-align: center;
    border: none;
    cursor: pointer;
}

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

.btn-primary:hover {
    background-color: #0056b3;
}

.btn-secondary {
    background-color: var(--color-secondary);
    color: #fff;
    margin-left: 15px;
}

.btn-secondary:hover {
    background-color: #5a6268;
}

/* Header */
.site-header {
    background-color: var(--color-background-main);
    padding: 15px 0;
    box-shadow: 0 2px 4px var(--color-shadow);
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
}

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

.logo img {
    height: var(--logo-height);
    max-height: 80px; 
    width: auto;
}

.site-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap; 
    justify-content: center; 
}

.site-nav li {
    margin-left: 25px;
}

.site-nav a {
    text-decoration: none;
    color: var(--color-text-body);
    font-weight: 600;
    transition: color 0.3s ease;
}

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

/* Hero Section */
.hero-section {
    background-image: url('assets/hero_bg.png'); 
    background-size: cover;
    background-position: center;
    color: #fff; 
    padding: 100px 0; 
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6); 
    z-index: 1;
}

.hero-section .container {
    display: flex;
    align-items: center;
    flex-direction: column; 
    position: relative; 
    z-index: 2;
}

.hero-content {
    flex: 1;
    margin-right: 40px; 
    text-align: center; 
}

.hero-content h1 {
    color: #fff; 
    margin-bottom: 20px;
}

.hero-content p {
     color: #eee; 
     font-size: 1.1em;
     margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    justify-content: center; 
    flex-wrap: wrap;
    gap: 15px; 
}

.hero-buttons .btn-secondary {
     margin-left: 0; 
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center; 
    margin-top: 40px; 
}

.hero-image img {
    max-width: var(--illustrative-image-max-width-mobile); 
    height: auto;
    border-radius: 8px; 
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* About Section */
.about-section .container {
    display: flex;
    align-items: center;
    flex-direction: column; 
    gap: 40px; 
}

.about-content {
    flex: 1;
}

.about-image {
     flex: 1;
     display: flex;
     justify-content: center;
}

.about-image img {
    max-width: var(--illustrative-image-max-width-mobile); 
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--grid-gap);
    text-align: center;
}

.service-item {
    background-color: #fff;
    padding: 30px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

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

.service-item img {
    width: var(--service-icon-size); 
    height: var(--service-icon-size);
    margin-bottom: 15px;
}

.service-item h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.3em;
    color: var(--color-text-heading);
}

.service-item p {
    font-size: 0.95em;
    color: #555;
}

/* Advantages Section */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--advantage-gap);
}

.advantage-item {
    display: flex;
    align-items: center;
    background-color: #fff;
    padding: 20px;
    border-left: 4px solid var(--color-primary);
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.advantage-item img {
    width: var(--advantage-icon-size); 
    height: var(--advantage-icon-size); 
    margin-right: 15px;
    flex-shrink: 0; 
}

.advantage-item h3 {
    margin: 0 0 5px 0;
    font-size: 1.2em;
    color: var(--color-text-heading);
}

.advantage-item p {
    margin: 0;
    font-size: 0.9em;
    color: #555;
}

/* Process Section */
.process-flow {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap; 
}

.process-step {
    flex: 1;
    min-width: 150px; 
    text-align: center;
    position: relative;
    padding-bottom: 20px; 
}

.step-number {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: var(--color-primary);
    color: #fff;
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.2em;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.process-step h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.1em;
    color: var(--color-text-heading);
}

.process-step p {
    margin: 0;
    font-size: 0.9em;
    color: #555;
}

/* Connector line for process steps (Desktop only) */
@media (min-width: 768px) {
    .process-flow {
        position: relative;
        padding-bottom: 30px; 
    }
    .process-flow::before {
        content: '';
        position: absolute;
        bottom: 35px; 
        left: 5%; 
        right: 5%; 
        height: 2px;
        background-color: var(--color-border);
        z-index: 0;
    }
    .process-step {
        padding-bottom: 0; 
        position: static; 
    }
    .step-number {
        margin-bottom: 25px; 
    }
}

.process-image {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.process-image img {
    max-width: var(--illustrative-image-max-width-mobile); 
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Testimonials Section */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--grid-gap);
}

.testimonial-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    font-style: italic;
    color: #555;
}

.testimonial-item p {
    margin-bottom: 20px;
}

.testimonial-author {
    font-style: normal;
    font-weight: 600;
    color: var(--color-text-body);
}

/* Blog Section */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--grid-gap);
}

.blog-post-preview {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden; 
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.blog-post-preview img {
    width: 100%; 
    height: 200px; 
    object-fit: cover; 
    margin-bottom: 15px;
}

.blog-post-preview h3 {
    padding: 0 20px;
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.3em;
    color: var(--color-text-heading);
}

.blog-post-preview p {
    padding: 0 20px;
    font-size: 0.95em;
    color: #555;
    flex-grow: 1; 
}

.blog-post-preview .read-more {
    display: inline-block;
    padding: 10px 20px 20px 20px;
    font-weight: 600;
    text-align: right; 
    color: var(--color-primary);
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr; 
    gap: var(--grid-gap);
}

.contact-form form {
    display: grid;
    gap: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    font-size: 1em;
    font-family: var(--font-family-body);
}

.form-group textarea {
    resize: vertical;
}

.contact-info h3 {
    margin-top: 0;
    margin-bottom: 20px;
    color: var(--color-text-heading);
}

.contact-info p {
    margin-bottom: 15px;
    color: #555;
}

.social-links {
    margin-top: 20px;
    margin-bottom: 30px;
    display: flex;
    gap: 15px;
}

.social-links img {
    width: 24px;
    height: 24px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.social-links img:hover {
    opacity: 1;
}

.google-map iframe {
    width: 100%;
    height: 300px;
    border-radius: 8px;
}

/* Footer */
.site-footer {
    background-color: #333;
    color: #fff;
    padding: 30px 0;
    text-align: center;
    font-size: 0.9em;
}

.site-footer p {
    margin: 5px 0;
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50px;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: width 0.3s ease, border-radius 0.3s ease;
    overflow: hidden; 
    width: calc(var(--whatsapp-float-icon-size) + 20px); 
    white-space: nowrap;
    z-index: 1000;
}

.whatsapp-float img {
    width: var(--whatsapp-float-icon-size); 
    height: var(--whatsapp-float-icon-size); 
    vertical-align: middle;
    margin-right: 10px; 
    transition: margin-right 0.3s ease;
}

.whatsapp-float span {
    display: inline-block;
    opacity: 0; 
    transition: opacity 0.3s ease;
}

.whatsapp-float:hover {
    width: var(--whatsapp-float-hover-width); 
    border-radius: 50px; 
}

.whatsapp-float:hover span {
    opacity: 1; 
}

/* Responsive Adjustments */
@media (min-width: 768px) {
    .hero-section .container,
    .about-section .container {
        flex-direction: row; 
        text-align: left;
    }

    .hero-content {
        text-align: left;
        margin-right: 40px;
        margin-top: 0;
    }

    .hero-buttons {
         justify-content: flex-start; 
         gap: 15px; 
    }

    .hero-buttons .btn-secondary {
         margin-left: 15px; 
    }

    .hero-image {
         justify-content: flex-end; 
         margin-top: 0;
    }

    .hero-image img,
    .about-image img,
    .process-image img {
        max-width: var(--main-illustrative-image-max-width-desktop); 
    }

    .about-image {
         justify-content: flex-start; 
    }

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

     .site-header .container {
         flex-wrap: nowrap; 
     }

     .site-nav ul {
         justify-content: flex-end; 
     }
}

@media (max-width: 767px) {
    .site-nav ul {
        margin-top: 15px;
        width: 100%; 
    }
    .site-nav li {
        margin: 0 10px; 
    }

    .hero-section,
    .section-padding {
        padding: 60px 0; 
    }

    h1 {
        font-size: 2em; 
    }

    h2 {
        font-size: 1.8em;
    }

    h3 {
         font-size: 1.3em;
    }

    .process-step {
        min-width: 120px; 
    }

    .whatsapp-float {
         width: var(--whatsapp-float-icon-size); 
         border-radius: 50%;
         padding: 10px;
    }

     .whatsapp-float img {
        margin-right: 0; 
     }

     .whatsapp-float span {
        display: none; 
     }

     .whatsapp-float:hover {
        width: var(--whatsapp-float-icon-size); 
     }
}

@media (max-width: 480px) {
     .hero-image img,
     .about-image img,
     .process-image img {
         max-width: var(--illustrative-image-max-width-small-mobile); 
     }

     .site-nav li {
        margin: 0 8px;
     }

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

     .hero-buttons .btn {
        width: 80%; 
        max-width: 250px;
        margin-left: 0; 
     }
}