/* General Reset for List Items */
html, body {
    width: 100%;
    overflow-x: hidden;
}
html {
    scroll-behavior: smooth;
    font-family: 'Montserrat', sans-serif !important;
}
ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

/* Unified Button Styles */
.btn,
.contact-button,
.view-project {
    background-color: #6482AD;
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid #6482AD;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    text-align: center;
    text-decoration: none;
}

.btn:hover,
.contact-button:hover,
.view-project:hover {
    background-color: transparent;
    color: #6482AD;
    transform: scale(1.05);
}

/* Override specific styles for view-project in case studies */
.case-study-item .view-project {
    border: 2px solid white;
    background-color: transparent;
    color: white;
    border-radius: 6px;
}

.case-study-item .view-project:hover {
    background-color: white;
    color: #6482AD;
    border-color: white;
}

/* Contact Form Submit Button specific overrides */
.contact-form .btn {
    width: 100%;
    padding: 16px;
}

/* Hero Section Button specific overrides */
.hero-content .btn {
    border: 2px solid white;
    background-color: rgba(100, 130, 173, 0.9);
}

.hero-content .btn:hover {
    background-color: transparent;
    color: white;
}



    .btn,
    .contact-button,
    .view-project {
        padding: 10px 20px;
        font-size: 14px;
    }
}


/* General Styles */
body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #f9f9f9;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Hero Section with Video */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
      z-index: 1;
}

#background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    padding: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.9);
}

.hero p {
    font-size: 24px;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    color: white;
}

/* Section Backgrounds */
.about, .contact {
    background-color: white;
    padding: 60px 20px;
    text-align: center;
}

.services {
    background-color: #f4f4f4;
    padding: 60px 20px;
    text-align: center;
}

/* Section Animations */
.section-animate {
    opacity: 0;
    transform: translateX(100px);
    transition: all 1s ease-in-out;
}

.section-visible {
    opacity: 1;
    transform: translateX(0);
}

/* Statistics */
.statistics {
    background-color: white;
    padding: 80px 20px;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #6482AD;
}

.statistics-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.statistic {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.statistic.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.statistic .stat-icon {
    font-size: 40px;
    color: #6482AD;
    margin-bottom: 20px;
}

.statistic .stat-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
}

.statistic .stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: #6482AD;
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    padding: 20px 0;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .statistics-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .statistics-container {
        grid-template-columns: repeat(2, 1fr);
    }
    .navbar-logo img {
        height: 80px;
    }
    .hero h1 {
        font-size: 36px;
    }
    .hero p {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .statistics-container {
        grid-template-columns: 1fr;
    }
}
/**/
/**/
/**/
/* Hide mobile menu by default */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding-top: 50px;
    z-index: 1000;
}

/* Hide mobile menu on larger screens */
@media (min-width: 769px) {
    .mobile-menu {
        display: none !important;
    }

    .mobile-menu-btn {
        display: none; /* Hide menu button on desktop */
    }
}

/* Show mobile menu when toggled */
.mobile-menu.active {
    display: block;
}

/* Mobile Styles */
@media (max-width: 768px) {
    /* Hide phone number and contact button in the header */
    .phone-number, .contact-button {
        display: none;
    }

    .mobile-menu {
        display: none;
    }

    .mobile-menu ul {
        list-style: none;
        padding: 0;
    }

    .mobile-menu li {
        margin: 20px 0;
    }

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

    .mobile-phone-number {
        color: #ff6600;
        font-size: 1.8rem;
    }

    .mobile-contact-button {
        display: inline-block;
        background-color: #ff6600;
        color: white;
        padding: 12px 24px;
        border-radius: 6px;
        font-weight: 500;
        font-size: 16px;
        text-transform: uppercase;
        letter-spacing: 1px;
        text-decoration: none;
    }

    .mobile-contact-button:hover {
        background-color: #cc5200;
    }

    .mobile-menu-btn {
        display: block;
        background: none;
        border: none;
        font-size: 24px;
        cursor: pointer;
    }

    .close-menu-btn {
        position: absolute;
        top: 10px;
        right: 20px;
        font-size: 24px;
        border: none;
        background: none;
        cursor: pointer;
    }
}
/**/
/**/
/**/
/* Case Studies Section */
.case-studies-overview {
    padding: 120px 40px 80px;
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    min-height: 100vh;
    perspective: 1000px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.case-studies-overview h1 {
    font-size: 3.5em;
    margin-bottom: 30px;
    background: linear-gradient(45deg, #6482AD, #4a90e2);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-align: center;
    width: 100%;
    max-width: 1200px;
}

.case-studies-overview p {
    font-size: 1.3em;
    color: #666;
    max-width: 800px;
    margin: 0 auto 60px;
    line-height: 1.6;
    text-align: center;
}


/* About Section Styles */
.about {
    background-color: #f9f9f9;
    padding: 80px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
}

.about-container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    align-items: center;
    gap: 40px;
}

.about-image {
    opacity: 0;
    transform: translateX(-100px);
    transition: all 1s ease-in-out;
}

.about-image.section-visible {
    opacity: 1;
    transform: translateX(0);
}

.about-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.about-content {
    flex: 1;
    text-align: left;
    opacity: 0;
    transform: translateX(100px);
    transition: all 1s ease-in-out;
}

.about-content.section-visible {
    opacity: 1;
    transform: translateX(0);
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #6482AD;
}

.about-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #555;
}

.about-content p:last-child {
    margin-bottom: 0;
}

/* Contact Section */
.contact-fullpage {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #e0e0e0;
    padding: 0 20px;
    text-align: center;
    flex-direction: column;
    position: relative;
}

.container {
    background-color: #fff;
    max-width: 800px;
    width: 100%;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-group {
    position: relative;
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 15px;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #fafafa;
    color: #333;
    outline: none;
    transition: all 0.3s ease;
}

.input-group input:focus,
.input-group textarea:focus {
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-color: #888;
}

textarea {
    resize: none;
}

.input-group input::placeholder,
.input-group textarea::placeholder {
    color: #bbb;
    font-size: 1rem;
}

/* Services Section */
.service-columns {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-column {
    flex: 1;
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.service-column h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #6482AD;
}

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

.service-column ul li {
    font-size: 1rem;
    margin: 8px 0;
    color: #333;
}

/* Clients Section */
.clients {
    background-color: #f9f9f9;
    padding: 60px 20px;
    text-align: center;
}

.clients h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #6482AD;
}

.clients-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.clients-logos img {
    max-width: 100%;
    height: auto;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.clients-logos img:hover {
    filter: grayscale(0);
}

/* Additional Responsive Styles */
@media (max-width: 768px) {
    .about-container {
        flex-direction: column;
        text-align: center;
    }

    .about-content {
        text-align: center;
    }

    .about-image img {
        margin-bottom: 20px;
    }

    .service-columns {
        flex-direction: column;
    }

}

.form-message {
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 4px;
    text-align: center;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.contact-form button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}
.case-study-introduction,
.case-study-details {
    padding: 60px 20px;
    background-color: #f9f9f9;
    text-align: left;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    margin: 20px auto;
    max-width: 1200px;
}

.case-study-introduction h2,
.case-study-details h2 {
    font-size: 2.5rem;
    color: #6482AD;
    margin-bottom: 20px;
}

.case-study-introduction p,
.case-study-details p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.case-study-overview {
    padding: 60px 20px;
    background-color: #ffffff;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    margin: 40px auto;
    max-width: 1200px;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-in-out;
}

.case-study-overview.visible {
    opacity: 1;
    transform: translateY(0);
}

.case-study-overview h2 {
    font-size: 2.5rem;
    color: #6482AD;
    margin-bottom: 20px;
    text-align: center;
}

.case-study-statistics  h2 {
    font-size: 2.5rem;
    color: #6482AD;
    margin-bottom: 20px;
    text-align: center;
}

.case-study-introduction h2{

    font-size: 2.5rem;
    color: #6482AD;
    margin-bottom: 20px;
    text-align: center;
}

.project-scope h2 {

     font-size: 2.5rem;
    color: #6482AD;
    margin-bottom: 20px;
    text-align: center;
}

.statistics h2{

         font-size: 2.5rem;
    color: #6482AD;
    margin-bottom: 20px;
    text-align: center;
}

.case-study-gallery h2{

    font-size: 2.5rem;
    color: #6482AD;
    margin-bottom: 20px;
    text-align: center;
}


.case-study-overview p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
    text-align: justify;
}

.case-study-overview .case-study-details {
    margin-top: 40px;
}

.case-study-details h3 {
    font-size: 1.8rem;
    color: #6482AD;
    margin-bottom: 15px;
}

.case-study-details p {
    font-size: 1rem;
    color: #333;
    line-height: 1.6;
    margin-bottom: 20px;
}

.case-study-details .view-project {
    margin-top: 20px;
    background-color: #6482AD;
    color: white;
    padding: 12px 24px;
    text-transform: uppercase;
    font-weight: bold;
    border-radius: 6px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.case-study-details .view-project:hover {
    background-color: #4a90e2;
    transform: scale(1.05);
}

.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: min(90%, 600px); /* Keeps it responsive without exceeding 600px */
    background: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
}



.cookie-popup p {
    margin: 0;
    font-size: 14px;
    color: #333;
}

.cookie-popup a {
    color: #6482AD;
    text-decoration: none;
    font-weight: bold;
}

.cookie-popup a:hover {
    text-decoration: underline;
}

.cookie-popup .btn {
    margin-top: 10px;
    background-color: #6482AD;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 10px 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.cookie-popup .btn:hover {
    background-color: #4a90e2;
}
@media (max-width: 768px) {
    .cookie-popup {
        left: 50%;
        transform: translateX(-50%);
        width: 90%; /* Ensures it fits within the screen */
        max-width: 400px; /* Prevents it from getting too large */
        padding: 12px;
    }

    .cookie-popup p {
        font-size: 12px;
    }

    .cookie-popup .btn {
        padding: 8px 16px;
        font-size: 12px;
    }
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    background-color: #333;
    color: white;
}

.footer-container p {
    margin: 0 0 10px;
}

.accreditations {
    margin-top: 10px;
}

.accreditations h4 {
    margin-bottom: 10px;
    font-size: 1.2rem;
    color: #f4f4f4;
}

.accreditation-logos {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.accreditation-logos img {
    max-height: 80px; /* Set a consistent height for all logos */
    height: auto; /* Maintain aspect ratio */
    width: auto; /* Maintain aspect ratio */
    object-fit: contain; /* Ensure the image fits inside its container */
    filter: grayscale(100%);
    transition: filter 0.3s ease, transform 0.3s ease;
    margin: 0 10px; /* Add some spacing around the images */
}

.accreditation-logos img:hover {
    filter: grayscale(0);
    transform: scale(1.1);
}
.phone-number {
    font-size: 16px;
    font-weight: bold;
    color: #6482AD;
    margin-right: 20px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.phone-number:hover {
    color: #4a90e2;
}
/* Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.04);
    padding: 15px 30px;
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 9999;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    padding: 10px 30px;
}

/* Navbar Container */
.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
}

/* Navbar Logo */
.navbar-logo {
    flex: 1;
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.navbar-logo img {
    height: 90px;
    width: auto;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled .navbar-logo img {
    height: 70px;
}

/* Center Navigation */
.navbar-center {
    flex: 2;
    display: flex;
    justify-content: center;
}

/* Navbar Links */
.navbar-links {
    display: flex;
    gap: 40px;
    align-items: center;
    margin: 0;
    padding: 0;
}

.navbar-links a {
    text-decoration: none;
    color: #2c2c2c;
    font-size: 17px;
    font-weight: 500;
    padding: 8px 4px;
    transition: all 0.3s ease;
    position: relative;
    letter-spacing: 0.3px;
}

/* Hover effect */
.navbar-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #6482AD, #6482AD);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 1px;
}

.navbar-links a:hover {
    color: #6482AD;
}

.navbar-links a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Active Link Highlight */
.navbar-links a.active {
    color: #6482AD;
}

.navbar-links a.active::after {
    transform: scaleX(1);
    opacity: 1;
}

/* Right Section (Phone Number & Button) */
.navbar-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
     padding-right: 20px;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    margin-right: 40px; /* Adds spacing to prevent overflow */
}

.mobile-menu-btn:hover {
    color: #6482AD;
}

/* Updated Mobile Navigation Styles */

/* Ensure navbar elements are properly spaced */
.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

/* Ensure the phone number and contact button don’t interfere with the menu */
.navbar-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.phone-number {
    font-size: 16px;
    font-weight: bold;
    color: #6482AD;
    margin-right: 10px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.phone-number:hover {
    color: #4a90e2;
}

/* Mobile Navigation Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    font-size: 24px;
    color: #2c2c2c;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    transition: color 0.3s ease;
    z-index: 1001;
}

.mobile-menu-btn:hover {
    color: #6482AD;
}

/* Ensure navbar elements are properly spaced */
.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

/* Ensure the phone number and contact button don’t interfere with the menu */
.navbar-right {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: auto;
}

.phone-number {
    font-size: 16px;
    font-weight: bold;
    color: #6482AD;
    margin-right: 10px;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

.phone-number:hover {
    color: #4a90e2;
}

.contact-button {
    position: relative;
    z-index: 1001;
    padding: 10px 20px;
    font-size: 14px;
}

/* Mobile Navigation Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    font-size: 24px;
    color: #2c2c2c;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    transition: color 0.3s ease;
    z-index: 1002;
}

.mobile-menu-btn:hover {
    color: #6482AD;
}

@media (max-width: 768px) {
    .navbar-center {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.95);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        z-index: 999;
    }

    .navbar-links {
        flex-direction: column;
        gap: 15px;
    }

    .navbar-links a {
        font-size: 18px;
        padding: 10px;
    }

    .navbar-right {
        flex-direction: column;
        gap: 10px;
        margin-top: 10px;
    }

    .phone-number {
        order: 2;
    }

    .contact-button {
        order: 1;
    }

    .mobile-menu-btn {
        display: block;
        right: 10px;
    }

    .navbar.active .navbar-center {
        display: flex;
    }
}

.case-study-header {
    text-align: center;
    margin-top:40px ;
    padding: 100px 0px;
    background-color: #f9f9f9;
}

.case-study-title {
    font-size: 3rem;
    font-weight: 700;
    color: #6482AD;
    margin-bottom: 10px;
}

.case-study-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    color: #555;
    max-width: 800px;
    margin: 0 auto;gallery-item a
    line-height: 1.6;
}
/* Project Gallery Styling */
.project-gallery {
    text-align: center;
    padding: 80px 20px;
    background: #f9f9f9;
}

.project-gallery h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #6482AD;
    font-weight: 700;
}

/* Grid Layout */
.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Ensures All Images Fit Uniformly */
.gallery-item {
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out;
    background: white;
    aspect-ratio: 1 / 1; /* Forces a square aspect ratio */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
}

.gallery-item a {
    display: block;
    width: 100%;
    height: 100%;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures images fill the container without distortion */
    display: block;
    transition: transform 0.3s ease-in-out;
    cursor: pointer;
}

.gallery-item:hover {
    transform: scale(1.03);
}

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

/* Lightbox Styling */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.lightbox-image {
    max-width: 80%;
    max-height: 80%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: fadeIn 0.3s ease-in-out;
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 30px;
    color: white;
    cursor: pointer;
    transition: 0.3s;
}

.close:hover {
    color: red;
}

/* Fade-in animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Default for larger screens */
    gap: 20px;
    padding: 40px;
    max-width: 1200px;
    margin: auto;
}

/* Ensure images maintain consistent size */
.case-study-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    width: 100%;
    height: 300px; /* Ensures all images are the same height */
}

/* Image styling */
.case-study-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures images fit uniformly */
    display: block;
    transition: transform 0.3s ease-in-out;
}

/* Hover effect */
.case-study-item:hover img {
    transform: scale(1.1);
}

/* Overlay effect */
.case-study-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.case-study-item:hover .case-study-content {
    opacity: 1;
}

/* Title styling */
.case-study-content h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 15px;
}

/* View Project Button */
.view-project {
    background-color: #FF6600;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 1rem;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    border: 2px solid white;
}

.view-project:hover {
    background-color: white;
    color: #FF6600;
}

/* Mobile Responsive Fix */
@media (max-width: 768px) {
    .case-studies-grid {
        grid-template-columns: 1fr !important; /* Forces single column on mobile */
    }

    .case-study-item {
        width: 100% !important;
        height: 300px !important; /* Ensures consistent height */
    }

    .case-study-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}
.about-image,
.about-content {
    opacity: 1 !important;
    transform: translateX(0) !important;
}