/* 
   Elite Pest Control - Main Styles
   Primary: Green & Dark Blue
   Font: Cairo
*/

:root {
    --primary-color: #27ae60;    /* Green - Safe/Clean */
    --primary-dark: #219150;     /* Darker Green for hover */
    --secondary-color: #2c3e50;  /* Dark Blue - Trust/Corporate */
    --accent-color: #f39c12;     /* Orange - CTA/Highlight */
    --text-color: #333333;
    --text-light: #666666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --border-radius: 8px;
    --shadow: 0 4px 6px rgba(0,0,0,0.05);
    --shadow-hover: 0 10px 15px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Cairo', sans-serif;
    background-color: var(--white);
    color: var(--text-color);
    line-height: 1.6;
    direction: rtl;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Utilities */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.2rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.divider {
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 0 auto 20px;
    border-radius: 2px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: var(--border-radius);
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-cta {
    background-color: var(--accent-color);
    color: var(--white);
}

.btn-cta:hover {
    background-color: #d35400;
    transform: translateY(-2px);
}

.btn-whatsapp {
    background-color: #25D366;
    color: var(--white);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-whatsapp-large {
    background-color: #25D366;
    color: var(--white);
    display: block;
    width: 100%;
    padding: 15px;
    text-align: center;
    font-size: 1.1rem;
    margin-top: 15px;
    border-radius: var(--border-radius);
}

.btn-whatsapp-large:hover {
    background-color: #128C7E;
}

/* Header */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    height: 80px;
    display: flex;
    align-items: center;
}

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

.logo h1 {
    font-size: 1.8rem;
    color: var(--secondary-color);
    font-weight: 800;
}

.logo .highlight {
    color: var(--primary-color);
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-list a {
    color: var(--secondary-color);
    font-weight: 600;
}

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

.mobile-toggle {
    display: none;
    font-size: 2rem;
    color: var(--secondary-color);
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    height: 85vh; /* Adjusted for better mobile view */
    min-height: 500px;
    background-image: url('https://images.unsplash.com/photo-1584622650111-993a426fbf0a?auto=format&fit=crop&q=80'); /* Professional clean Interior */
    background-size: cover;
    background-position: center;
    overflow: hidden;
    margin-top: 80px; /* Offset fixed header */
    display: flex;
    align-items: center;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(44, 62, 80, 0.8), rgba(39, 174, 96, 0.6));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 800px;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.3;
}

.hero p {
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* About Section */
.about {
    background-color: var(--white);
}

.about-content {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 12px;
    text-align: center;
}

.about-text .lead {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.features-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--secondary-color);
    background: var(--white);
    padding: 10px 20px;
    border-radius: 50px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.features-list i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* Services */
.services {
    background-color: var(--bg-light);
}

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

.service-card {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

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

.service-card .icon {
    width: 70px;
    height: 70px;
    background: rgba(39, 174, 96, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.service-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Why Choose Us */
.why-us {
    background-color: var(--white);
}

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

.reason-item {
    text-align: center;
    padding: 20px;
}

.reason-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    display: block;
}

.reason-item h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

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

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    background: rgba(255,255,255,0.1);
    padding: 15px;
    border-radius: var(--border-radius);
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color); /* Makes icons pop on dark */
    color: #2ecc71; /* Brighter green for dark bg */
}

.info-item a {
    font-size: 1.2rem;
    font-weight: 700;
}

.contact-form-container {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    color: var(--text-color);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
}

.form-group input, 
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    background-color: #f9f9f9;
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--primary-color);
    outline: none;
    background-color: var(--white);
}

.btn-block {
    width: 100%;
}

/* Footer */
.footer {
    background-color: #1a252f;
    color: #ecf0f1;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: var(--primary-color); /* Green accent */
    margin-bottom: 20px;
    border-bottom: 2px solid #34495e;
    padding-bottom: 10px;
    display: inline-block;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-right: 5px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    font-size: 1.5rem;
    color: #ecf0f1;
    transition: var(--transition);
}

.social-icons a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #34495e;
    padding-top: 20px;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .header-container {
        padding: 0 20px;
    }

    .nav {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 100%;
        background-color: var(--white);
        padding: 20px 0;
        box-shadow: 0 4px 6px rgba(0,0,0,0.05);
        transition: 0.3s ease-in-out;
        text-align: center;
    }

    .nav.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 20px;
    }

    .mobile-toggle {
        display: block;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

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

    .order-first {
        order: -1;
    }
}
