/* ============================================= */
/* Global Styles */
/* ============================================= */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --light-color: #ecf0f1;
    --dark-color: #2c3e50;
    --text-color: #333;
    --text-light: #7f8c8d;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #f9f9f9;
}

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

h1, h2, h3, h4 {
    line-height: 1.2;
    margin-bottom: 15px;
}

p {
    margin-bottom: 15px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

.btn {
    display: inline-block;
    background: var(--secondary-color);
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.section-padding {
    padding: 80px 0;
}

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

/* ============================================= */
/* Header & Navigation */
/* ============================================= */
header {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.header-scrolled {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

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

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

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

nav ul {
    display: flex;
    gap: 10px;
    flex-wrap: nowrap; /* keep all in one line */
}
nav ul li {
    flex-shrink: 0; /* prevent squishing */
}

nav ul li a {
    display: block;
    padding: 10px 20px;
    font-weight: 600;
    transition: var(--transition);
    border-radius: 5px;
    white-space: nowrap; /* prevent "About Us" from breaking */
}

nav ul li a:hover, 
nav ul li a.active {
    color: var(--secondary-color);
    background: rgba(52, 152, 219, 0.1);
}

.mobile-menu {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    padding: 10px;
    color: var(--primary-color);
}

/* ============================================= */
/* Hero Sections */
/* ============================================= */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    height: 80vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    margin-top: 70px;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/page-hero-bg.jpg');
    background-size: cover;
    background-position: center;
    height: 50vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    margin-top: 70px;
}

.page-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.page-hero p {
    font-size: 1.2rem;
}

/* ============================================= */
/* Home Page Styles */
/* ============================================= */

/* Hero Section Enhancements */
.hero {
    position: relative;
    height: 90vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/hero.jpg') center/cover no-repeat;
    color: white;
    text-align: center;
    margin-top: 70px;
    overflow: hidden;
}

.hero .container {
    position: relative;
    z-index: 2;
    animation: fadeIn 1s ease;
}

.hero h2 {
    font-size: 3.5rem;
    margin-bottom: 25px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    animation: slideInDown 0.8s ease;
}

.hero p {
    font-size: 1.4rem;
    max-width: 700px;
    margin: 0 auto 40px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

.hero .btn {
    font-size: 1.1rem;
    padding: 15px 35px;
    border-radius: 50px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.8s ease 0.4s forwards;
    opacity: 0;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.hero .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
    z-index: -1;
    transition: var(--transition);
}

.hero .btn:hover::before {
    transform: scale(1.1);
}

/* Services Preview Section */
.services-preview {
    padding: 100px 0;
    background-color: white;
    position: relative;
}

.services-preview::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background: white;
    transform: skewY(-3deg);
    z-index: 1;
}

.services-preview h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 60px;
    position: relative;
}

.services-preview h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--secondary-color);
    border-radius: 2px;
}

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

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--secondary-color);
    transition: var(--transition);
}

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

.service-card:hover::before {
    height: 10px;
    background: var(--primary-color);
}

.service-card i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 25px;
    transition: var(--transition);
}

.service-card:hover i {
    transform: scale(1.1);
    color: var(--primary-color);
}

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

.service-card:hover h3 {
    color: var(--secondary-color);
}

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

.services-preview .btn {
    display: block;
    max-width: 250px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.services-preview .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    z-index: -1;
    transition: var(--transition);
}

.services-preview .btn:hover::before {
    transform: scale(1.1);
}

/* Testimonials Section (Added to Homepage) */
.home-testimonials {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--light-color) 0%, white 100%);
    position: relative;
}

.home-testimonials h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 60px;
    position: relative;
}

.home-testimonials h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--secondary-color);
    border-radius: 2px;
}

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

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 5rem;
    color: rgba(var(--secondary-color-rgb), 0.1);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-content {
    position: relative;
    z-index: 1;
    margin-bottom: 20px;
    font-style: italic;
    color: var(--text-dark);
}

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

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    border: 3px solid var(--light-color);
}

.testimonial-author h4 {
    margin-bottom: 5px;
    color: var(--primary-color);
}

.testimonial-author p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* CTA Section */
.home-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-color) 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.home-cta::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-color) 100%);
    transform: skewY(-3deg);
    z-index: 1;
}

.home-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
}

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

.home-cta .btn {
    background: white;
    color: var(--primary-color);
    font-size: 1.1rem;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.home-cta .btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

/* Responsive Adjustments for Home Page */
@media (max-width: 1200px) {
    .hero h2 {
        font-size: 3rem;
    }
}

@media (max-width: 992px) {
    .hero {
        height: 80vh;
    }
    
    .hero h2 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    .services-preview {
        padding: 80px 0;
    }
}

@media (max-width: 768px) {
    .hero {
        height: 70vh;
        min-height: 500px;
    }
    
    .hero h2 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .services-preview h2,
    .home-testimonials h2,
    .home-cta h2 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .hero {
        height: 60vh;
        min-height: 400px;
    }
    
    .hero h2 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================= */
/* About Page Styles */
/* ============================================= */
.page-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/hero-about.jpg') center/cover no-repeat;
    color: white;
    padding: 100px 0;
    text-align: center;
}

.page-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    animation: fadeInDown 1s ease;
}

.page-hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    animation: fadeInUp 1s ease;
}

.about-content {
    padding: 80px 0;
    background-color: var(--light-color);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 80px;
}

.about-text h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.about-text h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 30px;
}

.about-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.15);
    transform: perspective(1000px) rotateY(-5deg);
    transition: var(--transition);
}

.about-image:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    display: block;
    transition: var(--transition);
}

.about-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(var(--primary-color-rgb), 0.2) 0%, rgba(var(--secondary-color-rgb), 0.1) 100%);
    z-index: 1;
    border-radius: 15px;
}

.features-list {
    margin-top: 40px;
}

.features-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    padding: 12px 20px;
    background-color: rgba(var(--secondary-color-rgb), 0.05);
    border-radius: 8px;
    transition: var(--transition);
}

.features-list li:hover {
    background-color: rgba(var(--secondary-color-rgb), 0.1);
    transform: translateX(5px);
}

.features-list i {
    margin-right: 15px;
    color: var(--secondary-color);
    font-size: 1.3rem;
    min-width: 25px;
    text-align: center;
}

.team-section {
    text-align: center;
    padding: 60px 0;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
}

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

.team-section h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.team-member {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.team-member::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--secondary-color);
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.team-member:hover::before {
    height: 10px;
    background: var(--primary-color);
}

.team-member img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 25px;
    border: 8px solid var(--light-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.team-member:hover img {
    border-color: var(--secondary-color);
    transform: scale(1.05);
}

.team-member h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 10px;
    transition: var(--transition);
}

.team-member:hover h3 {
    color: var(--secondary-color);
}

.team-member p {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 20px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 80px 0;
    }
    
    .page-hero h1 {
        font-size: 2.5rem;
    }
    
    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 30px;
    }
}

/* Animation */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* ============================================= */
/* Services Page Styles - Enhanced */
/* ============================================= */

.services-page {
    padding: 100px 0;
    background-color: var(--light-color);
    position: relative;
}

.services-page::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background: var(--light-color);
    transform: skewY(-3deg);
    z-index: 1;
}

.service-category {
    margin-bottom: 80px;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.service-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.service-category h2 {
    color: var(--primary-color);
    margin: 0;
    padding: 30px;
    background: linear-gradient(135deg, rgba(var(--secondary-color-rgb), 0.05) 0%, rgba(var(--primary-color-rgb), 0.05) 100%);
    border-bottom: 3px solid var(--secondary-color);
    font-size: 2rem;
    display: flex;
    align-items: center;
    position: relative;
}

.service-category h2 i {
    margin-right: 15px;
    font-size: 2rem;
    color: var(--secondary-color);
    transition: var(--transition);
}

.service-category:hover h2 i {
    transform: rotate(10deg) scale(1.1);
}

.service-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: stretch;
}

.service-details img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    transition: var(--transition);
    filter: brightness(0.95);
}

.service-details:hover img {
    filter: brightness(1);
    transform: scale(1.01);
}

.service-description {
    padding: 40px;
    position: relative;
}

.service-description::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, var(--secondary-color), var(--primary-color));
}

.service-description p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 25px;
}

.service-description ul {
    margin: 30px 0;
    padding-left: 5px;
}

.service-description ul li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 35px;
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.6;
}

.service-description ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--secondary-color);
    font-size: 1rem;
    position: absolute;
    left: 0;
    top: 2px;
}

.service-description .btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 30px;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: white;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-description .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    z-index: -1;
    opacity: 0;
    transition: var(--transition);
}

.service-description .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(52, 152, 219, 0.4);
}

.service-description .btn:hover::before {
    opacity: 1;
}

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

.additional-service {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border-top: 3px solid var(--secondary-color);
    position: relative;
    overflow: hidden;
}

.additional-service::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(var(--secondary-color-rgb), 0.03) 0%, rgba(var(--primary-color-rgb), 0.03) 100%);
    z-index: 0;
}

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

.additional-service h3 {
    color: var(--primary-color);
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
    font-size: 1.3rem;
}

.additional-service h3 i {
    margin-right: 12px;
    color: var(--secondary-color);
    font-size: 1.5rem;
    transition: var(--transition);
}

.additional-service:hover h3 i {
    transform: rotate(15deg) scale(1.1);
}

.additional-service p {
    color: var(--text-light);
    position: relative;
    z-index: 1;
    font-size: 0.95rem;
    line-height: 1.7;
}

.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-color) 100%);
    color: white;
    text-align: center;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-color) 100%);
    transform: skewY(-3deg);
    z-index: 1;
}

.cta-section h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

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

.cta-section .btn {
    background: white;
    color: var(--primary-color);
    font-size: 1.1rem;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.cta-section .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0.9) 100%);
    z-index: -1;
    transition: var(--transition);
}

.cta-section .btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.cta-section .btn:hover::before {
    transform: scale(1.1);
}

/* Responsive Styles for Services Page */
@media (max-width: 1200px) {
    .cta-section h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 992px) {
    .service-details {
        grid-template-columns: 1fr;
    }
    
    .service-details img {
        height: 400px;
    }
    
    .service-description {
        padding: 30px;
    }
    
    .additional-services {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .services-page {
        padding: 80px 0;
    }
    
    .service-category h2 {
        font-size: 1.8rem;
        padding: 25px;
    }
    
    .cta-section h2 {
        font-size: 2.2rem;
    }
    
    .cta-section p {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .service-details img {
        height: 300px;
    }
    
    .service-description {
        padding: 25px;
    }
    
    .service-category h2 {
        font-size: 1.6rem;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .service-category h2 i {
        margin-bottom: 10px;
    }
    
    .additional-services {
        grid-template-columns: 1fr;
        padding: 0 25px 25px;
    }
    
    .cta-section h2 {
        font-size: 1.8rem;
    }
    
    .cta-section p {
        font-size: 1rem;
    }
}

/* ============================================= */
/* Gallery Page Styles */
/* ============================================= */


.page-hero {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.gallery-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 40px 0;
}

.filter-btn {
    padding: 8px 20px;
    background: white;
    border: 1px solid var(--secondary-color);
    color: var(--secondary-color);
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
}

.filter-btn.active, 
.filter-btn:hover {
    background: var(--secondary-color);
    color: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 60px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    height: 250px;
    box-shadow: var(--shadow);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    padding: 20px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    transition: var(--transition);
}

.gallery-overlay h3 {
    color: white;
    margin-bottom: 10px;
}

.gallery-overlay p {
    color: var(--light-color);
    font-size: 0.9rem;
}

.gallery-item:hover .gallery-overlay {
    bottom: 0;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.testimonials {
    background: var(--light-color);
    padding: 80px 0;
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

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

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

.testimonial {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    position: relative;
}

.testimonial-content i {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-bottom: 15px;
    opacity: 0.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    border: 3px solid var(--light-color);
}

.testimonial-author h4 {
    margin-bottom: 5px;
    color: var(--primary-color);
}

.testimonial-author p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ============================================= */
/* Contact Page Styles - Enhanced */
/* ============================================= */

.contact-section {
    padding: 100px 0;
    background-color: var(--light-color);
    position: relative;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background: var(--light-color);
    transform: skewY(-3deg);
    z-index: 1;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: flex-start;
    position: relative;
    z-index: 2;
}

.contact-info {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, var(--secondary-color), var(--primary-color));
}

.contact-info h2 {
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.contact-info h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.contact-info p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 30px;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    padding: 20px;
    border-radius: 10px;
    transition: var(--transition);
    background: rgba(var(--secondary-color-rgb), 0.03);
}

.contact-method:hover {
    background: rgba(var(--secondary-color-rgb), 0.08);
    transform: translateX(5px);
}

.contact-method i {
    font-size: 1.5rem;
    color: white;
    margin-right: 20px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
    transition: var(--transition);
}

.contact-method:hover i {
    transform: rotate(15deg) scale(1.1);
}

.contact-method h3 {
    margin-bottom: 8px;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.contact-method p {
    margin: 0;
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.6;
}

.business-hours {
    margin: 40px 0;
    padding: 25px;
    background: rgba(var(--primary-color-rgb), 0.03);
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.business-hours h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
}

.business-hours h3 i {
    margin-right: 10px;
    color: var(--secondary-color);
}

.business-hours p {
    margin-bottom: 12px;
    display: flex;
    font-size: 1rem;
}

.business-hours span {
    font-weight: 600;
    width: 150px;
    color: var(--primary-color);
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
}

.contact-form h2 {
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.contact-form h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-family: inherit;
    transition: var(--transition);
    background: rgba(var(--secondary-color-rgb), 0.03);
    font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--secondary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
    background: white;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.contact-form .btn {
    width: 100%;
    padding: 16px;
    font-size: 1.1rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.contact-form .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    z-index: -1;
    opacity: 0;
    transition: var(--transition);
}

.contact-form .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(52, 152, 219, 0.4);
}

.contact-form .btn:hover::before {
    opacity: 1;
}

.map-section {
    padding: 80px 0;
    background: white;
    position: relative;
}

.map-section::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background: white;
    transform: skewY(-3deg);
    z-index: 1;
}

.map-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 50px;
    position: relative;
}

.map-section h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.map-container {
    position: relative;
    padding-bottom: 50%;
    height: 0;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 10px solid white;
    transform: perspective(1000px) rotateX(5deg);
    transition: var(--transition);
}

.map-container:hover {
    transform: perspective(1000px) rotateX(0deg);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Responsive Styles for Contact Page */
@media (max-width: 1200px) {
    .contact-grid {
        gap: 40px;
    }
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info,
    .contact-form {
        padding: 30px;
    }
    
    .map-section h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .contact-section,
    .map-section {
        padding: 60px 0;
    }
    
    .contact-method {
        padding: 15px;
    }
    
    .contact-info h2,
    .contact-form h2 {
        font-size: 1.8rem;
    }
    
    .map-section h2 {
        font-size: 2rem;
    }
    
    .map-container {
        padding-bottom: 70%;
    }
}

@media (max-width: 576px) {
    .contact-info,
    .contact-form {
        padding: 25px;
    }
    
    .contact-method {
        flex-direction: column;
    }
    
    .contact-method i {
        margin-bottom: 15px;
        margin-right: 0;
    }
    
    .business-hours p {
        flex-direction: column;
    }
    
    .business-hours span {
        width: 100%;
        margin-bottom: 5px;
    }
    
    .map-section h2 {
        font-size: 1.8rem;
    }
    
    .map-container {
        padding-bottom: 80%;
    }
}

/* ============================================= */
/* Footer Styles */
/* ============================================= */
footer {
    background: var(--dark-color);
    color: white;
    padding: 60px 0 20px;
    margin-top: 60px;
}

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

.footer-section h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--secondary-color);
}

.footer-section p {
    color: var(--light-color);
    opacity: 0.8;
}

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

.footer-links a {
    color: var(--light-color);
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.footer-links a:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

.footer-links a i {
    margin-right: 8px;
    font-size: 0.8rem;
}

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
}

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

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--light-color);
    font-size: 0.9rem;
}

/* ============================================= */
/* Responsive Styles */
/* ============================================= */
 /* Base hero styles */
    .hero {
        position: relative;
        color: white;
        text-align: center;
        padding: 120px 20px;
        background-color: #2c3e50; /* Fallback color */
        background-image: url('images/renovation-hero.jpg');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        height: 80vh;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 1;
    }
    
    .hero .container {
        position: relative;
        z-index: 2;
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
    }
    
    .hero h2 {
        font-size: 3rem;
        margin-bottom: 20px;
        line-height: 1.2;
    }
    
    .hero p {
        font-size: 1.3rem;
        margin-bottom: 30px;
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero .btn {
        display: inline-block;
        padding: 12px 30px;
        background-color: #e74c3c;
        color: white;
        text-decoration: none;
        border-radius: 4px;
        font-weight: bold;
        transition: background-color 0.3s;
    }
    
    .hero .btn:hover {
        background-color: #c0392b;
    }

    /* Your existing responsive styles with additions */
    @media (max-width: 992px) {
        .hero h2 {
            font-size: 2.5rem;
        }
    }
    
    @media (max-width: 768px) {
        .hero {
            height: 70vh;
            padding: 80px 20px;
        }
        
        .hero h2 {
            font-size: 2rem;
        }
        
        .hero p {
            font-size: 1rem;
        }
    }
    
    @media (max-width: 576px) {
        .hero {
            height: 60vh;
            padding: 60px 15px;
        }
        
        .hero h2 {
            font-size: 1.8rem;
        }
        
        .hero p {
            font-size: 0.9rem;
        }
        
        .hero .btn {
            padding: 10px 20px;
            font-size: 0.9rem;
        }
    }
    
    .cta-section {
        padding: 60px 0;
    }
    
    .cta-section h2 {
        font-size: 1.8rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
