:root {
    --primary-color: #0056b3;
    --secondary-color: #ff6b00;
    --accent-color: #00c896;
    --dark-color: #222;
    --light-color: #f8f9fa;
    --white: #fff;
    --black: #000;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    line-height: 1.6;
    color: var(--dark-color);
    overflow-x: hidden;
}

/* Logo styles */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img{
    width: 50px;
    border-radius: 50px;
}


.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text .main {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.2;
}

.logo-text .sub {
    font-size: 16px;
    font-weight: 500;
    color: var(--secondary-color);
    line-height: 1;
    margin-top: 2px;
}

/* Navbar styles */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: var(--white);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    height: 70px;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 0.5rem 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    bottom: 0;
    left: 0;
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    display: flex;
    align-items: center;
}



.phone-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--dark-color);
    margin-right: 1.5rem;
    font-weight: 600;
}

.phone-link i {
    color: #0056b3;
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

.btn {
    padding: 0.9rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    text-decoration: none;
    margin: 0 0.5rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 5px 15px rgba(0, 86, 179, 0.4);
}

.btn-primary:hover {
    background-color: #004494;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 86, 179, 0.6);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--white);
    box-shadow: 0 5px 15px rgba(255, 107, 0, 0.4);
}

.btn-secondary:hover {
    background-color: #e05e00;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 107, 0, 0.6);
}

.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark-color);
}

/* Hero Carousel Styles */
.hero-carousel {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    margin-top: 60px;
}

.carousel-inner {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.carousel-slide.active {
    opacity: 1;
    z-index: 1;
}

.carousel-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 0;
}

.slide-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    padding: 0 2rem;
    transform: translateY(20px);
    transition: transform 1s ease, opacity 1s ease;
    opacity: 0;
}

.carousel-slide.active .slide-content {
    transform: translateY(0);
    opacity: 1;
}

.slide-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: capitalize;
    line-height: 1.2;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.slide-content p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.carousel-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    gap: 10px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background-color: var(--white);
    width: 30px;
    border-radius: 6px;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    z-index: 5;
}

.carousel-nav button {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-nav button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.emergency-banner {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    z-index: 5;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
}

.emergency-banner i {
    margin-right: 0.5rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* Mobile Menu Styles */
.mobile-menu {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: translateY(-150%);
    transition: transform 0.4s ease-in-out;
    z-index: 999;
}

.mobile-menu.active {
    transform: translateY(0);
}

.mobile-menu .nav-links {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center;
}

.mobile-menu .nav-links li {
    margin: 1rem 0;
}

.mobile-menu .nav-cta {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center;
    margin-top: 1rem;
}

.mobile-menu .phone-link {
    margin: 0 0 1rem 0;
}

/* Responsive styles */
@media (max-width: 1200px) {
    .slide-content h1 {
        font-size: 3rem;
    }

  
    .service-badges {
        bottom: 80px;
    }

    .hero-carousel{
        width: 600px;
    }
}

@media (max-width: 992px) {
    .nav-links, .nav-cta {
        display: none;
    }
    
    .hamburger {
        display: block;
    }
    
    .navbar {
        padding: 1rem;
    }
    
    .slide-content h1 {
        font-size: 2.5rem;
    }
    
    .slide-content p {
        font-size: 1.1rem;
    }
    
    .service-badges {
        display: none;
    }
    
    .emergency-banner {
        top: 10px;
        right: 10px;
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    .slide-content h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .slide-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .carousel-nav button {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .slide-content h1 {
        font-size: 1.8rem;
    }
    
    .carousel-indicators {
        bottom: 20px;
    }
    
    .btn-group {
        display: flex;
        flex-direction: column;
        width: 300px;
        margin-left: 90px;
    }
    
    .btn {
        margin: 0.3rem 0;
    }
}


/* Electric And Plumbing services start */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container h5{
    text-align: center;
    margin-top:100px ;
    color: #113e6d;
    font-size: 30px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 530;
    
    
}

.container h6{
    text-align: start;
    margin-top:80px ;
    color: #113e6d;
    font-size: 30px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 530;
    
    
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 25px;
 color: #023c7a;
   margin-top: 80px;
   text-align: start;
   font-weight: 500;
   
  
}



.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 50px;
   
   
}

.service-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.service-img img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.service-content {
    padding: 25px;
    position: relative;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: white;
    margin: -50px auto 20px;
    position: relative;
    z-index: 1;
}

.plumbing-services .service-icon {
    background: var(--secondary-color);
}

.service-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    text-align: center;
}

.service-content p {
    color: #666;
    margin-bottom: 20px;
    text-align: center;
}

.service-features {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.service-features li {
    padding: 8px 0;
    position: relative;
    padding-left: 25px;
}

.service-features li:before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.plumbing-services .service-features li:before {
    color: var(--secondary-color);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        width:500px;
        margin-left:50px
    }
    
    .container h5 {
        font-size: 24px;
        margin-left:100px;
        display:inline-block;
        width:300px;
       
               
    }
}



:root {
    --primary: #2c3e50;
    --secondary: #3498db;
    --accent: #e74c3c;
    --light: #ecf0f1;
    --dark: #2c3e50;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}


.projects-section {
    padding: 80px 20px;
    max-width: 1400px;
    margin: 0 auto;
    
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}



.section-header p {
    color: #666;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 10px 25px;
    background: white;
    border: 2px solid var(--secondary);
    color: var(--secondary);
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.filter-btn:hover, .filter-btn.active {
    background: var(--secondary);
    color: white;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.project-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.project-img {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-card:hover .project-img img {
    transform: scale(1.1);
}

.project-category {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 0.9rem;
    z-index: 1;
}

.project-info {
    padding: 25px;
}

.project-info h3 {
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.project-info p {
    color: #666;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.project-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.project-location {
    display: flex;
    align-items: center;
    color: #666;
    font-size: 0.9rem;
}

.project-location i {
    margin-right: 5px;
    color: var(--accent);
}

.view-projects {
    color: var(--secondary);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: var(--transition);
}

.view-projects i {
    margin-left: 5px;
    transition: var(--transition);
}

.view-projects:hover {
    color: var(--accent);
}

.view-projects:hover i {
    transform: translateX(5px);
}

/* Modal styles */
.project-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.project-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    transform: scale(0.8);
    transition: var(--transition);
}

.project-modal.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1;
    border: none;
    font-size: 1.2rem;
    transition: var(--transition);
}

.modal-close:hover {
    background: #c0392b;
    transform: rotate(90deg);
}

.modal-body {
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    max-height: calc(90vh - 60px);
}

.modal-img {
    height: 400px;
    overflow: hidden;
}

.modal-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-info {
    padding: 30px;
}

.modal-info h3 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.modal-info .project-category {
    position: static;
    display: inline-block;
    margin-bottom: 20px;
}

.modal-info p {
    margin-bottom: 20px;
    line-height: 1.7;
}

.project-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.detail-item {
    background: #f5f5f5;
    padding: 15px;
    border-radius: 5px;
}

.detail-item h4 {
    color: var(--secondary);
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.detail-item p {
    margin: 0;
    font-weight: 600;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .projects-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
    
    .modal-body {
        flex-direction: column;
    }
    
    .modal-img {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .section-header h2 {
        font-size: 20px;
        margin-left:100px;
        
        
    }

    .section-header p{
        margin-left:80px;
        width:300px;
    }
    
    .filter-buttons {
        gap: 10px;
    }
    
    .filter-btn {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
    
    .modal-info {
        padding: 20px;
    }
    
    .modal-info h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .projects-grid {
        grid-template-columns: 1fr;
        width:400px;
        margin-left:80px;
    }
    
    .project-img {
        height: 200px;
    }
    
    .modal-img {
        height: 200px;
    }
    
    .project-details {
        grid-template-columns: 1fr;
    }
}

/* Animation classes */
.animate-in {
    animation: fadeInUp 0.5s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }



/* Team Section start */


/* ===== Variables ===== */
:root {
    --electric: #4361ee;
    --plumbing: #3a86ff;
    --carpentry: #f8961e;
    --painting: #7209b7;
    --dark: #222;
    --light: #f8f9fa;
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
}

/* ===== Team Section ===== */



.team-section {
    padding: 100px 0;
    background: #f9fafc;
    position: relative;
}

.container {
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    display: inline-block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--electric);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark);
    line-height: 1.2;
}

.section-description {
    font-size: 1.1rem;
    color: #6c757d;
 
    margin: 0 auto;
}

/* ===== Team Grid ===== */
.team-grid {
    display: flex;
    justify-content: space-around;
    gap: 22px;
  
}

.team-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    width: 500px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.member-image {
   height: 220px;
    position: relative;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: var(--transition);
}

.team-card:hover .member-image img {
    transform: scale(1.05);
}

.social-links {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 15px;
    transform: translateY(100px);
    opacity: 0;
    transition: var(--transition);
}

.team-card:hover .social-links {
    transform: translateY(0);
    opacity: 1;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--electric);
    color: white;
    transform: translateY(-5px);
}

.plumber .social-links a:hover {
    background: var(--plumbing);
}

.carpenter .social-links a:hover {
    background: var(--carpentry);
}

.painter .social-links a:hover {
    background: var(--painting);
}

.member-info {
    padding: 25px;
    text-align: center;
}

.member-info h3 {
    font-size: 1.4rem;
    margin-bottom: 5px;
    color: var(--dark);
}

.position {
    color: #6c757d;
    margin-bottom: 15px;
    font-weight: 500;
}

.expertise {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
}

.expertise span {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    background: #f1f3f5;
    color: #495057;
}

.electrician .expertise span {
    background: rgba(67, 97, 238, 0.1);
    color: var(--electric);
}

.plumber .expertise span {
    background: rgba(58, 134, 255, 0.1);
    color: var(--plumbing);
}

.carpenter .expertise span {
    background: rgba(248, 150, 30, 0.1);
    color: var(--carpentry);
}

.painter .expertise span {
    background: rgba(114, 9, 183, 0.1);
    color: var(--painting);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .section-title {
        font-size: 2.2rem;
    }

    .team-grid {
        display: flex;
        flex-direction: column;
        margin-left: 30px;
      }

      .team-card{
        width:350px;
      }
    
    .member-image {
        height: 250px;
    }
}

@media (max-width: 576px) {

    .team-section{
        width:510px
    }

    .team-grid{
        margin-left:80px;
    }

    
    .section-title h2{
        font-size: 2rem;
    }
}

:root {
    --primary-color: #4a6bff;
    --secondary-color: #ff7e4a;
    --dark-color: #333;
    --light-color: #f8f9fa;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f5f5;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.testimonial-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8eb 100%);
    position: relative;
    overflow: hidden;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title h2 {
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 15px;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    font-size: 2.2rem;
}


.section-title p {
    color: #666;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.testimonial-slider {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
}

.slider-container {
    display: flex;
    transition: transform 0.5s ease;
}

.slider-item {
    min-width: 100%;
    padding: 0 15px;
    transition: opacity 0.5s ease;
}

.testimonial-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
    border-top: 4px solid var(--primary-color);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.testimonial-card .quote-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 60px;
    color: rgba(74, 107, 255, 0.1);
    z-index: 0;
}

.testimonial-content {
    position: relative;
    z-index: 1;
}

.testimonial-text {
    font-style: italic;
    color: #555;
    margin-bottom: 20px;
    font-size: 1rem;
    line-height: 1.7;
}

.client-info {
    display: flex;
    align-items: center;
}

.client-img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
    margin-right: 15px;
}

.client-details h5 {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.client-details p {
    color: var(--primary-color);
    font-size: 0.9rem;
    margin-bottom: 0;
}

.rating {
    color: #ffc107;
    margin: 10px 0;
    font-size: 1rem;
}

.service-badge {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 10px;
}

.electric {
    background-color: rgba(74, 107, 255, 0.1);
    color: var(--primary-color);
}

.plumbing {
    background-color: rgba(0, 180, 216, 0.1);
    color: #00b4d8;
}

.carpentry {
    background-color: rgba(233, 196, 106, 0.1);
    color: #e9c46a;
}

.painting {
    background-color: rgba(230, 57, 70, 0.1);
    color: #e63946;
}

.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    gap: 20px;
}

.prev-btn, .next-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.prev-btn:hover, .next-btn:hover {
    background-color: #3a5ae8;
    transform: scale(1.1);
}

.slider-dots {
    display: flex;
    gap: 10px;
}

.slider-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ccc;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dots .dot.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .testimonial-section {
        padding: 50px 0;
        width:550px;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .testimonial-card {
        padding: 20px;
        width:400px;
        margin-left:50px;
    }
    
    .client-img {
        width: 60px;
        height: 60px;
    }
}

@media (min-width: 768px) {
    .slider-item {
        min-width: 50%;
    }
}

@media (min-width: 992px) {
    .slider-item {
        min-width: 33.33%;
    }
}

/* faq section start */


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
  }
  
  body {
    background: #fafafa;
    color: #111;
  }
  
  .faq-section {
    display: flex;
    justify-content: space-between;
    padding: 60px 10%;
    align-items: flex-start;
    gap: 60px;
    flex-wrap: wrap;
  }
  
  .faq-content {
    flex: 1;
    min-width: 320px;
  }
  
  .faq-content .highlight {
    color: #ff7a00;
    font-size: 20px;
    margin-bottom: 10px;
  }
  
  .faq-content h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
  }
  
  .faq-content p {
    font-size: 18px;
    color: #707070;
    margin-bottom: 30px;
    max-width: 500px;
  }
  
  .faq-button {
    background-color: #ff7a00;
    color: white;
    border: none;
    padding: 15px 25px;
    font-size: 18px;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.3s;
  }
  
  .faq-button:hover {
    background-color: #e86c00;
  }
  
  .faq-accordion {
    flex: 1;
    min-width: 320px;
  }
  
  .faq-item {
    background: white;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    overflow: hidden;
  }
  
  .faq-question {
    width: 100%;
    padding: 20px;
    text-align: left;
    background: white;
    border: none;
    font-size: 18px;
    font-weight: 500;
    position: relative;
    cursor: pointer;
  }
  
  .faq-question::after {
    content: "\25BC";
    position: absolute;
    right: 20px;
    transition: transform 0.3s ease;
  }
  
  .faq-question.active::after {
    transform: rotate(180deg);
  }
  
  .faq-answer {
    padding: 0 20px 20px 20px;
    display: none;
    font-size: 16px;
    color: #555;
  }


  @media(max-width: 768px){

    .faq-content {
      margin-left:100px
    }

    .faq-item{
        width: 450px;
        margin-left:40px;
    }
  }

  
  /* footer start */

  
  :root {
    --primary-color: #2a5ee8;
    --secondary-color: #ff6b00;
    --dark-color: #1a1a2e;
    --light-color: #f8f9fa;
    --text-color: #333;
    --text-light: #777;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f5f5f5;
}

footer {
    background-color: var(--dark-color);
    color: var(--light-color);
    padding: 60px 0 20px;
    position: relative;
    overflow: hidden;
    margin-top: 50px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
}



.footer-logo {
    margin-bottom: 20px;
}

.footer-logo h2 {
    font-size: 28px;
    color: white;
    margin-bottom: 10px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.footer-logo p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
}

.newsletter {
    margin-top: 20px;
}

.newsletter h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: white;
}

.newsletter-form {
    display: flex;
    margin-bottom: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 4px 0 0 4px;
    font-size: 14px;
    outline: none;
}

.newsletter-form button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0 20px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background-color: var(--secondary-color);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: white;
    background-color: rgba(255, 255, 255, 0.1);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    text-decoration: none;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-links h3 {
    font-size: 18px;
    color: white;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links ul li a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-contact h3 {
    font-size: 18px;
    color: white;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-contact h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.contact-icon {
    color: var(--primary-color);
    font-size: 18px;
    margin-top: 3px;
}

.contact-text {
    color: var(--text-light);
    line-height: 1.5;
}

.contact-text a {
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-text a:hover {
    color: white;
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
    margin-top: 40px;
    text-align: center;
    color: var(--text-light);
    font-size: 14px;
}

.footer-bottom p {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.service-badge {
    position: absolute;
    top: -20px;
    right: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: bold;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transform: rotate(5deg);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(5deg);
    }
    50% {
        transform: translateY(-10px) rotate(5deg);
    }
}

@media (max-width: 768px) {
    footer{
        width:600px
    }
    .footer-container {
        grid-template-columns: 1fr;
        
    }
    
    .service-badge {
        right: 20px;
        top: -15px;
        font-size: 14px;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input {
        border-radius: 4px;
        margin-bottom: 10px;
        width: 300px;
    }
    
    .newsletter-form button {
        border-radius: 4px;
        padding: 12px;
        width: 300px;
    
    }

    .newsletter{
        margin-left: 80px;
    }

    .footer-logo{
        margin-left: 50px;
    }

    .footer-links{
        margin-left: 150px;
    }

    .footer-contact{
        margin-left: 120px;
    }
}


        /* === Global Styles === */
        :root {
            --primary: #2a5f8a;
            --accent: #f8b400;
            --dark: #333;
            --light: #f9f9f9;
            --gray: #e0e0e0;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

        body {
            background-color: #f5f7fa;
            color: var(--dark);
            line-height: 1.6;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        /* === Hero Section === */
        .about-hero {
            background: linear-gradient(rgba(42, 95, 138, 0.8), rgba(42, 95, 138, 0.8)), 
                      url('img/team2.jpg');
            background-size: cover;
            background-position: center;
            color: white;
            text-align: center;
            padding: 10rem 1rem;
            margin-bottom: 5rem;
        }

        .about-hero h1 {
            font-size: 3.5rem;
            margin-bottom: 1.5rem;
            font-weight: 700;
            text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
        }

        .about-hero p {
            font-size: 1.2rem;
            max-width: 700px;
            margin: 0 auto 2rem;
            opacity: 0.9;
        }

        .breadcrumb {
            display: flex;
            justify-content: center;
            margin-top: 2rem;
            font-size: 0.9rem;
        }

        .breadcrumb a {
            color: var(--accent);
            text-decoration: none;
            transition: all 0.3s;
        }

        .breadcrumb a:hover {
            text-decoration: underline;
        }

        .breadcrumb span {
            margin: 0 0.5rem;
            color: rgba(255, 255, 255, 0.7);
        }

        /* === About Content === */
        .about-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            margin: 5rem 0;
            align-items: center;
        }

        @media (max-width: 768px) {
            .about-content {
                grid-template-columns: 1fr;
            }
        }

        .about-text h2 {
            font-size: 2.5rem;
            color: var(--primary);
            margin-bottom: 1.5rem;
            position: relative;
            padding-bottom: 1rem;
        }

        .about-text h2::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 80px;
            height: 4px;
            background: var(--accent);
            border-radius: 2px;
        }

        .about-text p {
            margin-bottom: 1.5rem;
            color: #555;
            line-height: 1.8;
        }

        .about-image {
            position: relative;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
        }

        .about-image img {
            width: 100%;
            height: auto;
            display: block;
            transition: transform 0.5s;
        }

        .about-image:hover img {
            transform: scale(1.05);
        }

        .experience-badge {
            position: absolute;
            bottom: -20px;
            right: -20px;
            background: var(--accent);
            color: white;
            padding: 1.5rem;
            border-radius: 50%;
            width: 120px;
            height: 120px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            box-shadow: 0 10px 30px rgba(248, 180, 0, 0.3);
            z-index: 2;
        }

        .experience-badge span:first-child {
            font-size: 2.5rem;
            font-weight: 700;
            line-height: 1;
        }

        .experience-badge span:last-child {
            font-size: 0.9rem;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        /* === Our Values === */
        .values-section {
            background-color: var(--light);
            padding: 5rem 0;
            margin: 5rem 0;
        }

        .section-title {
            text-align: center;
            margin-bottom: 4rem;
        }

        .section-title h2 {
            font-size: 2.5rem;
            color: var(--primary);
            margin-bottom: 1rem;
        }

        .section-title p {
            color: #666;
            max-width: 700px;
            margin: 0 auto;
        }

        .values-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
        }

        .value-card {
            background: white;
            border-radius: 10px;
            padding: 2.5rem;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            transition: all 0.3s;
            text-align: center;
        }

        .value-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
        }

        .value-icon {
            width: 80px;
            height: 80px;
            background: var(--primary);
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1.5rem;
            font-size: 2rem;
            transition: all 0.3s;
        }

        .value-card:hover .value-icon {
            background: var(--accent);
            transform: rotateY(180deg);
        }

        .value-card h3 {
            font-size: 1.5rem;
            margin-bottom: 1rem;
            color: var(--primary);
        }

        .value-card p {
            color: #666;
            line-height: 1.7;
        }

        /* === Our Team === */
        .team-section {
            padding: 5rem 0;
        }

        .team-members {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
            margin-top: 3rem;
        }

        .team-member {
            background: white;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            transition: all 0.3s;
            text-align: center;
        }

        .team-member:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
        }

        .member-image {
            height: 300px;
            overflow: hidden;
            position: relative;
        }

        .member-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s;
        }

        .team-member:hover .member-image img {
            transform: scale(1.1);
        }

        .member-info {
            padding: 1.5rem;
        }

        .member-info h3 {
            font-size: 1.3rem;
            margin-bottom: 0.5rem;
            color: var(--primary);
        }

        .member-info p {
            color: var(--accent);
            font-weight: 600;
            margin-bottom: 1rem;
        }

        .member-social {
            display: flex;
            justify-content: center;
            gap: 1rem;
        }

        .member-social a {
            width: 35px;
            height: 35px;
            background: var(--primary);
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s;
        }

        .member-social a:hover {
            background: var(--accent);
            transform: translateY(-3px);
        }

        /* === Call to Action === */
        .cta-section {
            background: linear-gradient(rgba(42, 95, 138, 0.9), rgba(42, 95, 138, 0.9)), 
                      url('img/cta-bg.jpg');
            background-size: cover;
            background-position: center;
            color: white;
            text-align: center;
            padding: 5rem 1rem;
            border-radius: 10px;
            margin: 5rem 0;
        }

        .cta-section h2 {
            font-size: 2.5rem;
            margin-bottom: 1.5rem;
        }

        .cta-section p {
            max-width: 700px;
            margin: 0 auto 2rem;
            font-size: 1.1rem;
            opacity: 0.9;
        }

        .cta-btn {
            display: inline-block;
            background: var(--accent);
            color: white;
            padding: 1rem 2.5rem;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 600;
            font-size: 1.1rem;
            transition: all 0.3s;
            box-shadow: 0 5px 15px rgba(248, 180, 0, 0.3);
        }

        .cta-btn:hover {
            background: #e6a700;
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(248, 180, 0, 0.4);
        }

        .cta-btn i {
            margin-left: 0.5rem;
        }


        /* language switcher */
/* Language Switcher */
.lang-switcher {
    position: relative;
    margin-left: 15px;
}

.lang-btn {
    background: #f8b400;
    color: #fff;
    border: none;
    padding: 8px 20px;
    border-radius: 25px;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    display: none;
    min-width: 120px;
    z-index: 1000;
}

.lang-dropdown.show {
    display: block;
}

.lang-dropdown a {
    display: block;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.lang-dropdown a:hover {
    background: #f5f5f5;
}

/* RTL Support */
.rtl {
    direction: rtl;
    text-align: right;
}

.rtl .navbar {
    text-align: right;
}

.rtl .nav-links {
    margin-right: auto;
    margin-left: 0;
}

.rtl .service-card,
.rtl .project-card {
    text-align: right;
}

.rtl .form-group label {
    right: 1rem;
    left: auto;
}










