:root {
    --primary-color: #4CAF50;
    --secondary-color: #333;
    --bg-color: #121212;
    --text-color: #ccc;
    --light-color: #f5f5f5;
    --dark-color: #1d1d1d;
    --font-family: 'Roboto', sans-serif;
    --h2-font-family: "Tangerine", serif;
    --p-font-family: "Lato", sans-serif;
    --transition-time: 0.4s; /* Smooth transitions */
}

/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body Styling */
body {
    margin: 0;
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-color);
    
    }
    
    /*.header {*/
    /*        display: flex;*/
    /*        justify-content: space-between;*/
    /*        align-items: center;*/
    /*        padding: 10px 20px;*/
    /*        background-color: #333;*/
    /*        color: white;*/
    /*    }*/

/* Transparent Navbar */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgb(255, 255, 255);  /*Use the new high-visibility background */
    z-index: 20;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color var(--transition-time);
}

header.shrink {
    padding: 12px 20px;
     /*background: rgba(0, 0, 0, 0.9); Darker background when scrolling */
}

 /*Header Section Styling */
.header-section {
    display: flex;
    align-items: center;
    width: 100%;
}

.logo-section {
    flex-grow: 1; /* Align logo to the left */
}

.logo img {
    max-height: 60px; /* Set the height to keep it in proportion */
    width: auto; /* Allow the width to scale automatically */
    transition: transform var(--transition-time);
}

.logo:hover img {
    transform: scale(1.1); /* Scale animation on hover */
}

.nav-section {
    flex-grow: 2;
    display: flex;
    justify-content: center;
}

/*.cta-section {*/
/*    flex-grow: 1;*/
/*    display: flex;*/
/*    justify-content: flex-end;*/
/*}*/

/* Navigation */
nav {
    display: flex;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    /*color: var(--bg-color);*/
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    padding: 8px 16px;
    position: relative;
    transition: color var(--transition-time), transform var(--transition-time);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    /*background-color: var(--primary-color);*/
    transform: scaleX(0);
    transition: transform var(--transition-time);
    transform-origin: right;
}

.nav-links a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-links a:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);  Add box shadow for hover effect 
}

/*.cta-header {*/
/*    background-color: var(--primary-color);*/
/*    color: var(--light-color);*/
    /*padding: 10px 24px;  Larger padding for emphasis */
/*    border-radius: 4px;*/
/*    font-weight: bold;*/
/*    text-decoration: none;*/
/*    transition: background-color var(--transition-time), transform var(--transition-time);*/
/*}*/

/*.cta-header:hover {*/
/*    background-color: #3e8e41;*/
   /* transform: scale(1.05);  Slight scale on hover */
/*    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);*/
/*}*/

/* Hamburger Menu Styling */
/*.burger {*/
/*    display: none;*/
/*    flex-direction: column;*/
/*    cursor: pointer;*/
/*    gap: 5px;*/
/*    z-index: 20;*/
/*}*/

/*.burger div {*/
/*    width: 25px;*/
/*    height: 3px;*/
/*    background-color: var(--text-color);*/
/*    transition: all var(--transition-time);*/
/*}*/

/*.burger.toggle .line1 {*/
/*    transform: rotate(-45deg) translate(-5px, 5px);*/
/*    }*/

/*.burger.toggle .line2 {*/
/*    opacity: 0;*/
/*}*/

/*.burger.toggle .line3 {*/
/*    transform: rotate(45deg) translate(-5px, -5px);*/
/*}*/


.hamburger {
            display: flex;
            flex-direction: column;
            cursor: pointer;
            color:black;
            background-color: black;
        }
        .hamburger span {
            background-color: white;
            height: 3px;
            width: 25px;
            margin: 4px 0;
            transition: 0.3s;
            color:black;
            
        }
        .menu {
            display: none;
            flex-direction: column;
            background-color: #FFFFFF;
            position: absolute;
            top: 50px;
            right: 0;
            width: 200px;
        }
        .menu.open {
            display: flex;
        }
        .menu a {
            padding: 10px 20px;
            text-decoration: none;
            color: black;
            border-bottom: 1px solid #444;
        }
        .menu a:hover {
            background-color: black;
            color:white;
        }

        /* Responsive Design */
        @media (min-width: 768px) {
            .hamburger {
                display: none;
            }
            .menu {
                display: flex !important;
                flex-direction: row;
                position: static;
                width: auto;
            }
            .menu a {
                border: none;
            }
        }


/* Mobile-Specific Styles */
/*@media screen and (max-width: 768px) {*/
/*    .nav-section {*/
        /*display: none;  Hide nav section on mobile */
/*    }*/

/*    .burger {*/
         /*display: flex; Show hamburger menu */
/*    }*/

/*    .logo-section {*/
        /*flex-grow: 1;  Keep logo section flex-grow */
/*    }*/

/*    .cta-section {*/
        /*display: none;  Hide CTA section on mobile */
/*    }*/

/*    .nav-links {*/
/*        position: absolute;*/
/*        top: 100%;*/
/*        left: 0;*/
/*        width: 100%;*/
/*        background: var(--bg-color);*/
/*        flex-direction: column;*/
/*        align-items: center;*/
/*        justify-content: space-evenly;*/
        /*display: none;  Keep nav links hidden by default */
/*        padding: 20px 0;*/
/*        gap: 10px;*/
/*        z-index: 15;*/
/*    }*/

/*    .nav-links.nav-active {*/
        /*display: flex;  Show nav links when active */
/*    }*/
/*}*/

/*@media (max-width: 480px) {*/
/*    .logo img {*/
        /*max-height: 40px;  Even smaller height for very small screens */
/*    }*/
/*}*/

/* Hero Section */
.hero {
    position: relative;
    margin-top: 90px;
    height: 100vh;
    background: url('Hero.jpg') center center/cover no-repeat;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Dark overlay for readability */
    z-index: 1;
}

.carousel-container {
    position: relative;
    height: 100vh;
    z-index: 1;
}

.hero-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    overflow: hidden;
    z-index: 1;
}

.hero-carousel video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}

.hero-carousel video.active {
    display: block;
    animation: fadeIn 1s ease-in;
}

/* Hero Overlay */
.hero-overlay {
    position: absolute;
    bottom: 5%;
    left: 5%;
    transform: translateY(-50%);
    text-align: left;
    color: var(--light-color);
    z-index: 2;
    padding: 32px 32px;  /* Padding divisible by 4 (increased for a more generous layout) */
    background: rgba(0, 0, 0, 0.7);  /* Semi-transparent dark background */
    border-radius: 12px;  /* Rounded corners for smoother design */
    max-width: 90%;  /* Keep it within a readable width */
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.4);  /* Slightly stronger shadow for depth */
}

/* Dynamic Heading */
.dynamic-heading {
    white-space: nowrap;  /* Ensure the heading stays on one line */
}

/* Ensure highlighted word is contained within the overlay */
.highlighted-word {
    display: inline-block;
    font-weight: bold;
    color: var(--primary-color);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

.hero-overlay h1 {
    font-size: 48px;
    max-width: 600px;
    margin-bottom: 24px;
    white-space: nowrap;
    color: var(--light-color);
}

.highlighted-word {
    color: var(--primary-color);
    font-weight: bold;
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

.animate {
    opacity: 1;
    transform: translateY(0);
}

.hero-overlay .cta-btn {
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color var(--transition-time), transform var(--transition-time), box-shadow var(--transition-time);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);  /* Added shadow for emphasis */
}

.cta-btn:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.hero-overlay .cta-btn:hover {
    background-color: #3e8e41;
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

/* About Section */
.about-container {
    position: relative;
    width: 100%;
    min-height: 400px; /* Set a min-height for responsiveness */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: #000;
    overflow: hidden;
    padding: 20px; /* Padding for mobile spacing */
}

/* Top and Bottom Slider - Shared Styles */
.slider {
    width: 100%;
    overflow: hidden;
    margin: 20px 0; /* Consistent margin between sliders and text */
}

/* Slide Wrapping for Animation */
.slides {
    display: flex;
    width: 200%;
}

.slide {
    width: 50%; /* Each slide occupies half of the container width */
    flex-shrink: 0;
}

.slide img {
    width: 100%;
    height: auto; /* Maintain aspect ratio */
}

/* Top Slider Animation (Left to Right) */
.top-slider .slides {
    animation: slide-left 10s linear infinite;
}

/* Bottom Slider Animation (Right to Left) */
.bottom-slider .slides {
    animation: slide-right 10s linear infinite;
}

@keyframes slide-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* Move left by 50% */
}

@keyframes slide-right {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); } /* Move right by 50% */
}

/* Glass Effect for the About Text */
.about-text {
    position: relative;
    z-index: 1;
    
    padding: 20px;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    color: #fff;
    text-align: center;
    border-radius: 15px;
    margin: 20px 0;
}

.about-text h2 {
    font-size: 2rem; /* Mobile friendly */
    font-family: var(--h2-font-family);
    margin-bottom: 15px;
    color: var(--primary-color);
}

.about-text p {
    font-size: 1rem; /* Smaller text for mobile */
    font-family: var(--p-font-family)
}

/* ---------------------------------
   Media Queries for Responsiveness
   --------------------------------- */

/* Tablets (768px and above) */
@media (min-width: 768px) {
    .about-container {
        min-height: 500px; /* Adjust section height for tablets */
        padding: 30px; /* More spacing on larger devices */
    }

    .about-text {
      
        padding: 25px;
    }

    .about-text h2 {
        font-size: 2.5rem; /* Slightly larger text */
    }

    .about-text p {
        font-size: 1.1rem;
    }

    .slider {
        margin: 25px 0; /* Increase margin between text and sliders */
    }
}

/* Desktops (1024px and above) */
@media (min-width: 1024px) {
    .about-container {
        min-height: 600px; /* Restore larger height for desktops */
        padding: 40px;
    }

    .about-text {
         /* Shrink the width for larger screens */
        padding: 30px;
    }

    .about-text h2 {
        font-size: 3rem; /* Large title for desktop */
    }

    .about-text p {
        font-size: 1.2rem; /* Slightly bigger text for readability */
    }

    .slider {
        margin: 30px 0; /* More space between sliders and text */
    }
}

/* Services Section */
.services {
    padding: 80px 20px;
    text-align: center;
    background-color: var(--dark-color);
}

.services h2 {
    color: var(--primary-color);
    font-family: var(--h2-font-family);
    font-size: 3rem;
    margin-bottom: 40px;
}

/* Slider Container */
.slider {
    width: 100%;
    height: var(--height, 300px); /* Default height is 300px */
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, #000 10% 90%, transparent);
}

.slider .list {
    display: flex;
    width: 100%;
    min-width: calc(var(--width, 300px) * var(--quantity, 3)); /* Default 3 items */
    position: relative;
}

.slider .item {
    width: var(--width, 300px);  /* Default item width is 300px */
    height: var(--height, 300px); /* Match the height to ensure square shape */
    position: absolute;
    left: 100%;
    animation: autoRun 10s linear infinite;
    transition: transform 0.3s ease, filter 0.5s;
    animation-delay: calc((10s / var(--quantity, 3)) * (var(--position) - 1) - 10s)!important;
    overflow: hidden; /* Ensures the overlay stays within the item */
}

.slider .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Hover Effect Overlay */
.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    color: var(--light-color);
    opacity: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s ease;
    padding: 20px;
    text-align: center;
}

.card-overlay h3 {
    margin-bottom: 10px;
    font-size: 24px;
}

.card-overlay p {
    font-size: 16px;
}

.item:hover .card-overlay {
    opacity: 1;
}

/* Animation */
@keyframes autoRun {
    from {
        left: 100%;
    }
    to {
        left: calc(var(--width, 300px) * -1);
    }
}

/* Pause on Hover */
.slider:hover .item {
    animation-play-state: paused!important;
    transform: scale(1.05); /* Slight zoom effect on hover */
}

/* Reverse Play Mode */
.slider[reverse="true"] .item {
    animation: reversePlay 10s linear infinite;
}

@keyframes reversePlay {
    from {
        left: calc(var(--width, 300px) * -1);
    }
    to {
        left: 100%;
    }
}

/* Responsive Breakpoints */

/* Tablet View */
@media (max-width: 1024px) {
    .slider {
        height: var(--height, 250px); /* Smaller height */
    }

    .slider .item {
        width: var(--width, 250px); /* Smaller items */
        height: var(--height, 250px); /* Ensure square shape */
    }
}

/* Mobile View */
@media (max-width: 768px) {
    .slider {
        height: var(--height, 200px); /* Further reduce height */
    }

    .slider .item {
        width: var(--width, 200px); /* Smaller items */
        height: var(--height, 200px); /* Keep square ratio */
    }
}

/* Work Section */
/* 1st Row: Fullscreen Video */
.video-row {
    height: calc(100vh - 90px); /* Full viewport height minus header */
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--dark-color); /* Fallback for no video */
}

.video-row video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 2nd Row: Image Grid */
.image-row {
    display: flex;
    margin-top: 48px;
    justify-content: space-around;
    padding: 20px 0;
    background-color: var(--bg-color);
}

.image-row img {
    width: 30%;
    height: auto;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.image-row img:hover {
    transform: scale(1.05);
}

.gallery-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 50px;
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-family);
    transition: var(--transition-time);
}




/* Contact Section */
.contact-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 50px;
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-family);
    transition: var(--transition-time);
}

.contact-details {
    flex: 1;
    max-width: 40%;
    padding-right: 20px;
}

.contact-details h2 {
    font-family: var(--h2-font-family);
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.contact-details p {
    margin: 10px 0;
    font-size: 1.2rem;
}
.lli{
margin-top:8px;
}

.contact-details a {
    color: var(--primary-color);
    text-decoration: none;
    margin-right: 15px;
    font-size: 1rem;
    transition: color var(--transition-time);
}

.contact-details a:hover {
    color: var(--light-color);
}

.map {
    flex: 1;
    max-width: 50%;
    position: relative;
}

.map iframe {
    width: 100%;
    height: 300px;
    border: none;
    transition: var(--transition-time);
}

.map iframe:hover {
    transform: scale(1.05);
}

/* Tablet View (min-width: 768px) */
@media (max-width: 1024px) {
    .contact-section {
        flex-direction: column;
        padding: 30px;
    }
    
    .contact-details {
        max-width: 100%;
        padding-right: 0;
    }

    .contact-details h2 {
        font-size: 1.8rem;
    }

    .contact-details p {
        font-size: 1.1rem;
    }

    .map {
        margin-top: 20px;
        max-width: 100%;
    }

    .map iframe {
        height: 350px;
    }
}

/* Mobile View (max-width: 768px) */
@media (max-width: 768px) {
    .contact-section {
        flex-direction: column;
        padding: 20px;
    }

    .contact-details {
        max-width: 100%;
        padding-right: 0;
    }

    .contact-details h2 {
        font-size: 1.5rem;
    }

    .contact-details p {
        font-size: 1rem;
    }

    .contact-details ul li {
        font-size: 0.9rem;
    }

    .contact-details a {
        font-size: 0.9rem;
    }

    .map {
        margin-top: 20px;
        max-width: 100%;
    }

    .map iframe {
        height: 300px;
    }
}

/* Ensure social media icons stay touch-friendly */
.social-media a {
    font-size: 1.5rem;
    margin: 10px 15px 10px 0;
}

/* Footer Section Styles */
.footer {
    background-color: #1d1d1d;
    color: #e1e1e1;
    padding: 40px 20px;
    text-align: center;
    width: 100%;
    position: relative;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.3);
}

/* Footer Container */
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Footer Bottom: Copyright and Legal Links */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    font-size: 0.875rem;
    margin-top: 20px;
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom .legal-links {
    display: flex;
    gap: 15px;
}

.footer-bottom a {
    color: #62db67;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* Footer Section Styles */
.footer {
    background-color: #1d1d1d;
    color: #e1e1e1;
    padding: 40px 20px;
    text-align: center;
    width: 100%;
    position: relative;
    z-index: 10;  /* Ensures it's above other elements */
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.3);
}

/* Footer Container */
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Footer Bottom: Copyright and Legal Links */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    font-size: 0.875rem;
    margin-top: 20px;
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom .legal-links {
    display: flex;
    gap: 15px;
}

.footer-bottom a {
    color: #62db67;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* Privacy Policy Section */
.privacy-policy-section {
    padding: 60px 20px;
    line-height: 1.6;
    position: relative;
    z-index: 5;  /* Ensures it's under the footer */
}

.privacy-policy-section .privacy-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--dark-color);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
    transition: background-color var(--transition-time), color var(--transition-time);
}

.privacy-policy-section h1 {
    font-family: var(--h2-font-family);
    font-size: 3em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 20px;
}

.privacy-policy-section h2 {
    font-family: var(--h2-font-family);
    font-size: 2.2em;
    margin-top: 40px;
    margin-bottom: 15px;
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
}

.privacy-policy-section h3, .privacy-policy-section h4 {
    font-size: 1.8em;
    color: var(--light-color);
    margin-bottom: 10px;
}

.privacy-policy-section p {
    font-family: var(--p-font-family);
    font-size: 1.1em;
    color: var(--text-color);
    margin-bottom: 20px;
}

.privacy-policy-section ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

.privacy-policy-section ul li {
    margin-bottom: 10px;
    font-family: var(--p-font-family);
}

.privacy-policy-section a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-time);
}

.privacy-policy-section a:hover {
    color: var(--secondary-color);
}

.update-date {
    font-size: 1.2em;
    font-style: italic;
    color: var(--secondary-color);
    margin-bottom: 30px;
}

.intro-text {
    font-size: 1.1em;
    margin-bottom: 30px;
}

.privacy-policy-section .privacy-container:hover {
    background-color: var(--bg-color);
}

/* Responsive Design */

/* Tablet View */
@media (max-width: 1024px) {
    .footer-top {
        flex-direction: column;
        gap: 20px;
    }

    .footer-bottom {
        justify-content: center;
        text-align: center;
        gap: 20px;
    }
}

/* Mobile View */
@media (max-width: 768px) {
    @media (max-width: 768px) {
        .footer-bottom {
            flex-direction: column;
            text-align: center;
            font-size: 0.75rem;
        }
    
        .footer-bottom .legal-links {
            flex-direction: column;
            gap: 10px;
        }
    }
}


/* Responsive Design */
@media screen and (max-width: 768px) {
    .hero-overlay {
        padding: 24px 48px;  /* Reduced padding for smaller screens */
        max-width: 90%;  /* Ensure it stays within viewport */
    }

    .hero-overlay h1 {
        font-size: 32px;  /* Smaller heading for mobile */
    }

    .hero-overlay .cta-btn {
        padding: 12px 24px;  /* Reduced button padding */
        font-size: 16px;  /* Adjusted font size */
    }

    .service-cards,
    .portfolio-gallery,
    .about-content {
        flex-direction: column;
        gap: 20px;
    }

    .card, .portfolio-card, .about-text, .about-image {
        width: 100%;
    }

    /*header nav {*/
    /*    flex-direction: column;*/
    /*}*/

    /*.burger {*/
    /*    display: flex;*/
    /*}*/

    /*.nav-links {*/
    /*    flex-direction: column;*/
    /*    align-items: center;*/
    /*    display: none;*/
    /*}*/

    /*.nav-links.nav-active {*/
    /*    display: flex;*/
    /*}*/
}


.team-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
   
}

.team-item img {
    transition: .5s;
    width:30%;
    height:30%;
    
}

.team-item:hover img {
    transform: scale(1.1);
}


.gallery-text {
    /*position: relative;*/
    /*z-index: 1;*/
    width: 100%; /* Adjust for mobile first */
    /*padding: 20px;*/
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    color: #fff;
    /*text-align: center;*/
    border-radius: 15px;
    /*margin: 20px 0;*/
}

.gallery-text h2 {
    font-size: 2rem; /* Mobile friendly */
    font-family: var(--h2-font-family);
    /*margin-bottom: 15px;*/
    color: var(--primary-color);
}

.video-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    max-width: 50%;
    height: 20%;
     background-color:#f7f7f7; 
    /* border: 2px solid #ccc; */
    /* padding: 10px; */
    border-radius: 10px;
    padding-top: 2%;
    padding-bottom:0px;
    overflow: hidden;
    overflow-x: hidden;
  }

/* Video style */
.responsive-video {
    width: 100%; /* Makes video responsive */
    /*height: 400px;*/
    height: 400px; /* Keeps aspect ratio */
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2); /* Adds a shadow */
    overflow-x: hidden;
    
}

/* Adjust for smaller screens */
@media (max-width: 768px) {
    .video-container {
        max-width: 100%;
        overflow-x: hidden;
    }
}


