/* Сброс и базовые стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    background-color: #f0f4f8; /* Базовый цвет подложки */
}

/* Фиксированный фон-паттерн через псевдо-элемент для надежности */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/pattern-insects.png');
    background-size: 400px 400px;
    background-repeat: repeat;
    background-position: center top;
    z-index: -1;
    pointer-events: none;
}

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

/* Навигация */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e4c88;
}

.nav-logo i {
    margin-right: 0.5rem;
    font-size: 1.8rem;
    color: #28a745;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #1e4c88;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001; /* Ensure it's above mobile menu */
}

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Общие стили для секций (для позиционирования) */
section {
    position: relative;
    width: 100%;
}

/* =========================================
   Common Card Lift Effect
   ========================================= */
.request-form-card,
.service-card,
.feature,
.stat,
.certificate-card,
.contact-info,
.map-placeholder {
    /* Use unified transition for transform, shadow and border */
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.3s ease, background-color 0.3s ease !important;
}

.request-form-card:hover,
.service-card:hover,
.feature:hover,
.stat:hover,
.certificate-card:hover,
.contact-info:hover,
.map-placeholder:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 25px 50px rgba(0,0,0,0.15) !important;
    border-color: #28a745 !important;
    z-index: 2; /* Ensure it pops over if needed */
}

/* Remove individual transition/transform rules to avoid conflicts, keeping base styles */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: 
        linear-gradient(135deg, rgba(20, 50, 80, 0.95) 0%, rgba(0, 90, 100, 0.9) 100%),
        url('images/hero-sanitary.png') center/cover no-repeat;
    color: white;
    padding-top: 80px;
    
    /* Layering Effect: Top Layer */
    z-index: 10;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3); /* Тень падает на следующую секцию */
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.9fr);
    gap: 3rem;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero-text-content h1 {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-text-content h2 {
    font-size: 1.5rem;
    font-weight: 400;
    color: #e0f2fe;
    line-height: 1.4;
    margin-bottom: 1.5rem;
    border-left: 4px solid #4ade80;
    padding-left: 1rem;
}

.hero-text-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-subtext {
    font-size: 0.95rem;
    margin-top: -1.5rem;
    margin-bottom: 2.5rem;
    opacity: 0.8;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-subtext::before {
    content: '\f058';
    font-family: FontAwesome;
    color: #4ade80;
}

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

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: #28a745;
    color: white;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.btn-primary:hover {
    background: #218838;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.5);
}

.btn-secondary:hover {
    background: white;
    color: #1e4c88;
    border-color: white;
}

/* Форма заявки */
.request-form-card {
    background: rgba(255, 255, 255, 0.98);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    border-top: 5px solid #28a745;
    width: 100%;
    max-width: 550px;
    color: #333;
}

.request-form-card h3 {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
    color: #1e4c88;
    text-align: center;
    font-weight: 700;
}

.request-form-card p {
    text-align: center;
    color: #666;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.request-form-card .form-group {
    margin-bottom: 1rem;
}

.request-form-card .form-group label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 600;
    color: #444;
    font-size: 0.9rem;
}

.request-form-card .form-group .label-optional {
    font-weight: 400;
    color: #888;
    font-size: 0.8rem;
    margin-left: 0.3rem;
}

.request-form-card .form-group input,
.request-form-card .form-group select,
.request-form-card .form-group textarea {
    width: 100%;
    padding: 0.9rem;
    border: 1px solid #ced4da;
    border-radius: 6px;
    font-size: 0.95rem;
    transition: border-color 0.2s ease;
    background: #f8f9fa;
}

.request-form-card .form-group input:focus,
.request-form-card .form-group select:focus,
.request-form-card .form-group textarea:focus {
    outline: none;
    border-color: #28a745;
    background: white;
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
}

.request-form-card .btn {
    width: 100%;
    padding: 1.2rem;
    font-size: 1.1rem;
    font-weight: 700;
    margin-top: 0.5rem; /* Reduced from 1rem */
    background: #28a745;
    border-radius: 6px;
}

.request-form-card .checkbox-wrapper {
    display: flex;
    align-items: center; /* Center vertically */
    gap: 0.8rem;
    margin-top: 1rem;
    margin-bottom: 0.5rem; /* Reduced from 1.5rem */
    position: relative;
}

/* Hide default checkbox but keep it clickable and validatable */
.request-form-card .checkbox-wrapper input[type="checkbox"] {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px; /* Match label::before size */
    height: 20px; /* Match label::before size */
    opacity: 0;
    cursor: pointer;
    z-index: 1;
    margin: 0;
}

/* Custom Checkbox Box */
.request-form-card .checkbox-wrapper label {
    position: relative;
    font-weight: 400;
    font-size: 0.9rem;
    line-height: 1.4;
    cursor: pointer;
    padding-left: 30px; /* Space for custom checkbox */
    color: #555;
    user-select: none;
}

/* The box itself */
.request-form-card .checkbox-wrapper label::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 20px;
    width: 20px;
    background-color: #f8f9fa;
    border: 2px solid #ced4da;
    border-radius: 4px;
    transition: all 0.2s ease;
}

/* Hover effect */
.request-form-card .checkbox-wrapper:hover label::before {
    border-color: #28a745;
}

/* Checked state background */
.request-form-card .checkbox-wrapper input:checked ~ label::before {
    background-color: #28a745;
    border-color: #28a745;
}

/* Checkmark icon */
.request-form-card .checkbox-wrapper label::after {
    content: "";
    position: absolute;
    left: 7px;
    top: 50%;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: translateY(-60%) rotate(45deg) scale(0);
    transition: transform 0.2s ease;
}

/* Show checkmark when checked */
.request-form-card .checkbox-wrapper input:checked ~ label::after {
    transform: translateY(-60%) rotate(45deg) scale(1);
}

.request-form-card .checkbox-wrapper a {
    color: #1e4c88;
    text-decoration: none;
    border-bottom: 1px dashed #1e4c88;
    transition: color 0.2s;
}

.request-form-card .checkbox-wrapper a:hover {
    color: #28a745;
    border-color: #28a745;
}

/* =========================================
   Секция 2: Услуги (Под Hero и About)
   ========================================= */
.services {
    padding: 6rem 0;
    
    /* Layering Effect: Bottom Layer */
    z-index: 5;
    background-color: rgba(240, 244, 248, 0.85); /* Серый полупрозрачный */
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #1e4c88;
}

.services-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.15rem;
    color: #555;
    line-height: 1.8;
    padding: 0 1rem;
}

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

.service-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #e1e4e8;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    border-color: #28a745;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #1e4c88;
    transition: background 0.3s;
}

.service-card:hover::before {
    background: #28a745;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: #eef2f7;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: background 0.3s;
}

.service-card:hover .service-icon {
    background: #e6ffed;
}

.service-icon i {
    font-size: 2rem;
    color: #1e4c88;
    transition: color 0.3s;
}

.service-card:hover .service-icon i {
    color: #28a745;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #333;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-features li {
    padding: 0.4rem 0;
    color: #555;
    font-size: 0.95rem;
    position: relative;
    padding-left: 1.8rem;
    border-bottom: 1px dashed #eee;
}

.service-features li:last-child {
    border-bottom: none;
}

.service-features li::before {
    content: "\f00c";
    font-family: FontAwesome;
    position: absolute;
    left: 0;
    color: #28a745;
    font-size: 0.9rem;
}

/* =========================================
   Секция 3: О нас (Над Services и Certificates)
   ========================================= */
.about {
    padding: 6rem 0;
    
    /* Layering Effect: Top Layer */
    z-index: 10;
    box-shadow: 0 0 50px rgba(0,0,0,0.1); /* Тень на верхнюю и нижнюю секции */
    background-color: rgba(255, 255, 255, 0.95); /* Белый */
}

.about-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    text-align: left;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #1e4c88;
    text-align: left;
}

.about-text p {
    font-size: 1.1rem;
    color: #4b5563;
    margin-bottom: 2rem;
    line-height: 1.8;
    text-align: left;
}

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

.feature {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(4px);
    border-radius: 8px;
    border: 1px solid #edf2f7;
    transition: all 0.3s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
}

.feature:hover {
    border-color: #28a745;
    background: #f0fff4;
    transform: translateY(-2px);
}

.feature i {
    color: #28a745;
    font-size: 1.5rem;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 0;
}

.stat {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid #e1e4e8;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-color: #28a745;
}

.stat h3 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    font-weight: 800;
    color: #1e4c88;
}

.stat p {
    font-size: 1.1rem;
    color: #555;
    font-weight: 500;
}

/* =========================================
   Секция 4: Сертификаты (Под About и Contact)
   ========================================= */
.certificates {
    padding: 6rem 0;
    
    /* Layering Effect: Bottom Layer */
    z-index: 5;
    background-color: rgba(240, 244, 248, 0.85); /* Серый */
}

.certificates h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #1e4c88;
}

.certificates-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.15rem;
    color: #555;
    line-height: 1.8;
}

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

.certificate-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
    border: 1px solid #e1e4e8;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.certificate-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-color: #28a745;
}

.certificate-icon {
    font-size: 3rem;
    color: #cbd5e0;
    margin-bottom: 1rem;
}

.certificate-list {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
    flex-grow: 1;
}

.certificate-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.certificate-list li::before {
    content: "\f00c";
    font-family: FontAwesome;
    position: absolute;
    left: 0;
    color: #28a745;
    font-size: 0.9rem;
}

.btn-link {
    display: inline-block;
    color: #1e4c88;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid #1e4c88;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    margin-top: auto;
    align-self: center;
}

.btn-link:hover {
    background: #1e4c88;
    color: white;
}

/* =========================================
   Секция 5: Контакты (Над Certificates и Footer)
   ========================================= */
.contact {
    padding: 6rem 0;
    
    /* Layering Effect: Top Layer */
    z-index: 10;
    box-shadow: 0 -20px 50px rgba(0,0,0,0.1); /* Тень вверх */
    background-color: rgba(255, 255, 255, 0.95); /* Белый */
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1e4c88;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid #e1e4e8;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-info:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    border-color: #28a745;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: #1e4c88;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: #28a745;
    margin-top: 0.2rem;
}

.contact-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 600;
}

/* Стили для кнопки копирования */
.copy-wrapper {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #666;
    line-height: 1.6;
}

.btn-copy {
    background: transparent;
    border: none;
    color: #1e4c88;
    cursor: pointer;
    font-size: 1.1rem;
    padding: 0.2rem;
    transition: color 0.2s;
    display: flex;
    align-items: center;
}

.btn-copy:hover {
    color: #28a745;
}

.map-placeholder {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    padding: 3rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #e1e4e8;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.map-placeholder:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    border-color: #28a745;
}

.map-placeholder i {
    font-size: 4rem;
    color: #1e4c88;
    margin-bottom: 1rem;
}

.map-placeholder h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #333;
}

/* Подвал */
.footer {
    background: #1e293b;
    color: #94a3b8;
    padding: 4rem 0 2rem;
    border-top: 1px solid #e2e8f0;
    position: relative;
    z-index: 1;
}

/* Исправляем сетку подвала: жестко 3 колонки на десктопе */
.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr; 
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3, .footer-section h4 {
    color: #f8fafc;
    margin-bottom: 1.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-section ul li a:hover {
    color: #28a745;
}

.footer-contact p {
    margin-bottom: 0.5rem;
}

.footer-contact a {
    color: #60a5fa;
    text-decoration: none;
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #334155;
    text-align: center;
    font-size: 0.9rem;
}

/* Scroll Arrow */
.scroll-arrow {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: #28a745;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    z-index: 999;
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.4);
}

.scroll-arrow.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-arrow:hover {
    transform: translateX(-50%) translateY(-5px);
    background: #218838;
}

.scroll-arrow--top {
    left: auto;
    right: 30px;
    transform: none;
}

.scroll-arrow--top:hover {
    transform: translateY(-5px);
}

/* Модальное окно */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 15% auto;
    padding: 2rem;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    text-align: center;
    position: relative;
}

.close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: #999;
}

.success-icon {
    font-size: 4rem;
    color: #28a745;
    margin-bottom: 1rem;
}

/* Scroll Animations */
.fade-in-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    will-change: opacity, transform;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: none;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
    padding: 1rem 2rem;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transition: bottom 0.5s ease;
    backdrop-filter: blur(10px);
    border-top: 2px solid #28a745;
}

.cookie-banner.hidden {
    bottom: -100%; /* Hide it completely */
}

.cookie-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 800px;
}

.cookie-content i {
    font-size: 1.5rem;
    color: #e67e22; /* Оранжевая печенька */
}

.cookie-content p {
    font-size: 0.9rem;
    color: #555;
    margin: 0;
}

.cookie-content a {
    color: #1e4c88;
    text-decoration: underline;
}

/* Mobile */
@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr; /* Stack on tablet/mobile */
        gap: 2rem;
    }
    
    .cookie-banner {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        padding: 1.5rem;
    }
    
    .cookie-content {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    /* Navigation Mobile Styles */
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        padding: 2rem 0;
        gap: 1.5rem;
        text-align: center;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        border-top: 1px solid #eee;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-link {
        display: block;
        padding: 0.5rem 0;
        font-size: 1.2rem;
    }

    .hamburger {
        display: flex;
    }

    .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 Section Mobile */
    .hero {
        padding-top: 100px;
        min-height: auto;
        padding-bottom: 4rem;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-text-content h1 {
        font-size: 2.2rem;
    }

    .hero-text-content h2 {
        border-left: none;
        padding-left: 0;
        font-size: 1.2rem;
    }
    
    .hero-subtext {
        justify-content: center;
        margin-bottom: 2rem;
    }

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

    .request-form-card {
        padding: 1.5rem;
        max-width: 100%;
    }

    /* Other Sections Mobile */
    .about-content, .contact-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .about-text, .about-text h2, .about-text p {
        text-align: center;
    }
    
    .about-stats {
        gap: 1.5rem;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        padding: 1.5rem;
    }

    .services-grid, .certificates-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    /* Mobile Typography */
    .services h2, 
    .certificates h2, 
    .contact h2, 
    .about-text h2, 
    .hero-text-content h2 {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }

    .hero-text-content h1 {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }

    .hero-text-content p {
        font-size: 1rem;
    }

    /* Section Spacing */
    .services, .about, .certificates, .contact {
        padding: 3rem 0;
    }

    .hero {
        padding-top: 90px;
        padding-bottom: 2rem;
    }

    .hero-container {
        gap: 1.5rem;
    }

    /* Card Sizing */
    .service-card, .certificate-card, .contact-info, .map-placeholder {
        padding: 1.5rem;
    }

    .service-card h3, .certificate-card h3, .contact-info h3 {
        font-size: 1.3rem;
    }

    .stat h3 {
        font-size: 2.5rem;
    }

    .stat {
        padding: 1.5rem;
    }

    .about-content, .contact-content, .services-grid, .certificates-grid {
        gap: 1.5rem;
    }
}
