/* ==========================================================================
   Base Styles & Fonts
   ========================================================================== */

/* Skip link for accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.sr-only:focus {
    position: fixed;
    top: 0.5rem;
    left: 0.5rem;
    z-index: 9999;
    width: auto;
    height: auto;
    padding: 0.5rem 1rem;
    margin: 0;
    overflow: visible;
    clip: auto;
    white-space: normal;
    background-color: var(--yellow);
    color: black;
    text-decoration: none;
    border-radius: 0.5rem;
    font-weight: bold;
}

/* @import url('https://fonts.googleapis.com/css2?family=Ginger:ital,wght@0,100..900;1,100..900&display=swap'); */

:root {
    --yellow: #FCB600;
    --white: #fff;
}

/* Roaster Font Face */
@font-face {
    font-family: 'Ginger';
    src: 
        url('../assets/fonts/Ginger.woff') format('woff'),
        url('../assets/fonts/Ginger.ttf') format('truetype'),
        url('../assets/fonts/Ginger.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roaster';
    src: 
        url('../assets/fonts/roaster.regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

* {

    h1,
    h2,
    h3,
    h5 {
        font-family: 'Roaster', sans-serif;
    }

    p,
    span,
    li,
    select,
    input,
    textarea {
        font-family: 'Poppins', sans-serif;
    }

    box-sizing: border-box;
}

.label .title {
    font-family: 'Roaster', sans-serif;
}

#synchronization {
    font-family: 'Roaster', sans-serif;
}

#start-project {
    font-family: 'Poppins', sans-serif;
}

#menu-button {
    font-family: 'Roaster', sans-serif;
}


/* Hero section styling - fixed background behind other content */
.herosection {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 1;
}

/* Hero video container - can be hidden with opacity */
.herosection-bg-vedio {
    opacity: 1;
    transition: opacity 0.5s ease-out;
}

/* Section-1 positioning - above hero */
.section-1 {
    position: relative;
    z-index: 10;
}

/* Section-2 positioning - normal scroll behind section-1 */
.section-2 {
    position: relative;
    z-index: 1; /* Lower than homepage */
    background: #000;
    background-image: url('../assets/images/bg-grid.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    margin-top: 0;
}

/* Ensure smooth transition between sections with proper z-index layering */
.section-3 {
    position: relative;
    z-index: 3;
    background: #fff !important;
    min-height: 100vh;
    width: 100%;
}

/* Ensure section-3 container also has background */
.section-3-containter {
    background-image: url('../assets/images/growth-line.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
}

.section-4 {
    position: relative;
    z-index: 4;
    background: #fff;
    min-height: 80vh;
    padding-bottom: 0;
    transition: padding-bottom 0.3s ease;
}

.section-5 {
    position: relative;
    z-index: 5;
    background: #000;
    min-height: 100vh;
}

.section-6 {
    position: relative;
    z-index: 6;
    background: #fff;
    min-height: 100vh;
    padding: 4rem 0;
    display: flex;
    flex-direction: column;
    width: 100%;
    overflow: hidden; /* Prevent horizontal overflow */
}

/* Section 6 container adjustments */
.section-6-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0; /* Allow flex children to shrink */
    width: 100%;
    max-width: 100%;
    padding: 0 1rem;
}

/* Responsive adjustments for section 6 */
@media (max-width: 1024px) {
    .section-6-container {
        padding: 0 0.5rem;
    }
}

@media (max-width: 768px) {
    .section-6 {
        padding: 2rem 0;
        min-height: 80vh;
    }
    
    .section-6-container {
        padding: 0 0.25rem;
    }
}

@media (max-width: 480px) {
    .section-6 {
        padding: 1rem 0;
        min-height: 70vh;
    }
    
    .section-6-container {
        padding: 0 0.25rem;
    }
}

.section-7 {
    position: relative;
    z-index: 7;
    background: #000;
    min-height: 100vh;
    /* background-image: url('../assets/images/form-bg.svg'); */
    background-image: 
    linear-gradient(to bottom, #000000 0%, #00000000 65%),
    url('../assets/images/form-bg.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.amazing {
    font-family: 'Roaster', sans-serif;
}

.header-text {
    font-size: 3rem;
}

.form-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 300;
    color: #fff;
    line-height: 1.6;
    margin: 0;
    width: 50%;
    text-align: center;
    font-family: 'Poppins', sans-serif;
}

.section-8 {
    position: relative;
    z-index: 8;
    background: #000;
    min-height: 100vh;
}

/* Add margin to body to account for fixed hero section */
body {
    margin-top: 100vh;
}

/* Smooth scroll behavior for the entire page */
html {
    scroll-behavior: smooth;
}

/* Optimize for smooth animations */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Menu Bar Animation */
.menubar-content {
    height: 0;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 100;
    opacity: 0;
    transform: translateY(-20px);
    /* High z-index for menu */
}

/* Make menubar content visible when herosection-footer is visible */
.herosection-footer:not(.hidden) .menubar-content {
    height: 50vh;
    opacity: 1;
    transform: translateY(0);
}

/* Ensure menubar content is hidden by default when herosection-footer is visible */
.herosection-footer:not(.hidden) .menubar-content:not(.open) {
    height: 0;
    opacity: 0;
    transform: translateY(-20px);
}

.menubar-content.open {
    height: 50vh;
    opacity: 1;
    transform: translateY(0);
    overflow-y: auto;
    max-height: 50vh;
    /* Hide scrollbar */
    scrollbar-width: none;
    -ms-overflow-style: none;
    /* Ensure proper scrolling */
    display: flex;
    flex-direction: column;
}

.menubar-content.open::-webkit-scrollbar {
    display: none;
}

/* Ensure menu items container allows scrolling */
.menubar-content .menu-items {
    flex: 1;
    min-height: 0; /* Allow shrinking */
}

.menu-item {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    transform: translateY(10px);
    opacity: 0;

    span {
        font-family: 'Roaster', sans-serif;
    }
}

.menubar-content.open .menu-item {
    transform: translateY(0);
    opacity: 1;
}

.menubar-content.open .menu-item:nth-child(1) {
    transition-delay: 0.1s;
}

.menubar-content.open .menu-item:nth-child(2) {
    transition-delay: 0.2s;
}

.menubar-content.open .menu-item:nth-child(3) {
    transition-delay: 0.3s;
}

.menubar-content.open .menu-item:nth-child(4) {
    transition-delay: 0.4s;
}

.menubar-content.open .menu-item:nth-child(5) {
    transition-delay: 0.5s;
}

.menubar-content.open .menu-item:nth-child(6) {
    transition-delay: 0.6s;
}

/* Directional prep classes for slide-in animation */
.menubar-content.prep-top {
    transform: translateY(-16px);
}

.menubar-content.prep-bottom {
    transform: translateY(16px);
}

.menu-item:hover .menu-icon {
    background-color: var(--yellow);
    transform: scale(1.1);
}

.menu-item:hover span {
    color: var(--yellow);
}

.menu-icon {
    transition: all 0.3s ease;
}

/* Hover line that extends from the menu icon */
.menu-icon {
    position: relative;
}

.menu-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: calc(100% + 12px);
    height: 2px;
    width: 0;
    background-color: var(--yellow);
    transform: translateY(-50%);
    transition: width 0.3s ease;
}

.menu-item:hover .menu-icon::after {
    width: 200px;
}


#scene-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

#scene {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: visible;
    /* Ensure proper positioning context for markers */
    transform: translateZ(0);
}

#bigSvg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    z-index: 10;
    visibility: hidden;
}

#motionPath {
    stroke: var(--yellow);
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.marker {
    position: absolute;
    width: 52px;
    height: 52px;
    transform: translate(-50%, -50%) scale(0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 30;
    opacity: 0;
    /* Ensure markers are positioned relative to scene container */
    left: 0;
    top: 0;
}

.marker .ring {
    position: absolute;
    border: 1.5px solid var(--yellow);
    border-radius: 50%;
    box-sizing: border-box;
}

.marker .ring-1 {
    width: 52px;
    height: 52px;
}

.marker .ring-2 {
    width: 42px;
    height: 42px;
}

.marker .ring-3 {
    width: 32px;
    height: 32px;
}

.marker .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--white);
    z-index: 3;
}

.label {
    position: absolute;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 28;
    opacity: 0;
    font-family: "Poppins", sans-serif;
}

.label .title {
    font-family: 'Roaster', sans-serif;
    font-weight: 400;
    font-size: 1.6rem;
    margin-bottom: 2px;
    color: var(--white);
}

.label .sub {
    font-weight: 300;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.45;
}

#pencilWrap {
    position: absolute;
    left: 0;
    top: 0;
    width: 30px;
    height: 112px;
    z-index: 45;
    visibility: hidden;
}

#pencil {
    display: block;
    width: 100%;
    height: 100%;
    will-change: transform;
}

@media (max-width: 900px) {
    .marker {
        width: 42px;
        height: 42px;
    }

    .marker .ring-1 {
        width: 42px;
        height: 42px;
    }

    .marker .ring-2 {
        width: 34px;
        height: 34px;
    }

    .marker .ring-3 {
        width: 26px;
        height: 26px;
    }

    .marker .dot {
        width: 10px;
        height: 10px;
    }

    #pencilWrap {
        width: 25px;
        height: 93px;
    }

    .label .title {
        font-size: 1.2rem;
    }

    .label .sub {
        font-size: 0.95rem;
    }
}

.section-5::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera */
}

/* Swiper Projects Styling */
.projects-swiper {
    width: 100%;
    overflow: hidden;
}

.projects-swiper .swiper-wrapper {
    transition-timing-function: linear;
}

.projects-swiper .swiper-slide {
    width: auto;
    height: auto;
}

/* Split Menu for Non-Hero Sections - Consolidated */
#split-menu {
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    z-index: 100 !important;
    will-change: transform, opacity;
    backface-visibility: hidden;
}

/* Split Menu - Top Menu with Logo+Button (Hidden by default, shown when scrolling) */
#split-menu.hidden {
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
}

#split-menu.visible {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.menu-link {
    font-family: 'Roaster', sans-serif;
}


/* Prevent horizontal overflow globally */
html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

/* Hide scrollbar while maintaining scroll functionality */
/* For WebKit browsers (Chrome, Safari, Edge) */
::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

/* For Firefox */
html {
    scrollbar-width: none;
}

/* For Internet Explorer and Edge Legacy */
body {
    -ms-overflow-style: none;
}

/* Remove unwanted margin from GSAP pin-spacer div */
.pin-spacer {
    margin: 0 !important;
}

/* Menu Button Content (Overlay Menu) - Initial hidden state */
.menu-button-content {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    max-width: calc(100vw - 2.5rem); /* Ensure it doesn't overflow with right-10 */
}

/* Menu Button Content - Open state */
.menu-button-content.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
    overflow-y: auto;
    max-height: 65vh;
    /* Hide scrollbar */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.menu-button-content.open::-webkit-scrollbar {
    display: none;
}

/* Menu Button Content - Link styles */
.menu-button-content .menu-link {
    position: relative;
    overflow: visible;
    transition: all 0.3s ease-in-out;
    padding-left: 0;
}

.menu-button-content .menu-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 3px;
    background-color: #FCB600;
    transition: width 0.3s ease-in-out;
    z-index: 1;
    border-radius: 2px;
}

.menu-button-content .menu-link:hover::before {
    width: 55px !important;
}

.menu-button-content .menu-link:hover {
    background: white !important;
    color: #FCB600 !important;
    border-bottom: 3px solid #FCB600;
    border-radius: 8px;
    padding-left: 60px;
    transform: translateX(0);
}


#split-menu .logo-container {
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Footer Menu Bar - Always Fixed at Bottom - Consolidated */
.herosection-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    transition: transform 2.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 1.8s ease-in-out, visibility 0.3s ease-in-out;
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    display: flex !important;
    will-change: transform, opacity;
    backface-visibility: hidden;
}

.herosection-footer:not(.hidden) {
    opacity: 1 !important;
    visibility: visible !important;
    display: flex !important;
    transform: translateY(0) !important;
}

.herosection-footer.hidden {
    transform: translateY(100%);
    opacity: 0;
    visibility: hidden;
}

.herosection-footer-content {
    backdrop-filter: blur(64px);
    -webkit-backdrop-filter: blur(64px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    will-change: transform, opacity;
    backface-visibility: hidden;
    z-index: 1001;
}

/* Homepage animation styles */
#homepage {
    will-change: transform, opacity;
    backface-visibility: hidden;
    position: relative !important;
    z-index: 20 !important; /* Higher than section-2 */
    background: white !important;
    min-height: 100vh !important;
    width: 100% !important;
    max-width: none !important;
    left: 0 !important;
    right: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important; /* Ensure it's displayed as block */
}

/* Better invisibility effect for the footer container */
.herosection-footer.animate-out {
    opacity: 0;
    visibility: hidden;
    transform: translateY(50px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}


/* Contact Section - Equal Height Columns */
.start-project {
    display: flex;
    flex-direction: column;
    height: 100%;
    align-items: stretch;
}

/* Menu Bar Animation */
.menubar-content {
    height: 0;
    overflow-y: auto;
    transition: height 0.4s ease-in-out;
    position: relative;
    z-index: 10;
}

.menubar-content.open {
    height: 70vh;
}


.connect-button {
    font-family: 'Roaster', sans-serif !important;
}

.menu-links,
.menu-link {
    font-family: 'Roaster', sans-serif !important;
}

.project-column {
    flex-shrink: 0;
    height: 600px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.project-card {
    width: 100%;
}

.project-card:first-child {
    height: 65%;
}

.project-card:last-child {
    height: 30%;
}

/* Fallback CSS Animation if Swiper fails */
@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

.projects-swiper .swiper-wrapper.fallback-animation {
    animation: marquee 20s linear infinite;
    display: flex;
    gap: 24px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .section-5-header h1 {
        font-size: 3rem;
    }

    .project-column {
        width: 280px;
        /* Smaller width for mobile */
        gap: 1rem;
    }

    .projects-grid {
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .project-column {
        width: 240px;
        /* Even smaller for very small screens */
    }
}

/* Clientele Section - Simple Infinite Scroll */
.clients-container {
    overflow: hidden;
    width: 100%;
}

.clients-row {
    display: flex;
    gap: 3rem;
    animation: scroll 30s linear infinite;
    white-space: nowrap;
}

.clients-row:hover {
    animation-play-state: paused;
}

.clients-row-reverse {
    animation: scroll-reverse 30s linear infinite;
}

.clients-row-reverse:hover {
    animation-play-state: paused;
}

.client-logo {
    font-size: 1.25rem;
    font-weight: 500;
    color: #374151;
    padding: 1rem 0;
    flex-shrink: 0;
}

.client-logo-img {
    width: 96px;
    /* 6rem */
    height: 64px;
    /* 4rem */
    object-fit: contain;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.client-logo:hover .client-logo-img {
    filter: grayscale(0%);
    transform: scale(1.1);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes scroll-reverse {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

/* Projects Section - Smooth Infinite Scroll */
.projects-container {
    overflow-x: auto;
    overflow-y: hidden;
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
    width: 100%;
    height: 600px;
}

.projects-container::-webkit-scrollbar {
    display: none;
}

.projects-row {
    display: flex;
    gap: 1.5rem;
    animation: scroll-projects 40s linear infinite;
    white-space: nowrap;
    height: 100%;
}

.projects-row:hover {
    animation-play-state: paused;
}

.project-column {
    flex-shrink: 0;
    height: 100%;
    width: 260px;
    /* Fixed width for consistent sizing */
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.project-card {
    flex: 1;
}

/* Default pattern: Tall top, Short bottom */
.project-column .project-card:first-child {
    flex: 0 0 55%;
}

.project-column .project-card:last-child {
    flex: 0 0 40%;
}

/* Alternating pattern: Short top, Tall bottom for even columns */
.project-column:nth-child(even) .project-card:first-child {
    flex: 0 0 40%;
}

.project-column:nth-child(even) .project-card:last-child {
    flex: 0 0 55%;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Bigger cards (55% height) - eliminate whitespaces while showing logos */
.project-column .project-card:first-child .project-image img,
.project-column:nth-child(even) .project-card:last-child .project-image img {
    object-fit: fill;
    width: 100%;
    height: 100%;
}

/* Smaller cards (40% height) - zoom to cover full container, no whitespaces */
.project-column .project-card:last-child .project-image img,
.project-column:nth-child(even) .project-card:first-child .project-image img {
    object-fit: cover;
    object-position: center center;
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
}

/* Responsive adjustments for expanded state */
@media (max-width: 768px) {
    .section-4.expanded {
        padding: 2rem 0;
        min-height: 90vh;
    }
    
    .phase-card.expanded {
        min-height: 350px;
        padding: 24px 16px;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 480px) {
    .section-4.expanded {
        padding: 1.5rem 0;
        min-height: 85vh;
    }
    
    .phase-card.expanded {
        min-height: 300px;
        padding: 20px 12px;
        margin-bottom: 1rem;
    }
}

/* Phase Cards Styling */
.phase-card {
    background: #ffffff;
    border-radius: 8px;
    padding: 16px 6px;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
    min-height: 350px;
    margin: 0 auto; /* Center the cards */
    position: relative;
    z-index: 1; /* Ensure content is above the border */
}

.phase-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 8px;
    padding: 1px;
    background: linear-gradient(135deg, #FCB600, #FCB60000);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    z-index: -1;
}

/* Normal state - Phase at top, image at bottom */
.phase-card:not(.expanded) {
    justify-content: space-between;
}

.phase-card:not(.expanded) .phase-title {
    display: none; /* Hide title in normal state */
}

/* Expanded phase cards layout */
.phase-card.expanded {
    min-height: 400px;
    padding: 32px 20px;
    justify-content: space-between;
    margin-bottom: 2rem;
    flex: 1; /* Ensure equal distribution */
    max-width: 25%; /* Prevent cards from getting too wide */
}

.phase-card.expanded .phase-image {
    width: 120px;
    height: 120px;
    object-fit: contain;
    border-radius: 8px;
    margin: 0;
    display: block;
}

/* Phase + Number row at top */
.phase-card.expanded .phase-label {
    display: inline;
    font-weight: 600;
}

/* Title at bottom */
.phase-card.expanded .phase-title {
    opacity: 1;
    font-size: 28px;
    font-weight: 500;
    text-align: center;
    font-family: 'Roaster', sans-serif;
    font-weight: 700;
}

/* Background images removed - using img elements instead */

/* General phase image styling */
.phase-image {
    width: 120px;
    height: 120px;
    object-fit: contain;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: block; /* Ensure image is always visible */
}

.phase-card.expanded .phase-title {
    opacity: 1;
}

/* Top row for expanded state - Phase + Number - moved above */

.phase-label {
    font-size: 120px;
    font-weight: 300;
    color: #ECECEC;
    font-family: 'Poppins', sans-serif;
    text-align: center;
    flex-shrink: 0;
    transition: opacity 0.3s ease;
    line-height: 1;
}

/* Phase Expanded Content Styles - REMOVED - using CSS-only approach */

.phase-top-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 0;
}

.phase-label-expanded {
    font-size: 30px;
    font-weight: 500;
    color: #D0D0D0;
    font-family: 'Poppins', sans-serif;
    white-space: nowrap;
}

.phase-title-expanded {
    font-size: 28px;
    font-weight: 700;
    color: #000;
    font-family: 'Roaster', sans-serif !important;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    line-height: 1.1;
    margin-bottom: 0;
    text-align: center;
    word-wrap: break-word;
    hyphens: auto;
    max-width: 100%;
}

/* Ensure phase cards can contain absolute positioned content properly */
.phase-card {
    position: relative;
    overflow: hidden; /* Changed from visible to hidden to contain content */
    transition: all 0.3s ease;
    word-wrap: break-word;
    box-sizing: border-box;
}

/* When expanded, ensure proper text handling */
.phase-card.expanded {
    overflow: hidden; /* Keep content contained */
    min-height: 320px; /* Slightly more height for expanded state */
    max-width: 320px;
}

/* Main scrolling container and rows */

.clients-container {
    overflow: hidden;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.clients-row {
    display: flex;
    gap: 3rem;
    padding: 0.5rem 0;
    animation: scroll 40s linear infinite;
    white-space: nowrap;
    flex-shrink: 0;
    height: calc(33.33% - 0.5rem); /* Each row takes 1/3 of the height */
    min-height: 80px;
    width: 100%;
    align-items: center;
}

.clients-row:hover {
    animation-play-state: paused;
}

.clients-row-reverse {
    animation: scroll-reverse 40s linear infinite;
}

.clients-row-reverse:hover {
    animation-play-state: paused;
}

/* Responsive adjustments for clients rows */
@media (max-width: 1024px) {
    .clients-wrapper {
        height: 55vh;
    }
    
    .clients-row {
        gap: 2.5rem;
        padding: 0.25rem 0;
        min-height: 70px;
    }
}

@media (max-width: 768px) {
    .clients-wrapper {
        height: 50vh;
    }
    
    .clients-row {
        gap: 2rem;
        padding: 0.25rem 0;
        min-height: 60px;
    }
}

@media (max-width: 480px) {
    .clients-wrapper {
        height: 45vh;
    }
    
    .clients-row {
        gap: 1.5rem;
        padding: 0.25rem 0;
        min-height: 50px;
    }
}

.client-logo {
    flex-shrink: 0;
    cursor: pointer;
    position: relative;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.client-logo-img {
    width: 128px;
    height: 80px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s ease, transform 0.3s ease;
}

.client-logo:hover .client-logo-img,
.client-logo.active .client-logo-img {
    filter: grayscale(0%);
    transform: scale(1.1);
}

/* Responsive client logo sizing */
@media (max-width: 1024px) {
    .client-logo-img {
        width: 100px;
        height: 60px;
    }
}

@media (max-width: 768px) {
    .client-logo-img {
        width: 80px;
        height: 50px;
    }
}

@media (max-width: 480px) {
    .client-logo-img {
        width: 60px;
        height: 40px;
    }
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes scroll-reverse {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

/* Static Borders */
.clients-wrapper {
    position: relative;
    height: 60vh; /* Fixed height to ensure all 3 rows fit */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1rem 0;
    width: 100%;
    overflow: hidden;
}

.clients-wrapper::before,
.clients-wrapper::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background-color: #e5e7eb;
    z-index: 0;
}

.clients-wrapper::before {
    top: 33.33%;
}

.clients-wrapper::after {
    top: 66.66%;
}

/* Responsive adjustments for clients wrapper */
@media (max-width: 1024px) {
    .clients-wrapper {
        height: 55vh;
        padding: 0.5rem 0;
    }
    
    .clients-wrapper::before,
    .clients-wrapper::after {
        width: 85%;
    }
}

@media (max-width: 768px) {
    .clients-wrapper {
        height: 50vh;
        padding: 0.25rem 0;
    }
    
    .clients-wrapper::before,
    .clients-wrapper::after {
        width: 90%;
    }
}

@media (max-width: 480px) {
    .clients-wrapper {
        height: 45vh;
        padding: 0.25rem 0;
    }
    
    .clients-wrapper::before,
    .clients-wrapper::after {
        width: 95%;
    }
}

/* Main Detail Card */
#client-detail-card {
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.4);
    height: 380px;
    position: fixed;
    z-index: 1000;
    pointer-events: auto;
}

#client-detail-card>.flex {
    height: 100%;
}

/* Connector SVG Animation Prep */
#top-left-connector,
#bottom-right-connector {
    transform-origin: center center;
}

#top-left-connector .line,
#bottom-right-connector .line {
    stroke-dasharray: 300;
    stroke-dashoffset: 300;
}

#top-left-connector .star,
#bottom-right-connector .star {
    opacity: 0;
    transform-origin: center center;
}

/* Dynamic Collage */
#detail-images-grid {
    display: grid;
    padding: 0.05rem;
}

#detail-images-grid>div {
    border-radius: 0.5rem;
    overflow: hidden;
}

#detail-images-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes marquee-vertical {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-50%);
    }
}

.marquee-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    animation: marquee-vertical 20s linear infinite;
}

.marquee-wrapper:hover {
    animation-play-state: paused;
}

.marquee-wrapper>div {
    flex-shrink: 0;
}


.form-group {
    position: relative;
    padding-bottom: 1.75rem;
}

.form-group p[id$="-error"] {
    position: absolute;
    bottom: 0;
    left: 0;
}

.form-group #email-error {
    left: 52%;
}

select.invalid,
input.invalid,
textarea.invalid {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
    background-color: #fef2f2;
}

select.invalid:focus,
input.invalid:focus,
textarea.invalid:focus {
    --tw-ring-color: #ef4444 !important;
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
    background-color: #fef2f2;
}

/* Smooth transitions for validation states */
input, textarea, select {
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}


.honeypot {
    position: absolute;
    left: -5000px;
    visibility: hidden;
}

.feedback {
    padding: 40px 120px;
    background-color: #F7F7FB;
    min-height: 100vh;
    position: relative;
    z-index: 9;
}

.feedback-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
    width: 100%;
}

.feedback-title {
    font-size: 36px;
    font-weight: 300;
    color: #1a1a1a;
    line-height: 1.2;
    text-align: left;
    font-family: 'Roaster', serif;
}

.feedback-underline {
    width: 100px;
    height: 3px;
    background-color: #FCB600;
    margin-bottom: 15px;
}

.feedback-right {
    position: relative;
    width: 100%;
}

.testimonials-slider {
    position: relative;
    overflow: hidden;
    min-height: 400px;
    width: 100%;
    perspective: 1200px;
    transform-style: preserve-3d;
}

.testimonials-page {
    display: none;
    gap: 30px;
    height: 100%;
    min-height: 400px;
    width: 100%;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.2s ease-in-out;
    transform-style: preserve-3d;
    perspective: 1000px;
    align-items: flex-start;
}

.testimonials-page.active {
    display: flex;
    gap: 40px;
    min-height: 700px;
    opacity: 1;
    transform: translateX(0);
    position: relative;
    align-items: flex-start;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.testimonial-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 200px;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: #FCB600;
}

.testimonial-card.large {
    height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.testimonial-card.small {
    height: 320px;
    width: 350px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Two-column layout: Title+Card on left, 2 cards on right */
.testimonials-columns {
    display: flex;
    width: 90%;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    gap: 60px;
}

.testimonials-left-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.testimonials-right-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
}


.company-logo {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.company-logo-img {
    max-height: 50px;
    max-width: 130px;
    object-fit: contain;
    width: auto;
    height: auto;
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.6;
    color: #4b5563;
    flex-grow: 1;
}

.customer-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.customer-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e5e7eb;
    flex-shrink: 0;
}

.customer-details h4 {
    font-size: 16px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 4px 0;
}

.customer-details p {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
}

.testimonials-pagination {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.pagination-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #d1d5db;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.pagination-dot.active {
    background-color: #FCB600;
    transform: scale(1.2);
}

.pagination-dot:hover {
    background-color: #6b7280;
}

.testimonials-error {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 400px;
    color: #6b7280;
    font-size: 16px;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .feedback-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .feedback-title {
        font-size: 36px;
    }
    
    .testimonials-page {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 20px;
    }
    
    .testimonial-card.large {
        grid-row: span 1;
    }
}

@media (max-width: 768px) {
    .feedback {
        padding: 60px 0;
    }
    
    .feedback-container {
        padding: 0 15px;
    }
    
    .feedback-title {
        font-size: 28px;
    }
    
    .testimonial-card {
        padding: 20px;
    }
    
    .testimonial-text {
        font-size: 14px;
    }
}


/* Card Container Styles - 2x2 Grid Layout */
.services-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 1rem;
    padding: 1.2rem;
    height: 100%;
    width: 100%;
    /* Grid positioning for A, B, C, D layout */
    grid-template-areas: 
        "A B"
        "C D";
}

/* Grid positioning for each card */
.service-card:nth-child(1) { grid-area: A; } /* Design - Top Left */
.service-card:nth-child(2) { grid-area: B; } /* Advertising - Top Right */
.service-card:nth-child(3) { grid-area: C; } /* Animation - Bottom Left */
.service-card:nth-child(4) { grid-area: D; } /* UI/UX - Bottom Right */

/* Individual Card Container - Based on sample code */
.service-card {
    position: relative;
    width: 100%;
    height: 100%;
    cursor: pointer;
    transform-style: preserve-3d;
    transform-origin: center center;
}

/* Card Face (Front and Back) - Based on sample code */
.card-face {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    border-radius: 16px;
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    /* box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); */
    transform-origin: center center;
}

/* Front of Card (Service Name Only) */
.card-front {
    background: #EDEDED;
    border: 1px solid #e9ecef;
    transform: rotateY(0deg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Service card background images */
.service-card:nth-child(1) .card-front {
    background-image: url('../assets/images/service-design.svg');
}

.service-card:nth-child(2) .card-front {
    background-image: url('../assets/images/service-advertising.svg');
}

.service-card:nth-child(3) .card-front {
    background-image: url('../assets/images/service-animation.svg');
}

.service-card:nth-child(4) .card-front {
    background-image: url('../assets/images/service-uiux.svg');
}

/* Back of Card (Full Content) */
.card-back {
    background: white;
    border: 2px solid #00000020;
    transform: rotateY(-180deg);
}

/* Front Card Content - Grid Layout */
.card-front-content {
    display: none; /* Hide text content, show only background images */
}


.card-front h1 {
    font-size: 2.5rem;
    font-weight: 300;
    color: #343a40;
    text-align: center;
    margin: 0;
    font-family: serif;
}

/* Back Card Content */
.card-back-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
}

.card-back p {
    color: #343a40;
    font-size: 1.2rem;
    line-height: 22px;
    margin: 0;
    flex-shrink: 0;
}

/* Service List Styles */
.service-list {
    list-style: none;
    padding: 0;
    margin: 14px 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    flex-grow: 1;
    justify-content: flex-start;
}

.service-list li {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    color: #343a40;
    font-size: 18px;
    font-weight: 500;
}

.service-list li svg {
    flex-shrink: 0;
}

#design,
#advertising,
#animation,
#uiux {
    font-size: 44px;
    line-height: 1;
    font-family: 'Roaster', sans-serif !important;
    font-weight: 500 !important;
}

/* More Button Styles */
.more-button {
    display: flex;
    align-items: center;
    gap: 0.1rem;
    border: 2px solid #00000040;
    border-radius: 50px;
    padding: 0.1rem 0.3rem;
    background: transparent;
    color: #343a40;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
    align-self: flex-end;
    margin-top: auto;
    flex-shrink: 0;
    width: fit-content;
}

/* More Button Hover States */
.more-button:hover {
    background: white;
    color: #FCB600;
    border-color: #FCB600;
    transform: translateX(4px);
    z-index: 10;
}

/* SVG Transitions */
.more-button svg {
    transition: all 0.3s ease;
}

/* SVG Hover Effects */
.more-button:hover svg {
    transform: translateX(2px);
    fill: #FCB600;
}


/* Responsive Design */
@media (max-width: 768px) {
    .services-cards-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 1fr);
        gap: 1rem;
    }

    .card-face {
        padding: 1rem;
    }

    .card-front h1 {
        font-size: 2rem;
    }

    .card-back p {
        font-size: 1rem;
    }

    .service-list li {
        font-size: 1rem;
    }
}

/* Test class for debugging */
.service-card.test-flip {
    transform: rotateY(180deg);
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .service-card,
    .service-card .card-face,
    .service-card.sequential-flip,
    .service-card.sequential-flip .card-face {
        transition: none !important;
        animation: none !important;
    }
    
    .service-card.flipped .card-front {
        transform: rotateY(-180deg);
    }
    
    .service-card.flipped .card-back {
        transform: rotateY(0deg);
    }
}

/* Focus states for accessibility */
.service-card:focus {
    /* outline: 2px solid #FCB600; */
    outline-offset: 2px;
}

.service-card:focus-visible {
    /* outline: 2px solid #FCB600; */
    outline-offset: 2px;
}

/* Screen reader only utility class */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Hover Effects - Subtle effects for clickable cards */
.service-card:not(.flipped):hover .card-front {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.service-card.flipped:hover .card-back {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

/* Active state for click feedback */
.service-card:active {
    transform: scale(0.98);
    transition: transform 0.1s ease;
}

/* FAQ Accordion Styles */
.questions {
    background: #000000;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-image: url('../assets/images/questions-line.svg');
    background-size: 100% 800%;
    background-position: center;
    background-repeat: no-repeat;
}

.questions-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.questions-title {
    font-size: 3rem;
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 20px;
    font-family: 'serif', Georgia, serif;
}

.questions-accent {
    width: 60px;
    height: 3px;
    background: #FCB600;
    margin: 0 auto;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.faq-item {
    background: #1a1a1a;
    border-radius: 12px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    border: 1px solid #333;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    /* Removed transform to prevent conflicts with GSAP */
}

.faq-question {
    padding: 20px 24px;
    cursor: default;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #1a1a1a;
    border: none;
    width: 100%;
    text-align: left;
    position: relative;
    z-index: 10;
    pointer-events: auto;
    transition: background-color 0.2s ease;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.faq-question:hover {
    background: #333;
}

.faq-question-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.4;
    margin: 0;
    flex: 1;
    padding-right: 20px;
    font-family: 'serif', Georgia, serif;
}

.faq-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    border-radius: 50%;
    background: #333;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-icon-plus,
.faq-icon-minus {
    position: absolute;
    background: #ffffff;
    transition: opacity 0.3s ease;
}

.faq-icon-plus {
    width: 16px;
    height: 2px;
    border-radius: 1px;
}

.faq-icon-plus::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 16px;
    background: #ffffff;
    border-radius: 1px;
    top: -7px;
    left: 7px;
}

.faq-icon-minus {
    width: 16px;
    height: 2px;
    border-radius: 1px;
    opacity: 0;
}

.faq-icon.minus {
    background: #FCB600;
}

.faq-icon.minus .faq-icon-plus {
    opacity: 0;
}

.faq-icon.minus .faq-icon-minus {
    opacity: 1;
}

.faq-icon:hover {
    background: #555;
    transform: scale(1.05);
}

.faq-icon.minus:hover {
    background: #e6a500;
}

.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    background: #1a1a1a;
    transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 24px 24px 24px;
}

.faq-answer-text {
    font-size: 1rem;
    color: #a0a0a0;
    line-height: 1.6;
    margin: 0;
    padding-top: 16px;
    font-family: 'Poppins', sans-serif;
}

/* Responsive Design */
@media (max-width: 768px) {
    .questions {
        padding: 60px 0;
    }
    
    .questions-title {
        font-size: 2.2rem;
    }
    
    .questions-subtitle {
        font-size: 1.1rem;
    }
    
    .faq-container {
        padding: 0 15px;
    }
    
    .faq-question {
        padding: 20px 20px;
    }
    
    .faq-question-text {
        font-size: 1rem;
        padding-right: 15px;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 20px 20px 20px;
    }
    
    .faq-answer-text {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .questions-title {
        font-size: 1.8rem;
    }
    
    .faq-question {
        padding: 18px 16px;
    }
    
    .faq-question-text {
        font-size: 0.95rem;
        padding-right: 12px;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 16px 18px 16px;
    }
}

/* ==========================================================================
   Form Button Disabled State
   ========================================================================== */

#submit-button:disabled {
    background-color: #9CA3AF !important; /* Light gray background */
    color: #6B7280 !important; /* Gray text */
    cursor: not-allowed !important;
    opacity: 0.6;
    transform: none !important;
}

#submit-button:disabled:hover {
    background-color: #9CA3AF !important; /* Keep gray on hover when disabled */
    transform: none !important;
}

#submit-button:disabled svg {
    stroke: #6B7280 !important; /* Gray icon when disabled */
}

/* ==========================================================================
   Video Modal Popup Styles
   ========================================================================== */

.video-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.video-modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.video-modal-container {
    position: relative;
    width: 90%;
    max-width: 1200px;
    height: 80vh;
    max-height: 800px;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.video-modal-overlay.show .video-modal-container {
    transform: scale(1);
}

.video-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: #FCB600;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10000;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(252, 182, 0, 0.3);
}

.video-modal-close:hover {
    background: #e6a500;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(252, 182, 0, 0.4);
}

.video-modal-close:active {
    transform: scale(0.95);
}

.video-modal-player {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}

/* Responsive Design */
@media (max-width: 768px) {
    .video-modal-container {
        width: 95%;
        height: 70vh;
        margin: 20px;
    }
    
    .video-modal-close {
        width: 40px;
        height: 40px;
        top: 15px;
        right: 15px;
    }
    
    .video-modal-close svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .video-modal-container {
        width: 98%;
        height: 60vh;
        margin: 10px;
    }
    
    .video-modal-close {
        width: 35px;
        height: 35px;
        top: 10px;
        right: 10px;
    }
    
    .video-modal-close svg {
        width: 18px;
        height: 18px;
    }
}