
/* Main Stylesheet */
/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Urbanist', sans-serif;
    font-weight: 300;
    line-height: 1.6;
    color: #111111;
    overflow-x: hidden;
    background-color: #ffffff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Typography */
.impact-font {
    font-family: 'Impact', sans-serif;
}

/* Global Typography Styles */
h1 {
    font-size: 120px;
    line-height: 1.2;
    margin: 0;
}

h2 {
    font-size: 60px;
    line-height: 1.2;
    margin: 0;
}

h3 {
    font-size: 40px;
    line-height: 1.3;
    margin: 0;
}

h4 {
    font-size: 24px;
    line-height: 1.4;
    margin: 0;
}

h5 {
    font-size: 20px;
    line-height: 1.4;
    margin: 0;
}

.body1 {
    font-size: 24px;
    line-height: 1.6;
}

.body2 {
    font-size: 20px;
    line-height: 1.6;
}

.body3 {
    font-size: 16px;
    line-height: 1.6;
}

/* Navigation */
.navbar-custom {
    background-color: #1d1d1d;
    height: 80px;
    padding: 0;
    z-index: 1000;
}

.navbar-brand {
    font-family: 'Impact', sans-serif;
    font-size: 20px; /* Using h5 size */
    color: #ffffff !important;
    text-decoration: none;
    outline: none;
}

.navbar-brand:focus {
    outline: none;
    box-shadow: none;
}

.navbar-nav .nav-link {
    font-family: 'Urbanist', sans-serif;
    font-weight: 500;
    font-size: 20px; /* Using h5 size */
    color: #ffffff !important;
    text-transform: uppercase;
    margin: 0 20px;
    padding: 0 !important;
    transition: opacity 0.3s ease;
    outline: none;
    border: none;
}

.navbar-nav .nav-link:hover {
    opacity: 0.8;
}

.navbar-nav .nav-link:focus {
    outline: none;
    box-shadow: none;
    border: none;
}

.navbar-nav .nav-link:active {
    outline: none;
    box-shadow: none;
    border: none;
}

.navbar-toggler {
    border: none;
    padding: 4px 8px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='m4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* Hamburger menu animation styles */
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='m6 6l18 18M6 24L24 6'/%3e%3c/svg%3e") !important;
}

/* Mobile Drawer Styles */
.mobile-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    right: -50%;
    width: 50%;
    height: 100vh;
    background-color: #1d1d1d;
    z-index: 1002;
    transition: right 0.3s ease;
    overflow-y: auto;
}

.mobile-drawer.active {
    right: 0;
}

/* Mobile drawer header with close button */
.mobile-drawer-header {
    position: relative;
    height: 80px;
    background-color: #1d1d1d;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-drawer-close {
    background: none;
    border: none;
    padding: 4px 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-drawer-close:focus {
    outline: none;
    box-shadow: none;
}

.mobile-drawer-close-icon {
    width: 30px;
    height: 30px;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='m6 6l18 18M6 24L24 6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

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

.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-item {
    margin: 0;
}

.mobile-nav-link {
    display: block;
    font-family: 'Urbanist', sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: #ffffff !important;
    text-transform: uppercase;
    text-decoration: none;
    padding: 1rem 2rem;
    transition: background-color 0.3s ease, opacity 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: left;
}

.mobile-nav-link:hover,
.mobile-nav-link:focus {
    background-color: rgba(255, 255, 255, 0.1);
    opacity: 0.8;
    color: #ffffff !important;
    text-decoration: none;
}

/* Hide mobile drawer on desktop */
@media (min-width: 992px) {
    .mobile-drawer,
    .mobile-drawer-overlay {
        display: none;
    }
}

/* Show mobile drawer only on mobile */
@media (max-width: 991px) {
    .navbar-collapse {
        display: none !important;
    }
}

/* Mobile drawer responsive adjustments */
@media (max-width: 768px) {
    /* Remove corner radius for videos on mobile */
    .showreel-carousel-item .showreel-video-thumbnail,
    .showreel-carousel-item .showreel-video-thumbnail img,
    .video-modal iframe {
        border-radius: 0 !important;
    }
    .mobile-drawer-header {
        height: 60px; /* Match mobile navbar height */
        padding-right: 20px;
    }
}

/* Hero Section */
.hero-section {
    height: 100vh;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-top: 80px;
    overflow: hidden;
}

.hero-video-container {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    /* Disable native video controls and fullscreen */
    pointer-events: none;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.video-section{
    padding: 0px 48px 60px 48px !important
}

.hero-video::-webkit-media-controls {
    display: none !important;
    -webkit-appearance: none;
}

.hero-video::-webkit-media-controls-panel {
    display: none !important;
    -webkit-appearance: none;
}

.hero-video::-webkit-media-controls-play-button {
    display: none !important;
    -webkit-appearance: none;
}

.hero-video::-webkit-media-controls-start-playback-button {
    display: none !important;
    -webkit-appearance: none;
}

.hero-video::-webkit-media-controls-enclosure {
    display: none !important;
}

.hero-video::-webkit-media-controls-overlay-enclosure {
    display: none !important;
}

.hero-video::-webkit-media-controls-overlay-play-button {
    display: none !important;
}

.hero-video::-webkit-media-controls-fullscreen-button {
    display: none !important;
}

/* Main Content Section */
.main-content {
    background-color: #ffffff;
    padding-top: 60px;
    padding-bottom: 40px;
}

.section-title {
    font-family: 'Impact', sans-serif;
    /* Using h1 global style (120px) */
    color: #111111;
    text-align: left;
    margin-bottom: 24px;
    line-height: 1;
}

.section-subtitle {
    font-family: 'Urbanist', sans-serif;
    font-weight: 300;
    font-size: 24px; /* Using body1 size */
    color: rgba(17, 17, 17, 0.8);
    text-align: left;
    max-width: 800px;
    line-height: 1.4;
    margin: 40px 0;
}

/* Video Carousel Section */
.video-carousel-section {
    height: 100vh;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.video-carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-color: #000;
    pointer-events: none;
}

/* Carousel Navigation Arrows - Override Bootstrap */
.video-carousel-section .carousel-navigation {
    position: absolute !important;
    bottom: 40px !important;
    right: 40px !important;
    display: flex !important;
    gap: 12px !important;
    z-index: 1000 !important;
}

.video-carousel-section .carousel-arrow {
    background: rgba(0, 0, 0, 0.6) !important;
    border: none !important;
    border-radius: 50% !important;
    width: 48px !important;
    height: 48px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    backdrop-filter: blur(4px) !important;
    pointer-events: auto !important;
    touch-action: manipulation !important;
    -webkit-tap-highlight-color: transparent !important;
}

.video-carousel-section .carousel-arrow:hover {
    background: rgba(0, 0, 0, 0.8) !important;
    transform: scale(1.1) !important;
}

.video-carousel-section .carousel-arrow:active {
    transform: scale(0.95) !important;
    background: rgba(0, 0, 0, 0.9) !important;
}

.carousel-arrow svg {
    width: 24px;
    height: 24px;
}

/* Carousel Indicators - Override Bootstrap */
.video-carousel-section .carousel-indicators {
    position: absolute !important;
    bottom: 40px !important;
    left: 40px !important;
    right: auto !important;
    display: flex !important;
    flex-direction: row !important;
    gap: 12px !important;
    z-index: 1000 !important;
    justify-content: flex-start !important;
    margin: 0 !important;
    padding: 0 !important;
}

.video-carousel-section .indicator {
    width: 32px !important;
    height: 8px !important;
    border-radius: 0 !important;
    border: 1px solid rgba(255, 255, 255, 0.6) !important;
    background: transparent !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    pointer-events: auto !important;
    touch-action: manipulation !important;
    -webkit-tap-highlight-color: transparent !important;
    margin: 0 !important;
    padding: 0 !important;
}

.video-carousel-section .indicator.active {
    background: rgba(255, 255, 255, 0.9) !important;
    border-color: rgba(255, 255, 255, 0.9) !important;
}

.video-carousel-section .indicator:hover {
    background: rgba(255, 255, 255, 0.7) !important;
    border-color: rgba(255, 255, 255, 0.7) !important;
}

.video-carousel-section .indicator:active {
    transform: scale(0.95) !important;
    background: rgba(255, 255, 255, 0.8) !important;
}

/* Responsive Design for Carousel */
@media (max-width: 768px) {
    /* Unified single-row control bar */
    .video-carousel-section .carousel-controls {
        position: absolute;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        z-index: 1000;
        padding: 6px 10px;
        background: rgba(0, 0, 0, 0.35);
        border-radius: 999px;
        backdrop-filter: blur(4px);
    }
    
    .video-carousel-section .carousel-arrow {
        width: 40px !important;
        height: 40px !important;
        background: rgba(0, 0, 0, 0.8) !important;
        border: 1px solid rgba(255, 255, 255, 0.3) !important;
    }
    
    .video-carousel-section .carousel-arrow:hover,
    .video-carousel-section .carousel-arrow:active {
        background: rgba(0, 0, 0, 0.9) !important;
        transform: scale(1.05) !important;
    }
    
    .video-carousel-section .carousel-arrow svg {
        width: 20px !important;
        height: 20px !important;
    }
    
    /* Indicators inline in the control bar */
    .video-carousel-section .carousel-indicators {
        position: static !important;
        transform: none !important;
        display: flex !important;
        gap: 8px !important;
        margin: 0 !important;
        padding: 0 !important;
        z-index: auto !important;
    }
    
    .video-carousel-section .indicator {
        width: 24px !important;
        height: 6px !important;
        border: 1px solid rgba(255, 255, 255, 0.8) !important;
        background: rgba(255, 255, 255, 0.2) !important;
    }
    
    .video-carousel-section .indicator.active {
        background: rgba(255, 255, 255, 0.9) !important;
        border-color: rgba(255, 255, 255, 1) !important;
    }
    
    .video-carousel-section .indicator:hover,
    .video-carousel-section .indicator:active {
        background: rgba(255, 255, 255, 0.7) !important;
        border-color: rgba(255, 255, 255, 0.9) !important;
    }
    
    .video-carousel-section .video-control-buttons {
        display: none !important;
    }
    
    /* Keep carousel controls visible but hide video controls */
    .video-carousel-section .video-control-btn {
        display: none !important;
    }
    
    .video-carousel-section .circular-text-showreel {
        display: none !important;
    }
    
    /* Allow video interactions on mobile for carousel controls */
    .carousel-slide video {
        pointer-events: none !important;
    }
    
    /* Video Section Mobile Padding */
    .video-section {
        padding: 40px 0 40px 0;
    }
}

/* Video Section */
.video-section {
    background-color: #ffffff;
    padding: 60px 0 60px 0;
    position: relative;
    z-index: 3;
}

.video-container {
    position: relative;
    width: 100%;
    height: 80vh;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Force video to show first frame as thumbnail */
.main-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-color: transparent;
    cursor: pointer;
    /* Disable native video controls and fullscreen */
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    /* Better touch handling for mobile */
    touch-action: manipulation;
}

/* Hide native controls by default */
.main-video::-webkit-media-controls {
    display: none !important;
    -webkit-appearance: none;
}

.main-video::-webkit-media-controls-panel {
    display: none !important;
    -webkit-appearance: none;
}

.main-video::-webkit-media-controls-play-button {
    display: none !important;
    -webkit-appearance: none;
}

.main-video::-webkit-media-controls-start-playback-button {
    display: none !important;
    -webkit-appearance: none;
}

.main-video::-webkit-media-controls-enclosure {
    display: none !important;
}

.main-video::-webkit-media-controls-overlay-enclosure {
    display: none !important;
}

.main-video::-webkit-media-controls-overlay-play-button {
    display: none !important;
}

.main-video::-webkit-media-controls-fullscreen-button {
    display: none !important;
}

/* Show native controls when video has controls attribute (fullscreen) */
.main-video[controls]::-webkit-media-controls {
    display: flex !important;
    -webkit-appearance: media-controls-panel;
}

.main-video[controls]::-webkit-media-controls-panel {
    display: flex !important;
    -webkit-appearance: media-controls-panel;
}

.main-video[controls]::-webkit-media-controls-play-button {
    display: flex !important;
    -webkit-appearance: media-play-button;
}

.main-video[controls]::-webkit-media-controls-start-playback-button {
    display: flex !important;
    -webkit-appearance: media-play-button;
}

.main-video[controls]::-webkit-media-controls-enclosure {
    display: flex !important;
}

.main-video[controls]::-webkit-media-controls-overlay-enclosure {
    display: flex !important;
}

.main-video[controls]::-webkit-media-controls-fullscreen-button {
    display: flex !important;
    -webkit-appearance: media-fullscreen-button;
}

/* Ensure proper fullscreen behavior */
.main-video:fullscreen {
    width: 100vw;
    height: 100vh;
    object-fit: contain;
    background-color: #000;
}

.main-video:-webkit-full-screen {
    width: 100vw;
    height: 100vh;
    object-fit: contain;
    background-color: #000;
}

.main-video:-moz-full-screen {
    width: 100vw;
    height: 100vh;
    object-fit: contain;
    background-color: #000;
}

.main-video:-ms-fullscreen {
    width: 100vw;
    height: 100vh;
    object-fit: contain;
    background-color: #000;
}

.video-controls {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    transition: opacity 0.3s ease;
    width: 163px;
    height: 148px;
}

.video-controls.hidden {
    opacity: 0;
    pointer-events: none;
}

/* iOS-specific video control fixes */
@media screen and (-webkit-min-device-pixel-ratio: 2) {
    .hero-video::-webkit-media-controls {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        width: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
    }
    
    .main-video::-webkit-media-controls {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        width: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
    }
    
    .hero-video::-webkit-media-controls-overlay-play-button {
        display: none !important;
        visibility: hidden !important;
        -webkit-appearance: none !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }
    
    .main-video::-webkit-media-controls-overlay-play-button {
        display: none !important;
        visibility: hidden !important;
        -webkit-appearance: none !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }
}

/* Additional mobile video control hiding */
@media (max-width: 768px) {
    .hero-video::-webkit-media-controls,
    .hero-video::-webkit-media-controls-panel,
    .hero-video::-webkit-media-controls-play-button,
    .hero-video::-webkit-media-controls-start-playback-button,
    .hero-video::-webkit-media-controls-overlay-play-button {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
        -webkit-appearance: none !important;
    }
    
    /* Force hide any native play indicators */
    .hero-video::before,
    .hero-video::after {
        display: none !important;
    }
    
    /* Ensure proper video behavior on mobile */
    .hero-video {
        -webkit-playsinline: true;
    }
}

.play-button-large {
    width: 66px;
    height: 65px;
    cursor: pointer;
    transition: transform 0.3s ease;
    z-index: 1000;
    pointer-events: all;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) !important;
    background: transparent;
    border: none;
    outline: none;
}

.play-button-large:hover {
    transform: translate(-50%, -50%) scale(1.1) !important;
}

.circular-text-showreel {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: rotate 20s linear infinite;
    pointer-events: none;
    z-index: 10;
    display: none; /* Initially hidden, will be shown by JavaScript when video is paused */
    width: 144px;
    height: 144px;
    transition: opacity 0.3s ease;
}

@keyframes rotate {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Video Control Buttons */

.video-control-buttons {
    position: absolute;
    bottom: 40px;
    right: 40px;
    display: flex;
    gap: 12px;
    z-index: 1001;
    pointer-events: none !important;
}

.video-control-buttons .video-control-btn {
    pointer-events: auto;
}

.video-control-btn {
    background: rgba(0, 0, 0, 0.7);
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    outline: none;
}

.video-control-btn:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
}

.video-control-btn:focus {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

.video-control-btn svg {
    transition: all 0.2s ease;
}

.video-control-btn:hover svg {
    transform: scale(1.1);
}

/* Mobile responsive styles for video controls */
@media (max-width: 768px) {
    .video-control-buttons {
        bottom: 12px;
        right: 12px;
        gap: 8px;
    }
    
    .video-control-btn {
        width: 36px;
        height: 36px;
    }
    
    .video-control-btn svg {
        width: 20px;
        height: 20px;
    }
    
    /* Mobile responsive video container - 16:9 aspect ratio */
    .video-container {
        height: auto;
        aspect-ratio: 16/9;
        width: 100%;
    }
    
    .main-video {
        width: 100%;
        height: 100%;
        object-fit: contain; /* Show entire video without cropping */
    }
}

/* Partners Section */
.partners-section {
    background-color: #ffffff;
    padding: 60px 0;
    position: relative;
    z-index: 2;
}

/* Embedded Links Section */
.embedded-links-section {
    padding-bottom: 60px;
}

/* Hide video titles in embedded links section only */
.embedded-links-section .showreel-video-info {
    display: none;
}

/* Contentful Title Section */
.contentful-title-section {
    margin-bottom: 40px;
}

/* Hide empty contentful title containers */
.contentful-title-section:empty {
    display: none;
    margin: 0;
}

#contentfulTitleContainer:empty {
    display: none;
    margin: 0;
}

.contentful-title-section .row.mb-4:has(.col-12:empty) {
    display: none;
    margin: 0;
}

.contentful-main-title {
    font-family: 'Impact', sans-serif;
    font-size: 60px;
    color: #111111;
    line-height: 1.2;
    margin-bottom: 16px;
    text-transform: uppercase;
    text-align: center;
}

.contentful-main-subtitle {
    font-family: 'Urbanist', sans-serif;
    font-weight: 300;
    font-size: 18px;
    color: rgba(17, 17, 17, 0.8);
    line-height: 1.5;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.work-title {
    font-family: 'Impact', sans-serif;
    font-size: 40px; /* Using h3 size */
    color: #111111;
    line-height: 1.2;
    margin-bottom: 0;
    max-width: 400px;
}

.work-description {
    font-family: 'Urbanist', sans-serif;
    font-weight: 300;
    font-size: 20px; /* Using body2 size */
    color: rgba(17, 17, 17, 0.8);
    line-height: 1.4;
    margin-bottom: 0;
}

.partners-carousel {
    overflow-x: auto;
    overflow-y: hidden;
    position: relative;
    width: 100%;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* Internet Explorer 10+ */
    -webkit-overflow-scrolling: touch; /* Enable momentum scrolling on iOS */
    touch-action: pan-x; /* Only allow horizontal panning */
    overscroll-behavior-x: contain; /* Prevent scroll chaining */
}

.partners-carousel::-webkit-scrollbar {
    display: none; /* WebKit */
}

.partner-logos {
    display: flex;
    gap: 40px;
    min-width: max-content;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    width: max-content;
}

.partner-logos.dragging {
    cursor: grabbing;
}

.partner-logos.dragging .partner-logo {
    pointer-events: none;
}

.partner-logo {
    width: 150px;
    height: 107px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Impact', sans-serif;
    font-size: 24px; /* Using h4 size */
    color: white;
    font-weight: bold;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    border-radius: 0;
    transition: transform 0.3s ease;
    -webkit-user-drag: none;
}

.partner-logo:hover {
    cursor: pointer;
    transform: scale(1.05);
}

.partner-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
    border-radius: 0;
    pointer-events: none;
    -webkit-user-drag: none;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.partner-logo:hover img {
    transform: scale(1.1);
}

/* Partner Item Container */
.partner-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

/* Partner Name Styling */
.partner-name {
    font-family: 'Urbanist', sans-serif;
    font-weight: 400; /* Regular weight */
    font-size: 16px;
    color: #111111; /* Dark gray color */
    opacity: 0.8; /* 80% opacity */
    text-align: center;
    margin-top: 12px;
    white-space: normal; /* Allow text wrapping */
    background-color: rgba(255, 255, 255, 0.9); /* Add white background for visibility */
    padding: 4px 8px;
    border-radius: 4px;
    display: block;
    width: 150px; /* Match the logo width */
    min-height: 20px; /* Ensure minimum height */
    line-height: 1.2; /* Better line spacing for wrapped text */
    word-wrap: break-word; /* Break long words if needed */
}

/* Loading Message */
.loading-message {
    color: #ffffff;
    font-family: 'Urbanist', sans-serif;
    font-size: 18px;
    text-align: center;
    padding: 40px;
}

/* Partner Logo Colors */
.partner-logo.ao { background-color: #D0091E; }
.partner-logo.aw { background-color: #3D87E0; }
.partner-logo.az { background-color: #E3002E; }
.partner-logo.ba { background-color: #FFCC00; }
.partner-logo.bb { background-color: #FFC800; }
.partner-logo.bd { background-color: #006B4D; }
.partner-logo.be { background-color: #FBE22B; }
.partner-logo.bf { background-color: #F22722; }
.partner-logo.bg { background-color: #00976D; }
.partner-logo.bh { background-color: #FBE22B; }

/* Gallery Section */
.gallery-section {
    height: 482px;
    position: relative;
    z-index: 1;
    margin-top: 0;
}

.gallery-background {
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), 
                url('Assets/Shoot.png');
    background-size: cover;
    background-position: center;
    padding: 60px 0;
}

.gallery-title {
    font-family: 'Impact', sans-serif;
    font-size: 40px; /* Using h3 size */
    color: #ffffff;
    max-width: 574px;
    line-height: 1.2;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.gallery-cta {
    gap: 40px;
}

.custom-btn {
    background-color: #ffffff;
    color: #111111;
    border: none;
    border-radius: 0;
    padding: 10px 40px;
    font-family: 'Impact', sans-serif;
    font-size: 20px; /* Using h5 size */
    text-transform: uppercase;
    transition: all 0.3s ease;
    cursor: pointer;
}

.custom-btn:hover {
    background-color: #111111;
    transform: translateY(-2px);
    color: #ffffff;
}
.custom-btn-secondary {
    background-color: transparent;
    color: #111111;
    border: 1px solid #111111;
    border-radius: 0;
    padding: 10px 40px;
    font-family: 'Impact', sans-serif;
    font-size: 20px; /* Using h5 size */
    text-transform: uppercase;
    transition: all 0.3s ease;
    cursor: pointer;
}

.custom-btn-secondary:hover {
    background-color: #111111;
    transform: translateY(-2px);
    color: #ffffff;
}


/* About Section */
.about-section {
    background-color: #ffffff;
    padding: 60px 0;
    position: relative;
    z-index: 2;
}

/* Showreel Section */
.showreel-title {
    font-family: 'Impact', sans-serif;
    font-size: 40px; /* Using h3 size */
    color: #111111;
    text-transform: uppercase;
    line-height: 1.2;
    margin-bottom: 0;
}


.showreel-item, .embedded-item {
    cursor: pointer;
    transition: transform 0.3s ease;
}

/* Remove margins and padding from showreel columns */
.no-spacing {
    margin-top: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.showreel-item:hover, .embedded-item:hover {
    transform: translateY(-5px);
}

.showreel-thumbnail, .embedded-thumbnail {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.showreel-thumbnail:hover, .embedded-thumbnail:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.showreel-thumbnail img, .embedded-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.showreel-thumbnail:hover img, .embedded-thumbnail:hover img {
    transform: scale(1.05);
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
    opacity: 0;
}

.showreel-thumbnail:hover .play-overlay,
.embedded-thumbnail:hover .play-overlay {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.showreel-item-title, .embedded-item-title {
    font-family: 'Urbanist', sans-serif;
    font-weight: 600;
    font-size: 20px; /* Using body2 size */
    color: #111111;
    margin-top: 15px;
    margin-bottom: 0;
    text-align: center;
}

/* Thumbnail failure handling */
.thumbnail-failed {
    position: relative;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thumbnail-failed::before {
    content: "🎬";
    font-size: 3rem;
    color: #ccc;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.thumbnail-failed img {
    opacity: 0.3;
}

/* Mobile Showreel Carousel */
.showreel-mobile-carousel {
    overflow: hidden;
    width: 100%;
}

.showreel-carousel-container {
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    touch-action: pan-x;
    overscroll-behavior-x: contain;
}

.showreel-carousel-container::-webkit-scrollbar {
    display: none;
}

.showreel-carousel-track {
    display: flex;
    gap: 20px;
    min-width: max-content;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    width: max-content;
}

.showreel-carousel-track.dragging {
    cursor: grabbing;
}

.showreel-carousel-item {
    flex-shrink: 0;
    width: 280px;
}

.showreel-carousel-item .showreel-video-thumbnail {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 8px;
    overflow: hidden;
}

.showreel-carousel-item .showreel-video-title {
    font-size: 0.9rem;
    margin-top: 8px;
}

.showreel-carousel-track.dragging .showreel-carousel-item {
    pointer-events: none;
}

.showreel-carousel-item {
    flex: 0 0 280px;
    width: 280px;
}

/* Video Modal/Overlay */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.video-modal.active {
    display: flex;
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    aspect-ratio: 16/9;
}

.video-modal iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
}

.video-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 30px;
    cursor: pointer;
    padding: 10px;
    transition: opacity 0.3s ease;
}

.video-modal-close:hover {
    opacity: 0.7;
}

.about-section .col-lg-5 {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
}

.about-title {
    font-family: 'Impact', sans-serif;
    font-size: 40px; /* Using h3 size */
    color: #111111;
    text-transform: uppercase;
    line-height: 1.2;
    margin-bottom: 24px;
}

.about-description {
    font-family: 'Urbanist', sans-serif;
    font-weight: 300;
    font-size: 20px; /* Using body2 size */
    color: rgba(17, 17, 17, 0.8);
    line-height: 1.4;
    margin-bottom: 0;
}

.about-image {
    width: 100%;
    aspect-ratio: 563/373;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), 
                url('Assets/Aboutus.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Footer */
.footer {
    background-color: #1d1d1d;
    color: #ffffff;
    padding: 30px 0;
    margin-top: auto;
}

/* Main content wrapper to push footer down */
main,
.main-wrapper,
.content-wrapper {
    flex: 1;
}

/* Ensure page content grows to fill space */
body > section,
body > div:not(.footer):not(#footer-placeholder),
body > main {
    flex: 1 0 auto;
}

/* Footer always at bottom */
body > .footer,
body > #footer-placeholder {
    flex-shrink: 0;
    margin-top: auto;
}

.footer-brand {
    font-family: 'Impact', sans-serif;
    font-size: 16px; /* Using body3 size */
    opacity: 0.8;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-link {
    font-family: 'Impact', sans-serif;
    font-size: 16px; /* Using body3 size */
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-link:hover {
    opacity: 0.8;
    color: #ffffff;
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.12);
    margin: 24px 0;
}

.footer-copyright,
.footer-privacy {
    font-family: 'Urbanist', sans-serif;
    font-weight: 300;
    font-size: 16px; /* Using body3 size */
    color: rgba(255, 255, 255, 0.8);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .section-title {
        font-size: 60px; /* Using h2 size for medium screens */
    }
    
    .work-title,
    .about-title,
    .gallery-title {
        font-size: 40px; /* Keep h3 size */
    }
}

/* Tablet Responsive */
@media (max-width: 1024px) and (min-width: 769px) {
    .container-fluid {
        padding-left: 60px !important;
        padding-right: 60px !important;
    }
    
    .main-content,
    .video-section,
    .partners-section,
    .about-section {
        padding: 40px 0;
    }
    
    /* Tablet responsive video container - 16:9 aspect ratio */
    .video-container {
        height: auto;
        aspect-ratio: 16/9;
        width: 100%;
    }
    
    .main-video {
        width: 100%;
        height: 100%;
        object-fit: contain; /* Show entire video without cropping */
    }
    
    .gallery-section .gallery-background {
        padding: 40px 0;
    }
    
    .partners-section {
        padding: 40px 0 60px 0;
        margin-bottom: 40px;
    }
}

@media (max-width: 768px) {
    .container-fluid {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    
    .navbar-custom {
        height: 60px;
        padding: 0;
    }
    
    .hero-section {
        height: 100vh;
        margin-top: 0;
    }
    
    /* Mobile video controls sizing */
    .play-button-large {
        width: 48px;
        height: 47px;
    }
    
    .play-button-large svg {
        width: 48px;
        height: 47px;
    }
    
    .circular-text-showreel {
        width: 120px;
        height: 120px;
        z-index: 15;
    }
    
    .circular-text-showreel svg {
        width: 120px;
        height: 120px;
    }
    
    /* Ensure video is clickable on mobile */
    .main-video {
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }
    
    /* Better mobile interaction for video section */
    .video-section {
        -webkit-overflow-scrolling: touch;
    }
    
    .main-content {
        padding: 40px 0 0 0;
    }
    
    .partners-section {
        padding: 60px 0 40px 0;
    }

    .about-section {
        padding: 60px 0;
    }

    .video-section {
        padding: 0 20px 60px 20px !important;
    }
    
    .gallery-section .gallery-background {
        padding: 40px 0;
    }
    
    .partners-section {
        padding: 60px 0 40px 0;
        margin-bottom: 0;
    }
    
    .section-title {
        font-size: 40px; /* Using h3 size for mobile */
        text-align: left;
    }
    
    .section-subtitle {
        font-size: 20px; /* Using body2 size */
        text-align: left;
        padding-bottom: 0;
        margin-top: 0;
    }
    
    /* Remove left/right padding from main content col-12 on mobile */
    .main-content .col-12 {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    /* Mobile: Hide empty contentful containers to remove extra space */
    .contentful-title-section:empty,
    #contentfulTitleContainer:empty {
        display: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    /* Mobile: Hide rows with empty content */
    .contentful-title-section .row.mb-4 {
        margin-bottom: 0 !important;
    }
    
    .contentful-title-section .col-12:empty {
        display: none !important;
    }
    
    /* Mobile: Reduce contentful section margins */
    .contentful-title-section {
        margin-bottom: 0 !important;
    }
    
    h1 {
        padding-bottom: 12px;
        margin-bottom: 0 !important;
    }
    
    .work-title,
    .about-title {
        font-size: 24px; /* Using h4 size */
        text-align: left;
        margin-bottom: 12px;
    }

    .gallery-title {
        font-size: 24px; /* Using h4 size */
        text-align: center;
        margin-bottom: 12px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .d-flex.justify-content-between.align-items-end {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 32px;
    }
    
    .work-description,
    .about-description {
        font-size: 16px; /* Using body3 size */
        text-align: left !important;
    }
    
    /* Ensure embedded links section description is left-aligned on mobile */
    .embedded-links-section .work-description.text-end {
        text-align: left !important;
    }
    
    /* Remove padding from work title and description columns */
    .partners-section .col-lg-6,
    .embedded-links-section .col-lg-6 {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    /* Remove padding from about section columns but add margin to content */
    .about-section .col-lg-5,
    .about-section .col-lg-7 {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    /* Add margins to about section content to stay within container padding */
    .about-section .col-lg-5 .about-title,
    .about-section .col-lg-5 .about-description {
        margin-left: 0 !important; /* Remove left margin from about title and description */
        margin-right: 0 !important; /* Remove right margin from about title and description */
    }
    
    .about-section .col-lg-7 .about-image {
        margin: 0 !important; /* Remove all margins from about-image on mobile */
        margin-bottom: 40px !important; /* Add 40px bottom margin to about-image */
        padding: 0 !important; /* Remove all padding from about-image on mobile */
    }
    
    /* Add margins to partners section content to stay within container padding */
    .partners-section .col-lg-6 .work-title,
    .partners-section .col-lg-6 .work-description {
        margin-left: 0 !important; /* Remove left margin from work title and description */
        margin-right: 0 !important; /* Remove right margin from work title and description */
    }
    
    .gallery-section {
        height: 300px;
    }
    
    /* Partners section mobile fix - use full viewport width for carousel only */
    .partners-section .container-fluid {
        overflow: hidden !important; /* Prevent any overflow from causing body scroll */
    }
    
    /* Restore container padding for content but break out for carousel */
    .partners-section .row {
        margin-left: 0;
        margin-right: 0;
        padding-left: 0; /* Remove left padding as requested */
        padding-right: 0; /* Remove right padding as requested */
    }
    
    .partners-carousel {
        padding: 0; /* No padding needed */
        overflow-x: auto; /* Allow horizontal scrolling */
        overflow-y: hidden; /* Prevent vertical scrolling */
        width: 100%; /* Use full container width */
        position: relative; /* Ensure proper positioning */
        -webkit-overflow-scrolling: touch; /* Enable momentum scrolling on iOS */
        touch-action: pan-x; /* Only allow horizontal panning */
    }
    
    .partner-logos {
        gap: 0px;
        animation: infiniteScroll 20s linear infinite; /* Faster animation for mobile */
        width: max-content; /* Ensure proper width for animation */
        touch-action: pan-x; /* Allow horizontal scrolling only */
        overflow: visible !important; /* Make partner logos overflow visible on mobile */
        display: flex;
        align-items: center;
    }
    
    .partner-logo {
        width: 120px;
        height: 85px;
        font-size: 20px; /* Using h5 size */
        touch-action: none; /* Prevent touch interactions on individual logos */
    }
    
    .about-section .row {
        flex-direction: column-reverse;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .about-image {
        margin-bottom: 30px;
    }
    
    .footer .col-12 {
        text-align: center;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    .footer .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    /* Remove negative margins from all rows in mobile */
    .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .footer-links {
        flex-direction: row;
        gap: 12px;
        text-align: center;
        justify-content: center;
    }
    
    .footer .d-flex {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        align-items: center;
        justify-content: center !important;
    }
    
    .footer .d-flex.justify-content-between {
        justify-content: center !important;
    }
    
    .footer-brand,
    .footer-copyright {
        text-align: center;
    }
}

@media (max-width: 576px) {
    .container-fluid {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    
    .main-content {
        padding: 40px 0 0 0;
    }
    
    .partners-section {
        padding: 60px 0 40px 0;
    }

    .about-section {
        padding: 60px 0;
    }

    .video-section {
        padding: 0 20px 60px 20px !important;
    }
    
    /* Mobile responsive video container for small screens - 16:9 aspect ratio */
    .video-container {
        height: auto;
        aspect-ratio: 16/9;
        width: 100%;
    }
    
    .main-video {
        width: 100%;
        height: 100%;
        object-fit: contain; /* Show entire video without cropping */
    }
    
    .gallery-section .gallery-background {
        padding: 40px 0;
    }
    
    .partners-section {
        padding: 60px 0 40px 0;
        margin-bottom: 0;
    }
    
    .gallery-cta {
        gap: 24px;
    }

    .embedded-links-section .row.mb-5 {
        padding-bottom: 40px;
        margin-bottom: 0 !important;
    }

    .section-title {
        font-size: 40px; /* Using h3 size */
        text-align: left;
    }
    
    .section-subtitle {
        font-size: 16px; /* Using body3 size */
        text-align: left;
        padding-bottom: 0;
        margin-top: 0;
    }
    
    /* Remove left/right padding from main content col-12 on mobile */
    .main-content .col-12 {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    .work-title,
    .about-title {
        font-size: 24px !important; /* User requested 24px for mobile */
        text-align: left;
        margin-bottom: 12px;
    }

    .gallery-title {
        font-size: 24px !important; /* User requested 24px for mobile */
        text-align: center;
        margin-bottom: 12px;
        margin-left: auto;
        margin-right: auto;
    }

    .d-flex.justify-content-between.align-items-end {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 32px;
    }
    
    .work-description,
    .about-description {
        text-align: left;
    }
    
    .custom-btn {
        padding: 8px 20px;
        font-size: 16px; /* Using body3 size */
    }
    .custom-btn-secondary {
        padding: 8px 20px;
        font-size: 16px; /* Using body3 size */
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Hide Scrollbars */
::-webkit-scrollbar {
    width: 0px;
    height: 0px;
    background: transparent;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: transparent;
}

::-webkit-scrollbar-thumb:hover {
    background: transparent;
}

/* Hide scrollbars for Firefox */
html {
    scrollbar-width: none;
}

/* Mobile touch handling - prevent screen shifting */
@media (max-width: 768px) {
    html, body {
        overflow-x: hidden !important;
        position: relative;
        width: 100%;
    }
    
    /* Prevent elastic scrolling on iOS */
    body {
        -webkit-overflow-scrolling: touch;
        overflow: hidden auto;
    }
    
    /* Prevent horizontal scrolling issues */
    * {
        max-width: 100%;
    }
    
    /* Ensure video poster displays properly on mobile */
    .main-video {
        background-color: #000;
        object-fit: contain;
        background-size: contain;
        background-position: center;
    }
}

/* Hide scrollbars for all browsers */
body {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Gallery Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gallery-item.show {
    animation: fadeInUp 0.5s ease forwards;
}

/* Hover Effects */
.custom-btn {
    transition: all 0.3s ease;
}

.custom-btn:hover {
    transform: translateY(-2px);
}

/* Focus States */
.btn:focus {
    outline: 2px solid #007bff;
    outline-offset: 2px;
}

/* Remove focus outline for navigation links */
.nav-link:focus {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}

/* Print Styles */
@media print {
    .navbar-custom,
    .footer {
        display: none !important;
    }
    
    .hero-section {
        margin-top: 0;
    }
}

/* Gallery Page Styles */

/* Gallery Header */
.gallery-header {
    margin-top: 80px;
    padding: 80px 0 40px;
    background-color: #ffffff;
}

.gallery-main-title {
    font-family: 'Impact', sans-serif;
    font-size: 60px; /* Using h1 size */
    color: #111111;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.gallery-subtitle {
    font-family: 'Urbanist', sans-serif;
    font-weight: 300;
    font-size: 24px; /* Using body1 size */
    color: #666666;
    max-width: 600px;
}

/* Filter Section */
.filter-section {
    padding: 40px 0;
    background-color: #f8f8f8;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.filter-btn {
    background: none;
    border: none;
    font-family: 'Urbanist', sans-serif;
    font-weight: 500;
    font-size: 20px; /* Using body2 size */
    color: #666666;
    padding: 10px 20px;
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease;
    text-transform: uppercase;
}

.filter-btn:hover,
.filter-btn.active {
    color: #111111;
}

.filter-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background-color: #111111;
}

/* Gallery Grid - Masonry Layout */
.gallery-grid-section {
    background-color: #ffffff;
}

.gallery-grid {
    column-count: 4;
    column-gap: 15px;
    column-fill: balance;
}

.gallery-item {
    display: inline-block;
    width: 100%;
    margin-bottom: 15px;
    break-inside: avoid;
    opacity: 1;
    transform: scale(1);
    transition: all 0.5s ease;
}

.gallery-item.hidden {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
    height: 0;
    overflow: hidden;
    margin: 0;
}

.image-container {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background-color: #f5f5f5;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.image-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.image-container img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.image-container:hover img {
    transform: scale(1.05);
}

/* Image Overlay */
.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.8) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.image-container:hover .image-overlay {
    opacity: 1;
}

.overlay-content h3 {
    font-family: 'Urbanist', sans-serif;
    font-weight: 600;
    font-size: 20px; /* Using body2 size */
    color: #ffffff;
    margin-bottom: 5px;
}

.overlay-content p {
    font-family: 'Urbanist', sans-serif;
    font-weight: 300;
    font-size: 16px; /* Using body3 size */
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* Load More Section */
.load-more-section {
    padding: 40px 0 80px;
    background-color: #ffffff;
    display: none;
}

.load-more-btn {
    background-color: #111111;
    color: #ffffff;
    border: 2px solid #111111;
    border-radius: 0;
    padding: 15px 40px;
    font-family: 'Urbanist', sans-serif;
    font-weight: 500;
    font-size: 20px; /* Using body2 size */
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.load-more-btn:hover {
    background-color: transparent;
    color: #111111;
    border-color: #111111;
}

/* Modal Styles */
.modal-content {
    background-color: #ffffff;
    border: none;
    border-radius: 0;
}

.modal-header {
    padding: 20px 30px;
}

.btn-close-white {
    filter: invert(1);
    opacity: 0.8;
}

.btn-close-white:hover {
    opacity: 1;
}

.modal-image {
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
}

.modal-info {
    padding: 30px;
    text-align: center;
}

.modal-info h3 {
    font-family: 'Urbanist', sans-serif;
    font-weight: 600;
    font-size: 40px; /* Using h3 size */
    color: #ffffff;
    margin-bottom: 10px;
}

.modal-info p {
    font-family: 'Urbanist', sans-serif;
    font-weight: 300;
    font-size: 20px; /* Using body2 size */
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* Active navigation link */
.nav-link.active {
    opacity: 1 !important;
    position: relative;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background-color: #ffffff;
}

/* Gallery Responsive Design */
@media (max-width: 1200px) {
    .gallery-grid {
        column-count: 3;
        column-gap: 12px;
    }
    
    .gallery-item {
        margin-bottom: 12px;
    }
    
    .gallery-main-title {
        font-size: 60px; /* Using h2 size for medium screens */
    }
}

/* Gallery Tablet Responsive */
@media (max-width: 1024px) and (min-width: 769px) {
    .gallery-header {
        padding: 60px 0 40px;
    }
    
    .gallery-grid-section {
        padding: 40px 0;
    }
    
    .filter-section {
        padding: 40px 0;
    }
    
    .load-more-section {
        padding: 40px 0 60px;
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        column-count: 2;
        column-gap: 10px;
    }
    
    .gallery-item {
        margin-bottom: 10px;
    }
    
    .gallery-header {
        margin-top: 60px;
        padding: 40px 0 30px;
    }
    
    .gallery-grid-section {
        padding: 0 0 40px !important;
        padding-top: 0 !important;
    }
    
    /* Mobile modal header padding */
    .modal-header {
        padding: 20px;
        font-size: 16px;
    }
    
    .modal-header .modal-title {
        font-size: 16px !important;
    }
    
    .modal-header .btn-close {
        width: 24px !important;
        height: 24px !important;
        font-size: 12px;
    }
    
    /* Mobile modal body padding */
    .modal-fullscreen .modal-body {
        padding: 20px !important;
    }
    
    .filter-section {
        padding: 40px 0;
    }
    
    .load-more-section {
        padding: 40px 0 60px;
    }
    
    .gallery-main-title {
        font-size: 32px !important; /* Using smaller size for mobile - force override */
        text-align: left;
        padding-bottom: 12px;
        margin-bottom: 0;
    }
    
    .gallery-subtitle {
        text-align: left;
        margin: 0;
        font-size: 20px;
        line-height: 1.2;
    }
    
    .gallery-header .col-12 {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    .filter-buttons {
        gap: 15px;
        justify-content: flex-start;
    }
    
    .filter-btn {
        font-size: 20px; /* Keep body2 size */
        padding: 8px 15px;
    }
    
    .image-overlay {
        padding: 15px;
    }
    
    .overlay-content h3 {
        font-size: 20px; /* Keep body2 size */
    }
    
    .overlay-content p {
        font-size: 16px; /* Keep body3 size */
    }
}

@media (max-width: 576px) {
    .gallery-grid {
        column-count: 1;
        column-gap: 0;
    }
    
    .gallery-item {
        margin-bottom: 15px;
    }
    
    .gallery-header {
        padding: 40px 0 30px;
    }
    
    .gallery-grid-section {
        padding: 40px 0;
    }
    
    .filter-section {
        padding: 40px 0;
    }
    
    .load-more-section {
        padding: 40px 0 60px;
    }
    
    .gallery-main-title {
        font-size: 24px; /* Using h4 size for mobile */
        text-align: left;
    }
    
    .gallery-subtitle {
        text-align: left;
        margin: 0;
    }
    
    .filter-buttons {
        justify-content: flex-start;
    }
}

/* Animation for filtering */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gallery-item.show {
    animation: fadeInUp 0.5s ease forwards;
}

/* Loading animation */
.load-more-btn.loading {
    opacity: 0.6;
    pointer-events: none;
}

.load-more-btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #111111;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Showreel Page Specific Styles */
.showreel-header {
    margin-top: 80px;
    padding: 80px 0 40px;
    background-color: #ffffff;
}

.showreel-main-title {
    font-family: 'Impact', sans-serif;
    font-size: 60px;
    color: #111111;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.showreel-subtitle {
    font-family: 'Urbanist', sans-serif;
    font-weight: 300;
    font-size: 24px;
    color: #666666;
    max-width: 600px;
}

/* Showreel Grid */
.showreel-grid-section {
    padding: 0 0 80px 0;
    background: white;
}

.showreel-video-item {
    margin-bottom: 0;
}

.showreel-video-thumbnail {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.showreel-video-thumbnail:hover {
    transform: scale(1.02);
}

.showreel-video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.showreel-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.showreel-video-thumbnail:hover .showreel-play-overlay {
    opacity: 1;
}

.showreel-play-button {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #333;
}

.showreel-video-info {
    padding: 20px 0;
}

.showreel-video-title {
    font-family: 'Urbanist', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 8px;
}

.showreel-video-category {
    font-family: 'Urbanist', sans-serif;
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Mobile Responsive for Showreel */
@media (max-width: 768px) {
    .showreel-header {
        margin-top: 60px;
        padding: 40px 0 30px;
    }
    
    .showreel-grid-section {
        padding: 0 0 40px !important;
        padding-top: 0 !important;
    }
    
    .showreel-main-title {
        font-size: 32px !important;
        text-align: left;
        padding-bottom: 12px;
        margin-bottom: 0;
    }
    
    .showreel-subtitle {
        text-align: left;
        margin: 0;
        font-size: 20px;
        line-height: 1.2;
    }
    
    .showreel-header .col-12 {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    .showreel-video-info {
        padding: 20px 0 0 0;
    }
    .col-lg-4{padding: 0 !important;}
    
    .journey-section{
        padding: 0 !important;
    }
    
    .timeline-item {
        margin-bottom: 40px !important;
    }
    
    /* Mobile carousel smooth scrolling */
    .showreel-carousel-container {
        overflow-x: auto;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }
    
    .showreel-carousel-track {
        cursor: default;
    }
    
    /* Remove hover effects on mobile */
    .showreel-thumbnail:hover img,
    .embedded-thumbnail:hover img {
        transform: none;
    }
    
    .showreel-thumbnail:hover .play-overlay,
    .embedded-thumbnail:hover .play-overlay {
        opacity: 0;
        transform: translate(-50%, -50%);
    }
    
    .play-overlay {
        opacity: 0;
    }
}

.page-heading .word {
    display: inline-block;
    opacity: 0;
    transform: translateY(1rem);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.page-heading .word.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .page-heading .word {
        transition: none;
        transform: none;
    }
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    right: 60px;
    bottom: 60px;
    width: 60px;
    height: 60px;
    z-index: 1000;
    display: block;
}

.whatsapp-float img {
    width: 100%;
    height: 100%;
    display: block;
}

.whatsapp-float:focus-visible {
    outline: 2px solid #000;
    outline-offset: 4px;
}

@media (max-width: 768px) {
    .whatsapp-float {
        right: 20px;
        bottom: 20px;
        width: 40px;
        height: 40px;
    }
}

/* ===================================== */
/* EVENT GALLERY PAGE STYLES */
/* ===================================== */

/* Event Cards Grid - 3 cards per row */
.events-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 20px 0 2rem 0;
}

.event-card {
    transition: all 0.3s ease;
    cursor: pointer;
}

.event-card:hover .event-thumbnail img {
    transform: scale(1.05);
}

.event-thumbnail {
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    position: relative;
    border-radius: 0px;
    transition: transform 0.3s ease;
    overflow: hidden;
}

.event-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-info {
    padding: 1rem 0;
}

.event-card .event-title {
    font-family: 'Urbanist', sans-serif !important;
    font-weight: 500 !important;
    font-size: 24px !important;
    color: #333 !important;
    margin: 0 !important;
    text-align: left !important;
    line-height: 1.4 !important;
}

.loading-spinner {
    text-align: center;
    padding: 3rem;
    grid-column: 1 / -1;
}

/* Event Images Grid in Modal */
.event-images-grid {
    column-count: 4;
    column-gap: 1rem;
    column-fill: balance;
    padding: 2rem 0;
    background: #ffffff;
}

/* ===================================== */
/* NEW EVENT GALLERY PAGE STYLES */
/* ===================================== */

/* Page Background - Pure White */
html,
html body.event-gallery-page-new,
body.event-gallery-page-new {
    background-color: #ffffff !important;
    background: #ffffff !important;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Force white background on all main elements */
body.event-gallery-page-new *:not(.event-header-bar):not(.close-btn):not(.modal-content):not(.modal-content *) {
    background-color: transparent !important;
}

/* Black Header Bar */
.event-header-bar {
    background-color: #000000;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 80px;
    border-bottom: 1px solid #333;
    display: flex;
    align-items: center;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    width: 100%;
}

.event-header-title {
    color: #ffffff;
    font-family: 'Urbanist', sans-serif;
    font-weight: 600;
    font-size: 24px;
    margin: 0;
}

.close-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.close-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Main Content */
.main-content {
    margin-top: 80px; /* Account for fixed header */
    padding: 2rem 0;
    background-color: #ffffff !important;
    background: #ffffff !important;
}

/* Unsplash-style Masonry Grid */
.images-masonry-container {
    column-count: 4;
    column-gap: 15px;
    column-fill: balance;
    padding: 0 2rem;
}

.masonry-image-item {
    display: inline-block;
    width: 100%;
    margin-bottom: 15px;
    break-inside: avoid;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.masonry-image-item:hover {
    transform: scale(1.02);
}

.masonry-image-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0;
    object-fit: cover;
}

/* Loading State */
.loading-state {
    text-align: center;
    padding: 4rem 0;
    column-span: all;
}

.loading-text {
    margin-top: 1rem;
    color: #333;
    font-family: 'Urbanist', sans-serif;
    font-size: 16px;
}

/* Modal Styles */
.modal-content-dark {
    background-color: #ffffff;
    border: none;
}

.modal-header-dark {
    background-color: #ffffff;
    border: none;
    padding: 1rem;
}

/* Override close button for white modal background */
body.event-gallery-page-new .btn-close-white {
    filter: invert(1) brightness(0);
    opacity: 0.8;
}

body.event-gallery-page-new .btn-close-white:hover {
    opacity: 1;
}

.modal-body-center {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    background-color: #ffffff;
}

.modal-full-image {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 0;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .images-masonry-container {
        column-count: 3;
        column-gap: 12px;
    }
    
    .masonry-image-item {
        margin-bottom: 12px;
    }
}

@media (max-width: 768px) {
    .images-masonry-container {
        column-count: 2;
        column-gap: 10px;
        padding: 0 1rem;
    }
    
    .masonry-image-item {
        margin-bottom: 10px;
    }
    
    .header-content {
        padding: 0 1rem;
    }
    
    .event-header-title {
        font-size: 20px;
    }
    
    .main-content {
        margin-top: 70px;
        padding: 1rem 0;
    }
}

@media (max-width: 480px) {
    .images-masonry-container {
        column-count: 1;
        column-gap: 0;
    }
    
    .event-header-title {
        font-size: 18px;
    }
}

/* Override modal background for event gallery page */
.event-gallery-page .modal-content {
    background-color: #111111;
    border: none;
    border-radius: 0;
}

.event-gallery-page .modal-image {
    background-color: #ffffff;
}

.event-image-item {
    display: inline-block;
    width: 100%;
    margin-bottom: 1rem;
    break-inside: avoid;
    border-radius: 0px;
    overflow: hidden;
}

.event-image-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}

.event-image-item:hover img {
    transform: scale(1.05);
}

/* Modal Styling */
.modal-fullscreen .modal-body {
    padding: 2rem;
}

.modal-header {
    background: #000000;
    color: white;
}

.btn-close {
    filter: brightness(0) invert(1);
}

/* Individual Event Gallery Page Styles */
.event-gallery-header {
    background: #000000;
    color: white;
    padding: 4rem 0 2rem 0;
    margin-bottom: 2rem;
}

.event-title {
    font-family: 'Impact', sans-serif;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.event-description {
    font-family: 'Urbanist', sans-serif;
    font-size: 1.1rem;
    opacity: 0.9;
}

.back-btn {
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    margin-bottom: 2rem;
}

.back-btn:hover {
    background: rgba(255,255,255,0.3);
    color: white;
    text-decoration: none;
}

.image-item {
    position: relative;
    border-radius: 0px;
    overflow: hidden;
    box-shadow: none;
    transition: all 0.3s ease;
    cursor: pointer;
    break-inside: avoid;
    margin-bottom: 1rem;
}

.image-item:hover {
    transform: none;
    box-shadow: none;
}

.image-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}

.image-item:hover img {
    transform: scale(1.05);
}

/* Responsive Design for Event Gallery */
@media (max-width: 1200px) {
    .events-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .event-images-grid {
        column-count: 3;
        column-gap: 1rem;
    }
}

@media (max-width: 768px) {
    .events-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding-bottom: 0;
    }

    .event-card .event-title {
        font-size: 20px !important;
    }

    .event-gallery-header {
        padding: 2rem 0 1rem 0;
    }

    .event-title {
        font-size: 2rem;
    }

    .event-images-grid {
        column-count: 2;
        column-gap: 0.75rem;
        padding: 0;
    }

    .event-image-item {
        margin-bottom: 0.75rem;
    }
}

@media (max-width: 480px) {
    .events-gallery-grid {
        grid-template-columns: 1fr;
    }

    .event-card .event-title {
        font-size: 22px !important;
    }

    .event-images-grid {
        column-count: 1;
        column-gap: 0;
    }

    .event-image-item {
        margin-bottom: 0.5rem;
    }
}
