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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Header */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    font-weight: bold;
}

.logo-image {
    height: 60px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

.logo-icon {
    margin-right: 8px;
    font-size: 2rem;
    transform: scaleX(-1);
}

.logo .eco {
    color: #4CAF50;
}

.logo .rat {
    color: #e74c3c;
}

.logo .ex {
    color: #4CAF50;
}

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

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    display: block;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #4CAF50;
}

.emergency-phone {
    display: flex;
    align-items: center;
    background: #e74c3c;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: bold;
}

.emergency-phone a {
    color: white !important;
    text-decoration: none !important;
    display: flex;
    align-items: center;
}

.emergency-phone a:hover {
    color: white !important;
    text-decoration: none !important;
}

.emergency-phone a:visited {
    color: white !important;
    text-decoration: none !important;
}

.emergency-phone a:active {
    color: white !important;
    text-decoration: none !important;
}

.emergency-phone a:focus {
    color: white !important;
    text-decoration: none !important;
    outline: 2px solid white;
    outline-offset: 2px;
}

.emergency-phone i {
    margin-right: 8px;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-6px, -6px);
}

.nav-menu-wrapper {
    display: flex;
    align-items: center;
    gap: 2rem;
}

/* Hero Section */
.hero {
    background:
        linear-gradient(135deg, rgba(76, 175, 80, 0.8) 0%, rgba(46, 125, 50, 0.8) 100%),
        url('hero-pest-control.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: white;
    padding: 120px 0 30px;
    text-align: center;
    position: relative;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    min-height: 44px;
    /* Better touch target for mobile */
    box-sizing: border-box;
}

.btn-primary {
    background: #e74c3c;
    color: white;
}

.btn-primary:hover {
    background: #c0392b;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #4CAF50;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
}

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

/* Services Preview */
.services-preview {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 249, 250, 0.95) 100%),
        url('hero-pest-control.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding: 50px 0 80px;
}

.services-preview h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #4CAF50;
}

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

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

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

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #e74c3c;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon i {
    font-size: 3rem;
}

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

/* Why Choose Us */
.why-choose-us {
    padding: 80px 0;
}

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

.text-content h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #4CAF50;
}

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

.advantage {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.advantage i {
    font-size: 1.5rem;
    color: #e74c3c;
    margin-top: 0.2rem;
}

.advantage h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.professional-image {
    background: #e9ecef;
    height: 400px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    position: relative;
    overflow: hidden;
}

.equipment-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(76, 175, 80, 0.9);
    color: white;
    padding: 1rem;
    text-align: center;
}

/* Service Areas */
.service-areas {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 249, 250, 0.95) 100%),
        url('hero-pest-control.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding: 50px 0 80px;

    /* padding: 80px 0; */
    /* background: #f8f9fa; */
}

.service-areas h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #4CAF50;
}

.area-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.area-main {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.area-main i {
    font-size: 2rem;
    color: #e74c3c;
    margin-top: 0.5rem;
}

.area-main h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #4CAF50;
}

.area-coverage {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.area-coverage h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #4CAF50;
}

.area-coverage ul {
    list-style: none;
}

.area-coverage li {
    padding: 0.3rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.area-coverage li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #27ae60;
    font-weight: bold;
}

/* Emergency Banner */
.emergency-banner {
    background: #e74c3c;
    color: white;
    padding: 2rem 0;
}

.emergency-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.emergency-content i {
    font-size: 2rem;
    color: #FFC107;
}

.emergency-content div h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.btn-emergency {
    background: white;
    color: #e74c3c;
    font-size: 1.2rem;
    padding: 1rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
}

.btn-emergency:hover {
    background: #f8f9fa;
    transform: scale(1.05);
}

/* Footer */
.footer {
    background: #2E7D32;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section p {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid #4CAF50;
    padding-top: 1rem;
    text-align: center;
    opacity: 0.8;
}

/* Page Header for other pages */
.page-header {
    background:
        linear-gradient(135deg, rgba(76, 175, 80, 0.8) 0%, rgba(46, 125, 50, 0.8) 100%),
        url('uslugi_image.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: white;
    padding: 160px 0 60px;
    text-align: center;
    position: relative;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-header p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 600;
}

/* Map Styling */
.map-placeholder {
    background: #f8f9fa;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border: 2px solid #e9ecef;
}

.map-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.map-image:hover {
    transform: scale(1.02);
}

/* Pricing Section Styling */
.pricing-section {
    background: #f8f9fa;
    padding: 80px 0;
}

.pricing-section .container {
    /* background: #f5f5f5; */
    padding: 2rem;
    border-radius: 15px;
    /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); */
}

.pricing-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #4CAF50;
}

.pricing-intro {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    color: #666;
}

.individual-pricing {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.pricing-header-section {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #4CAF50 0%, #2E7D32 100%);
    color: white;
    border-radius: 10px;
}

.pricing-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.pricing-header-section h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.pricing-factors h4,
.contact-options h4,
.pricing-benefits h4 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: #4CAF50;
}

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

.factor-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.factor-item i {
    color: #4CAF50;
    font-size: 1.2rem;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #4CAF50;
}

.contact-icon {
    background: #4CAF50;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.contact-content h5 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.contact-content p {
    margin-bottom: 0.5rem;
    color: #666;
}

.contact-link {
    color: #4CAF50;
    text-decoration: none;
    font-weight: bold;
}

.contact-link:hover {
    text-decoration: underline;
}

.benefits-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0.8rem;
}

.benefits-list li {
    padding: 0.8rem;
    background: #f8f9fa;
    border-radius: 8px;
    position: relative;
    padding-left: 2.5rem;
}

.benefits-list li:before {
    content: "✓";
    position: absolute;
    left: 0.8rem;
    color: #4CAF50;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Main Services Styling */
.main-services {
    padding: 80px 0;
    background: #f5f5f5;
}

.main-services .container {
    /* background: rgb(233, 236, 239); */
    padding: 3rem;
    border-radius: 15px;
    /* box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1); */
    max-width: 900px;
    margin: 0 auto;
}

.main-services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #4CAF50;
    font-weight: bold;
}

.main-services .services-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.service-detail {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 5px solid #4CAF50;
    max-width: 100%;
}

.service-icon {
    font-size: 2.5rem;
    min-width: 60px;
    text-align: center;
    flex-shrink: 0;
}

.service-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #4CAF50;
    font-weight: bold;
}

.service-content p {
    color: #666;
    font-size: 1rem;
}

/* Rat SVG Icon */
.rat-svg-icon {
    width: 4rem;
    height: 4rem;
    display: inline-block;
    vertical-align: middle;
}

/* Responsive Design */
@media (max-width: 1024px) {

    /* Footer Tablet */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
        max-width: 600px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    /* Header Mobile */
    .header {
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }

    .navbar {
        padding: 1rem 0;
    }

    .nav-container {
        justify-content: space-between;
        align-items: center;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu-wrapper {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: white;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
        z-index: 999;
        padding: 1rem 0;
        flex-direction: column;
        gap: 0;
        opacity: 0;
        visibility: hidden;
    }

    .nav-menu-wrapper.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-menu {
        flex-direction: column;
        text-align: center;
        gap: 0;
        margin-bottom: 1rem;
    }

    .nav-menu li {
        border-bottom: 1px solid #f0f0f0;
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-menu a {
        padding: 1rem;
        margin: 0;
        display: block;
        width: 100%;
    }

    .emergency-phone {
        display: none;
        /* Hide phone number in mobile menu */
    }

    .logo {
        font-size: 1.5rem;
    }

    .logo-image {
        height: 40px;
        max-width: 150px;
    }

    .logo-icon {
        font-size: 1.8rem;
    }

    /* Hero Mobile */
    .hero {
        padding: 100px 0 20px;
        background-attachment: scroll;
        /* Better performance on mobile */
    }

    .hero-content h1 {
        font-size: 1.8rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }

    .hero-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        padding: 0 10px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        margin-bottom: 2rem;
    }

    .btn {
        width: 80%;
        max-width: 300px;
        text-align: center;
    }

    .hero-features {
        flex-direction: column;
        gap: 1rem;
        padding: 0 20px;
    }

    .feature {
        justify-content: center;
        font-size: 1rem;
    }

    /* Page Header Mobile */
    .page-header {
        padding: 100px 0 40px;
        background-attachment: scroll;
        /* Better performance on mobile */
    }

    .page-header h1 {
        font-size: 1.8rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }

    .page-header p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        padding: 0 10px;
    }

    /* Services Mobile */
    .services-preview {
        padding: 30px 0 50px;
        background-attachment: scroll;
        /* Better performance on mobile */
    }

    .services-preview h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card {
        padding: 1.5rem;
        margin: 0 10px;
    }

    .service-icon {
        font-size: 2.5rem;
    }

    .service-card h3 {
        font-size: 1.2rem;
    }

    /* Why Choose Us Mobile */
    .why-choose-us {
        padding: 50px 0;
    }

    .content-split {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .text-content h2 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    .advantages {
        gap: 1rem;
    }

    .advantage {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .advantage i {
        font-size: 1.8rem;
        margin-top: 0;
    }

    .professional-image {
        height: 250px;
        margin: 0 10px;
    }

    .equipment-image {
        border-radius: 8px;
    }

    /* Service Areas Mobile */
    .service-areas {
        padding: 50px 0;
    }

    .service-areas h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .area-info {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .area-main {
        padding: 1.5rem;
        margin: 0 10px;
    }

    .area-coverage {
        padding: 1.5rem;
        margin: 0 10px;
    }

    /* Emergency Banner Mobile */
    .emergency-banner {
        padding: 1.5rem 0;
    }

    .emergency-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .emergency-content i {
        font-size: 1.5rem;
    }

    .emergency-content div h3 {
        font-size: 1.1rem;
        margin-bottom: 0.3rem;
    }

    .btn-emergency {
        font-size: 1.1rem;
        padding: 0.8rem 1.2rem;
    }

    /* Footer Mobile */
    .footer {
        padding: 2rem 0 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        max-width: 100%;
    }

    .footer-section p {
        justify-content: center;
    }

    .footer-bottom {
        border-top: 1px solid #4CAF50;
        padding-top: 1rem;
        margin-top: 1rem;
        text-align: center;
        opacity: 1;
        color: white;
        font-size: 0.9rem;
        line-height: 1.4;
    }

    .footer-bottom p {
        margin: 0;
        padding: 0 1rem;
        color: white;
        opacity: 0.9;
    }

    /* Pricing Section Mobile */
    .pricing-section {
        padding: 50px 0;
    }

    .pricing-section .container {
        padding: 2rem 1rem;
        margin: 0 10px;
    }

    .pricing-section h2 {
        font-size: 2rem;
    }

    .pricing-header-section {
        padding: 1.5rem;
    }

    .pricing-header-section h3 {
        font-size: 1.5rem;
    }

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

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

    .contact-method {
        padding: 1rem;
    }

    .benefits-list {
        grid-template-columns: 1fr;
    }

    /* Main Services Mobile */
    .main-services {
        padding: 50px 0;
    }

    .main-services .container {
        padding: 2rem 1rem;
        margin: 0 10px;
    }

    .main-services h2 {
        font-size: 2rem;
    }

    .service-detail {
        flex-direction: column;
        text-align: center;
        padding: 1.2rem;
        gap: 1rem;
    }

    .service-icon {
        min-width: auto;
        font-size: 2rem;
    }

    .service-content h3 {
        font-size: 1.2rem;
    }

    .service-content p {
        font-size: 0.9rem;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.5rem;
    }

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

    .page-header h1 {
        font-size: 1.5rem;
    }

    .page-header p {
        font-size: 0.9rem;
    }

    .services-preview h2 {
        font-size: 1.8rem;
    }

    .text-content h2 {
        font-size: 1.8rem;
    }

    .service-areas h2 {
        font-size: 1.8rem;
    }

    .service-card {
        padding: 1rem;
    }

    .area-main,
    .area-coverage {
        padding: 1rem;
    }

    .btn {
        font-size: 0.9rem;
        padding: 0.8rem 1.5rem;
    }

    /* Footer Small Mobile */
    .footer-bottom {
        padding: 1rem 0.5rem;
        font-size: 0.8rem;
    }

    .footer-bottom p {
        padding: 0 0.5rem;
        line-height: 1.3;
    }
}