:root {
    --navbar-height: 60px;
    --glass-bg: rgba(0, 0, 0, 0.7);
    --accent-blue: #4da6ff;
    --text-dark: #e0e0e0;
    --text-light: #6c757d;
}

html,
body {
    height: 100%;
    display: flex;
    flex-direction: column;
    font-family: 'Montserrat', sans-serif;
}

.page-wrapper {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
}

body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    color: var(--text-dark);
    background-color: #000;
    min-height: 100vh;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../assets/images/bg2.webp') center/cover;
    z-index: -1;
    image-rendering: -webkit-optimize-contrast;
    backface-visibility: hidden;
}

.section-header {
    padding: 6rem 1rem;
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    text-align: center;
    margin: 0 auto 1rem;
    color: var(--text-dark);
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-blue);
}

.abg-breadcrumb-container {
    margin: 15px auto;
    background-color: transparent;
}

.breadcrumb {
    font-family: 'Montserrat', sans-serif;
    padding: 0;
    margin: 0;
    background-color: transparent;
    font-size: 0.9rem;
}

.breadcrumb-item+.breadcrumb-item::before {
    content: ">";
    color: var(--text-light);
}

.breadcrumb-item a {
    color: var(--accent-blue);
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb-item a:hover {
    color: #0056b3;
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: var(--text-light);
}

@media (max-width: 768px) {
    body::before {
        background-size: auto 100%;
        font-family: 'Montserrat', sans-serif;
    }

    .abg-breadcrumb-container {
        padding: 10px 0rem;
    }

    .breadcrumb {
        font-size: 0.8rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .section-title::after {
        height: 1.5px;
    }
}

.navbar {
    height: var(--navbar-height);
    background-color: var(--glass-bg) #020916;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar-brand {
    display: flex;
    text-align: center;
    color: white !important;
    text-decoration: none;
}

.logo-text {
    margin-left: 10px;
}

.logo-text span:first-child {
    color: #4da6ff;
}

.logo-text span:last-child {
    color: white;
}

.nav-link {
    color: white !important;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

ul.dropdown-menu {
    margin: 0;
    padding: 5px 0px 0px 0px;
}

.dropdown-menu {
    background-color: var(--glass-bg);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dropdown-item {
    color: #4da6ff !important;
    border-bottom: 1px solid #4da6ff32;
}

.dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: white !important;
}

.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
}

@media (min-width: 992px) {
    .navbar-toggler {
        display: none;
        border: none !important;
    }
}

.sidebar {
    position: fixed;
    top: var(--navbar-height);
    left: -300px;
    width: 280px;
    height: calc(100vh - var(--navbar-height));
    background-color: var(--glass-bg) #020916;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    z-index: 1000;
    overflow-y: auto;
}

.sidebar.open {
    left: 0;
}

.sidebar-overlay {
    position: fixed;
    top: var(--navbar-height);
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
}

.sidebar-overlay.open {
    display: block;
}

.sidebar .nav-link {
    padding: 0.75rem 1.5rem;
    margin: 0;
    color: #4da6ff !important;
    border-radius: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.sidebar .dropdown-menu {
    position: static !important;
    transform: none !important;
    width: 100%;
    border: none;
    border-radius: 0;
    background-color: rgba(0, 0, 0, 0.3);
}

.content {
    padding: 2rem;
    margin-top: var(--navbar-height);
}

.menu-title {
    font-size: 3rem;
    margin-bottom: 2rem;
    text-align: center;
}

.footer {
    width: 100%;
    text-align: center;
    color: #212529;
    -webkit-mask-image: linear-gradient(to top, #020916 75%, transparent 100%);
    mask-image: linear-gradient(to top, #020916 75%, transparent 100%);
}

.footer-brand {
    font-size: 1.8rem;
    margin: 1rem 0 1.5rem;
}

.footer-brand img {
    max-width: 200px;
    height: auto;
}

.footer-tagline {
    max-width: 500px;
    margin: 0 auto 2rem;
    color: #6c757d;
    font-size: 1.1rem;
}

.social-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #dee2e6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease, border-color 0.2s ease;
    text-decoration: none;
}

.social-icon::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background-color: #0056b3;
    transition: height 0.3s ease;
    z-index: 0;
}

.social-icon i {
    position: relative;
    z-index: 1;
}

.social-icon:hover {
    color: white;
    border-color: #0056b3;
    transform: scale(1.1);
}

.social-icon:hover::before {
    height: 100%;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.footer-links a {
    color: #6c757d;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #0056b3;
}

.footer-wave {
    height: 100px;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1200 180" xmlns="http://www.w3.org/2000/svg"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,72.47V0" fill="%231a1a2e" opacity=".85"/></svg>');
    background-size: cover;
    -webkit-mask-image: linear-gradient(to top, #020916 40%, transparent 100%);
    mask-image: linear-gradient(to top, #020916 40%, transparent 100%);
}

.copyright {
    color: #adb5bd;
    font-size: 0.9rem;
}

/* Style the container text */
.developer-credit {
    font-size: 0.85rem;
    /* Slightly smaller than copyright */
    color: rgba(255, 255, 255, 0.6);
    /* Slightly transparent white */
    margin-top: 5px;
    /* Small gap between lines */
}

/* Style the link to your site */
.developer-credit a {
    color: #fff;
    /* White text */
    text-decoration: none;
    /* No underline */
    font-weight: 500;
    transition: color 0.3s ease;
}

/* Hover effect */
.developer-credit a:hover {
    color: #fca311;
    /* Use your brand accent color here (e.g., Gold/Orange) */
    text-decoration: underline;
}

@media (max-width: 576px) {
    .footer-brand {
        font-size: 1.4rem;
    }

    .footer-tagline {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .social-icon {
        width: 36px;
        height: 36px;
    }

    .footer-links {
        gap: 0.75rem;
        font-size: 0.95rem;
    }

    .copyright {
        font-size: 0.8rem;
    }

    .footer-wave {
        height: 80px;
        background-size: cover;
        opacity: 1;
        -webkit-mask-image: none;
        mask-image: none;
    }
}

.ventures-grid {
    --border-blue: #4da6ff;
    --transition-speed: 0.5s;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 50px;
}

.ventures-grid .section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.ventures-grid .venture-card img {
    max-width: 80%;
    height: auto;
    border-radius: 10px;
    display: flex;
    margin: 0 auto;
    transition: transform var(--transition-speed) ease;
}

.ventures-grid .venture-card {
    position: relative;
    height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    background-color: #1e0e5322;
    box-shadow: 8px 6px 12px 4px rgb(0, 0, 0.1);
    overflow: hidden;
    border-radius: 0px 50px 0px 50px;
    border: 1px solid transparent;
    transition: all var(--transition-speed) ease;
}

.ventures-grid .venture-card::before,
.ventures-grid .venture-card::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border: 1px solid transparent;
    border-radius: 0px 50px 0px 50px;
    transition: all var(--transition-speed) ease;
    pointer-events: none;
}

.ventures-grid .venture-card::before {
    top: 0;
    left: 0;
    border-top-color: var(--border-blue);
    border-left-color: var(--border-blue);
}

.ventures-grid .venture-card::after {
    bottom: 0;
    right: 0;
    border-bottom-color: var(--border-blue);
    border-right-color: var(--border-blue);
}

.ventures-grid .venture-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    cursor: pointer;
}

.ventures-grid .venture-card:hover::before,
.ventures-grid .venture-card:hover::after {
    width: 100%;
    height: 100%;
}

.ventures-grid .venture-location {
    font-size: 1rem;
    color: #666;
    text-align: center;
    margin-top: 0.5rem;
}

@media (max-width: 991px) {

    /* 1. LAYOUT & POSITIONING */
    .ventures-grid {
        position: relative !important;
        z-index: 999 !important;
        /* Force on top of Hero */
        background-color: #000;
        /* Dark background to make logos pop */
        padding: 3rem 1rem;
    }

    /* 2. CARD CONTAINER FIX */
    .venture-card {
        height: auto !important;
        /* STOP using fixed 200px height */
        min-height: 140px;
        /* Give it a guaranteed minimum size */
        background: rgba(255, 255, 255, 0.05) !important;
        /* Subtle box so you see it exists */
        margin-bottom: 20px;
        border-radius: 15px;

        /* Reset Flex settings to ensure centering */
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;

        /* Force Visibility */
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }

    /* 3. THE MISSING LINK FIX (Crucial) */
    /* The <a> tag was likely collapsing to 0 height before */
    .venture-card a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
        text-decoration: none;
    }

    /* 4. IMAGE VISIBILITY FIX */
    .venture-card img {
        width: auto !important;
        max-width: 140px !important;
        /* Cap the width so it's not huge */
        height: auto !important;
        max-height: 100px;

        /* Force Display */
        display: block !important;
        opacity: 1 !important;
        filter: none !important;
        /* Remove any accidental grayscale */
        margin: 0 auto;
    }
}

.clients-marquee-section {
    --marquee-speed: 25s;
    --marquee-gap: 2rem;
}

.clients-marquee-container {
    width: 100%;
    margin: 0 auto;
}

.clients-marquee-track {
    width: max-content;
    animation: marquee var(--marquee-speed) linear infinite;
}

.clients-marquee-item {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    min-width: 150px;
}

.clients-marquee-item img {
    height: 50px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.clients-marquee-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.clients-marquee-item .rating {
    color: gold;
    font-size: 0.9rem;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .clients-marquee-section {
        --marquee-speed: 40s;
        --marquee-gap: 1rem;
    }

    .clients-marquee-item {
        min-width: 120px;
    }

    .clients-marquee-item img {
        height: 50px;
    }
}

.hero-bg {
    position: relative;
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: -1;
    transition: background-image 1s ease-in;
    -webkit-mask-image: linear-gradient(to bottom, #020916 80%, transparent 100%);
    mask-image: linear-gradient(to bottom, #020916 80%, transparent 100%);
    overflow: hidden;
}

.hero-content-layer {
    position: absolute;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 50%;
    transform: translateY(-50%);
    padding: 0 20px;
    box-sizing: border-box;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
}

.hero-logo {
    width: 200px;
    max-width: 80vw;
    height: auto;
}

.caption-container {
    position: relative;
    height: 80px;
    width: 300px;
    max-width: 80vw;
}

.hero-caption {
    color: white;
    font-size: 3rem;
    font-family: 'Montserrat', sans-serif;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
    white-space: nowrap;
    position: absolute;
    left: 0;
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
    width: 100%;
    text-align: center;
}

.hero-caption.active {
    opacity: 1;
    transform: translateX(0) rotate(0deg);
}

.hero-caption.incoming {
    opacity: 0;
    transform: translateX(30px) rotate(-5deg);
}

.hero-caption.outgoing {
    opacity: 0;
    transform: translateX(-30px) rotate(5deg);
}

.hero-separator {
    font-size: 2.5rem;
    color: white;
    opacity: 0.7;
}

@media (max-width: 768px) {
    .hero-caption {
        font-size: 1.5rem;
    }

    .hero-logo {
        width: 200px !important;
        max-width: 60vw;
    }

    .caption-container {
        width: 200px;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 70px;
        max-width: 70vw;
    }

    .hero-content-layer {
        flex-direction: column;
        top: 50%;
        justify-content: center;
        align-items: center;
    }

    .hero-content {
        flex-direction: column;
    }
}

.content {
    margin-top: 100vh;
}

.review-card {
    background-color: #1e0e5322;
    padding: 20px;
    text-align: center;
    border-radius: 10px;
    color: white;
    min-height: 420px;
    max-height: 420px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.reviewer-title {
    font-style: italic;
    color: ghostwhite;
    font-size: 0.9rem;
    margin-top: 5px;
}

.reviewer-name {
    font-weight: 700;
    margin-top: 15px;
    margin-bottom: 0;
    color: #fff;
}

.review-text {
    flex-grow: 1;
    overflow: hidden;
    font-style: italic;
    color: ghostwhite;
    margin-top: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 8;
    -webkit-box-orient: vertical;
}

.reviewer-img {
    border-radius: 50%;
    width: 80px;
    height: 80px;
    object-fit: cover;
    margin: 0 auto;
    border: 2px solid #e0e0e0;
    margin-bottom: 10px;
    flex-shrink: 0;
}

#carouselDesktop {
    display: none;
}

#carouselMobile {
    display: none;
}

@media (min-width: 768px) {
    #carouselDesktop {
        display: block;
    }
}

@media (max-width: 767px) {
    #carouselMobile {
        display: block;
    }
}

:root {
    --accent-blue: #4da6ff;
    --transition-speed: 0.5s;
}

.sporting-events {
    padding: 4rem 0;
}

.event-card {
    position: relative;
    height: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    border: .5px solid transparent;
    overflow: hidden;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    box-shadow: 8px 6px 12px 4px rgba(0, 0, 0, 0.1);
    text-decoration: dashed;
}

.event-image {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: all var(--transition-speed) ease;
}

.event-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.event-card::before,
.event-card::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border: 1px solid transparent;
    transition: all var(--transition-speed) ease;
    pointer-events: none;
    z-index: 3;
}

.event-card::before {
    top: 0;
    left: 0;
    border-top-color: var(--accent-blue);
    border-left-color: var(--accent-blue);
}

.event-card::after {
    bottom: 0;
    right: 0;
    border-bottom-color: var(--accent-blue);
    border-right-color: var(--accent-blue);
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.event-card:hover::before,
.event-card:hover::after {
    width: 100%;
    height: 100%;
}

.event-card:hover .event-image {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .event-card {
        height: 150px;
    }

    .event-image {
        background-size: cover;
        background-position: center;
    }

    .event-name {
        font-size: .7rem;
    }

    .section-title {
        padding: 2rem 0 0;
        font-size: 1.5rem;
    }
}

.artist-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    height: 250px;
    display: flex;
    justify-content: center;
    text-align: center;
    align-items: flex-end;
    margin: 0;
    border: 1px solid transparent;
    transition: all 0.5s ease;
}

#artist-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.artist-header {
    padding: 6rem 2rem 0;
}

.artist-card:hover {
    transform: translateY(-5px);
}

.artist-card::before,
.artist-card::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border: 1px solid transparent;
    transition: all 0.5s ease;
    z-index: 1;
    pointer-events: none;
}

.artist-card::before {
    top: 0;
    left: 0;
    border-top-color: #4da6ff;
    border-left-color: #4da6ff;
}

.artist-card::after {
    bottom: 0;
    right: 0;
    border-bottom-color: #4da6ff;
    border-right-color: #4da6ff;
}

.artist-card:hover::before,
.artist-card:hover::after {
    width: 100%;
    height: 100%;
}

.artist-image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.artist-info {
    position: relative;
    z-index: 2;
    padding: 0px 0px 10px 20px;
    color: var(--secondary-color);
    width: 100%;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
}

.artist-name {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 3;
    padding: 1.2rem;
}

.artist-category {
    font-size: 1rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.artist-card:hover .artist-image {
    transform: scale(1.05);
}

.artist-card:hover {
    transition: transform 0.3s ease;
    cursor: pointer;
}

#eventOverlay .card {
    max-height: 90vh;
    overflow-y: auto;
}

.fade-in {
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}

.fade-out {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

#eventOverlay {
    z-index: 1050;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    transition: opacity 0.3s ease;
}

.card.text-white.bg-black.p-4.shadow-lg.border-0 {
    max-width: 90%;
    width: 500px;
    border-radius: 20px;
}

#eventArtistImage {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border: 3px solid #fff;
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 10vw;
    }

    .artist-card {
        height: 300px;
    }
}

@media (max-width: 788px) {
    .hero-title {
        font-size: 12vw;
        letter-spacing: 3px;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .artist-card {
        height: 250px;
    }

    .artist-name {
        font-size: .7rem;
    }

    .artist-header {
        padding: 4rem 1rem 0;
    }
}

@media (max-width: 578px) {
    .hero-title {
        font-size: 15vw;
    }

    .artist-card {
        height: 200px;
    }
}

#eventOverlay.show {
    opacity: 1;
    pointer-events: auto;
}

#eventOverlay {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease-in-out;
}

.gallery-image {
    aspect-ratio: 2/1;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.2s
}

.gallery-image,
.gallery-title,
.carousel-control-prev,
.carousel-control-next {
    will-change: transform, opacity;
}

.modal-content {
    background-color: transparent;
    border: none;
    box-shadow: none
}

.modal-image {
    max-width: 90vw;
    max-height: 80vh;
    object-fit: contain;
    margin: 0 auto;
    display: block
}

.carousel-control-prev.control-strict,
.carousel-control-next.control-strict {
    width: auto;
    height: max-content;
    padding: 1rem;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    transition: background-color 0.2s ease
}

.carousel-control-prev.control-strict:hover,
.carousel-control-next.control-strict:hover {
    background-color: rgba(255, 255, 255, 0.7)
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-size: 100% 100%;
    filter: invert(1)
}

.btn-close {
    filter: invert(1);
    z-index: 10
}

.gallery-title {
    display: inline-block;
    position: relative;
    margin-bottom: 0;
    text-align: center;
    font-size: 2.5rem;
    color: var(--text-dark);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease
}

.gallery-title.animate-fade-in {
    opacity: 1;
    transform: translateY(0)
}

.gallery-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #4da6ff
}

@media(max-width:576px) {
    .gallery-title {
        font-size: 1.35rem
    }

    .gallery-title::after {
        width: 80%;
        height: 1.5px
    }

    .modal-image {
        max-width: 70%;
        max-height: 70%
    }

    .carousel-control-prev.control-strict,
    .carousel-control-next.control-strict {
        padding: 0.5rem;
        top: 40%;
        background-color: transparent;
        filter: invert(1);
        transform: translateY(-40%);
    }
}

.card-wrapper {
    transform: scale(0.9);
    transform-origin: center;
    margin: 0 auto;
    max-width: 100%;
}

.team-header {
    padding: 4rem 1rem;
}

.about-card-container {
    position: relative;
    overflow: hidden;
    height: 400px;
    display: flex;
    align-items: flex-end;
    border-radius: 12px;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    border: 1px solid transparent;
    background-color: #1e0e5322;
    transition: transform 0.5s ease;
    transform: skewX(-15deg);
    z-index: 0;
}

.about-card-container:hover {
    transform: skewX(-15deg) translateY(-5px);
}

.about-card-container::before,
.about-card-container::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border: 1px solid transparent;
    border-radius: 12px;
    transition: all 0.5s ease;
    z-index: 1;
}

.about-card-container::before {
    top: 0;
    left: 0;
    border-top-color: #4da6ff;
    border-left-color: #4da6ff;
}

.about-card-container::after {
    bottom: 0;
    right: 0;
    border-bottom-color: #4da6ff;
    border-right-color: #4da6ff;
}

.about-card-container:hover::before,
.about-card-container:hover::after {
    width: 100%;
    height: 100%;
}

.about-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: skewX(15deg) scale(1);
    z-index: 2;
}

.overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(0, 8, 80, 0.8) 0%, rgba(0, 8, 80, 0.4) 40%, rgba(0, 0, 0, 0) 100%);
    z-index: 3;
}

.about-content {
    font-family: 'Montserrat', sans-serif;
    transform: skewX(25deg);
    z-index: 4;
    text-align: left;
    padding: 1.5rem;
    width: 100%;
    position: relative;
}

.about-name {
    font-size: 1.5rem;
    margin-bottom: 0.3rem;
    color: #e0e0e0;
    margin-left: 0.7rem;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.about-desc {
    font-size: 0.95rem;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    transform: skewX(-15deg);
}

.about-role {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    margin-left: 0.5rem;
    transform: skewX(-15deg);
}

.section-wrapper {
    max-width: 1200px;
    margin: 10px auto;
    padding: 0 1rem;
}

.our-learnings,
.who-we-are {
    padding: 80px 50px 20px;
}

.our-learnings {
    border-bottom: 1px solid #4cc9f0;
    border-radius: 0 0 75px 0;
}

.who-we-are {
    justify-content: center;
    text-align: right;
    border-bottom: 1px solid #4cc9f0;
    border-radius: 0 0 0 75px;
    margin-top: -1px;
}

.new-title h1 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #4cc9f0;
}

.title h1 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #4cc9f0;
}

.section-desc {
    font-size: 1rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    #teamContainer .col-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .about-card-container {
        transform: none;
        height: auto;
        display: block;
    }

    .about-card {
        position: relative;
        transform: none;
        height: 200px;
    }

    .about-card-container:hover {
        transform: none;
    }

    .about-card-container:hover::before,
    .about-card-container:hover::after {
        width: 0;
        height: 0;
    }

    .about-content {
        transform: none;
        margin-left: 0;
        height: auto;
        padding: 0.5rem;
        overflow: hidden;
    }

    .about-name {
        transform: none;
        font-size: 1rem;
        margin-left: 0;
        justify-content: center;
        text-align: center;
    }

    .about-desc {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        transition: all 0.3s ease;
        cursor: pointer;
        transform: none;
    }

    .about-desc.collapsed {
        -webkit-line-clamp: 3;
        line-clamp: 3;
        max-height: 4.5em;
    }

    .about-desc.expanded {
        -webkit-line-clamp: unset;
        line-clamp: unset;
        max-height: none;
    }

    .overlay {
        height: 50%;
    }

    .our-learnings,
    .who-we-are {
        padding: 50px 25px 20px;
    }

    .our-learnings {
        border-radius: 0 0 50px 0;
    }

    .who-we-are {
        border-radius: 0 0 0 50px;
    }

    .new-title h1 {
        border-bottom: 1px dashed #4cc9f0;
        padding: 1rem 0 0.7rem;
        font-size: 1.5rem;
    }

    .team-header {
        padding: 2rem 1rem;
    }

    .section-wrapper {
        padding: 0 1rem;
    }
}