/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Header and Navigation */
header {
    position: fixed;
    width: 100%;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 1000;
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo a {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li a {
    color: #333;
    text-decoration: none;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
    font-size: 1.2rem;
    font-weight: 500;
}

.nav-links li a:hover {
    color: #007bff;
}

.language-selector {
    margin-right: 1rem;
}

.translate-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.translate-btn:hover {
    background: #0056b3;
}

.translate-btn i {
    font-size: 1.2rem;
}

.lang-text {
    font-weight: 500;
}

/* Responsive Design for Language Selector */
@media (max-width: 768px) {
    .language-selector {
        margin: 0;
        order: -1;
    }
    
    .translate-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
}

.phone-number a {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../images/bg.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding: 0 5%;
}

.hero-content {
    color: white;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 4rem;
    color: white;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 2rem;
    transition: background 0.3s ease;
}

.cta-button:hover {
    background: #0056b3;
}

/* About Section */
.about {
    padding: 6rem 5%;
    background: #fff;
}

.about-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-content {
    padding: 2rem 0;
}

.about-content h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #333;
}

.about-text .lead {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.about-text h2 {
    font-size: 1.8rem;
    margin: 2rem 0 1rem;
    color: #333;
}

.about-text ul {
    list-style: none;
    margin-bottom: 2rem;
}

.about-text ul li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.about-text ul li:before {
    content: "•";
    color: #007bff;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.company-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

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

.stat-item h3 {
    font-size: 1rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #007bff;
}

/* Services Section */
.services {
    padding: 5rem 5%;
    background: #f8f9fa;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.service-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.service-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
    color: #fff;
}

.electrical-service {
    position: relative;
    z-index: 2;
    padding: 2rem;
    color: #fff;
    background: url('../images/electrical.jpg') no-repeat scroll 50% 0 transparent;
    background-blend-mode: lighten;
    background-size:100% 100%;
 
}

.hvac-service {
    position: relative;
    z-index: 2;
    padding: 2rem;
    color: #fff;
    background: url('../images/hvac.jpg') no-repeat scroll 50% 0 transparent;
    background-size:100% 100%;
    
}

.a-service {
    position: relative;
    z-index: 2;
    padding: 2rem;
    color: #fff;
    background: url('../images/aservice.jpg') no-repeat scroll 50% 0 transparent;
    background-size:100% 100%;

}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card h2 {
    color: #fff;
    margin-bottom: 1rem;
}

.service-card p {
    color: #fff;
    margin-bottom: 1.5rem;
}

.service-card ul {
    list-style: none;
    padding: 0;
}

.service-card ul li {
    color: #fff;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.service-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #fff;
}

/* Projects Section */
.projects {
    padding: 5rem 5%;
    background: #fff;
}

.projects-container {
    max-width: 1400px;
    margin: 0 auto;
}

.projects h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
}

.project-filters {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

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

.filter-group h3 {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 1rem;
}

.filter-btn {
    background: none;
    border: none;
    padding: 0.5rem 1rem;
    margin: 0.25rem;
    cursor: pointer;
    font-size: 1rem;
    color: #666;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    color: #007bff;
    background: rgba(0, 123, 255, 0.1);
    border-radius: 20px;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.project-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-image {
    position: relative;
    padding-bottom: 75%; /* 4:3 Aspect Ratio */
    background: #f5f5f5;
}

.project-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 2rem;
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.project-card:hover .project-overlay {
    transform: translateY(0);
}

.project-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.project-overlay p {
    font-size: 1rem;
    opacity: 0.9;
}

/* Trust Section */
.trust {
    padding: 5rem 5%;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.trust h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.learn-more {
    display: inline-block;
    margin-top: 2rem;
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}

/* Footer */
footer {
    background: #333;
    color: white;
    padding: 4rem 5% 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-links ul {
    list-style: none;
}

.footer-links a {
    color: white;
    text-decoration: none;
    display: block;
    padding: 0.5rem 0;
}

.footer-bottom {
    padding: 1rem 0;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Social Media Links */
.social-links {
    margin-top: 15px;
    display: flex;
    gap: 15px;
}

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

.social-links a:hover {
    background-color: #0078d4;
    transform: translateY(-3px);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu span {
    display: block;
    width: 25px;
    height: 3px;
    background: #333;
    margin: 5px 0;
    transition: 0.3s;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        padding: 1rem 0;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        display: block;
    }

    .nav-links li {
        display: block;
        text-align: center;
    }

    .mobile-menu {
        display: block;
    }

    .hero-content h1 {
        font-size: 3rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.hero-content {
    animation: fadeIn 1s ease-out;
}

/* Responsive Design for About Section */
@media (max-width: 968px) {
    .about-container {
        grid-template-columns: 1fr;
    }

    .about-image {
        margin-bottom: 2rem;
    }

    .company-stats {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}

@media (max-width: 768px) {
    .about {
        padding: 4rem 5%;
    }

    .about-content h1 {
        font-size: 2rem;
    }

    .about-text .lead {
        font-size: 1.1rem;
    }

    .stat-number {
        font-size: 2rem;
    }
}

/* Responsive Design for Projects */
@media (max-width: 768px) {
    .project-filters {
        flex-direction: column;
        gap: 2rem;
    }

    .project-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }

    .project-overlay {
        transform: translateY(0);
        background: linear-gradient(transparent, rgba(0,0,0,0.9));
    }

    .project-overlay h3 {
        font-size: 1.2rem;
    }

    .project-overlay p {
        font-size: 0.9rem;
    }
} 