html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    background: #FFF;
    color: white;
}
h2,h4,p {color: #000;}
.container {
    max-width: 1200px;
    margin: auto;
    padding: 1rem;
    transition: .5s ease-in-out;
}

.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0;
    padding-bottom: 0;
}
.header.sticky .container.flex-between {
    max-width: 100%;
    transition: .5s ease-in-out;
    padding-top: 10px;
    padding-bottom: 10px;
}
.header {
    position: relative;
    width: 100%;
    transition: all 0.5s ease;
    z-index: 100;
    overflow: hidden;
}

.header.sticky {
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent background when sticky */
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}
.header:before {position: absolute;width: 50%;height: 2px;background-color: #FFF;left: 100%;bottom: 0;transition: all .5s ease-in-out;content: "";opacity: 0;}
.header:after {position: absolute;width: 50%;height: 2px;background-color: #FFF;right: 100%;bottom: 0;transition: all .5s ease-in-out;content: "";opacity: 0;}
.header.sticky:before {position: absolute;width: 50%;height: 2px;background-color: #FFF;left: 0%;bottom: 0;transition: all .5s ease-in-out;content: "";opacity: 1;}
.header.sticky:after {position: absolute;width: 50%;height: 2px;background-color: #FFF;right: 0%;bottom: 0;transition: all .5s ease-in-out;content: "";opacity: 1;}
.nav a {
    margin: 0 1rem;
    text-decoration: none;
    color: #000;
    transition: all .3s ease-in-out;
}

.nav a:hover {
    color: #aaa;
    transition: all .3s ease-in-out;
}

.logo {max-width: 100px;height: auto;overflow: hidden;transition: all .5s ease-in-out;}
.logo img {width: 100%;height: auto;transition: all .5s ease-in-out;}
.header.sticky .logo {max-width: 60px;transition: all .5s ease-in-out;}
.header.sticky .nav a {color: #FFF;}
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.badge {
    background: rgba(255,255,255,0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    margin-right: 0.5rem;
}
.hero-wrap {
    position: absolute;
    width: 100%;
    top:20%;
    z-index: 2;
    text-align: left;
}
.hero-wrap .hero-text p {color: #FFF;}
.hero-buttons a {
    display: inline-block;
    margin-right: 1rem;
    padding: 1rem 2rem;
    text-decoration: none;
    color: black;
    background: white;
    border-radius: 30px;
}

.hero-image {
    background: linear-gradient(to bottom right, #444, #222);
    height: 300px;
    border-radius: 20px;
    overflow: hidden;
}

.hero-image img {width: 100%;height: auto;position: relative;top: -60px;}

/* Hero Buttons CSS (exact design from your .jsx code) */
.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-buttons a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-size: 1rem;
    text-decoration: none;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.hero-buttons a:first-child {
    background-color: white;
    color: black;
    border: 1px solid rgba(255, 255, 255, 0.9);
    transition: all .3s ease-in-out;
}

.hero-buttons a:first-child:hover {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.9);
    color: rgba(255, 255, 255, 0.9);
    transition: all .3s ease-in-out;
}

/* .hero-buttons a:last-child {
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
} */

.hero-buttons a:last-child:hover {
    border-color: rgba(255, 255, 255, 0.4);
}


/* --- Showreel Section --- */
.showreel {
    background: rgba(255, 255, 255, 0.02);
    text-align: center;
    padding: 0;
    top: -125px;
}

.showreel h2 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1rem;
}

.showreel a {
    display: inline-block;
    margin-bottom: 2rem;
    font-size: 1rem;
    color: rgba(0, 0, 0, 1);
    text-decoration: none;
}

.showreel a:hover {
    color: white;
}

.showreel-video {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1.5rem;
    height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1; /* Send video to background */
}

.play-button {
    background: white;
    color: black;
    padding: 1rem 2rem;
    border-radius: 2rem;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 0.5rem;
}

.project {
    background: rgba(255,255,255,0.05);
    border-radius: 20px;
    overflow: hidden;
    padding: 1rem;
}

.project-image {
    background: rgba(255,255,255,0.1);
    height: 150px;
    border-radius: 20px;
}

.project-image img {
    transform: scale(2.5);
    transition: transform 0.5s ease-in-out;
}

.project-info {
    position: relative;
    left: 15px;
    z-index: 2;
}

.project-info h4 {color: rgba(255, 255, 255, 0.8);}

.project:hover .project-image img {
    transform: scale(2.7);
}

.capabilities-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.capability {
    background: rgba(0, 0, 0, 0.95);
    padding: 1rem;
    border-radius: 20px;
    box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
}
.capability h4,.capability p {color: #FFF;}
.capability.first {background-color: #411146;}
.capability.second {background-color: #e3a824;}
.capability.third {background-color: #105808;}
/* --- Marquee Section --- */
.marquee {
    overflow: hidden;
    background: rgba(0, 0, 0, 1);
    padding: 1.5rem 0;
}

.marquee-track {
    display: flex;
    animation: marquee 22s linear infinite;
}

.marquee-track span {
    margin: 0 0.8rem;
    /* font-size: 14px; */
    color: rgba(255, 255, 255, 0.7);
    display: inline-block;
    white-space: nowrap;
    max-width: 100px;
    width: 100%;
    height: auto;
}

.marquee-track span img {width: 100%;height: auto;display: inline-block;}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}


/* --- Testimonials Section --- */
.testimonials {
    background: rgba(255, 255, 255, 0.02);
    /* padding: 4rem 0; */
}

.testimonials h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial {
    background: rgba(0, 0, 0, 0.8);
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.testimonial p {
    font-size: 1.2rem;
    line-height: 1.5;
}

.testimonial p {color: rgba(255,255,255,0.95);}

.testimonial small {
    display: block;
    margin-top: 1rem;
    color: rgba(255,255,255,0.7);
}


/* --- About Section --- */
.about {
    background: rgba(255, 255, 255, 0.02);
    padding: 4rem 0;
}

.about h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.8);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.about-stats div {
    background: rgba(0,0,0,0.9);
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: left;
}

.about-stats strong {
    display: block;
    font-size: 24px;
    color: white;
    margin-bottom: 0.5rem;
}

.about-stats span {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
}


/* --- Contact Form Section --- */
.contact {
    background: rgba(255,255,255,0.02);
    padding: 4rem 0;
}

/* .contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
} */

.contact-form {
    display: grid;
    gap: 1.5rem;
    background: rgba(0,0,0,0.9);
    padding: 2rem;
    border-radius: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    background: rgba(0,0,0,0.7);
    border: none;
    border-radius: 1rem;
    padding: 1rem;
    color: #000;
    font-size: 1rem;
    outline: none;
    transition: background 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    background: rgba(255,255,255,0.2);
}

.contact-form button {
    background: #FFF;
    color: #000;
    padding: 1rem 2rem;
    border: none;
    border-radius: 1rem;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s;
}

.contact-form button:hover {
    background: #ddd;
}

.contact-info {
    background: rgba(0,0,0,0.9);
    border-radius: 1.5rem;
    padding: 2rem;
    color: rgba(0,0,0,0.8);
}

.contact-info p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.contact-info p, .contact-info p a {color: rgba(255,255,255,0.8);text-decoration: none;}


/* --- Footer Section --- */
.footer {
    background: rgba(0, 0, 0, 1);
    text-align: center;
}

.footer p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.footer nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.footer nav a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    transition: color 0.3s;
}

.footer nav a:hover {
    color: white;
}


#progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: white;
    width: 0%;
}

/* Initial state of elements */
.fade-in {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Active state when element is visible */
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
.map-container {
    width: 100%;
    max-width: 100%;
    height: 250px;
    margin-top: 1rem;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.project-image {
    position: relative;
    cursor: pointer;
}

.thumbnail {
    width: 100%;
    border-radius: 1rem;
    display: block;
}

.play-video-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.8);
    border: none;
    padding: 1rem;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0.9;
    height: 50px;
    width: 50px;
    line-height: 0.9;
}

.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.video-modal.active {
    display: flex;
}

.modal-content {
    position: relative;
    background: #000;
    padding: 1rem;
    border-radius: 1rem;
    max-width: 800px;
    width: 90%;
}

#popupVideo {
    width: 100%;
    height: 450px;
    border-radius: 1rem;
}

.close-btn {
    position: absolute;
    top: 1.2rem;
    right: 1.5rem;
    font-size: 2rem;
    color: white;
    cursor: pointer;
}

.main-content > .row > #breadcrumbs.yoast {
    padding: 20px 0;
}
#breadcrumbs {margin-top: -1%;position: absolute;}
#breadcrumbs span a {color:#f20344;text-decoration: none;}
#breadcrumbs span.breadcrumb_last {color: #000000;}


.lets-connect-wrap {position: relative;width: 100%;}
.lets-connect-wrap .lets-connect {position: relative;text-align: center;}
.lets-connect-wrap .lets-connect p,.lets-connect-wrap .lets-connect span {font-size: 22px;color: #000000;text-align: center;margin-bottom: 20px;}
.lets-connect-wrap .lets-connect h4 {font-size: 50px;color: #000000;line-height: 50px;text-align: center;text-transform: uppercase;margin-bottom: 20px;}
.lets-connect-wrap .lets-connect span {display: block;}
.lets-connect-wrap .lets-connect a {display: inline-block;text-decoration: none;background-color: #f20344;font-size: 18px;padding: 25px 40px;text-transform: uppercase;letter-spacing: 1px;color: #fff;margin-top: 40px;margin-bottom: 50px;border-radius: 10px;font-weight: bold;}


@media screen and (max-width:1100px) {
    .projects-grid {grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));}
    .project-image img {transform: scale(1.7);}
    .project:hover .project-image img {transform: scale(1.9);}
}