:root {
    --primary: #1a5f7a;
    --secondary: #2a9d8f;
    --accent: #e76f51;
    --light: #f8f9fa;
    --dark: #264653;
    --gray: #6c757d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
    background-color: #f5f7fa;
}

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

/* Header Styles */
header {
    background-color: white;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    background-color: var(--primary);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.logo-text h1 {
    font-size: 1.8rem;
    color: var(--primary);
    line-height: 1.2;
}

.logo-text span {
    color: var(--secondary);
    font-weight: 600;
}

.contact-header {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: var(--secondary);
    color: white;
    padding: 12px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

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

.contact-header i {
    font-size: 1.3rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(26, 95, 122, 0.85), rgba(42, 157, 143, 0.9)), url('https://rangersappliance.com/images/banner.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0;
    text-align: center;
}
.hero h1, .hero h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.2;
}
.hero p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.9;
    line-height: 1.5;
}

/* SEO optimized text styles */
strong {
    font-weight: 700;
    color: white;
}

.service-card p strong {
    color: var(--dark);
}
.hero-btn {
    display: inline-block;
    background-color: var(--accent);
    color: white;
    padding: 15px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    margin: 10px;
    transition: all 0.3s ease;
}

.hero-btn:hover {
    background-color: #d65c3e;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
/* Service Options Section */
.service-options {
    padding: 80px 0;
    background-color: #f0f8ff;
}

.service-btn {
    display: inline-block;
    background-color: var(--secondary);
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.service-btn:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
/* Services Section */
.section-title {
text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--accent);
}

.services {
    padding: 80px 0;
    background-color: white;
}

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

.service-card {
    background-color: var(--light);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #eaeaea;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.service-icon {
    background-color: var(--secondary);
    color: white;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
}

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

/* Service Area */
.service-area {
    padding: 80px 0;
    background-color: #f0f8ff;
}

.area-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 50px;
}

.area-map {
    flex: 1;
    min-width: 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.area-map img {
    width: 100%;
    height: auto;
    display: block;
}

.area-list {
    flex: 1;
    min-width: 300px;
}

.area-list h3 {
    color: var(--primary);
    margin-bottom: 25px;
    font-size: 1.8rem;
}
.cities {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .cities {
        gap: 8px;
    }
}
.city-tag {
    background-color: white;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 600;
    color: var(--dark);
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    border-left: 4px solid var(--secondary);
    line-height: 1.4;
}
.highlight-city {
    background-color: var(--primary);
    color: white;
}
.emergency-banner {
    background-color: #fff3cd;
    color: #856404;
    padding: 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 30px 0 20px 0;
    border-left: 4px solid #ffc107;
}
.emergency-banner i {
    font-size: 1.5rem;
    color: #d4a017;
}

.emergency-banner span {
    font-weight: 600;
}
/* Reviews Section */
.reviews {
    padding: 80px 0;
    background-color: white;
}

.reviews-container {
    max-width: 1000px;
    margin: 0 auto;
}

.google-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
}

.google-badge i {
    color: #4285F4;
    font-size: 2rem;
}

.google-badge span {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--gray);
}

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

.review-card {
    background-color: var(--light);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.review-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--secondary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 15px;
    font-size: 1.2rem;
}

.review-info h4 {
    color: var(--dark);
    margin-bottom: 5px;
}

.stars {
    color: #FFC107;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background-color: var(--primary);
    color: white;
    text-align: center;
}

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

.contact p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 40px;
    opacity: 0.9;
}

.phone-large {
    display: inline-block;
    background-color: white;
    color: var(--primary);
    padding: 20px 40px;
    border-radius: 10px;
    font-size: 2.2rem;
    font-weight: 800;
    text-decoration: none;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.phone-large:hover {
    background-color: var(--accent);
    color: white;
    transform: scale(1.05);
}

.contact-info {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
}

.contact-item i {
    color: var(--secondary);
    font-size: 1.3rem;
}
/* Footer */
footer {
    background-color: var(--dark);
    color: white;
    padding: 60px 0 0;
}

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

.footer-col {
    padding: 0 15px;
}

.footer-logo h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: white;
}

.footer-logo span {
    color: var(--secondary);
}

.footer-about {
    margin: 15px 0;
    color: #bbb;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    color: white;
    background-color: rgba(255,255,255,0.1);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.footer-social a:hover {
    background-color: var(--secondary);
    transform: translateY(-3px);
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--secondary);
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent);
}

.footer-nav li {
    margin-bottom: 12px;
}

.footer-nav a {
    color: #bbb;
    text-decoration: none;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-nav a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-nav i {
    font-size: 0.8rem;
    color: var(--secondary);
}

.service-areas {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.area-group h5 {
    color: white;
    font-size: 1rem;
    margin-bottom: 10px;
}

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

.area-group li {
    color: #bbb;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.footer-contact li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #bbb;
}

.footer-contact a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-contact a:hover {
    color: white;
}

.footer-call-btn {
    display: inline-block;
    background-color: var(--secondary);
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 15px;
    transition: all 0.3s;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    color: #aaa;
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-legal a:hover {
    color: white;
}

@media (max-width: 768px) {
    .service-areas {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}
/* Responsive */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .phone-large {
        font-size: 1.8rem;
        padding: 15px 30px;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
}