:root {
            --primary-color: #333;
            --secondary-color: #555;
            --accent-color: #000;
            --light-color: #fff;
            --bg-color: #f5f5f5;
            --transition: all 0.3s ease;
        }

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

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: 'Poppins', sans-serif;
            line-height: 1.6;
            color: var(--primary-color);
            overflow-x: hidden;
        }

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

        /* Animation Elements */
        #animation-container {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
            background-color: #000;
            z-index: 9999;
            overflow: hidden;
        }

        #animation-text {
            display: flex;
            color: #fff;
            font-size: 5rem;
            font-weight: 600;
            letter-spacing: 5px;
        }

        .letter {
            opacity: 0;
            transform: translateY(20px);
        }

        /* Navbar */
        .navbar {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            padding: 20px 0;
            z-index: 100;
            transition: var(--transition);
            background-color: rgba(255, 255, 255, 0.95);
        }

        .navbar.scrolled {
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        }

        .navbar-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--primary-color);
            text-decoration: none;
        }

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

        .nav-link {
            margin-left: 30px;
            color: var(--primary-color);
            text-decoration: none;
            font-weight: 500;
            transition: var(--transition);
        }

        .nav-link:hover {
            color: var(--accent-color);
        }

        /* Hero Section */
        .hero {
            position: relative;
            height: 100vh;
            display: flex;
            align-items: center;
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            background-image: url('https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2053&q=80');
        }

        .hero-content {
            position: relative;
            z-index: 1;
            width: 100%;
        }

        .hero-title {
            position: relative;
            font-size: 3.5rem;
            font-weight: 700;
            color: #fff;
            margin-bottom: 20px;
            line-height: 1.2;
        }

        .hero-title::before {
            content: '';
            position: absolute;
            top: -20px;
            left: -20px;
            right: -20px;
            bottom: -20px;
            background: rgba(0, 0, 0, 0.5);
            filter: blur(10px);
            z-index: -1;
            border-radius: 10px;
        }

        .hero-subtitle {
            position: relative;
            font-size: 1.25rem;
            color: #fff;
            margin-bottom: 30px;
            max-width: 700px;
        }

        .hero-subtitle::before {
            content: '';
            position: absolute;
            top: -10px;
            left: -20px;
            right: -20px;
            bottom: -10px;
            background: rgba(0, 0, 0, 0.5);
            filter: blur(10px);
            z-index: -1;
            border-radius: 10px;
        }

        .hero-btn {
            display: inline-block;
            padding: 15px 30px;
            background-color: var(--primary-color);
            color: #fff;
            text-decoration: none;
            font-weight: 500;
            border-radius: 5px;
            transition: var(--transition);
        }

        .hero-btn:hover {
            background-color: var(--accent-color);
            transform: translateY(-3px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        }

        /* About Section */
        .about {
            padding: 100px 0;
            background-color: var(--bg-color);
        }

        .section-title {
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 50px;
            text-align: center;
            position: relative;
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: -15px;
            left: 50%;
            transform: translateX(-50%);
            width: 100px;
            height: 3px;
            background-color: var(--accent-color);
        }

        .about-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 50px;
            margin-top: 50px;
        }

        .about-content {
            background: #fff;
            padding: 40px;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        }

        .about-title {
            font-size: 1.8rem;
            font-weight: 600;
            margin-bottom: 20px;
            color: var(--accent-color);
        }

        .about-text {
            margin-bottom: 30px;
            color: var(--secondary-color);
        }

        .values-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 20px;
            margin-top: 30px;
        }

        .value-item {
            background: #f9f9f9;
            padding: 20px;
            border-radius: 8px;
            transition: var(--transition);
        }

        .value-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
        }

        .value-title {
            font-size: 1.2rem;
            font-weight: 600;
            margin-bottom: 10px;
            color: var(--accent-color);
        }

        .value-text {
            font-size: 0.9rem;
            color: var(--secondary-color);
        }

        /* Services Section */
        .services {
            padding: 100px 0;
            background-color: #fff;
        }

        .services-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 30px;
        }

        .service-card {
            background: #f9f9f9;
            padding: 30px;
            border-radius: 10px;
            transition: var(--transition);
            text-align: center;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        }

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

        .service-icon {
            font-size: 2.5rem;
            color: var(--accent-color);
            margin-bottom: 20px;
        }

        .service-title {
            font-size: 1.2rem;
            font-weight: 600;
            margin-bottom: 15px;
            color: var(--primary-color);
        }

        .service-text {
            font-size: 0.9rem;
            color: var(--secondary-color);
        }

        /* Projects Section */
        .projects {
            padding: 100px 0;
            background-color: var(--bg-color);
        }

        .projects-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 30px;
        }

        .project-card {
            position: relative;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            background-color: #fff;
            transition: var(--transition);
        }

        .project-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
        }

        .project-img {
            width: 100%;
            height: 300px;
            object-fit: cover;
            border-radius: 10px 10px 0 0;
            filter: blur(3px);
            transition: filter 0.3s ease;
        }

        .project-card:hover .project-img {
            filter: blur(0);
        }

        .project-number {
            position: absolute;
            top: 20px;
            left: 20px;
            font-size: 3rem;
            font-weight: 700;
            color: #fff;
            text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
        }

        .project-content {
            padding: 20px;
        }

        .project-title {
            font-size: 1.5rem;
            font-weight: 600;
            margin-bottom: 10px;
            color: var(--accent-color);
        }

        .project-location {
            font-size: 1rem;
            color: var(--secondary-color);
            margin-bottom: 15px;
        }

        .project-details {
            margin-top: 20px;
        }

        .project-detail {
            display: flex;
            margin-bottom: 10px;
            font-size: 0.9rem;
        }

        .detail-label {
            width: 40%;
            font-weight: 600;
            color: var(--primary-color);
        }

        .detail-value {
            width: 60%;
            color: var(--secondary-color);
        }

        .project-btn {
            display: inline-block;
            padding: 10px 20px;
            margin-top: 15px;
            background-color: var(--primary-color);
            color: #fff;
            text-decoration: none;
            font-weight: 500;
            border-radius: 5px;
            transition: var(--transition);
            border: none;
            cursor: pointer;
        }

        .project-btn:hover {
            background-color: var(--accent-color);
        }

        /* Project Detail Section */
        .project-detail-section {
            padding: 100px 0;
            background-color: #fff;
            display: none;
        }

        .project-detail-container {
            background: #fff;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            padding: 40px;
        }

        .project-detail-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 30px;
        }

        .project-detail-title {
            font-size: 2rem;
            font-weight: 700;
            color: var(--accent-color);
        }

        .back-btn {
            display: inline-block;
            padding: 10px 20px;
            background-color: var(--primary-color);
            color: #fff;
            text-decoration: none;
            font-weight: 500;
            border-radius: 5px;
            transition: var(--transition);
            border: none;
            cursor: pointer;
        }

        .back-btn:hover {
            background-color: var(--accent-color);
        }

        .project-detail-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 30px;
        }

        .project-detail-info {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 20px;
            margin-bottom: 30px;
        }

        .detail-item {
            background: #f9f9f9;
            padding: 15px;
            border-radius: 8px;
        }

        .detail-item-title {
            font-weight: 600;
            margin-bottom: 5px;
            color: var(--primary-color);
        }

        .detail-item-text {
            color: var(--secondary-color);
            font-size: 0.9rem;
        }

        .project-gallery {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 20px;
            margin-top: 30px;
        }

        .gallery-img {
            width: 100%;
            height: 200px;
            object-fit: cover;
            border-radius: 8px;
            transition: var(--transition);
        }

        .gallery-img:hover {
            transform: scale(1.05);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        }

        /* More Section */
        .more-section {
            padding: 100px 0;
            background-color: #fff;
        }

        .more-img {
            width: 100%;
            max-width: 800px;
            margin: 0 auto;
            display: block;
            border-radius: 10px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            transition: var(--transition);
        }

        .more-img:hover {
            transform: scale(1.02);
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
        }

        /* Contact Section */
        .contact {
            padding: 100px 0;
            background-color: var(--bg-color);
        }

        .contact-content {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 50px;
        }

        .contact-info {
            background: #fff;
            padding: 40px;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        }

        .contact-title {
            font-size: 1.8rem;
            font-weight: 600;
            margin-bottom: 20px;
            color: var(--accent-color);
        }

        .contact-text {
            margin-bottom: 30px;
            color: var(--secondary-color);
        }

        .contact-details {
            margin-top: 30px;
        }

        .contact-item {
            display: flex;
            align-items: center;
            margin-bottom: 20px;
        }

        .contact-icon {
            font-size: 1.5rem;
            color: var(--accent-color);
            margin-right: 15px;
        }

        .contact-form {
            background: #fff;
            padding: 40px;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        }

        .form-group {
            margin-bottom: 20px;
        }

        .form-label {
            display: block;
            margin-bottom: 8px;
            font-weight: 500;
            color: var(--primary-color);
        }

        .form-control {
            width: 100%;
            padding: 12px 15px;
            border: 1px solid #ddd;
            border-radius: 5px;
            font-size: 1rem;
            transition: var(--transition);
        }

        .form-control:focus {
            border-color: var(--accent-color);
            outline: none;
            box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
        }

        .submit-btn {
            display: inline-block;
            padding: 12px 30px;
            background-color: var(--primary-color);
            color: #fff;
            text-decoration: none;
            font-weight: 500;
            border-radius: 5px;
            transition: var(--transition);
            border: none;
            cursor: pointer;
        }

        .submit-btn:hover {
            background-color: var(--accent-color);
        }

        /* Footer */
        .footer {
            padding: 50px 0;
            background-color: var(--primary-color);
            color: #fff;
        }

        .footer-content {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 50px;
        }

        .footer-logo {
            font-size: 1.8rem;
            font-weight: 700;
            margin-bottom: 20px;
        }

        .footer-text {
            margin-bottom: 20px;
            font-size: 0.9rem;
            color: #ddd;
        }

        .footer-title {
            font-size: 1.2rem;
            font-weight: 600;
            margin-bottom: 20px;
        }

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

        .footer-link {
            margin-bottom: 15px;
        }

        .footer-link a {
            color: #ddd;
            text-decoration: none;
            transition: var(--transition);
        }

        .footer-link a:hover {
            color: #fff;
        }

        .footer-social {
            display: flex;
            margin-top: 20px;
        }

        .social-link {
            display: flex;
            justify-content: center;
            align-items: center;
            width: 40px;
            height: 40px;
            background-color: rgba(255, 255, 255, 0.1);
            color: #fff;
            border-radius: 50%;
            margin-right: 15px;
            text-decoration: none;
            transition: var(--transition);
        }

        .social-link:hover {
            background-color: #fff;
            color: var(--primary-color);
        }

        .footer-bottom {
            margin-top: 50px;
            padding-top: 20px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            text-align: center;
            font-size: 0.9rem;
            color: #ddd;
        }

        /* Media Queries */
        @media (max-width: 1024px) {
            .about-grid,
            .services-grid,
            .projects-grid,
            .project-detail-content,
            .contact-content,
            .footer-content {
                grid-template-columns: 1fr;
            }

            .services-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .hero-title {
                font-size: 3rem;
            }
        }

        @media (max-width: 768px) {
  body {
    font-size: 75%; /* Reduce base font size by 25% */
  }


            .services-grid,
            .project-detail-info,
            .project-gallery {
                grid-template-columns: 1fr;
            }

            .hero-title {
                font-size: 2.5rem;
            }

            .section-title {
                font-size: 2rem;
            }

            .navbar-container {
                flex-direction: column;
            }

            .nav-links {
                margin-top: 20px;
            }

            .nav-link {
                margin-left: 15px;
                margin-right: 15px;
            }
        }

        @media (max-width: 576px) {
            .values-grid {
                grid-template-columns: 1fr;
            }

            .hero-title {
                font-size: 2rem;
            }

            .section-title {
                font-size: 1.8rem;
            }
        }

        @media (max-width: 576px) {
            #animation-text {
                font-size: 3rem; /* Adjust as needed */
                letter-spacing: 2px; /* Adjust as needed */
            }
        }


/* Project Detail Overlay - Removed as section will cover full screen */

/* Adjust Project Detail Section for Modal View */
/* Adjust Project Detail Section for Full Screen View */
.project-detail-section {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff; /* Ensure solid background */
    z-index: 1001; /* High z-index */
    display: none; /* Hidden by default */
    overflow-y: auto; /* Allow scrolling for the whole section */
    padding-top: 60px; /* Add padding to avoid content going under potential fixed header */
    padding-bottom: 60px; /* Add padding at the bottom */
    opacity: 0; /* Start hidden for transition */
    transition: opacity 0.3s ease; /* Fade transition */
}

.project-detail-section.active {
    display: block; /* Show when active */
    opacity: 1;
}

/* Prevent body scroll when modal is open */
/* Prevent body scroll when modal is open - May not be strictly needed if section covers all */
html.modal-open,
body.modal-open {
    overflow: hidden;
}

/* Ensure container inside modal doesn't restrict width too much */
/* Adjust container within full-screen section */
.project-detail-section .container {
    max-width: 1200px; /* Restore original max-width or adjust as needed */
    width: 90%; /* Use percentage width */
    margin: 0 auto; /* Center container */
    padding: 20px 15px; /* Add some padding */
}

/* Adjust padding within the modal content if needed */
/* Remove specific scrolling from inner container */
.project-detail-section .project-detail-container {
     padding: 30px; /* Keep padding */
     /* Remove height/overflow as parent section handles scrolling */
     border-radius: 10px;
}

/* Adjust gallery layout for modal if needed */
.project-detail-section .project-gallery {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* More responsive grid */
}

/* Adjust back button positioning if needed */
.project-detail-section .back-btn {
    /* Existing styles are likely fine */
}


/* Image Lightbox Styles */
#image-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85); /* Darker overlay */
    z-index: 1002; /* Above project detail section */
    display: none; /* Hidden by default */
    justify-content: center;
    align-items: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#image-lightbox.active {
    display: flex; /* Use flex to center */
    opacity: 1;
}

#lightbox-img {
    display: block;
    max-width: 90%;
    max-height: 90%;
    object-fit: contain; /* Scale image while preserving aspect ratio */
    border: 3px solid white;
    box-shadow: 0 0 25px rgba(0,0,0,0.5);
}

#lightbox-close,
#lightbox-prev,
#lightbox-next {
    position: absolute;
    color: white;
    cursor: pointer;
    transition: color 0.2s ease;
    text-shadow: 0 0 10px rgba(0,0,0,0.5);
}

#lightbox-close {
    top: 20px;
    right: 30px;
    font-size: 40px;
}

#lightbox-prev,
#lightbox-next {
    top: 50%;
    transform: translateY(-50%);
    font-size: 60px;
    padding: 20px;
}

#lightbox-prev {
    left: 30px;
}

#lightbox-next {
    right: 30px;
}

#lightbox-close:hover,
#lightbox-prev:hover,
#lightbox-next:hover {
    color: #ccc;
}

/* Ensure gallery images are clickable */
.gallery-img {
    cursor: pointer;
}