/*
Theme Name: Riyadh Electrical Services
Theme URI: https://riyadhserveservice.com
Description: A custom SEO-friendly WordPress theme for Riyadh Electrical Services - professional electrical services in Riyadh, Saudi Arabia
Version: 1.0
Author: Riyadh Serve Service
Author URI: https://riyadhserveservice.com
Text Domain: riyadh-electrical
Tags: responsive, seo-friendly, business, local-business, electrical-services
*/

/* CSS Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* CSS Variables */
:root {
    --primary-color: #8b3b00;
    --primary-dark: #6b2d00;
    --primary-light: #a84d00;
    --secondary-color: #f5f5f5;
    --text-color: #1a1a1a;
    --text-light: #333;
    --white: #fff;
    --border-color: #ddd;
    --success-color: #28a745;
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* Global Styles */
body {
    font-family: var(--font-primary);
    color: var(--text-color);
    line-height: 1.6;
    font-size: 16px;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.full-width {
    max-width: 100%;
}

/* Top Bar */
.top-bar {
    background: var(--primary-color);
    color: var(--white);
    padding: 10px 0;
    font-size: 14px;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.top-bar .contact-info {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    align-items: center;
}

.top-bar .contact-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-bar .contact-item a {
    color: var(--white);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.top-bar .contact-item a:hover {
    opacity: 0.85;
}

.top-bar .icon {
    flex-shrink: 0;
    display: inline-block;
    vertical-align: middle;
}

.top-bar .social-links {
    display: flex;
    gap: 18px;
    align-items: center;
}

.top-bar .social-links a {
    color: var(--white);
    font-size: 13px;
    transition: opacity 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}

.top-bar .social-links a:hover {
    opacity: 0.85;
}

.top-bar .social-links a span {
    display: inline-block;
}

@media (max-width: 768px) {
    .top-bar-content {
        justify-content: center;
        text-align: center;
    }
    
    .top-bar .contact-info {
        width: 100%;
        justify-content: center;
        gap: 15px;
        font-size: 13px;
    }
    
    .top-bar .social-links {
        width: 100%;
        justify-content: center;
    }
    
    .top-bar .social-links a span {
        display: none;
    }
}

/* Header */
.site-header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 15px;
}

.custom-logo-wrapper {
    display: flex;
    align-items: center;
}

.custom-logo-link {
    display: block;
    line-height: 0;
}

.custom-logo {
    display: block;
    max-width: 100%;
    height: auto;
}

.site-title-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.site-title-wrapper h1 {
    font-size: 28px;
    color: var(--primary-color);
    margin: 0;
    line-height: 1.2;
}

.site-title-wrapper h1 a {
    color: var(--primary-color);
    text-decoration: none;
}

.site-title-wrapper p {
    font-size: 14px;
    color: var(--text-light);
    margin: 5px 0 0 0;
    line-height: 1.3;
}

.site-branding h1 {
    font-size: 28px;
    color: var(--primary-color);
    margin: 0;
    line-height: 1.2;
}

.site-branding p {
    font-size: 14px;
    color: var(--text-light);
    margin: 5px 0 0 0;
    line-height: 1.3;
}

.main-navigation {
    display: flex;
    align-items: center;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.main-navigation li {
    position: relative;
}

.main-navigation a {
    font-weight: 500;
    padding: 10px 15px;
    display: block;
    transition: all 0.3s ease;
}

.main-navigation a:hover {
    color: var(--primary-light);
}

/* Dropdown Menu Styles */
.main-navigation .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    min-width: 250px;
    padding: 10px 0;
    display: none;
    flex-direction: column;
    gap: 0;
    z-index: 1000;
    border-top: 3px solid var(--primary-color);
    border-radius: 0 0 8px 8px;
}

.main-navigation li:hover > .sub-menu {
    display: block;
}

.main-navigation .sub-menu li {
    width: 100%;
}

.main-navigation .sub-menu a {
    padding: 12px 20px;
    color: var(--text-color);
    font-size: 15px;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.main-navigation .sub-menu li:last-child a {
    border-bottom: none;
}

.main-navigation .sub-menu a:hover {
    background: var(--primary-color);
    color: var(--white);
    padding-left: 25px;
}

/* Dropdown indicator */
.main-navigation .menu-item-has-children > a::after {
    content: ' ▼';
    font-size: 10px;
    margin-left: 5px;
    opacity: 0.7;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 80px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
    animation: fadeInUp 0.8s ease-out;
}

.hero-stars {
    color: #ffc107;
    font-size: 18px;
    letter-spacing: 2px;
}

.hero-rating-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 400;
}

.hero-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    text-align: left;
}

.hero-section h1 {
    font-size: 46px;
    margin-bottom: 25px;
    line-height: 1.3;
    font-weight: 700;
    text-shadow: none;
    animation: fadeInUp 0.8s ease-out 0.2s both;
    color: #ffffff;
}

.hero-section .subtitle {
    font-size: 18px;
    margin-bottom: 0;
    font-weight: 400;
    opacity: 0.95;
    display: inline-block;
    padding: 0;
    background: transparent;
    border-radius: 0;
    backdrop-filter: none;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-section p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 25px;
    opacity: 0.9;
    animation: fadeInUp 0.8s ease-out 0.4s both;
    color: rgba(255, 255, 255, 0.9);
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    animation: fadeInUp 0.8s ease-out 0.5s both;
}

.hero-form-container {
    background: #ffffff;
    padding: 35px 30px;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    backdrop-filter: none;
    animation: fadeInRight 0.8s ease-out 0.3s both;
}

.hero-form-container h2 {
    color: var(--primary-color);
    font-size: 26px;
    margin-bottom: 8px;
    text-align: center;
    font-weight: 700;
}

.hero-form-container .form-subtitle {
    color: #666;
    text-align: center;
    font-size: 13px;
    margin-bottom: 25px;
    line-height: 1.4;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    background: var(--white);
    color: var(--primary-color);
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--white);
    box-shadow: none;
    font-size: 15px;
    text-transform: capitalize;
}

.btn:hover {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
    border-color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-color: var(--white);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

/* Features Section */
.features-section {
    padding: 60px 0;
    background: var(--secondary-color);
}

.section-title {
    text-align: center;
    font-size: 38px;
    margin-bottom: 15px;
    color: var(--primary-color);
    font-weight: 700;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: 19px;
    color: var(--text-light);
    margin-bottom: 50px;
    margin-top: 25px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-box {
    background: var(--white);
    padding: 35px;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    border-left: 4px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

.feature-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(139, 59, 0, 0.05), transparent);
    transition: left 0.5s ease;
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(139, 59, 0, 0.15);
}

.feature-box:hover::before {
    left: 100%;
}

.feature-box h3 {
    color: var(--primary-color);
    font-size: 22px;
    margin-bottom: 15px;
}

.feature-box ul {
    list-style: none;
    padding-left: 0;
}

.feature-box ul li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.feature-box ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Services Section */
.services-section {
    padding: 60px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: var(--white);
    padding: 35px 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border-top: 5px solid var(--primary-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(139, 59, 0, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(50%, -50%);
    transition: all 0.4s ease;
    pointer-events: none;
}

.service-card:hover {
    box-shadow: 0 15px 50px rgba(139, 59, 0, 0.2);
    transform: translateY(-10px) scale(1.02);
    border-top-color: var(--primary-light);
}

.service-card:hover::after {
    width: 150px;
    height: 150px;
}

.service-card h3 {
    color: var(--primary-color);
    font-size: 22px;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
    line-height: 1.4;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.8;
    position: relative;
    z-index: 1;
    margin: 0;
}
    position: relative;
    z-index: 1;
    flex-grow: 1;
}

/* Quote Form Section */
.quote-section {
    padding: 60px 0;
    background: linear-gradient(135deg, rgba(139, 59, 0, 0.05) 0%, rgba(139, 59, 0, 0.1) 100%);
}

.quote-form-container {
    max-width: 700px;
    margin: 40px auto 0;
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.quote-form-container h2 {
    text-align: center;
    color: var(--primary-color);
    font-size: 32px;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 15px;
    font-family: var(--font-primary);
    transition: all 0.3s ease;
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(139, 59, 0, 0.1);
    transform: translateY(-1px);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.submit-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(139, 59, 0, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.submit-btn:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(139, 59, 0, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
}

.form-message {
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    text-align: center;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Process Section */
.process-section {
    padding: 60px 0;
    background: var(--secondary-color);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.process-step-box {
    background: var(--white);
    padding: 35px 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
    border-top: 4px solid var(--primary-color);
}

.process-step-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(139,59,0,0.15);
}

.process-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), #6d2e00);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    box-shadow: 0 3px 10px rgba(139,59,0,0.3);
}

.process-icon {
    color: var(--primary-color);
    margin: 20px 0 15px;
    opacity: 0.9;
}

.process-icon svg {
    width: 48px;
    height: 48px;
}

.process-step-box h3 {
    color: var(--text-color);
    font-size: 19px;
    margin-bottom: 12px;
    font-weight: 600;
    line-height: 1.3;
}

.process-step-box p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 15px;
}

.process-step {
    text-align: center;
    padding: 20px;
}

.process-step h3 {
    color: var(--primary-color);
    font-size: 20px;
    margin-bottom: 10px;
}

.process-step p {
    color: var(--text-light);
}

@media (max-width: 768px) {
    .process-steps {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    
    .process-step-box {
        padding: 40px 25px 30px;
    }
}

/* Why Choose Section */
.why-choose-section {
    padding: 60px 0;
    background: var(--secondary-color);
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.why-choose-item {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.why-choose-item h3 {
    color: var(--primary-color);
    font-size: 22px;
    margin-bottom: 15px;
}

.why-choose-item p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Testimonials Section */
.testimonials-section {
    padding: 70px 0;
    background: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(139,59,0,0.15);
}

.testimonial-rating {
    margin-bottom: 15px;
}

.testimonial-rating .stars {
    color: #ffa500;
    font-size: 20px;
    letter-spacing: 2px;
}

.testimonial-text {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 20px;
    flex: 1;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), #6d2e00);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
    flex-shrink: 0;
}

.author-info h4 {
    color: var(--text-color);
    font-size: 16px;
    margin: 0 0 3px 0;
    font-weight: 600;
}

.author-info p {
    color: var(--text-light);
    font-size: 13px;
    margin: 0;
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

/* Gallery Section */
.gallery-section {
    padding: 60px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    height: 250px;
    background: var(--border-color);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.placeholder-image {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--border-color) 0%, #e0e0e0 100%);
    color: var(--text-light);
    font-size: 18px;
    text-align: center;
    padding: 20px;
}

/* FAQ Section */
.faq-section {
    padding: 60px 0;
    background: var(--white);
}

.faq-container {
    max-width: 900px;
    margin: 40px auto 0;
}

.faq-item {
    background: var(--secondary-color);
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
}

.faq-question {
    background: var(--white);
    padding: 20px;
    cursor: pointer;
    font-weight: 600;
    color: var(--primary-color);
    border-left: 4px solid var(--primary-color);
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: var(--secondary-color);
}

.faq-answer {
    padding: 20px;
    color: var(--text-light);
    line-height: 1.8;
}

/* Single Post Styles */
.single-post-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
    padding: 40px 0;
}

.post-content {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.post-header h1 {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.3;
}

.post-meta {
    color: var(--text-light);
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border-color);
}

.post-meta span {
    margin-right: 20px;
}

.featured-image {
    margin-bottom: 30px;
    border-radius: 10px;
    overflow: hidden;
}

.post-content-body {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-color);
}

.post-content-body h2 {
    color: var(--primary-color);
    margin-top: 30px;
    margin-bottom: 15px;
}

.post-content-body p {
    margin-bottom: 20px;
}

.post-content-body ul, .post-content-body ol {
    margin-bottom: 20px;
    padding-left: 30px;
}

.post-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid var(--border-color);
    gap: 20px;
}

.nav-previous, .nav-next {
    flex: 1;
    padding: 20px;
    background: var(--secondary-color);
    border-radius: 10px;
    transition: background 0.3s ease;
}

.nav-previous:hover, .nav-next:hover {
    background: rgba(139, 59, 0, 0.1);
}

.nav-label {
    font-size: 14px;
    color: var(--text-light);
    display: block;
    margin-bottom: 5px;
}

.nav-title {
    font-weight: 600;
    color: var(--primary-color);
}

/* Sidebar */
.sidebar {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.sidebar h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 24px;
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: 10px;
}

.recent-posts {
    list-style: none;
}

.recent-posts li {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.recent-posts li:last-child {
    border-bottom: none;
}

.recent-posts a {
    display: block;
    font-weight: 500;
    line-height: 1.4;
}

.recent-posts .post-date {
    font-size: 14px;
    color: var(--text-light);
    display: block;
    margin-top: 5px;
}

/* Page Header Section */
.page-header-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
    position: relative;
}

.page-header-section h1 {
    font-size: 48px;
    margin-bottom: 15px;
    font-weight: 700;
}

.page-header-section p {
    font-size: 20px;
    opacity: 0.95;
    max-width: 800px;
    margin: 0 auto;
}

/* Services Introduction */
.services-intro-section {
    padding: 60px 0;
    background: var(--white);
}

.intro-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.intro-content h2 {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.intro-content p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-light);
}

/* Services Detail Section */
.services-detail-section {
    padding: 60px 0;
    background: var(--secondary-color);
}

.services-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.service-detail-card {
    background: var(--white);
    padding: 40px 35px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    border-top: 4px solid var(--primary-color);
}

.service-detail-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(139, 59, 0, 0.15);
}

.service-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: inline-block;
}

.service-detail-card h3 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.service-detail-card > p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-color);
    margin-bottom: 20px;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 20px 0 25px;
}

.service-features li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    color: var(--text-light);
    border-bottom: 1px solid var(--border-color);
}

.service-features li:last-child {
    border-bottom: none;
}

.service-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 18px;
}

.service-cta {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
}

.service-cta:hover {
    color: var(--primary-dark);
    transform: translateX(5px);
}

/* Services Why Choose */
.services-why-choose {
    padding: 60px 0;
    background: var(--white);
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.why-item {
    text-align: center;
    padding: 30px 20px;
    background: var(--secondary-color);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.why-item:hover {
    background: var(--white);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.why-icon {
    font-size: 48px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.why-item h3 {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.why-item p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.6;
}

/* Services CTA Section */
.services-cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    text-align: center;
    color: var(--white);
}

.cta-content h2 {
    font-size: 42px;
    margin-bottom: 20px;
    font-weight: 700;
}

.cta-content p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Contact Main Section */
.contact-main-section {
    padding: 60px 0;
    background: var(--secondary-color);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: start;
}

.contact-info-wrapper h2 {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.contact-info-wrapper > p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 30px;
}

.contact-info-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.contact-info-box {
    background: var(--white);
    padding: 25px 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.contact-info-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(139, 59, 0, 0.15);
}

.contact-info-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.contact-info-box h3 {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.contact-info-box p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

.contact-info-box a {
    color: var(--primary-color);
    font-weight: 500;
}

.contact-features {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
}

.contact-features h3 {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.contact-features ul {
    list-style: none;
    padding: 0;
}

.contact-features li {
    padding: 10px 0;
    color: var(--text-color);
    font-size: 15px;
    border-bottom: 1px solid var(--border-color);
}

.contact-features li:last-child {
    border-bottom: none;
}

/* Contact Form Wrapper */
.contact-form-wrapper {
    position: sticky;
    top: 100px;
}

.contact-form-container {
    background: var(--white);
    padding: 40px 35px;
    border-radius: 12px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.1);
}

.contact-form-container h2 {
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.contact-form-container .form-subtitle {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Contact Map Section */
.contact-map-section {
    padding: 60px 0;
    background: var(--white);
}

.map-placeholder {
    background: var(--secondary-color);
    border-radius: 12px;
    padding: 80px 40px;
    text-align: center;
    margin-top: 40px;
    border: 2px dashed var(--border-color);
}

.map-content {
    max-width: 600px;
    margin: 0 auto;
}

.map-icon {
    font-size: 60px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.map-placeholder h3 {
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.map-placeholder p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.7;
}

/* Quick Contact Section */
.quick-contact-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    text-align: center;
    color: var(--white);
}

.quick-contact-content h2 {
    font-size: 38px;
    margin-bottom: 20px;
    font-weight: 700;
}

.quick-contact-content p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.quick-contact-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Page Template */
.page-template {
    padding: 40px 0;
}

.page-content {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.page-header h1 {
    font-size: 42px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.page-content-body {
    font-size: 18px;
    line-height: 1.8;
}

/* Category Template */
.category-header {
    background: var(--primary-color);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.category-header h1 {
    font-size: 42px;
    margin-bottom: 10px;
}

.category-description {
    font-size: 18px;
    opacity: 0.9;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    padding: 40px 0;
    grid-auto-rows: 1fr;
}

.post-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(139,59,0,0.15);
}

.post-card-image {
    height: 200px;
    background: var(--border-color);
    overflow: hidden;
}

.post-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.post-card:hover .post-card-image img {
    transform: scale(1.05);
}

.post-card-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.post-card-title {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.post-card:hover .post-card-title {
    color: #6d2e00;
}

.post-card-excerpt {
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.6;
    flex: 1;
}

.post-card-meta {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 15px;
}

.read-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: auto;
    padding: 12px 28px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #6d2e00 100%);
    color: var(--white);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(139,59,0,0.2);
    align-self: flex-start;
}

.read-more:after {
    content: "→";
    margin-left: 8px;
    font-size: 18px;
    transition: transform 0.3s ease;
}

.read-more:hover {
    background: linear-gradient(135deg, #6d2e00 0%, var(--primary-color) 100%);
    box-shadow: 0 6px 20px rgba(139,59,0,0.3);
    transform: translateX(3px);
}

.read-more:hover:after {
    transform: translateX(5px);
}

/* Footer */
.site-footer {
    background: #1a1a1a;
    color: #ccc;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 22px;
}

.footer-section p {
    line-height: 1.8;
    margin-bottom: 10px;
}

.contact-info {
    list-style: none;
}

.contact-info li {
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
}

.contact-info li:before {
    content: "►";
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    color: #888;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .main-navigation {
        display: none;
        width: 100%;
        margin-top: 20px;
    }
    
    .main-navigation.active {
        display: block;
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 0;
    }
    
    .main-navigation li {
        border-bottom: 1px solid var(--border-color);
    }
    
    .main-navigation a {
        padding: 15px 0;
    }
    
    /* Mobile Dropdown Styles */
    .main-navigation .sub-menu {
        position: static;
        box-shadow: none;
        background: var(--secondary-color);
        border: none;
        border-radius: 0;
        padding-left: 20px;
        display: none;
    }
    
    .main-navigation li.menu-item-has-children.active > .sub-menu {
        display: block;
    }
    
    .main-navigation .sub-menu a {
        padding: 12px 0;
        font-size: 14px;
    }
    
    .main-navigation .sub-menu a:hover {
        padding-left: 0;
        background: transparent;
        color: var(--primary-color);
    }
    
    .hero-content-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .hero-section {
        padding: 60px 0 80px;
    }
    
    .hero-section h1 {
        font-size: 36px;
    }
    
    .hero-section .subtitle {
        font-size: 16px;
    }
    
    .hero-form-container {
        padding: 30px 25px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .single-post-layout {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        position: static;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
    }
    
    .post-navigation {
        flex-direction: column;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .quote-form-container {
        padding: 30px 20px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 40px 0;
    }
    
    .hero-section h1 {
        font-size: 26px;
    }
    
    .services-grid, .features-grid {
        grid-template-columns: 1fr;
    }
    
    .page-header-section h1 {
        font-size: 32px;
    }
    
    .page-header-section p {
        font-size: 16px;
    }
    
    .services-detail-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-content h2 {
        font-size: 28px;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
    }
    
    .contact-info-boxes {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper {
        position: static;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .quick-contact-content h2 {
        font-size: 26px;
    }
    
    .quick-contact-buttons {
        flex-direction: column;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mt-40 {
    margin-top: 40px;
}

.mb-40 {
    margin-bottom: 40px;
}

/* Blog Page Styles */
.post-card-categories {
    margin-bottom: 12px;
}

.post-category {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.read-more-link {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.read-more-link:hover {
    color: var(--primary-dark);
    transform: translateX(5px);
}

.blog-pagination {
    margin-top: 40px;
}

.blog-pagination ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 0;
}

.blog-pagination li {
    display: inline-block;
}

.blog-pagination a,
.blog-pagination span {
    display: block;
    padding: 10px 16px;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.blog-pagination a:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.blog-pagination .current {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* Service Detail Page Styles */
.service-hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 80px 0 60px;
    position: relative;
}

.service-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect width="2" height="2" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
}

.service-hero-section .container {
    position: relative;
    z-index: 1;
}

.breadcrumb {
    font-size: 14px;
    margin-bottom: 20px;
    opacity: 0.9;
}

.breadcrumb a {
    color: var(--white);
    text-decoration: none;
    transition: opacity 0.3s;
}

.breadcrumb a:hover {
    opacity: 0.7;
}

.service-hero-section h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
}

.service-excerpt {
    font-size: 20px;
    line-height: 1.6;
    max-width: 800px;
    margin-bottom: 30px;
    opacity: 0.95;
}

.service-hero-cta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.service-content-section {
    padding: 60px 0;
    background: var(--white);
}

.service-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
}

.service-main-content {
    background: var(--white);
}

.service-featured-image {
    margin-bottom: 40px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.service-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.service-description {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-color);
}

.service-description h2 {
    color: var(--primary-color);
    font-size: 32px;
    margin: 40px 0 20px;
}

.service-description h3 {
    color: var(--text-color);
    font-size: 24px;
    margin: 30px 0 15px;
}

.service-description ul, .service-description ol {
    margin: 20px 0;
    padding-left: 30px;
}

.service-description li {
    margin-bottom: 12px;
    line-height: 1.8;
}

.service-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    margin-bottom: 30px;
    border-top: 4px solid var(--primary-color);
}

.sidebar-card h3 {
    color: var(--primary-color);
    font-size: 22px;
    margin-bottom: 20px;
}

.sidebar-card p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

.contact-details {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid var(--border-color);
}

.contact-details p {
    margin-bottom: 8px;
    color: var(--text-color);
}

.phone-link {
    display: block;
    font-size: 24px;
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: none;
    margin-bottom: 20px;
}

.phone-link:hover {
    color: var(--primary-dark);
}

.contact-details a {
    color: var(--primary-color);
    text-decoration: none;
}

.contact-details a:hover {
    text-decoration: underline;
}

.service-features-list {
    list-style: none;
    padding: 0;
}

.service-features-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-color);
    font-size: 16px;
}

.service-features-list li:last-child {
    border-bottom: none;
}

.related-services-list {
    list-style: none;
    padding: 0;
}

.related-services-list li {
    margin-bottom: 15px;
}

.related-services-list a {
    display: block;
    padding: 12px 15px;
    background: var(--secondary-color);
    color: var(--text-color);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s;
}

.related-services-list a:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateX(5px);
}

.service-contact-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(139, 59, 0, 0.05) 0%, rgba(139, 59, 0, 0.1) 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.section-header p {
    font-size: 18px;
    color: var(--text-light);
}

.service-quote-form {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .service-hero-section h1 {
        font-size: 32px;
    }
    
    .service-excerpt {
        font-size: 16px;
    }
    
    .service-layout {
        grid-template-columns: 1fr;
    }
    
    .service-sidebar {
        position: static;
    }
    
    .service-quote-form {
        padding: 30px 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}
