/* Light Professional Theme - Insurance Loom */
:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-tertiary: #f1f3f5;
    --bg-elevated: #ffffff;
    --text-primary: #1a4d2e;
    --text-secondary: #2d5a3d;
    --text-muted: #5a7a68;
    --border-color: #d4e4dc;
    --border-hover: #b8d4c4;
    
    /* Primary brand color - Professional green */
    --primary-color: #006633;
    --primary-hover: #004d26;
    --primary-light: #e6f2ed;
    --primary-lighter: #f0f8f4;
    
    /* Accent colors */
    --accent: #2563eb;
    --accent-hover: #1d4ed8;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 102, 51, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 102, 51, 0.1), 0 2px 4px -1px rgba(0, 102, 51, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 102, 51, 0.1), 0 4px 6px -2px rgba(0, 102, 51, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 102, 51, 0.1), 0 10px 10px -5px rgba(0, 102, 51, 0.04);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Puzzle piece pattern background - cascading from top-left corner */
.puzzle-pattern {
    position: relative;
    overflow: hidden;
}

.puzzle-pattern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 400px;
    height: 600px;
    background-image: 
        url("data:image/svg+xml,%3Csvg width='400' height='600' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpattern id='puzzle' x='0' y='0' width='80' height='80' patternUnits='userSpaceOnUse'%3E%3Cpath d='M0,0 L26,0 L26,13 Q26,26 13,26 L13,40 L0,40 Z' fill='%23ffffff' opacity='0.6'/%3E%3Cpath d='M26,0 L53,0 L53,26 L39,26 Q26,26 26,13 Z' fill='%23ffffff' opacity='0.7'/%3E%3Cpath d='M53,0 L80,0 L80,40 L66,40 L66,26 Q66,26 53,26 Z' fill='%23ffffff' opacity='0.65'/%3E%3Cpath d='M0,40 L13,40 L13,53 Q13,66 26,66 L26,80 L0,80 Z' fill='%23ffffff' opacity='0.7'/%3E%3Cpath d='M26,66 L53,66 L53,80 L26,80 Z' fill='%23ffffff' opacity='0.6'/%3E%3Cpath d='M53,40 L66,40 L66,53 Q66,66 53,66 L53,80 L80,80 L80,40 Z' fill='%23ffffff' opacity='0.65'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='400' height='600' fill='url(%23puzzle)'/%3E%3C/svg%3E");
    background-size: 400px 600px;
    background-repeat: no-repeat;
    background-position: top left;
    opacity: 0.4;
    pointer-events: none;
    z-index: 0;
    transform: rotate(-5deg);
    transform-origin: top left;
}

.puzzle-pattern > * {
    position: relative;
    z-index: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.95) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1.25rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 102, 51, 0.15);
    box-shadow: 0 2px 20px rgba(0, 102, 51, 0.08);
}

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

.nav-brand {
    flex: 0 0 auto;
    margin-right: auto;
}

.nav-brand h1 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary-color);
    margin: 0;
    letter-spacing: -0.03em;
    text-shadow: 0 2px 4px rgba(0, 102, 51, 0.1);
    background: linear-gradient(135deg, var(--primary-color) 0%, #008844 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.nav-brand h1::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color) 0%, transparent 100%);
    opacity: 0.3;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
    font-size: 0.9375rem;
    position: relative;
    padding: 0.25rem 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color) 0%, transparent 100%);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.nav-menu a:hover::after {
    width: 100%;
}

.nav-actions {
    flex: 1 1 auto;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0.75rem;
    margin-left: auto;
    padding-right: 0;
    margin-right: -60px;
}


.btn {
    display: inline-block;
    padding: 0.75rem 1.75rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    font-size: 0.9375rem;
    line-height: 1.5;
    letter-spacing: 0.01em;
    box-shadow: 0 2px 8px rgba(0, 102, 51, 0.15);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, #008844 100%);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 102, 51, 0.25);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-hover) 0%, #006633 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 102, 51, 0.35);
}

.btn-secondary {
    background-color: #ffffff;
    color: var(--text-primary);
    border: 2px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.btn-secondary:hover {
    background-color: var(--bg-secondary);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 51, 0.15);
}

.btn-login {
    background: linear-gradient(135deg, var(--primary-color) 0%, #008844 100%);
    color: #ffffff;
    padding: 0.625rem 1.5rem;
    font-size: 0.875rem;
    box-shadow: 0 3px 10px rgba(0, 102, 51, 0.2);
    border-radius: 8px;
}

.btn-login:hover {
    background: linear-gradient(135deg, var(--primary-hover) 0%, #006633 100%);
    box-shadow: 0 5px 15px rgba(0, 102, 51, 0.3);
    transform: translateY(-1px);
}

.btn-whatsapp {
    background-color: #25D366;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    padding: 0.625rem 1.5rem;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 0.9375rem;
    line-height: 1.5;
}

.btn-whatsapp:hover {
    background-color: #20BA5A;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
    color: #ffffff;
}

.btn-whatsapp-header {
    background: linear-gradient(135deg, #25D366 0%, #20BA5A 100%);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    text-decoration: none;
    border-radius: 50%;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    font-size: 0.9375rem;
    line-height: 1.5;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp-header svg {
    width: 24px;
    height: 24px;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}

.btn-whatsapp-header:hover {
    background: linear-gradient(135deg, #20BA5A 0%, #1DA850 100%);
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45);
    color: #ffffff;
}

/* Services Dropdown */
.services-dropdown {
    position: relative;
    display: inline-block;
    margin-left: 3rem;
}

.services-dropdown-btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, #008844 100%);
    color: #ffffff;
    padding: 0.75rem 1.75rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9375rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 102, 51, 0.25);
    letter-spacing: 0.01em;
}

.services-dropdown-btn:hover {
    background: linear-gradient(135deg, var(--primary-hover) 0%, #006633 100%);
    box-shadow: 0 6px 16px rgba(0, 102, 51, 0.35);
    transform: translateY(-2px);
}

.services-dropdown-btn::after {
    content: '▼';
    font-size: 0.75rem;
    margin-left: 0.25rem;
}

.services-dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 0.5rem);
    background-color: var(--bg-elevated);
    min-width: 250px;
    box-shadow: var(--shadow-lg);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    z-index: 1000;
    overflow: hidden;
}

.services-dropdown-content.show {
    display: block;
}

.services-dropdown-header {
    padding: 1rem;
    background-color: var(--primary-light);
    border-bottom: 1px solid var(--border-color);
}

.services-dropdown-header h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0;
}

.services-dropdown-list {
    list-style: none;
    max-height: 400px;
    overflow-y: auto;
}

.services-dropdown-item {
    padding: 0;
}

.services-dropdown-link {
    display: block;
    padding: 0.875rem 1rem;
    color: var(--text-primary);
    text-decoration: none;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid var(--border-color);
}

.services-dropdown-link:last-child {
    border-bottom: none;
}

.services-dropdown-link:hover {
    background-color: var(--bg-secondary);
    color: var(--primary-color);
}

.services-dropdown-link strong {
    display: block;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.services-dropdown-link small {
    display: block;
    font-size: 0.8125rem;
    color: var(--text-muted);
}

/* Hero Section */
.hero {
    padding: 6rem 0 5rem;
    text-align: center;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.20) 100%),
                url('images/below-header.jpg');
    background-size: 100% auto;
    background-position: center center;
    background-repeat: no-repeat;
    background-blend-mode: darken;
    position: relative;
    min-height: 600px;
    width: 100%;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: high-quality;
    -ms-interpolation-mode: bicubic;
}

.hero > * {
    position: relative;
    z-index: 1;
}

.hero.puzzle-pattern::before {
    opacity: 0.35;
    width: 500px;
    height: 700px;
    background-size: 500px 700px;
    z-index: 0;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
    color: var(--text-primary);
    line-height: 1.2;
}

.hero-subtitle-section {
    padding: 3rem 0 2rem;
    background-color: var(--bg-primary);
    text-align: center;
}

.hero-subtitle-section .hero-buttons {
    margin-top: 3rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text-primary);
    margin: 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    letter-spacing: 0.01em;
    font-style: italic;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Sections */
section {
    padding: 5rem 0;
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

/* Features Section */
.features {
    position: relative;
}

.features.puzzle-pattern::before {
    opacity: 0.3;
    width: 450px;
    height: 650px;
    background-size: 450px 650px;
}

/* Feature Cards */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background-color: var(--bg-elevated);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.feature-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    border-color: var(--primary-color);
}

.feature-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Partners Section */
.partners {
    background-color: var(--bg-secondary);
}

.partners.puzzle-pattern::before {
    opacity: 0.3;
    width: 400px;
    height: 600px;
    background-size: 400px 600px;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.partner-card {
    background-color: var(--bg-elevated);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.partner-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.partner-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.partner-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* About Section */
.about {
    position: relative;
    padding: 6rem 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.30) 100%),
                url('images/near-footer.jpg');
    background-size: 100% auto;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-blend-mode: darken;
    position: relative;
    width: 100%;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: high-quality;
    -ms-interpolation-mode: bicubic;
}

.about > .container {
    position: relative;
    z-index: 1;
}

.about .section-title {
    color: #ffffff;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-content p {
    color: #ffffff;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.0625rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    font-weight: 400;
}

.about-content strong {
    color: #ffffff;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

/* Contact Section */
.contact {
    background-color: var(--bg-secondary);
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-content > p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.0625rem;
}

.contact-info {
    margin-bottom: 2rem;
}

.contact-info p {
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.contact-info a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.contact-info a:hover {
    text-decoration: underline;
}

.sales-message {
    background-color: var(--primary-light);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.sales-message p {
    color: var(--text-primary);
    margin: 0;
    font-weight: 500;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal-content {
    background-color: var(--bg-elevated);
    border-radius: 12px;
    padding: 2rem;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
    position: relative;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--text-muted);
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background-color: var(--bg-secondary);
    color: var(--text-primary);
}

.modal-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    padding-right: 2rem;
}

/* Modal Tabs */
.modal-tabs {
    display: flex;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 1.5rem;
    margin-top: -0.5rem;
}

.tab-button {
    flex: 1;
    padding: 0.75rem 1rem;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: all 0.2s ease;
}

.tab-button:hover {
    color: var(--text-primary);
    background-color: var(--bg-secondary);
}

.tab-button.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
    font-size: 0.9375rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 0.9375rem;
    font-family: inherit;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    transition: all 0.2s ease;
}

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

.error-message {
    display: none;
    color: var(--danger-color);
    font-size: 0.875rem;
    margin-top: 0.5rem;
    padding: 0.75rem;
    background-color: #fee2e2;
    border-radius: 6px;
    border: 1px solid #fecaca;
}

.error-message.show {
    display: block;
}

.success-message {
    display: block;
    color: #065f46;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    padding: 0.75rem;
    background-color: #d1fae5;
    border-radius: 6px;
    border: 1px solid #6ee7b7;
}

/* Footer */
.footer {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.6) 100%),
                url('images/near-footer.jpg');
    background-size: 100% auto;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-blend-mode: darken;
    padding: 2.5rem 0;
    text-align: center;
    color: #ffffff;
    margin-top: 0;
    position: relative;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: high-quality;
    -ms-interpolation-mode: bicubic;
}

.footer .container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer p {
    color: #ffffff;
    margin: 0;
}

.footer a {
    color: #ffffff;
    text-decoration: underline;
    opacity: 0.9;
    transition: opacity 0.2s ease;
}

.footer a:hover {
    opacity: 1;
}

.footer strong {
    font-weight: 600;
}

/* Responsive - iPad and Tablet */
@media (max-width: 1024px) and (min-width: 769px) {
    .nav-menu {
        gap: 1.5rem;
    }
    
    .nav-menu a {
        font-size: 0.875rem;
    }
    
    .nav-actions {
        gap: 0.625rem;
    }
    
    .services-dropdown-btn {
        padding: 0.5rem 1.25rem;
        font-size: 0.875rem;
    }
    
    .btn-login {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
    
    .btn-whatsapp-header {
        width: 40px;
        height: 40px;
        min-width: 40px;
        min-height: 40px;
    }
    
    .btn-whatsapp-header svg {
        width: 20px;
        height: 20px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .container {
        padding: 0 30px;
    }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .navbar {
        padding: 0.75rem 0;
    }
    
    .navbar .container {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        flex-wrap: nowrap;
        position: relative;
    }
    
    .nav-brand {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .nav-brand h1 {
        font-size: 1.35rem;
        margin: 0;
    }
    
    .nav-menu {
        display: none;
        width: 100%;
        background-color: var(--bg-elevated);
        flex-direction: column;
        padding: 0;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        border-top: 1px solid var(--border-color);
        gap: 0;
        transform: none;
        z-index: 1000;
        position: relative;
    }
    
    .nav-menu.active {
        display: flex !important;
    }
    
    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-menu li:last-child {
        border-bottom: none;
    }
    
    .nav-menu a {
        display: block;
        padding: 1rem 1.5rem;
        width: 100%;
    }
    
    .nav-menu a::after {
        display: none;
    }
    
    .nav-toggle {
        display: flex !important;
        flex-direction: column;
        gap: 4px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0.5rem;
        z-index: 1001;
        position: relative;
    }
    
    .nav-toggle span {
        width: 24px;
        height: 2px;
        background-color: var(--primary-color);
        transition: all 0.3s ease;
        display: block;
    }
    
    .nav-toggle:active {
        opacity: 0.7;
    }
    
    .nav-actions {
        gap: 0.5rem;
        margin-right: 0;
        margin-left: 0;
        justify-content: center;
        flex-wrap: wrap;
        width: 100%;
    }
    
    .btn-login {
        padding: 0.4rem 0.875rem;
        font-size: 0.7rem;
        min-width: 60px;
    }
    
    .btn-whatsapp-header {
        width: 32px;
        height: 32px;
        min-width: 32px;
        min-height: 32px;
        padding: 0.35rem;
    }
    
    .btn-whatsapp-header svg {
        width: 18px;
        height: 18px;
    }
    
    .services-dropdown {
        margin-left: 0;
    }
    
    .services-dropdown-btn {
        padding: 0.4rem 0.7rem;
        font-size: 0.65rem;
        white-space: nowrap;
    }
    
    .services-dropdown-content {
        right: 0;
        left: auto;
        min-width: 200px;
        max-width: calc(100vw - 30px);
    }
    
    .hero {
        padding: 2rem 0 1.5rem;
        min-height: 280px;
        background-size: cover;
        background-position: center top;
    }
    
    .hero-title {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
        line-height: 1.3;
        padding: 0 10px;
    }
    
    .hero-subtitle-section {
        padding: 2rem 0 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
        padding: 0 15px;
        line-height: 1.6;
    }
    
    .hero-subtitle-section .hero-buttons {
        margin-top: 1.5rem;
        flex-direction: column;
        gap: 0.75rem;
        padding: 0 15px;
        align-items: center;
        justify-content: center;
    }
    
    .hero-subtitle-section .hero-buttons .btn {
        width: 100%;
        max-width: 260px;
        padding: 0.7rem 1.25rem;
        font-size: 0.8rem;
        margin: 0;
    }
    
    section {
        padding: 3rem 0;
    }
    
    #features {
        padding-top: 1.5rem;
    }
    
    .section-title {
        font-size: 1.75rem;
        margin-bottom: 2rem;
        padding: 0 15px;
    }
    
    .features-grid,
    .partners-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .feature-card h3 {
        font-size: 1.25rem;
    }
    
    .partner-card {
        padding: 1.5rem;
    }
    
    .partner-card h3 {
        font-size: 1.25rem;
    }
    
    .about {
        padding: 4rem 0;
        background-attachment: scroll; /* Better performance on mobile */
        background-size: cover; /* Better fit on mobile */
    }
    
    .about-content {
        padding: 0 15px;
    }
    
    .about-content p {
        font-size: 1rem;
    }
    
    .contact-content {
        padding: 0 15px;
    }
    
    .modal-content {
        margin: 1rem;
        padding: 1.5rem;
        max-width: calc(100vw - 2rem);
    }
    
    .modal-content h2 {
        font-size: 1.5rem;
    }
    
    .form-group {
        margin-bottom: 1.25rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .footer {
        padding: 2rem 0;
        background-attachment: scroll; /* Better performance on mobile */
        background-size: cover; /* Cover on mobile for better fit */
    }
    
    .footer .container {
        padding: 0 15px;
    }
    
    .footer p {
        font-size: 0.875rem;
    }
}
