: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: 45%; 
    /* @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;
    gap: 40px; 
    position: relative;
    z-index: 2;
    flex-wrap: wrap; 
}

.hero-content {
    flex: 1;
    min-width: 300px; 
}

.hero-content h1 {
    color: #fff; 
}

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

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

.hero-image {
    flex: 0 0 auto; 
    max-width: var(--main-illustrative-image-max-width-desktop); 
    text-align: center; 
}

.hero-image img {
    display: block; 
    max-width: 100%; 
    height: auto;
    border-radius: 8px; 
    box-shadow: 0 8px 16px var(--color-shadow); 
}

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

.about-content {
    flex: 1;
    min-width: 300px;
}

.about-content ul {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.about-content ul li {
    margin-bottom: 10px;
    line-height: 1.8;
}

.about-image {
    flex: 0 0 auto;
    max-width: var(--main-illustrative-image-max-width-desktop); 
    text-align: center;
}

.about-image img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 8px; 
    box-shadow: 0 8px 16px var(--color-shadow); 
}

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

.service-item {
    background-color: var(--color-background-main);
    padding: 30px;
    border-radius: 8px; 
    box-shadow: 0 4px 8px var(--color-shadow);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

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

.service-item h3 {
    margin-top: 0;
    color: var(--color-primary);
}

/* 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;
    gap: 15px;
    padding: 20px; 
    background-color: var(--color-background-main);
    border-left: 5px solid var(--color-primary); 
    border-radius: 0 8px 8px 0; 
    box-shadow: 0 2px 4px var(--color-shadow);
}

.advantage-item img {
    width: var(--advantage-icon-size);
    height: var(--advantage-icon-size);
    flex-shrink: 0; 
    object-fit: contain;
}

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

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

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

.process-step {
    background-color: var(--color-background-main);
    padding: 25px;
    border-radius: 8px; 
    box-shadow: 0 4px 8px var(--color-shadow);
    text-align: center;
    max-width: 200px; 
    position: relative;
}

.step-number {
    width: 40px; 
    height: 40px; 
    background-color: var(--color-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2em;
    font-weight: 700;
    margin: -45px auto 15px auto; 
    box-shadow: 0 2px 4px var(--color-shadow);
}

.process-flow::before {
    content: '';
    position: absolute;
    top: 60px; 
    left: 50%;
    transform: translateX(-50%);
    width: 80%; 
    height: 2px; 
    background-color: var(--color-primary);
    z-index: 0; 
    display: none; 
}

@media (min-width: 768px) {
    .process-flow::before {
        display: block;
    }
    .process-step {
        margin-top: 30px; 
    }
}

.process-image {
    text-align: center;
    margin-top: 40px;
}

.process-image img {
    max-width: var(--main-illustrative-image-max-width-desktop); 
    height: auto;
    border-radius: 8px; 
    box-shadow: 0 8px 16px var(--color-shadow); 
}

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

.testimonial-item {
    background-color: var(--color-background-main);
    padding: 30px;
    border-radius: 8px; 
    box-shadow: 0 4px 8px var(--color-shadow);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 180px; 
}

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

.testimonial-author {
    text-align: right;
    font-weight: 600;
    color: #555;
}

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

.blog-post-preview {
    background-color: var(--color-background-main);
    border-radius: 8px; 
    box-shadow: 0 4px 8px var(--color-shadow);
    overflow: hidden; 
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-post-preview:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

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

.blog-post-preview h3 {
    margin: 20px 20px 10px 20px;
    font-size: 1.3em;
    color: var(--color-primary);
}

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

.blog-post-preview .read-more {
    display: inline-block;
    margin: 0 20px 20px 20px;
    font-weight: 600;
    color: var(--color-primary);
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px; 
    align-items: start;
}

.contact-form {
    background-color: var(--color-background-main);
    padding: 30px;
    border-radius: 8px; 
    box-shadow: 0 4px 8px var(--color-shadow);
}

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

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

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--color-border);
    border-radius: 4px; 
    font-family: var(--font-family-body);
    font-size: 1em;
    box-sizing: border-box; 
}

.form-group textarea {
    resize: vertical; 
}

.contact-info {
    background-color: var(--color-background-light);
    padding: 30px;
    border-radius: 8px; 
    box-shadow: 0 4px 8px var(--color-shadow);
}

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

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

.contact-info a {
     word-break: break-word; 
}

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

.social-links img {
    width: 30px; 
    height: 30px; 
    object-fit: contain;
    transition: transform 0.3s ease;
}

.social-links a:hover img {
    transform: scale(1.1); 
}

.google-map {
    margin-top: 30px;
    border-radius: 8px; 
    overflow: hidden;
    box-shadow: 0 2px 4px var(--color-shadow);
}

.google-map iframe {
     display: block; 
}

/* 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: 30px; 
    right: 30px; 
    display: flex;
    align-items: center;
    background-color: #25D366; 
    color: #fff;
    border-radius: 30px; 
    padding: 10px 20px 10px 10px; 
    text-decoration: none;
    font-size: 1em; 
    font-weight: 600;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: width 0.3s ease, background-color 0.3s ease, padding 0.3s ease;
    z-index: 1000;
    overflow: hidden; 
    width: var(--whatsapp-float-icon-size); 
    white-space: nowrap; 
}

.whatsapp-float:hover {
    width: var(--whatsapp-float-hover-width); 
    background-color: #1DA851; 
}

.whatsapp-float img {
    width: var(--whatsapp-float-icon-size);
    height: var(--whatsapp-float-icon-size);
    margin-right: 10px; 
    flex-shrink: 0; 
}

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

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

/* Responsive Design */
@media (max-width: 992px) {
    h1 {
        font-size: 2em;
    }

    h2 {
        font-size: 1.8em;
    }

    h3 {
        font-size: 1.3em;
    }

    .hero-section .container,
    .about-section .container {
        flex-direction: column; 
        gap: 30px;
    }

    .hero-content,
    .about-content {
        text-align: center; 
        flex: auto; 
    }

    .hero-image,
    .about-image,
    .process-image {
        max-width: var(--illustrative-image-max-width-mobile); 
        flex: auto; 
    }
     .hero-image img,
     .about-image img,
     .process-image img {
         margin: 0 auto; 
     }

    .site-nav ul {
        margin-top: 15px;
        justify-content: center;
    }

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

    .hero-buttons {
        justify-content: center; 
    }

    .btn-secondary {
        margin-left: 0; 
        margin-top: 10px; 
    }

    .process-flow {
         flex-direction: column; 
         align-items: center; 
         gap: 40px; 
    }
    .process-flow::before {
        display: none; 
    }
    .process-step {
        max-width: 300px; 
        width: 90%; 
        margin-top: 0; 
    }
    .step-number {
        margin: -30px auto 15px auto; 
    }

}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
        --container-padding: 0 15px;
    }
    h1 {
        font-size: 1.8em;
    }
     h2 {
        font-size: 1.6em;
    }
     h3 {
        font-size: 1.2em;
    }

     .site-header .container {
        flex-direction: column;
     }
     .site-nav ul {
         margin-top: 15px;
         gap: 10px;
     }
     .site-nav li {
         margin: 0; 
     }

}

@media (max-width: 480px) {
    :root {
        --section-padding: 40px 0;
        --container-padding: 0 10px;
         --button-padding: 8px 15px;
         --whatsapp-float-icon-size: 40px; 
    }
    h1 {
        font-size: 1.6em;
    }
    h2 {
        font-size: 1.4em;
    }
    h3 {
        font-size: 1.1em;
    }
    .section-subtitle {
        font-size: 1em;
        margin-bottom: 20px;
    }

    .hero-buttons {
        flex-direction: column; 
        gap: 10px;
    }
     .btn {
         width: 100%; 
         box-sizing: border-box;
     }
    .btn-secondary {
        margin-top: 0; 
    }

    .hero-image,
    .about-image,
    .process-image {
        max-width: var(--illustrative-image-max-width-small-mobile); 
    }

    .services-grid,
    .advantages-grid,
    .testimonials-grid,
    .blog-grid,
    .contact-grid {
         grid-template-columns: 1fr; 
         gap: 30px;
    }
    .advantage-item {
        flex-direction: column; 
        text-align: center;
        border-left: none; 
        border-top: 5px solid var(--color-primary); 
        border-radius: 8px 8px 0 0; 
    }
    .advantage-item img {
         margin-bottom: 10px;
    }
     .advantage-item h3 {
         margin-bottom: 5px;
     }

    .process-step {
        padding: 20px;
    }
    .step-number {
        width: 30px; 
        height: 30px;
        font-size: 1em;
        margin: -35px auto 10px auto; 
    }

     .whatsapp-float {
         bottom: 20px; 
         right: 20px; 
     }
      .whatsapp-float:hover {
         width: 200px; 
      }

     .blog-post-preview h3 {
         font-size: 1.1em;
         margin: 15px 15px 8px 15px;
     }
     .blog-post-preview p {
         margin: 0 15px 10px 15px;
         font-size: 0.9em;
     }
     .blog-post-preview .read-more {
          margin: 0 15px 15px 15px;
     }

     .contact-form,
     .contact-info {
         padding: 20px;
     }
      .social-links img {
          width: 25px; 
          height: 25px;
      }

}