/*
Theme Name: First Service
Theme URI: https://firstservice.com
Author: First Service Team
Author URI: https://firstservice.com
Description: A modern, Bootstrap-powered WordPress theme designed for call center desk service companies. Fully compatible with Elementor page builder for creating stunning one-page websites.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: firstservice
Tags: one-column, custom-menu, featured-images, theme-options, translation-ready, elementor

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.
*/

/* ==========================================================================
   Base Styles
   ========================================================================== */

* {
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    margin: 0;
    padding: 0;
}

/* ==========================================================================
   Typography
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-top: 0;
    margin-bottom: 1rem;
}

p {
    margin-top: 0;
    margin-bottom: 1rem;
}

a {
    color: #e74c3c;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #c0392b;
}

/* ==========================================================================
   Layout
   ========================================================================== */

/* Header styles moved to css/header.css */

.site-content {
    min-height: 60vh;
}

/* Footer styles moved to css/footer.css */

/* ==========================================================================
   Elementor Compatibility
   ========================================================================== */

.elementor-section {
    position: relative;
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */

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

.text-center {
    text-align: center;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 768px) {
    body {
        font-size: 14px;
    }
}

/* ==========================================================================
   Call Center Specific Styles
   ========================================================================== */

.cta-button {
    background: #e74c3c;
    color: #fff;
    padding: 12px 30px;
    border-radius: 5px;
    display: inline-block;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: #c0392b;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

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

/* ==========================================================================
   Homepage Template Styles
   ========================================================================== */

/* Hero Section */
.hero-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.hero-badge {
    display: inline-block;
    background: #fff;
    color: #e74c3c;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.hero-description {
    font-size: 1.125rem;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    padding: 14px 35px;
    font-weight: 600;
    border-radius: 5px;
}

.hero-image {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

/* Services Section */
.services-section {
    padding: 80px 0;
}

.service-card {
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
}

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

.service-card .service-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.service-card p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.service-link {
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.service-link:hover {
    padding-left: 5px;
}

/* About Section */
.about-section {
    padding: 80px 0;
}

.section-badge {
    display: inline-block;
    background: #fff;
    color: #e74c3c;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 15px;
    border: 2px solid #e74c3c;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.about-features {
    margin: 30px 0;
}

.feature-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.feature-item i {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 5px;
}

.feature-item h5 {
    font-weight: 700;
    margin-bottom: 8px;
}

.feature-item p {
    color: #666;
    margin-bottom: 0;
}

.about-stats {
    margin-top: 30px;
}

.stat-item {
    margin-bottom: 20px;
}

.stat-item h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.progress {
    height: 10px;
    border-radius: 5px;
    background: #e9ecef;
}

.progress-bar {
    border-radius: 5px;
}

.about-image-wrapper {
    position: relative;
}

.about-badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    text-align: center;
}

.about-badge i {
    font-size: 2.5rem;
    color: #e74c3c;
    margin-bottom: 10px;
}

.about-badge h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: #1a1a1a;
}

.about-badge p {
    margin-bottom: 0;
    color: #666;
}

/* Features Section */
.features-section {
    padding: 80px 0;
}

.feature-box {
    padding: 40px 30px;
    border-radius: 10px;
    transition: all 0.3s ease;
    background: #fff;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.feature-box:hover {
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    transform: translateY(-5px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: #e74c3c;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
}

.feature-box h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.feature-box p {
    color: #666;
    margin-bottom: 0;
}

/* Stats Section */
.stats-section {
    padding: 80px 0;
}

.stat-box {
    text-align: center;
}

.stat-box .stat-icon {
    font-size: 3rem;
    color: #e74c3c;
    margin-bottom: 15px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1rem;
    color: #666;
    margin-bottom: 0;
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 0;
}

.testimonial-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    height: 100%;
}

.testimonial-content {
    margin-bottom: 25px;
}

.testimonial-content p {
    font-style: italic;
    color: #333;
    line-height: 1.8;
}

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

.testimonial-author img {
    width: 60px;
    height: 60px;
    object-fit: cover;
}

.testimonial-author h5 {
    font-weight: 700;
    margin-bottom: 5px;
    color: #1a1a1a;
}

.rating {
    color: #ffc107;
}

.rating i {
    font-size: 0.875rem;
}

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

.why-features {
    margin: 30px 0;
}

.why-feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 1.125rem;
}

.why-feature-item i {
    font-size: 1.5rem;
}

.why-stat-box {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

.why-stat-box h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #e74c3c;
    margin-bottom: 5px;
}

.why-stat-box p {
    margin-bottom: 0;
    color: #666;
}

/* CTA Section */
.cta-section {
    padding: 60px 0;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
}

/* Blog Section */
.blog-section {
    padding: 80px 0;
}

.blog-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.blog-card:hover {
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    transform: translateY(-5px);
}

.blog-image {
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-content {
    padding: 25px;
}

.blog-content h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.blog-content h4 a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-content h4 a:hover {
    color: #e74c3c;
}

.blog-content p {
    color: #666;
    margin-bottom: 15px;
}

.blog-link {
    color: #e74c3c;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.blog-link:hover {
    padding-left: 5px;
}

/* Newsletter Section */
.newsletter-section {
    padding: 60px 0;
}

.newsletter-form .input-group {
    max-width: 500px;
    margin-left: auto;
}

.newsletter-form .form-control {
    padding: 15px 20px;
    border: none;
    border-radius: 5px 0 0 5px;
}

.newsletter-form .btn {
    padding: 15px 30px;
    border-radius: 0 5px 5px 0;
    font-weight: 600;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-section,
    .services-section,
    .about-section,
    .features-section,
    .stats-section,
    .testimonials-section,
    .why-choose-section,
    .blog-section {
        padding: 60px 0;
    }
    
    .about-badge {
        position: static;
        margin-top: 20px;
        display: inline-block;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .newsletter-form .input-group {
        flex-direction: column;
    }
    
    .newsletter-form .form-control,
    .newsletter-form .btn {
        border-radius: 5px;
        width: 100%;
    }
    
    .newsletter-form .btn {
        margin-top: 10px;
    }
}
