:root {
    --black: #111;
    --accent-green: #5cb85c;
    --light-grey: #f4f4f4;
    --font-main: 'Segoe UI', sans-serif;
}

body {
    font-family: var(--font-main);
    background-color: #fff;
    color: var(--black);
    line-height: 1.7;
    font-size: 1.125rem; /* 18px base */
}

/* Headings */
h1, h2, h3, h4, h5 {
    font-weight: 600;
    line-height: 1.2;
}

h1 {
    font-size: 4rem; /* Hero */
}

h2 {
    font-size: 2.75rem; /* Section title */
}

h3 {
    font-size: 2rem;
}

/* NAV */
.navbar {
    background-color: #fff;
    padding: 1rem 2rem;
    border-bottom: 1px solid #eee;
}

.navbar-brand {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--black);
}

.nav-link {
    font-size: 1.125rem;
}

/* HERO */
.hero {
    height: 100vh;
    background: url() center center / cover no-repeat;
    position: relative;
    display: flex;
}

    .hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.3);
    }

.hero-section {
    background: url('img/porsche_mayfair/thumbnail_L1370298.jpg') no-repeat center center;
    background-size: cover;
    color: #111;
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.subhero {
    position: relative;
    height: 55vh;
    color: #111;
    padding-top: 6rem;
    padding-bottom: 6rem;
    overflow: hidden;
    background: url('../img/porsche/porsche_14.jpg') no-repeat center center;
    background-size: cover;
}

.subhero_sectors {
    background: url('../img/hero_HCC_Sign.png') no-repeat center 35%;
    background-size: cover;
}

    .subhero .hero-video {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 100%; /* fill width */
        width: 100%; /* fill width */
        height: 100%; /* fill height */
        object-fit: cover; /* crop/scale video without distortion */
        transform: translate(-50%, -50%);
        z-index: 1; /* behind text/content */
    }

.hero-content h1 {
    font-size: 3rem;
    line-height: 1.2;
    color: #000;
}

.hero-content p {
    font-size: 1.125rem;
    max-width: 520px;
}


.hero-text {
    position: relative;
    color: #fff;
    text-align: left;
    max-width: 800px;
    padding: 1rem;
}

    .hero-text h1 {
        font-weight: 700;
        font-size: 4rem;
    }

    .hero-text p {
        font-size: 1.5rem;
        margin-top: 1rem;
        font-weight: 300;
    }

.hamburger-btn i {
    transition: transform 0.2s ease;
}

.hamburger-btn:hover i {
    transform: rotate(90deg);
}

.hero-section {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: url('img/porsche_mayfair/thumbnail_L1370298.jpg') center/120% no-repeat;
    overflow: hidden;
}

    .hero-section::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(to top, rgba(0,0,0,0.8) 20%, rgba(0,0,0,0) 80%);
        z-index: 0;
    }

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

    .hero-content h1 {
        font-size: 3.5rem;
        font-weight: 700;
    }

.scroll-down {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    font-size: 2rem;
    color: #fff;
    cursor: pointer;
    animation: bounce 1.8s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translate(-50%, 0);
    }

    40% {
        transform: translate(-50%, -12px);
    }

    60% {
        transform: translate(-50%, -6px);
    }
}


/* INTRO */
.intro {
    padding: 5rem 2rem;
    background-color: var(--light-grey);
    text-align: center;
}

    .intro h2 {
        font-weight: 600;
        font-size: 2.5rem;
    }

    .intro p {
        max-width: 800px;
        margin: 1.5rem auto 0;
        font-size: 1.25rem;
        font-weight: 400;
    }

/* SERVICES */
.services {
    padding: 5rem 2rem;
}

    .services .card {
        border: none;
        border-radius: 0;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        padding: 2rem;
        font-size: 1.125rem;
    }

        .services .card h5 {
            font-size: 1.5rem;
            font-weight: 600;
        }

        .services .card:hover {
            transform: translateY(-4px);
            box-shadow: 0 4px 20px rgba(0,0,0,0.1);
        }

/* ACCREDITATIONS */


    

    .accreditations img {
        display:inline-block;
        max-width:40%;
               opacity: 0.8;
        transition: opacity 0.3s;
    }

        .accreditations img:hover {
            opacity: 1;
        }

/* PROJECTS */
.projects {
    padding: 5rem 2rem;
}

    .projects h3 {
        font-size: 2.25rem;
    }

    .projects .card {
        border: none;
        transition: transform 0.3s;
    }

        .projects .card:hover {
            transform: scale(1.02);
            background: none;
        }

        .projects .card h5 {
            font-size: 1.25rem;
        }

/* TESTIMONIALS */
.testimonials {
    padding: 5rem 2rem;
    background-color: var(--light-grey);
}

    .testimonials h3 {
        font-size: 2.25rem;
        font-weight: 600;
        text-align: center;
    }

.testimonial {
    font-style: italic;
    padding: 2rem;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border-left: 4px solid var(--accent-green);
    font-size: 1.125rem;
}

    .testimonial .text-muted {
        font-size: 1rem;
    }

/* FOOTER */
.footer {
    background: var(--black);
    color: #fff;
    padding: 4rem 2rem 2rem;
    text-align: left;
    font-size: 0.85rem;
}

    .footer a {
        color: #fff;
        text-decoration: none;
    }

        .footer a:hover {
            color: var(--accent-green)
        }

.card {
    transition: all 0.4s ease;
    will-change: transform;
}

    .card:hover {
        transform: translateY(-6px) scale(1.02);
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }

.btn-custom {
    background-color: var(--accent-green);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 0;
    transition: background 0.3s ease;
}

    .btn-custom:hover {
        background-color: #469a46;
    }

.about-services-section {
    background-color: #f8f9f9;
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.service-box .service-img, .sector-item img{
    height: 220px;
    object-fit: cover;
}

.service-box i {
    color: #4CAF50; /* Bootstrap 'success' green */
    transition: transform 0.3s;
}

.service-box:hover i {
    transform: scale(1.15);
}

.project-tile {
    position: relative;
    overflow: hidden;
    display: block;
}

    .project-tile img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.4s ease;
    }

    .project-tile:hover img {
        transform: scale(1.05);
    }

    .project-tile .overlay {
        position: absolute;
        bottom: 0;
        color: white;
        padding: 1rem;
        width: 100%;
        text-align: left;
        transition: opacity 0.3s;
    }

    .project-tile:hover .overlay {
        opacity: 1;
    }

    .project-tile h5 {
        margin: 0;
        font-size: 1.25rem;
        font-weight: 600;
    }

/* Optional: make one tile wider */
.big-tile {
    height: 300px;
}

.project-card {
    position: relative;
    overflow: hidden;
    display: block;
    transition: transform 0.3s ease;
}

    .project-card img {
        width: 100%;
        height: auto;
        object-fit: cover;
        transition: transform 0.3s ease;
    }

    .project-card:hover img {
        transform: scale(1.05);
    }

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    color: #fff;
}

    .project-overlay h5 {
        margin: 0;
        font-weight: 600;
        font-size: 1.1rem;
    }
/* Hamburger Icon */
.hamburger-btn {
    background: none;
    border: none;
    padding: 0;
}

/* Offcanvas Sidebar */
.offcanvas {
    width: 280px;
}

    .offcanvas .nav-link {
        position: relative;
        display: inline-block;
        font-size: 1rem;
        font-weight: 600;
        letter-spacing: 0.05em;
        color: var(--accent-green);
        border-radius: 8px;
        overflow: hidden; 
        transition: color 0.5s ease;
        padding-left:1rem;
    }

        .offcanvas .nav-link::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 0%;
            height: 100%;
            background: black;
            border-radius: inherit;
            z-index: 0;
            transition: width 0.4s ease;
        }

        .offcanvas .nav-link:hover::before {
            width: 100%;
        }

       

        .offcanvas .nav-link span {
            position: relative;
            z-index: 1;
        }

.btn-cta {
    background-color: #111;
    color: #fff;
    border: 2px solid #111;
    border-radius: 0;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

    .btn-cta:hover,
    .btn-cta:focus {
        color: #fff;
        background-color: #111;
        border-bottom-color: var(--accent-green);
        text-decoration: none;
    }



#testimonials {
    background-color: #f9f9f9;
}

.testimonial-item {
    max-width: 1000px;
    margin: 0 auto;
}

.testimonial-item {
    min-height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

    .testimonial-item p {
        font-size: 1rem;
        color: #333;
    }

    .testimonial-item h5 {
        color: #000;
    }

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(1) brightness(0.5);
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
}
/* Fade and slide-in animation */
@keyframes fadeSlideUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.carousel-item .testimonial-item {
    animation: fadeSlideUp 1s ease both;
}



/* On carousel transition override default fade-in delay */
.carousel-item-next .testimonial-item,
.carousel-item-prev .testimonial-item {
    animation: fadeSlideUp 1s ease both;
}

.card-project {
    border: none;
    border-radius: 0;
    overflow: hidden;
    position: relative;
}

    .card-project .card-img {
        object-fit: cover;
        height: 100%;
        filter: brightness(80%);
        border-radius: 0;
    }


    .card-project .card-title {
        font-size: 1.25rem;
        font-weight: 600;
    }

.btn-cta {
    background-color: #fff;
    color: #000;
    border: none;
    transition: all 0.3s ease;
}

    .btn-cta:hover {
        background-color: #6DB15C;
        color: #fff;
    }


#vacanciesGrid .btn-cta, #sector-detail .btn-cta {
    background-color: #6DB15C;
    color: #fff;
    border: none;
    transition: all 0.3s ease;
}
.text-right {
    text-align: right;
}

.ctasection {
    position: relative;
    color: #ffffff;
}

    .ctasection::before {
        content: "";
        position: absolute;
        bottom: 0%;
        left: 12%;
        width: 70%;
        height: 100%;
        background: url('/img/hcc_emblem.svg') no-repeat left top;
        background-size: contain;
        opacity: 0.15;
        /* fade effect */
        -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 100%);
        -webkit-mask-repeat: no-repeat;
        -webkit-mask-position: top;
        -webkit-mask-size: cover;
        mask-image: linear-gradient(to top, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 100%);
        mask-repeat: no-repeat;
        mask-position: top;
        mask-size: cover;
        pointer-events: none;
        z-index: 0;
    }




/* Page Loader Overlay */
#page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #111; /* Dark background */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

    #page-loader.hidden {
        opacity: 0;
        visibility: hidden;
    }

/* Loader animation */
.loader {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-top-color: #6DB15C; /* Accent green */
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loader-content {
    text-align: center;
}


.hero-section::before {
    background: linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0.2));
}

.hero-content h1 {
    color: #fff;
}

.main-header .navbar-brand img {
    filter: drop-shadow(0 0 4px rgba(0,0,0,0.8));
    
}

.hamburger-btn i {
    color: #e6e6e6;
}

.main-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent; /* fully transparent */
    z-index: 1000;
    padding: 1rem 2rem;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}



/* Optional: make it solid on scroll */
.scrolled .main-header {
    background: rgba(17,17,17,0.9);
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}
.main-header {
    transition: all 0.3s ease;
    z-index: 1000;
}

    .main-header.sticky {
        position: fixed !important;
        background: white;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }

        .main-header.sticky img {
            filter: invert(1);
            max-height:48px !important;
        }
        .main-header.sticky .menu-btn {
        color:#111;
        }

:root {
    --black: #111;
    --accent-green: #5cb85c;
    --light-grey: #f4f4f4;
    --font-main: 'Segoe UI', sans-serif;
}

body {
    font-family: var(--font-main);
    background: #fff;
    color: var(--black);
    line-height: 1.7;
    font-size: 1.125rem;
}

h1, h2, h3, h4, h5 {
    font-weight: 600;
    line-height: 1.2;
}

h1 {
    font-size: 4rem;
}

h2 {
    font-size: 2.75rem;
}

h3 {
    font-size: 2rem;
}

/* Navbar */
.navbar, .main-header {
    background: transparent;
    padding: 1rem 2rem;
    transition: background 0.3s, box-shadow 0.3s;
}

.navbar-brand {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--black);
}

.nav-link {
    font-size: 1.125rem;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    overflow: hidden;
    background-size: cover;
    z-index: -2;
}

    .hero-section::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(to top, rgba(0,0,0,0.65), rgba(0,0,0,0));
        z-index: 0;
    }

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

    .hero-content h1 {
        font-size: 3.5rem;
        font-weight: 700;
        color: #fff;
    }

.scroll-down {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    animation: bounce 1.8s infinite;
}

@keyframes bounce {
    0%,20%,50%,80%,100% {
        transform: translate(-50%,0);
    }

    40% {
        transform: translate(-50%,-12px);
    }

    60% {
        transform: translate(-50%,-6px);
    }
}

/* Hero Slideshow */
.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: -1;
}

    .hero-slideshow img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
        animation: fade 20s infinite, kenburns 20s ease-in-out infinite alternate;
        opacity: 0;
    }

        .hero-slideshow img:nth-child(1) {
            animation-delay: 0s, 0s;
        }

        .hero-slideshow img:nth-child(2) {
            animation-delay: 5s, 5s;
        }

        .hero-slideshow img:nth-child(3) {
            animation-delay: 10s, 10s;
        }

@keyframes fade {
    0% {
        opacity: 1;
    }

    30% {
        opacity: 1;
    }

    33% {
        opacity: 0;
    }

    97% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes kenburns {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1) translate(-3%,-3%);
    }
}

/* Sections */
.intro, .services, .projects, .testimonials {
    padding: 5rem 2rem;
}

.intro {
    background: var(--light-grey);
    text-align: center;
}

    .intro p {
        max-width: 800px;
        margin: 1.5rem auto 0;
    }

.services .card,
.projects .card,
.card-project {
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .services .card:hover,
    .projects .card:hover,
    .card:hover {
        transform: translateY(-4px);
        box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    }


.accreditations img {
    display: inline-block;
    max-width: 40%;
    opacity: 0.8;
    transition: opacity 0.3s;
}

    .accreditations img:hover {
        opacity: 1;
    }

/* Testimonials */
.testimonial-item {
    min-height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
#testimonialsGrid .bg-light {
    background-color: rgb(218 221 225) !important;
}

.hint-icon {
    bottom: 10px; 
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.5rem; 
    color: #fff; 
    z-index: 10; 
    pointer-events: none; 
    opacity: 0.8; 
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(1) brightness(0.5);
}

/* Buttons */
.btn-custom, .btn-cta {
    background-color: #ffffff;
    color: black;
    border: none;
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 0;
    transition: background 0.3s ease;
}

    .btn-custom:hover, .btn-cta:hover {
        background-color: #469a46;
        color: #fff;
    }

/* Loader */
#page-loader {
    position: fixed;
    inset: 0;
    background: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    transition: opacity 0.8s, visibility 0.8s;
}

    #page-loader.hidden {
        opacity: 0;
        visibility: hidden;
    }

.loader {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255,255,255,0.2);
    border-top-color: var(--accent-green);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.0); /* dark overlay for readability */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content {
    color: #fff;
    max-width: 700px;
    padding: 20px;
}

    .hero-content h1 {
        font-size: 3rem;
        margin-bottom: 1rem;
    }

    .hero-content p {
        font-size: 1.25rem;
        margin-bottom: 2rem;
    }

.btn {
    background: #fff;
    color: #000;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}



.navbar-toggler {
    background-color: transparent;
    outline: none;
}

.navbar-toggler-icon {
    filter: invert(1); /* makes the hamburger icon white */
}

.menu-btn {
    font-size: 2.5rem; /* make icon larger */
    color: #fff; /* white icon */
    background: none;
    border: none;
    transition: color 0.3s ease;
}

    .menu-btn:hover {
        color: #469a46;
    }

    .menu-btn:focus {
        outline: none;
        box-shadow: none;
    }

.offcanvas {
    background: #f8f9f9;
    color: #000000;
    font-size: 2rem;
}

    .offcanvas .nav-link {
        font-size: 1.75rem;
    }

.text-em {
font-size:1.2rem;
font-weight:500;
}
.subheader {
    width: 100%;
    background: #222529;
    color: white;
    padding: 8px;
    border-radius: 5px;
    width: 100%;
    background: #222529;
    color: white;
    padding: 8px;
    border-radius: 5px;
    font-weight:500;
    font-size:1.25rem;
}


.masonry-grid {
    column-count: 2; /* two columns */
    column-gap: 1.5rem; /* space between columns */
}

    .masonry-grid .project-item {
        display: inline-block;
        width: 100%;
        margin-bottom: 1.5rem;

    }

    .masonry-grid .card {
        display: block;
    }

.project-item .card-body, #sectorsGrid .card {
    border-radius: 8px;
    background: transparent;
}
.project-item {
    transition: color 0.6s ease;
}

    .project-item .card-body .card-title, #sectorsGrid .card .card-title {
        transition: color 0.6s ease;
        text-transform: none;
        font-size: 1.25rem;
        margin-bottom: 0;
    }

    .project-item:hover .card-body .card-title, #sectorsGrid .card:hover .card-title {
        color: #469a46;
    }

#projectsGrid .card {
    border: 0;
    border-bottom-left-radius: var(--bs-card-inner-border-radius);
    border-bottom-right-radius: var(--bs-card-inner-border-radius);
}
.breadcrumb-item a {
color:inherit;
text-decoration:none;
}
.breadcrumb-item + .breadcrumb-item::before {
    content: var(--bs-breadcrumb-divider, ">");
}

#newsGrid .card-img-top {
    height: 220px; 
    object-fit: cover; 
    width: 100%;
}
#servicesCarousel {
    position: relative;
}

    #servicesCarousel .carousel-control-prev {
        left: -3rem; /* shift left outside the carousel */
    }

    #servicesCarousel .carousel-control-next {
        right: -3rem; /* shift right outside the carousel */
    }

    
    #servicesCarousel .carousel-control-prev-icon,
    #servicesCarousel .carousel-control-next-icon {
        width: 1.5rem; /* smaller arrow shape */
        height: 1.5rem; /* smaller arrow shape */
        background-size: 100% 100%;
    }



.overlap-section {
    width: 100vw;
    margin-left: 50%;
    transform: translateX(-50%);
    margin-top: -200px;
    padding-top: 200px;
    background-color: var(--bs-light, #f8f9fa); /* Bootstrap light */
    position: relative;
    z-index: -1;
}

.card-img-top {
border-bottom:3px solid white;
}
.sectors-carousel .swiper-container {
    overflow: hidden;
    position: relative;
}
.m-listing-page-module {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

    .m-listing-page-module:hover {
        transform: translateY(-5px);
    }

.m-image-video-module img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
}

.overlay-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    color: #fff;
    z-index: 2;
}

.overlay-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75), rgba(0,0,0,0.1));
    z-index: 1;
}

.overlay-text {
    position: relative;
    z-index: 2;
}

    .overlay-text h3 {
        font-size: 1.2rem;
        font-weight: 600;
        margin: 0;
    }

    .overlay-text .btn {
        background-color: #fff;
        color: #000;
        border: none;
        font-size: 0.85rem;
        padding: 0.35rem 0.9rem;
        border-radius: 20px;
        transition: all 0.3s ease;
    }

        .overlay-text .btn:hover {
            background-color: #000;
            color: #fff;
        }

.swiper-button-prev,
.swiper-button-next {
    color: #000;
    background: rgba(255, 255, 255, 0.9);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.swiper-pagination-bullet {
    background: #000 !important;
    opacity: 0.3;
}

.swiper-pagination-bullet-active {
    opacity: 1;
}
.section img.card-img-top {
    display: block;
    width: 100%;
    height: auto;
    position: relative;
    z-index: 99;
}

.section.overlap-section {
    position: relative;
    z-index: 2; /* ensures it's above the image */
}

    .section.overlap-section .btn {
        position: relative;
        z-index: 3;
    }


#teamsection .card {
    position: relative;
    overflow: hidden;
}

    #teamsection .card img {
        display: block;
        width: 100%;
        height: auto;
        transition: transform 0.4s ease;
    }

    #teamsection .card:hover img {
        transform: scale(1.05);
    }

#teamsection .overlay {
    background: rgba(0, 0, 0, 0.75);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    padding:1rem;
}

#teamsection .card:hover .overlay {
    opacity: 1;
    visibility: visible;
}

#teamsection .overlay-content {
    color: #fff;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

#teamsection .card:hover .overlay-content {
    transform: translateY(0);
}

@media (min-width: 769px) {
    .hint-icon {
        display: none;
    }
}
@media only screen and (max-width: 600px) {


    .hero {
        position: relative;
        height: 50vh;
        color: #111;
        padding-top: 6rem;
        padding-bottom: 6rem;
        overflow: hidden;
        background: url('../img/porsche_mayfair/thumbnail_L1370298.jpg') no-repeat center center;
        background-size: cover;
    }

        .hero .hero-video {
            position: absolute;
            top: 50%;
            left: 50%;
            width: 100%; /* fill width */
            width: 100%; /* fill width */
            height: 100%; /* fill height */
            object-fit: cover; /* crop/scale video without distortion */
            transform: translate(-50%, -50%);
            z-index: 1; /* behind text/content */
        }

    
}
/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 800px;
    background: rgba(20, 20, 20, 0.9);
    color: #fff;
    border-radius: 1rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(8px);
    z-index: 9999;
    padding: 1.5rem;
    display: none;
    animation: fadeInUp 0.6s ease forwards;
    font-family: inherit;
}

.cookie-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.25rem;
}

.cookie-text {
    flex: 1;
    min-width: 240px;
}

    .cookie-text h5 {
        font-size: 1rem;
        font-weight: 600;
        margin-bottom: 0.25rem;
        color: #fff;
    }

    .cookie-text p {
        font-size: 0.9rem;
        color: #ddd;
        line-height: 1.4;
    }

.cookie-link {
    color: #fff;
    text-decoration: underline;
    font-weight: 500;
}

    .cookie-link:hover {
        color: #aad8ff;
    }

.cookie-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

#cookie-accept {
    background: #4aa754;
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

    #cookie-accept:hover {
        background: rgb(34,139,34);
        transform: translateY(-2px);
    }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate(-50%, 20px);
    }

    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}
