/* Global Styles */
:root {
    --primary: #e63946;
    --secondary: #f1faee;
    --dark: #1d3557;
    --black: #0a0a0a;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--white);
    color: var(--black);
    line-height: 1.6;
}

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

section {
    padding: 80px 0;
}

h1, h2, h3 {
            font-weight: 700;
            margin-bottom: 20px;
        }
        
        h1 {
            font-size: 2.5rem;
        }
        
        h2 {
            font-size: 2rem;
            color: var(--dark);
        }
        
        h3 {
            font-size: 1.5rem;
        }
        
        p {
            margin-bottom: 15px;
        }
        
        .btn {
            display: inline-block;
            background-color: var(--primary);
            color: var(--white);
            padding: 12px 30px;
            border: none;
            border-radius: 4px;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s ease;
            cursor: pointer;
        }
        
        .btn:hover {
            background-color: #c1121f;
            transform: translateY(-2px);
        }
        
        .btn-outline {
            background-color: transparent;
            border: 2px solid var(--primary);
            color: var(--primary);
        }
        
        .btn-outline:hover {
            background-color: var(--primary);
            color: var(--white);
        }
        
        .text-center {
            text-align: center;
        }
        
        /* Header Styles */
        header {
            background-color: var(--white);
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 1000;
        }
        
        .header-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px 0;
        }
        
        .logo {
            font-size: 1.8rem;
            font-weight: 700;
            color: var(--primary);
            text-decoration: none;
        }
        
        .logo span {
            color: var(--black);
        }
        
        nav ul {
            display: flex;
            list-style: none;
        }
        
        nav ul li {
            margin-left: 30px;
        }
        
        nav ul li a {
            text-decoration: none;
            color: var(--black);
            font-weight: 600;
            transition: color 0.3s ease;
        }
        
        nav ul li a:hover {
            color: var(--primary);
        }
        
        .mobile-menu-btn {
            display: none;
            background: none;
            border: none;
            font-size: 1.5rem;
            color: var(--black);
            cursor: pointer;
        }
        
        /* Hero Section */
        .hero {
            background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1467232004584-a241de8bcf5d?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80') no-repeat center center/cover;
            height: 100vh;
            display: flex;
            align-items: center;
            text-align: center;
            color: var(--white);
            margin-top: 80px;
        }
        
        .hero-content {
            max-width: 800px;
            margin: 0 auto;
        }
        
        .hero h1 {
            font-size: 3rem;
            margin-bottom: 20px;
            color: var(--white);
        }
        
        .hero p {
            font-size: 1.2rem;
            margin-bottom: 30px;
        }
        
        /* Services Section */
        .services {
            background-color: var(--secondary);
        }
        
        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 30px;
            margin-top: 50px;
        }
        
        .service-card {
            background-color: var(--white);
            padding: 30px;
            border-radius: 8px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s ease;
            text-align: center;
        }
        
        .service-card:hover {
            transform: translateY(-10px);
        }
        
        .service-icon {
            font-size: 3rem;
            color: var(--primary);
            margin-bottom: 20px;
        }
        
        /* Why Choose Us Section */
        .why-us {
            background-color: var(--white);
        }
        
        .features {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            margin-top: 50px;
        }
        
        .feature {
            padding: 20px;
        }
        
        .feature i {
            color: var(--primary);
            font-size: 1.5rem;
            margin-bottom: 15px;
        }
        
        /* Trust Indicators */
        .trust {
            background-color: var(--secondary);
            padding: 50px 0;
        }
        
        .clients {
            display: flex;
            justify-content: space-around;
            flex-wrap: wrap;
            align-items: center;
            margin-top: 30px;
        }
        
        .client-logo {
            height: 60px;
            margin: 20px;
            filter: grayscale(10%);
            opacity: 0.7;
            transition: all 0.3s ease;
        }
        
        .client-logo:hover {
            filter: grayscale(0);
            opacity: 1;
        }
        
        .testimonials {
            margin-top: 50px;
        }
        
        .testimonial {
            background-color: var(--white);
            padding: 30px;
            border-radius: 8px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            margin-bottom: 30px;
        }
        
        .testimonial-author {
            font-weight: 600;
            margin-top: 20px;
            color: var(--primary);
        }
        
        /* About Section */
        .about {
            background-color: var(--secondary);
        }
        
        .about-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 50px;
            align-items: center;
        }
        
        .about-img {
            width: 100%;
            border-radius: 8px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }
        
        .mission-vision {
            margin-top: 50px;
        }
        
        .mv-item {
            margin-bottom: 30px;
        }
        
        .values {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 20px;
            margin-top: 30px;
        }
        
        .value {
            background-color: var(--white);
            padding: 20px;
            border-radius: 8px;
            text-align: center;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }
        
        /* Services Page */
        .services-page {
            background-color: var(--white);
        }
        
        .service-details {
            margin-top: 50px;
        }
        
        .service-detail {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 50px;
            align-items: center;
            margin-bottom: 60px;
        }
        
        .service-detail:nth-child(even) .service-text {
            order: 2;
        }
        
        .service-detail:nth-child(even) .service-img {
            order: 1;
        }
        
       .service-img {
            width: 100%;
            height: 100%; /* Make image fill the container */
            object-fit: cover; /* This ensures the image covers the area while maintaining aspect ratio */
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s ease; /* Optional: add hover effect */
        }

        .service-img-container {
    position: relative;
    height: 300px; /* Fixed height for all containers */
    overflow: hidden;
    border-radius: 8px;
}

        .service-img:hover {
            transform: scale(1.05); /* Optional: slight zoom on hover */
        }
        
        /* Contact Section */
        .contact {
            background-color: var(--secondary);
        }

        .highlight-link {
  color: #e63946;
  text-decoration: none;
  background-image: linear-gradient(#e63946, #e63946);
  background-size: 0% 2px;
  background-repeat: no-repeat;
  background-position: left bottom;
  transition: background-size 0.3s ease;
}

.highlight-link:hover {
  background-size: 100% 2px;
}
        
        .contact-container {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 50px;
        }
        
        .contact-form {
            background-color: var(--white);
            padding: 30px;
            border-radius: 8px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }
        
        .form-group {
            margin-bottom: 20px;
        }
        
        .form-group label {
            display: block;
            margin-bottom: 5px;
            font-weight: 600;
        }
        
        .form-group input,
        .form-group textarea {
            width: 100%;
            padding: 10px;
            border: 1px solid #ddd;
            border-radius: 4px;
            font-size: 1rem;
        }
        
        .form-group textarea {
            height: 150px;
        }
        
        .contact-info {
            padding: 20px;
        }
        
        .contact-item {
            display: flex;
            align-items: flex-start;
            margin-bottom: 30px;
        }
        
        .contact-icon {
            font-size: 1.5rem;
            color: var(--primary);
            margin-right: 20px;
            margin-top: 5px;
        }
        
        /* Footer */
        footer {
            background-color: var(--black);
            color: var(--white);
            padding: 50px 0 20px;
        }
        
        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 30px;
            margin-bottom: 40px;
        }
        
        .footer-column h3 {
            color: var(--white);
            margin-bottom: 20px;
        }
        
        .footer-column ul {
            list-style: none;
        }
        
        .footer-column ul li {
            margin-bottom: 10px;
        }
        
        .footer-column ul li a {
            color: #ccc;
            text-decoration: none;
            transition: color 0.3s ease;
        }
        
        .footer-column ul li a:hover {
            color: var(--primary);
        }
        
        .social-links {
            display: flex;
            gap: 15px;
        }
        
        .social-links a {
            color: var(--white);
            font-size: 1.2rem;
            transition: color 0.3s ease;
        }
        
        .social-links a:hover {
            color: var(--primary);
        }
        
        .copyright {
            text-align: center;
            padding-top: 20px;
            border-top: 1px solid #333;
            color: #ccc;
            font-size: 0.9rem;
        }
        
        /* Mobile Responsiveness */
        @media (max-width: 768px) {
            .header-container {
                padding: 15px 0;
            }
            
            nav ul {
                position: fixed;
                top: 80px;
                left: -100%;
                width: 100%;
                height: calc(100vh - 80px);
                background-color: var(--white);
                flex-direction: column;
                align-items: center;
                padding-top: 30px;
                transition: left 0.3s ease;
            }
            
            nav ul.active {
                left: 0;
            }
            
            nav ul li {
                margin: 15px 0;
            }
            
            .mobile-menu-btn {
                display: block;
            }
            
            .hero h1 {
                font-size: 2.2rem;
            }
            
            .about-content,
            .service-detail,
            .contact-container {
                grid-template-columns: 1fr;
            }
            
            .service-detail:nth-child(even) .service-text,
            .service-detail:nth-child(even) .service-img {
                order: initial;
            }
            
            section {
                padding: 60px 0;
            }
        }



        .clients {
        display: flex;
        justify-content: space-around;
        flex-wrap: wrap;
        align-items: center;
        margin-top: 30px;
        gap: 20px;
    }
    
    .client-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        max-width: 150px;
        transition: transform 0.3s ease;
    }
    
    .client-logo {
        height: 60px;
        margin-bottom: 10px;
        opacity: 0.9;
        transition: all 0.3s ease;
    }
    
    .client-item:hover {
        transform: translateY(-5px);
    }
    
    .client-item:hover .client-logo {
        opacity: 1;
        filter: drop-shadow(0 4px 8px rgba(0,0,0,0.15));
        transform: scale(1.1);
    }
    
    .client-item:hover .client-name {
        color: var(--primary);
        font-weight: 600;
    }
    
    .client-name {
        margin-top: 8px;
        font-size: 0.9rem;
        color: var(--dark);
        font-weight: 500;
        line-height: 1.3;
        transition: all 0.3s ease;
    }
    
    @media (max-width: 768px) {
        .client-item {
            max-width: 120px;
        }
        
        .client-logo {
            height: 50px;
        }
        
        .client-name {
            font-size: 0.8rem;
        }
    }

    .modal {
        display: none;
        position: fixed;
        z-index: 2000;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0,0,0,0.8);
    }
    
    .modal-content {
        background-color: var(--white);
        margin: 5% auto;
        padding: 20px;
        width: 80%;
        max-width: 800px;
        border-radius: 8px;
    }
    
    .preview-images {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        margin: 20px 0;
    }
    
    .preview-images img {
        width: 100%;
        border: 1px solid #eee;
        border-radius: 4px;
    }
    
    .close {
        color: #aaa;
        float: right;
        font-size: 28px;
        font-weight: bold;
        cursor: pointer;
    }


  .close:hover {
    color: var(--primary);
    cursor: pointer;
}


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

/* Header, Hero, Services, Why Choose Us, Testimonials, About, Services Page, Contact, Footer */