@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Lato:wght@300;400;700&display=swap');

/* Global Styles */
:root {
    --primary-color: #1a237e;
    --secondary-color: #0d47a1;
    --accent-color: #ffd700;
    --text-color: #333;
    --light-bg: #f5f5f5;
    --white: #ffffff;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
    width: 100%;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}
.nav-container .logo a {
    text-decoration: none;
    color: var(--primary-color);
}

.nav-container .logo h1 {
    padding: 5px;
    display: flex;
    font-size: 1.5rem;
    
    align-items: center;
    font-weight: 800;
    transition: all 0.5s ease;
}
.nav-container .logo h1:hover{
    color: var(--secondary-color);
    font-weight: 800;
    letter-spacing: 1px;
    text-decoration: none;
    transform: scale(1.1) !important;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    width: 60px;
    height: 60px;
    margin-right: 5px;
}

@media (max-width: 768px) {
    .logo-img {
        width: 30px;
        height: 30px;
        margin-right: 5px;
    }

    .nav-container .logo h1 {
        font-size: 1.2rem;
    }
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
}

.nav-links a span {
    padding: 0px 0;
    display: inline-block;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.nav-links a:hover span {
    color: var(--secondary-color);
    font-weight: bolder;
    letter-spacing: 1px;
    font-family: 'Lato', sans;
    border-bottom: 1px solid var(--primary-color);
}

.hamburger {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 100;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
    position: absolute;
    transition: all 0.3s ease;
}

.hamburger span:first-child {
    top: 0;
}

.hamburger span:nth-child(2) {
    top: 9px;
}

.hamburger span:last-child {
    bottom: 0;
}

/* Hamburger Animation */
.hamburger.active span:first-child {
    transform: rotate(45deg);
    top: 9px;
    transition: transform 0.3s ease, top 0.3s ease;
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hamburger.active span:last-child {
    transform: rotate(-45deg);
    bottom: 9px;
    transition: transform 0.3s ease, bottom 0.3s ease;
}

.activelink span{
    color: var(--secondary-color) !important;
    font-weight: bolder;
    border-bottom: 1px solid var(--primary-color) !important;
}

/* Hero Section */
.hero {
    height: 80vh;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
                url('https://images.unsplash.com/photo-1621905251189-08b45d6a269e?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.hero-content h1 {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--accent-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.5s ease;
}

.cta-button:hover {
    color: var(--accent-color);
    background-color: transparent !important;
    backdrop-filter: blur(10px);
    border: 1px solid var(--accent-color);
    transform: translateY(-3px);
}
.vision-statement {
    margin-top: 1rem;
    font-size: 1.2rem;
    color: var (--accent-color);
    font-weight: 600;
    text-align: center;
}



/* About Section */
.about {
    padding: 50px 0;
    background: var(--light-bg);
    overflow: hidden; /* Prevent content overflow */
    width: 100%;
    
    background: linear-gradient(rgba(255, 255, 255, 0.600), rgba(255, 255, 255, 0.650)), url(images/ttten.svg) no-repeat center center/cover;
}
.about-content {
    width: 100%;
    margin: 0 auto;
}

.about-text {
    max-width: 100%;
    padding: 0 15px;
}

.about h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

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

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

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
}

/* Services Section */
.services {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),url(images/serviceBack.jpg) no-repeat center center/cover;
    padding: 60px 0;
    color: var(--white);
}

.services h2 {
    text-align: center;
    color: var (--white);
    margin-bottom: 3rem;
    font-size: 2rem !important;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.service-card {
    background: linear-gradient(-135deg, rgba(59, 123, 225, 0.61) -50%, white 50%, rgba(59, 123, 225, 0.6) 150%) !important;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.service-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.service-card p {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Update Service Cards Layout for About Page */
.about .services .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 2rem;
    max-width: 1200px; /* Increased from 900px to accommodate 3 cards */
    margin: 0 auto;
    justify-content: center;
}

.about .service-card {
    max-width: 400px;
    margin: 0 auto;
    width: 100%;
}

/* Responsive adjustments for service cards */
@media (max-width: 768px) {
    .about .services .services-grid {
        grid-template-columns: 1fr;
        padding: 1rem;
    }

    .about .service-card {
        max-width: 100%;
    }
}

@media (min-width: 769px) and (max-width: 1200px) {
    .about .services .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
        max-width: 800px;
    }
}

/* Update Services Section for About Page */
.about .services .container {
    max-width: 900px;
    margin: 0 auto;
}

.about .services .services-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(280px, 1fr));
    gap: 2rem;
    padding: 2rem;
    justify-content: center;
}

.about .services .service-card {
    max-width: 400px;
    margin: 0 auto;
    width: 100%;
    height: 100%;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .about .services .services-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
        padding: 1rem;
    }
}

@media (max-width: 350px) {
    .about .services .services-grid {
        padding: 0.5rem;
    }
}

/* Testimonials Section */
.clients {
    padding: 100px 0;
    background: linear-gradient(rgba(255, 255, 255, 0.600), rgba(255, 255, 255, 0.650)), url(images/ttten.svg) no-repeat center center/cover;
}

.clients h2 {
    font-size: 2rem !important;
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 3rem;
}
.logos{
    overflow: hidden;
    padding: 50px 0;
    white-space: nowrap;
    background-color: transparent;
    position: relative;
}
.logos:before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100px; /* Decreased from 200px */
    height: 100%;
    background: linear-gradient(to left, rgba(255, 255, 255, 0) 0%, white 100%);
    content: "";
    z-index: 2;
}
.logos:after {
    position: absolute;
    top: 0;
    right: 0;
    width: 100px; /* Decreased from 200px */
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, white 100%);
    content: "";
    z-index: 2;
}

.logos:hover .logos-slide {
    animation-play-state: paused !important;
}

.logos-slide {
    display: inline-block;
    animation: slide 25s linear infinite;
}

.logos-slide img {
    height: 80px; /* Decreased from 80px */
    margin: 0 40px; /* Decreased from 40px */
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.logos-slide img:hover {
    filter: grayscale(0%);
    transform: translateY(-4px) scale(1.2);
}

@keyframes slide {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .logos:before, .logos:after {
        width: 50px; /* Further decrease for smaller screens */
    }

    .logos-slide img {
        height: 40px; /* Further decrease for smaller screens */
        margin: 0 10px; /* Further decrease for smaller screens */
    }
}

/* Contact Section */
.contact {
    padding: 50px 0px 50px 0;
}

.contact h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 0 auto;
    max-width: 1200px;
    padding: 0 10px;
}

.info-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: linear-gradient(-135deg, rgba(59, 123, 225, 0.6) -80%, white 50%, rgba(59, 123, 225, 0.6) 180%) !important;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    width: 100%;
    max-width: 100%;
}

.info-item:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.info-item p {
    word-wrap: break-word;
    max-width: 100%;
    padding: 0 10px;
    font-size: 0.95rem;
}

.info-item a:hover {
    color: var(--secondary-color);
}

.info-item a{
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}
.contact-content{
    padding: 50px 0;
}

/* Remove all contact form related CSS */
/* Delete or comment out these sections:
.contact-form
.contact-form input
.contact-form textarea
.submit-btn
*/

/* Footer */
footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 50px 0 20px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
    padding: 0 15px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    padding: 0 15px;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
}
.footer-links a span:hover {
    border-bottom: 1px solid var(--white);
}

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

.footer-bottom .designer-credit a {
    margin: 0 5px;
    color: var(--white);
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.footer-bottom .designer-credit a:hover {
    color: var(--accent-color);
}

/* Base responsive styles should be merged into the main component styles */
.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.hamburger {
    display: none;
}

.project-card {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

.contact-grid {
    justify-items: center;
}

.contact-info-card {
    width: 100%;
    max-width: 300px;
}

/* About Page Specific Styles */

/* Typography Improvements */
.about-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.preamble h2{
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--text-color);
}

.preamble p {
    font-size: 1.1rem;
    line-height: 1.8;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

/* Preamble Section */
.preamble {
    background: linear-gradient(rgba(255, 255, 255, 0.600), rgba(255, 255, 255, 0.650)), url(images/ttten.svg) no-repeat center center/cover;
    padding: 60px 0;
}

.preamble .container {
    
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.preamble p {
    text-align: justify;
    margin-bottom: 2rem;
}

/* Service Cards Improvement */
.service-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-card p {
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.6;
}

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

.service-card li {
    margin: 15px 0;
    padding-left: 25px;
    position: relative;
    color: var(--text-color);
    font-size: 1.1rem;
}

.service-card li:before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.about-workforce {
    background: linear-gradient(rgba(255, 255, 255, 0.600), rgba(255, 255, 255, 0.650)), url(images/ttten.svg) no-repeat center center/cover;
    padding: 80px 0;
}
.about-workforce .container h1{
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.workforce-table {
    width: 100%;
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.274);
    margin: 30px 0;
}

.workforce-table th {
    background: var(--primary-color);
    color: var(--white);
    padding: 15px 20px;
    text-align: left;
    font-weight: 600;
    transition: all 0.3s ease;
}

.workforce-table td {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
}

.workforce-table tr {
    transition: all 0.5s ease;
}

.workforce-table tr:hover {
    background: rgba(26, 34, 126, 0.207);
}

.about-equipment {
    padding: 50px 0;
    background: linear-gradient(rgba(255, 255, 255, 0.600), rgba(255, 255, 255, 0.650)), url(images/ttten.svg) no-repeat center center/cover;
}

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

.equipment-box {
    background: var(--white);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.equipment-box:hover {
    transform: translateY(-5px);
    background: var(--primary-color);
    color: var(--white);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.equipment-box i {
    font-size: 2rem;
    color: var(--primary-color);
    transition: all 0.5s ease;
}

.equipment-box:hover i {
    color: var(--white);
}

/* Services Page Styles */

.services-hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

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

.services-overview {
    padding: 60px 0;
    background: linear-gradient(rgba(255, 255, 255, 0.600), rgba(255, 255, 255, 0.650)), url(images/ttten.svg) no-repeat center center/cover;
}

.overview-text {
    font-size: 1.2rem;
    line-height: 1.8;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    color: var(--text-color);
}

.main-services {
    padding: 80px 0;
    background: var(--light-bg);
}

.service-category {
    margin-bottom: 60px;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.category-header i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.category-header h2 {
    font-size: 2rem;
    color: var (--primary-color);
}

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

.service-item {
    position: relative;
    background: linear-gradient(-135deg, rgba(59, 123, 225, 0.6) -50%, white 50%, rgba(59, 123, 225, 0.6) 150%) !important;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.service-image {
    height: 200px;
    overflow: hidden;
}

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

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

.service-content {
    padding: 20px;
}

.service-content h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.service-item p {
    color: var(--text-color);
    line-height: 1.6;
}

.services-cta {
    padding: 80px 0;
    background: linear-gradient(rgba(26, 35, 126, 0.9), rgba(26, 35, 126, 0.9)),
                url('../images/cta-bg.jpg') no-repeat center center/cover;
    text-align: center;
    color: var(--white);
}

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

.services-cta p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* Clients Page Styles */
.clients-section {
    padding: 100px 0;
    background: var(--light-bg);
}

.project-category {
    margin-bottom: 50px;
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.project-category h2 {
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
    font-size: 2rem;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 20px;
}

.project-card {
    width: 100%;
    max-width: 100%; /* Ensure card doesn't exceed container width */
    margin: 0 auto;
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card .project-image {
    width: 100%;
    height: 300px; /* Increase the height of the project image */
    overflow: hidden;
}

.project-card .project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.project-card .project-content {
    padding: 20px;
}

.project-card h3 {
    color: var(--light-bg);
    margin-bottom: 10px;
    font-size: 1.2rem;
    font-weight: 600;
}

.project-card p {
    color: var(--white);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.project-value {
    color: var(--accent-color);
    font-weight: bold;
    margin: 12px 0;
    font-size: 1.1rem;
}

.status-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.completed {
    background: #4CAF50;
    color: white;
}

.ongoing {
    background: #FFC107;
    color: black;
}

.clients-logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.client-logo {
    background: var(--white);
    padding: 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 150px;
}

.client-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.clients-section {
    padding: 100px 0;
    background: var(--light-bg);
}

.project-category {
    margin-bottom: 50px;
    background: var (--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.project-category h2 {
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
}

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

.project-card {
    background: var(--white);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.project-value {
    color: var(--accent-color);
    font-weight: bold;
}

.status-badge {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8em;
    font-weight: bold;
}

.status-completed {
    background: #4CAF50 !important;
    color: white;
}

.status-wip {
    background: #FFC107;
    color: black;
}

/* Client Grid Styles */
.clients-grid-section {
    padding: 80px 0;
    background: var(--light-bg);
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

.client-card {
    background: var(--white);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    transform: translateY(0); /* Add initial state */
    position: relative; /* Ensure proper stacking context */
    will-change: transform; /* Optimize animations */
    backface-visibility: hidden; /* Prevent flickering */
    -webkit-font-smoothing: antialiased; /* Smooth text */
}

.client-card:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.client-logo {
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.client-logo img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    /* filter: grayscale(100%); */
    transition: all 0.3s ease;
}

.client-card:hover .client-logo img {
    /* filter: grayscale(0%); */
    transform: scale(1.1);
}

.client-card h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-top: 15px;
}

/* Contact Page Styles */
.contact-hero {
    background: linear-gradient(rgba(26, 35, 126, 0.9), rgba(26, 35, 126, 0.9)),
                url('images/contact-hero.jpg') center/cover no-repeat;
}

.contact-details {
    padding: 80px 0;
    background: linear-gradient(rgba(255, 255, 255, 0.600), rgba(255, 255, 255, 0.650)), url(images/ttten.svg) no-repeat center center/cover;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
    justify-items: center; /* Center items horizontally */
}

.contact-info-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    max-width: 300px;
}

.contact-info-card p {
    word-wrap: break-word; /* Ensure long words break to fit within the card */
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.contact-info-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.contact-info-card h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.contact-info-card p {
    color: var(--text-color);
    margin: 10px 0;
}

.contact-info-card a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info-card a:hover {
    color: var(--primary-color);
}



.map-section {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.map-section h2 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 30px;
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
}

.navbar.scrolled {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

/* Projects Section */
.projects-showcase {
    padding: 80px 0;
    background: var(--light-bg);
}

.section-heading {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 3rem;
    font-size: 2rem;
}

.projects-filter {
    text-align: center;
    margin-bottom: 2rem;
}

.filter-buttons {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.filter-btn {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.5s ease;
}

.filter-btn:hover {
    color: var(--primary-color);
    background-color: transparent !important;
    border: 1px solid var(--primary-color);
    transform: translateY(-3px);
}

.filter-btn.active {
    background-color: var(--accent-color);
    color: var(--primary-color);
    border: var(--primary-color) 1px solid !important;
}

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

.project-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.project-image {
    position: relative;
    height: 300px; /* Increase the height of the project image */
    overflow: hidden;
}

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

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-status {
    position: absolute;
    top: 10px;
    left: 10px;
    /* background: var(--accent-color);
    color: var(--primary-color); */
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.85rem;
    font-weight: 600;
}


.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-details {
    padding: 20px;
}

.project-info {
    padding: 10px; /* Decrease the padding of the project info */
    text-align: center;
}

.project-info h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1rem; /* Decrease the font size of the project title */
    font-weight: 600;
}

.project-info .location {
    color: var(--text-color);
    margin-bottom: 8px;
    font-size: 0.85rem; /* Decrease the font size of the project location */
}

.category-tag {
    background: var(--accent-color);
    color: var(--primary-color);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Fade In Animation */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.show {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile-first Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 72px;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        align-items: center;
        padding: 20px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }

    .nav-links.active {
        display: flex;
    }
    .nav-links a {
        border-bottom: 1px solid rgba(0, 0, 0, 0);
        transition: all 0.3s ease;
    }
    .nav-links a:hover {
        color: var(--secondary-color);
        border-bottom: 1px solid var(--primary-color);
    }


    .hamburger {
        display: block;
    }

    /* Fix hero section spacing */
    .hero {
        margin-top: 72px;
        height: 70vh;
    }

    .contact-info {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 10px;
    }
}

/* Smartphones (300px and up) */
@media (min-width: 299px) {
    .container {
        padding: 0 15px;
    }

    .nav-container {
        padding: 0.8rem 1rem;
    }

    .logo h1 {
        font-size: 1.4rem;
    }

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

    .hero-content p {
        font-size: 1rem;
        padding: 0 15px;
    }

    /* Cards and Grid Layouts */
    .projects-grid,
    .clients-grid,
    .contact-grid,
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 15px;
    }

    .project-card,
    .client-card,
    .contact-info-card,
    .service-card {
        width: 100%;
        padding: 15px;
    }

    .project-card .project-image {
        height: 180px;
    }

    /* Typography */
    h2 {
        font-size: 1.8rem;
    }

    .service-card h3,
    .project-card h3,
    .client-card h3 {
        font-size: 1.2rem;
    }

    .service-card p,
    .project-card p {
        font-size: 0.9rem;
    }
}

/* Landscape phones (450px and up) */
@media (min-width: 450px) {
    .container {
        padding: 0 20px;
    }

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

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

    .service-card h3 {
        font-size: 1.3rem;
    }
}

/* Tablets (600px and up) */
@media (min-width: 600px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }

    .projects-grid,
    .clients-grid{
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .project-card .project-image {
        height: 200px;
    }

    /* Typography */
    h2 {
        font-size: 2rem;
    }

    .service-card h3 {
        font-size: 1.4rem;
    }
}

/* Larger tablets (750px and up) */
@media (min-width: 750px) {
    .hero-content h1 {
        font-size: 3rem;
    }

    .projects-grid,
    .clients-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .contact-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

/* Desktop (900px and up) */
@media (min-width: 900px) {
    .container {
        padding: 0 30px;
    }

    .nav-links {
        display: flex;
        position: static;
        width: auto;
        background: none;
        box-shadow: none;
        padding: 0;
        flex-direction: row;
    }

    .hamburger {
        display: none;
    }

    .hero-content h1 {
        font-size: 5rem;
        letter-spacing: 2px;
    }

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

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


    /* Restore desktop spacing */
    .section {
        padding: 80px 0;
    }
}

/* Update responsive styles for small screens */
@media (max-width: 350px) {
    /* Navigation */
    .nav-container {
        padding: 0.5rem;
    }

    .logo h1 {
        font-size: 1.2rem;
    }

    /* Hero Section */
    .hero-content h1 {
        font-size: 1.5rem;
        padding: 0 10px;
    }

    .hero-content p {
        font-size: 0.9rem;
        padding: 0 10px;
    }

    /* Grid Layouts */
    .projects-grid,
    .clients-grid,
    .contact-grid,
    .services-grid,
    .equipment-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 10px;
    }

    /* Cards */
    .project-card,
    .client-card,
    .contact-info-card,
    .service-card,
    .equipment-box {
        width: 100%;
        padding: 10px;
        margin: 0;
    }

    /* Tables */
    .workforce-table {
        display: block;
        width: 100%;
        overflow-x: auto;
    }

    /* Forms */
    .contact-form-section,
    .map-section {
        padding: 15px;
    }

    .form-group input,
    .form-group textarea {
        padding: 10px;
    }

    /* Images */
    .project-card .project-image {
        height: 160px;
    }

    .client-logo {
        height: 120px;
    }

    /* Typography */
    .service-card h3,
    .project-card h3,
    .client-card h3 {
        font-size: 1.1rem;
    }

    .service-card p,
    .project-card p {
        font-size: 0.85rem;
    }

    /* Status badges */
    .status-badge {
        padding: 4px 8px;
        font-size: 0.75rem;
    }
}

/* Ensure proper spacing for very small screens */
@media (max-width: 299px) {
    .container {
        padding: 0 10px;
    }

    .logo h1 {
        font-size: 1rem;
    }

    .nav-container {
        padding: 0.5rem;
    }

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

    .hero-content p {
        font-size: 0.8rem;
    }

    .contact-info {
        padding: 0 5px;
    }

    .info-item {
        padding: 0.8rem;
    }

    .info-item h3 {
        font-size: 1.1rem;
    }

    .info-item p {
        font-size: 0.85rem;
    }
}

/* Super Compact Layout for Tiny Screens */
@media (max-width: 250px) {
    /* Navigation */
    .nav-container {
        padding: 0.3rem;
    }

    .logo h1 {
        font-size: 0.9rem;
    }

    /* Hero Section */
    .hero {
        height: 60vh;
        margin-top: 50px;
    }

    .hero-content h1 {
        font-size: 1.1rem;
        padding: 0 5px;
        margin-bottom: 0.5rem;
    }

    .hero-content p {
        font-size: 0.75rem;
        padding: 0 5px;
        margin-bottom: 1rem;
    }

    .vision-statement {
        font-size: 0.8rem;
        padding: 0 5px;
    }

    .cta-button {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    /* Grid Layouts */
    .container {
        padding: 0 5px;
    }

    .service-card,
    .project-card,
    .client-card,
    .contact-info-card,
    .equipment-box {
        padding: 4px;
        border-radius: 8px;
    }

    /* Service Cards */
    .service-card i {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }

    .service-card h3 {
        font-size: 0.5rem !important;
        margin-bottom: 0.5rem;
    }

    .service-card p,
    .service-card li {
        font-size: 0.75rem;
    }

    /* Client/Project Cards */
    .client-logo {
        height: 80px;
    }

    .project-card .project-image {
        height: 120px;
    }

    .project-card h3 {
        font-size: 0.9rem;
    }

    .project-card p {
        font-size: 0.75rem;
        margin-bottom: 4px;
    }

    .project-value {
        font-size: 0.8rem;
        margin: 6px 0;
    }

    .status-badge {
        padding: 2px 6px;
        font-size: 0.7rem;
    }

    /* Contact Info */
    .contact-info {
        gap: 0.5rem !important;
    }

    .info-item {
        padding: 0.5rem 0.5rem;
    }

    .info-item i {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .info-item h3 {
        font-size: 0.5rem;
        margin-bottom: 0.3rem;
    }

    .info-item p {
        font-size: 0.5rem;
        padding: 0 5px;
    }

    /* Section Spacing */
    section {
        padding: 30px 0;
    }

    section h2 {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
    }

    /* Equipment Grid */
    .equipment-box {
        gap: 8px;
    }

    .equipment-box i {
        font-size: 1.2rem;
    }

    .equipment-box span {
        font-size: 0.75rem;
    }

    /* Workforce Table */
    .workforce-table th,
    .workforce-table td {
        padding: 6px 8px;
        font-size: 0.75rem;
    }

    /* Footer */
    .footer-content {
        gap: 1rem;
        padding: 0 5px;
    }

    .footer-info h3 {
        font-size: 1rem;
    }

    .footer-info p,
    .footer-bottom p {
        font-size: 0.75rem;
    }

    .footer-links {
        gap: 0.5rem;
    }

    .footer-links a {
        font-size: 0.8rem;
    }

    /* Logos Section */
    .logos-slide img {
        height: 40px !important;
        margin: 0 20px;
    }
}

/* Key Personnel Section */
.key-personnel {
    padding: 40px 0;
    background: var(--light-bg);
}

.key-personnel h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 3rem;
    font-size: 2rem;
}

.personnel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Increased min-width */
    gap: 1rem;
    padding-bottom: 20px;
    justify-items: center;
}

.person-card {
    background: var(--white);
    padding: 20px; /* Increased padding */
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.person-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.person-card img {
    width: 100%;
    height: auto;
    /* border-radius: 50%; */
    margin-bottom: 1rem;
}

.person-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.4rem; /* Increased font size */
    font-weight: 600;
}

.person-card p {
    color: var(--text-color);
    font-size: 1.1rem; /* Increased font size */
    margin-bottom: 0;
}


/* Responsive adjustments for key personnel cards */
@media (min-width: 1200px) {
    .personnel-grid {
        grid-template-columns: repeat(5, 1fr); /* 5 cards in one row for larger screens */
    }
}

@media (max-width: 1199px) and (min-width: 900px) {
    .personnel-grid {
        grid-template-columns: repeat(3, 1fr); /* 3 cards in one row for medium screens */
    }
}

@media (max-width: 899px) and (min-width: 600px) {
    .personnel-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 cards in one row for smaller screens */
    }
}

@media (max-width: 599px) {
    .personnel-grid {
        grid-template-columns: 1fr; /* 1 card in one row for very small screens */
    }
}

/* Responsive adjustments for service cards */
@media (max-width: 768px) {
    .service-list {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 600px) {
    .service-list {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 450px) {
    .service-list {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 350px) {
    .service-list {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
}

@media (max-width: 299px) {
    .service-list {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
}

@media (max-width: 250px) {
    .service-list {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
}

/* Responsive adjustments for service cards */
@media (min-width: 450px) {
    .service-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (min-width: 600px) {
    .service-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (min-width: 750px) {
    .service-list {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
}

@media (min-width: 900px) {
    .service-list {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
}

/* Responsive adjustments for service cards */
.service-item {
    background: var(--white);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.service-image {
    height: 200px;
    overflow: hidden;
}

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

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

.service-content {
    padding: 20px;
    text-align: center;
}

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

.service-content p {
    color: var(--text-color);
    margin-bottom: 8px;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Responsive adjustments for service cards */
@media (max-width: 768px) {
    .service-content h3 {
        font-size: 1rem;
    }

    .service-content p {
        font-size: 0.85rem;
    }
}

@media (max-width: 600px) {
    .service-content h3 {
        font-size: 0.9rem;
    }

    .service-content p {
        font-size: 0.8rem;
    }
}

@media (max-width: 450px) {
    .service-content h3 {
        font-size: 0.8rem;
    }

    .service-content p {
        font-size: 0.75rem;
    }
}

@media (max-width: 350px) {
    .service-content h3 {
        font-size: 0.7rem;
    }

    .service-content p {
        font-size: 0.7rem;
    }
}

@media (max-width: 299px) {
    .service-content h3 {
        font-size: 0.6rem;
    }

    .service-content p {
        font-size: 0.6rem;
    }
}

@media (max-width: 250px) {
    .service-content h3 {
        font-size: 0.5rem;
    }

    .service-content p {
        font-size: 0.5rem;
    }
}

/* Responsive adjustments for contact cards */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 600px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 450px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 350px) {
    .contact-grid {

        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
}

@media (max-width: 299px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 0.7rem;
    }
}

@media (max-width: 250px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 0.7rem;
    }
}

@media (min-width: 450px) {
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (min-width: 600px) {
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (min-width: 750px) {
    .contact-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
}

@media (min-width: 900px) {
    .contact-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
}

/* Responsive adjustments for contact cards */
.contact-info-card {
    background: linear-gradient(-135deg, rgba(59, 123, 225, 0.6) -80%, white 50%, rgba(59, 123, 225, 0.6) 180%) !important;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.contact-info-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.contact-info-card h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.3rem;
    font-weight: 600;
}

.contact-info-card p {
    color: var(--text-color);
    margin: 10px 0;
}

.contact-info-card a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info-card a:hover {
    color: var(--primary-color);
}



.map-section {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.map-section h2 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 30px;
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
}

.navbar.scrolled {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

/* Projects Section */
.projects-showcase {
    padding: 80px 0;
    background: linear-gradient(rgba(255, 255, 255, 0.600), rgba(255, 255, 255, 0.650)), url(images/ttten.svg) no-repeat center center/cover;
}

.section-heading {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 3rem;
    font-size: 2rem;
}

.projects-filter {
    text-align: center;
    margin-bottom: 2rem;
}

.filter-buttons {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.filter-btn {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.5s ease;
}

.filter-btn:hover {
    color: var(--primary-color);
    background-color: transparent !important;
    border: 1px solid var(--primary-color);
    transform: translateY(-3px);
}

.filter-btn.active {
    background-color: var(--accent-color);
    color: var(--primary-color);
    border: var(--primary-color) 1px solid !important;
}

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

.project-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.project-image {
    position: relative;
    height: 300px; /* Increase the height of the project image */
    overflow: hidden;
}

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

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-status {
    position: absolute;
    top: 10px;
    left: 10px;
    /* background: var(--accent-color);
    color: var(--primary-color); */
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.85rem;
    font-weight: 600;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-details {
    padding: 20px;
}

.project-info {
    padding: 10px; /* Decrease the padding of the project info */
    text-align: center;
}

.project-info h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1rem; /* Decrease the font size of the project title */
    font-weight: 600;
}

.project-info .location {
    color: var(--text-color);
    margin-bottom: 8px;
    font-size: 0.85rem; /* Decrease the font size of the project location */
}

.category-tag {
    background: var(--accent-color);
    color: var (--primary-color);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Fade In Animation */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.show {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile-first Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 72px;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        align-items: center;
        padding: 20px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }

    .nav-links.active {
        display: flex;
    }
    .nav-links a {
        border-bottom: 1px solid rgba(0, 0, 0, 0);
        transition: all 0.3s ease;
    }

   .nav-links a:hover {
        border-bottom: 1px solid var(--primary-color);
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    overflow-y: auto;
}

.modal-content {
    background-color: var(--white);
    margin: 5% auto;
    padding: 20px;
    width: 80%;
    max-width: 800px;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.close {
    position: absolute;
    right: 20px;
    top: 10px;
    font-size: 28px;
    font-weight: bold;
    color: #666;
    cursor: pointer;
}

.close:hover {
    color: #000;
}

.modal-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    padding: 1rem;
    max-width: 100%;
}

.modal-images img {
    width: 100%;
    height: 300px; /* Fixed height */
    object-fit:fill; /* Ensure the image is fully visible */
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.modal-images img:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .modal-images {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        padding: 0.5rem;
    }
}

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

.modal-content .project-details h3 {
    margin-bottom: 10px;
    color: var(--text-color);
}

.project-details ul {
    list-style: none;
    padding: 0;
}

.project-details li {
    margin-bottom: 8px;
    color: var(--text-color);
}

.designer-credit {
    margin-top: 10px;
    font-size: 1em;
    color: #888;
}

.designer-credit a {
    color: #888;
    text-decoration: none;
    transition: color 0.3s ease;
}

.designer-credit a:hover {
    color: #fff;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    
    display: none;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--white);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    min-width: 110px;
}

.dropdown-content a {
    color: var(--text-color);
    padding: 14px 10px;
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
}

.dropdown-content a:hover {
    background-color: var(--white);
    color: var(--secondary-color);
    cursor: pointer;
    text-decoration: underline;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.dropdown-content a:hover {
    background-color: var(--light-bg);
}

.dropdown:hover .dropdown-content {
    display: block;
}







/* Contact Form Section */
.contact-form-section {
    padding: 30px 0;
    background: var(--light-bg);
}

.contact-form-section .container{
    padding: 20px;
}

.contact-form-section h2 {
    text-align: center;
    font-family: Playfair Display;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.279);
}

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

.form-group label {
    font-family: Playfair Display;
    font-weight: 800;
    display: block;
    margin-bottom: 5px;
    color: var(--text-color);
}

.form-group input {
    width: 100%;
    font-size: larger;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: Playfair Display;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.submit-btn {
    display: inline-block;
    padding: 10px 20px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

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