/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-green: #28a745;
    --dark-green: #1e7e34;
    --light-green: #d4edda;
    --black: #212529;
    --dark-gray: #343a40;
    --light-gray: #f8f9fa;
    --white: #ffffff;
    --border-color: #dee2e6;
    --text-muted: #6c757d;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--black);
    background-color: var(--white);
    min-width: 320px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Header */
.header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    width: 100%;
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 175px;
    width: 100%;
    min-width: 0;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    font-weight: bold;
    color: #4b7a64;
    flex-shrink: 0;
}

.logo img {
    max-height: 120px;
    width: auto;
}

.logo i {
    margin-right: 10px;
    font-size: 2rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    flex-wrap: wrap;
}

.nav-link {
    text-decoration: none;
    color: var(--black);
    font-weight: 500;
    font-size: 18px;
    transition: color 0.3s ease;
    position: relative;
    white-space: nowrap;
}

.nav-link:hover {
    color: #4b7a64;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #4b7a64;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    flex-shrink: 0;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--black);
    margin: 3px 0;
    transition: 0.3s;
}

/* Botão WhatsApp no Header */
.whatsapp-btn {
    background-color: #4b7a64;
    color: var(--white);
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.whatsapp-btn:hover {
    background-color: var(--dark-green);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.whatsapp-btn i {
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    background: url(../_imagens/clinica-medica-afromed-medicina-ocupacional.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    padding: 230px 20px 100px;
    min-height: 55vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 100%;
}

.hero-content {
    max-width: 1200px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
    width: 100%;
}

.hero-text {
    width: 100%;
    min-width: 0;
}

.hero-text h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: bold;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    word-wrap: break-word;
}

.hero-text p {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: var(--white);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    display: inline-block;
    text-align: center;
    min-width: 150px;
    white-space: nowrap;
}

.btn-primary {
    background-color: #4b7a64;
    color: var(--white);
    border-color: #4b7a64;
}

.btn-primary:hover {
    background-color: #4b7a64;
    border-color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-secondary:hover {
    background-color: #4b7a64;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.hero-content .stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    width: 100%;
    min-width: 0;
}

.stat-item {
    text-align: center;
    background-color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    min-width: 0;
}

.stat-item h3 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: #4b7a64;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--text-muted);
    font-weight: 500;
    font-size: clamp(0.8rem, 2vw, 1rem);
}

/* Section Headers */
.section-header-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: flex-start;
    margin-bottom: 4rem;
    width: 100%;
}

.section-header {
    text-align: left;
    min-width: 0;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    color: var(--black);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.section-header p {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    color: var(--text-muted);
    text-align: justify;
    line-height: 1.7;
}

/* Slideshow Styles */
.slideshow-container {
    position: relative;
    width: 100%;
    min-width: 0;
    margin: auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background-color: var(--light-gray);
}

.slide {
    display: none;
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.slide.active {
    display: block;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 0;
    display: block;
}

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: white;
    padding: 2rem;
    text-align: center;
}

.slide-content h3 {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    margin-bottom: 0.5rem;
}

.slide-content p {
    font-size: clamp(0.9rem, 2vw, 1rem);
    opacity: 0.9;
}

/* Navigation arrows */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    background: rgba(0,0,0,0.5);
    border: none;
    user-select: none;
    transition: all 0.3s ease;
    z-index: 10;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev {
    left: 0;
    border-radius: 0 3px 3px 0;
}

.prev:hover, .next:hover {
    background: rgba(0,0,0,0.8);
    color: var(--primary-green);
}

/* Dots indicators */
.slideshow-container .dots-container {
    text-align: center;
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.9);
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.slideshow-container .dot {
    cursor: pointer;
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: inline-block;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.slideshow-container .dot.active, 
.slideshow-container .dot:hover {
    background-color: #4b7a64;
    border-color: #4b7a64;
    transform: scale(1.2);
}

/* About Section */
.about {
    padding: 80px 20px;
    background-color: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
    width: 100%;
}

.about-text {
    min-width: 0;
}

.about-text h3 {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    color: var(--black);
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.about-text h3:first-child {
    margin-top: 0;
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.values ul {
    list-style: none;
}

.values li {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

.values li i {
    color: #4b7a64;
    margin-right: 10px;
    flex-shrink: 0;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    min-width: 0;
}

.feature {
    background-color: var(--light-gray);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid #4b7a64;
    min-width: 0;
}

.feature i {
    font-size: 2rem;
    color: #4b7a64;
    margin-bottom: 1rem;
}

.feature h4 {
    color: var(--black);
    margin-bottom: 0.5rem;
    font-size: clamp(1rem, 2.5vw, 1.2rem);
}

.feature p {
    color: var(--text-muted);
    font-size: clamp(0.85rem, 2vw, 0.9rem);
    line-height: 1.5;
}

/* Services Section */
.services {
    padding: 80px 20px;
    background-color: #ebf1ee;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    width: 100%;
}

.service-card {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 320px;
    min-width: 0;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: #4b7a64;
}

.service-card i {
    font-size: 3rem;
    color: #4b7a64;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    color: var(--black);
    margin-bottom: 1rem;
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
}

.service-card p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

.service-card .btn {
    margin-top: auto;
    font-size: 0.9rem;
    padding: 10px 20px;
    min-width: auto;
}

/* Contact Section */
.contact {
    padding: 80px 20px;
    background-color: #c3ddd1;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    width: 100%;
}

.contact-info {
    min-width: 0;
}

.contact-info h3 {
    color: var(--black);
    margin-bottom: 2rem;
    font-size: clamp(1.2rem, 3vw, 1.5rem);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    min-width: 0;
}

.contact-item i {
    font-size: 1.5rem;
    color: #4b7a64;
    margin-right: 1rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.contact-item div {
    min-width: 0;
    width: 100%;
}

.contact-item h4 {
    color: var(--black);
    margin-bottom: 0.5rem;
    font-size: clamp(1rem, 2.5vw, 1.1rem);
}

.contact-item p {
    color: var(--text-muted);
    line-height: 1.5;
    word-wrap: break-word;
}

.contact-item p a {
    color: #4b7a64;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    word-wrap: break-word;
}

.contact-item p a:hover {
    color: #4b7a64;
    text-decoration: underline;
}

.contact-form {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
    min-width: 0;
}

.contact-form h3 {
    color: var(--black);
    margin-bottom: 2rem;
    font-size: clamp(1.2rem, 3vw, 1.5rem);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background-color: var(--white);
    min-width: 0;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4b7a64;
    box-shadow: 0 0 0 3px rgba(75, 122, 100, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Service Pages Styles */

/* Service Hero Section */
.service-hero {
    background: linear-gradient(135deg, #4b7a64 0%, #3a6150 100%);
    padding: 200px 20px 100px;
    color: var(--white);
    text-align: center;
    width: 100%;
}

/* Service Hero Admissionais */
.service-hero-admissionais {
    background: url(../_imagens/clinica-afromed-exames-adissionais.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    padding: 220px 20px 100px;
    min-height: 80vh;
    color: var(--white);
    text-align: center;
    width: 100%;
}

/* Service Hero Demissionais */
.service-hero-demissionais {
    background: url(../_imagens/clinica-medica-afromed-exame-demissional.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    padding: 220px 20px 100px;
    min-height: 80vh;
    color: var(--white);
    text-align: center;
    width: 100%;
}

/* Service Hero Periodicos */
.service-hero-periodicos {
    background: url(../_imagens/clinica-afromed-exames-periodicos.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    padding: 220px 20px 100px;
    min-height: 80vh;
    color: var(--white);
    text-align: center;
    width: 100%;
}

/* Service Hero Mudança de Funcão */
.service-hero-mudanca-de-funcao {
    background: url(../_imagens/exame-de-mudanca-de-funcao.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    padding: 220px 0px 100px;
    min-height: 80vh;
    color: var(--white);
    text-align: center;
    width: 100%;
}

/* Service Hero LTCAT */
.service-hero-ltcat {
    background: url(../_imagens/ltcat.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    padding: 350px 0px 100px;
    min-height: 120vh;
    color: var(--white);
    text-align: center;
    width: 100%;
}

/* Service Hero PCMSO */
.service-hero-pcmso {
    background: url(../_imagens/clinica-medica-afromed-pcmso.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    padding: 220px 20px 100px;
    min-height: 60vh;
    color: var(--white);
    text-align: center;
    width: 100%;
}

/* Service Hero PPP */
.service-hero-ppp {
    background: url(../_imagens/clinica-medica-afromed-ppp.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    padding: 220px 20px 100px;
    min-height: 80vh;
    color: var(--white);
    text-align: center;
    width: 100%;
}

/* Service Hero nr5 */
.service-hero-nr5 {
    background: url(../_imagens/clinica-medica-afromed-nr5.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    padding: 220px 20px 100px;
    min-height: 80vh;
    color: var(--white);
    text-align: center;
    width: 100%;
}

/* Service Hero nr6 */
.service-hero-nr6 {
    background: url(../_imagens/clinica-medica-afromed-nr6.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    padding: 220px 20px 100px;
    min-height: 80vh;
    color: var(--white);
    text-align: center;
    width: 100%;
}

/* Service Hero nr17*/
.service-hero-nr17{
    background: url(../_imagens/clinica-medica-afromed-nr17-ergonomia.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    padding: 220px 20px 100px;
    min-height: 80vh;
    color: var(--white);
    text-align: center;
    width: 100%;
}

/* Service Hero nr35*/
.service-hero-nr35{
    background: url(../_imagens/clinica-medica-afromed-nr35-trabalho-em-altura.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    padding: 220px 20px 100px;
    min-height: 80vh;
    color: var(--white);
    text-align: center;
    width: 100%;
}

/* Service Hero treinamentos */
.service-hero-treinamentos {
    background: url(../_imagens/clinica-medica-afromed-treinamentos.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    padding: 220px 20px 100px;
    min-height: 80vh;
    color: var(--white);
    text-align: center;
    width: 100%;
}

/* Service Hero Exames Complementares */
.service-hero-exames-complementares {
    background: url(../_imagens/clinica-medica-afromed-exame-complemnentar.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    padding: 220px 20px 100px;
    min-height: 80vh;
    color: var(--white);
    text-align: center;
    width: 100%;
}

/* Service Hero Retorno ao Trabalho */
.service-hero-retorno-ao-trabalho {
    background: url(../_imagens/clinica-medica-afromed-retorno-ao-trabalho.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    padding: 220px 20px 100px;
    min-height: 80vh;
    color: var(--white);
    text-align: center;
    width: 100%;
}

.service-hero-content {
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

.breadcrumb {
    margin-bottom: 2rem;
    font-size: clamp(0.8rem, 2vw, 0.9rem);
    opacity: 0.9;
}

.breadcrumb a {
    color: var(--white);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.breadcrumb a:hover {
    opacity: 0.8;
}

.breadcrumb span {
    opacity: 0.7;
}

.service-hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: bold;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.service-hero h1 i {
    margin-right: 1rem;
    color: var(--light-green);
}

.service-hero .lead {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.service-hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Service Details Section */
.service-details {
    padding: 80px 20px;
    background-color: var(--white);
}

.details-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
    margin-top: 3rem;
    width: 100%;
}

.details-text {
    min-width: 0;
}

.details-text h3 {
    font-size: clamp(1.3rem, 3vw, 1.5rem);
    color: var(--black);
    margin-bottom: 1rem;
    margin-top: 2.5rem;
}

.details-text h3:first-child {
    margin-top: 0;
}

.details-text p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    text-align: justify;
    font-size: clamp(0.95rem, 2vw, 1rem);
}

.details-image {
    position: sticky;
    top: 100px;
    min-width: 0;
}

.details-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    object-fit: cover;
    max-height: 400px;
}

/* Process Steps */
.service-process {
    padding: 80px 20px;
    background-color: var(--light-gray);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    width: 100%;
}

.step {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
    position: relative;
    transition: transform 0.3s ease;
    min-width: 0;
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: #4b7a64;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    font-weight: bold;
    margin: 0 auto 1.5rem;
    flex-shrink: 0;
}

.step-content {
    min-width: 0;
}

.step-content h4 {
    color: var(--black);
    margin-bottom: 1rem;
    font-size: clamp(1.1rem, 2.5vw, 1.2rem);
}

.step-content p {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

/* Benefits Grid */
.service-benefits {
    padding: 80px 20px;
    background-color: var(--white);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    width: 100%;
}

.benefit-card {
    background-color: var(--light-gray);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border-left: 4px solid #4b7a64;
    transition: all 0.3s ease;
    min-width: 0;
}

.benefit-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.benefit-card i {
    font-size: clamp(2rem, 4vw, 2.5rem);
    color: #4b7a64;
    margin-bottom: 1rem;
}

.benefit-card h4 {
    color: var(--black);
    margin-bottom: 1rem;
    font-size: clamp(1.1rem, 2.5vw, 1.2rem);
}

.benefit-card p {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: clamp(0.9rem, 2vw, 0.95rem);
}

/* Service CTA */
.service-cta {
    padding: 80px 20px;
    background-color: #4b7a64;
    color: var(--white);
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    min-width: 180px;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

.cta-buttons .btn i {
    margin-right: 0.5rem;
}

/* Responsive for Service Pages */
@media (max-width: 768px) {
    .service-hero {
        padding: 150px 20px 80px;
    }
    
    .service-hero h1 {
        font-size: clamp(1.8rem, 6vw, 2.2rem);
    }
    
    .service-hero .lead {
        font-size: clamp(0.95rem, 3vw, 1.1rem);
    }
    
    .service-hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .service-hero-buttons .btn {
        width: 100%;
        max-width: 250px;
    }
    
    .details-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .details-image {
        position: static;
        order: -1;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-content h2 {
        font-size: clamp(1.6rem, 5vw, 2rem);
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 250px;
    }
}

@media (max-width: 480px) {
    .service-hero {
        padding: 120px 15px 60px;
    }
    
    .service-details,
    .service-process,
    .service-benefits,
    .service-cta {
        padding: 60px 15px;
    }
    
    .step {
        padding: 1.5rem;
    }
    
    .benefit-card {
        padding: 1.5rem;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

@media (max-width: 360px) {
    .service-hero {
        padding: 110px 10px 50px;
    }
    
    .service-details,
    .service-process,
    .service-benefits,
    .service-cta {
        padding: 50px 10px;
    }
}

/* Footer */
.footer {
    background-color: var(--black);
    color: var(--white);
    padding: 50px 20px 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
    width: 100%;
}

.footer-section {
    min-width: 0;
}

.footer-section h4 {
    color: #4b7a64;
    margin-bottom: 1rem;
    font-size: clamp(1.1rem, 2.5vw, 1.2rem);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--light-gray);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

.footer-section ul li a:hover {
    color: #4b7a64;
}

.footer-section .logo {
    color: #4b7a64;
    font-size: clamp(1.3rem, 3vw, 1.5rem);
    margin-bottom: 1rem;
}

.footer-section .logo img {
    max-height: 80px;
    width: auto;
}

.footer-section p {
    color: var(--light-gray);
    line-height: 1.6;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--dark-gray);
    color: var(--light-gray);
    font-size: clamp(0.8rem, 2vw, 0.9rem);
}

.services-grid-footer {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.2rem;
}

.services-grid-footer li {
    margin-bottom: 0.3rem;
}

.services-grid-footer li a {
    font-size: clamp(0.85rem, 2vw, 0.9rem);
    line-height: 1.3;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .nav-container {
        height: 120px;
    }
    
    .hero {
        padding: 140px 20px 60px;
    }
    
    .nav-link {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .whatsapp-btn {
        display: none;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 120px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 1rem 0;
    }
    
    .nav-link {
        position: static;
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .hero-content .stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .section-header-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .section-header {
        text-align: center;
    }
    
    .section-header p {
        text-align: center;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .slide {
        height: 250px;
    }
    
    .services-grid-footer {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-container {
        padding: 0 15px;
        height: 100px;
    }
    
    .hero {
        padding: 120px 15px 50px;
        min-height: 90vh;
    }
    
    .hero-content .stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-item {
        padding: 1.5rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .services-grid-footer {
        grid-template-columns: 1fr;
    }
    
    .about,
    .services,
    .contact {
        padding: 60px 15px;
    }
    
    .slide {
        height: 200px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 360px) {
    .nav-container {
        height: 90px;
    }
    
    .hero {
        padding: 110px 10px 40px;
    }
    
    .container {
        padding: 0 10px;
    }
    
    .stat-item {
        padding: 1rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
}