/* ========================================

   ABOUT PAGE - FULL SCREEN SCROLLING
   ======================================== */


.about-page {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* Full Screen Sections */
.fullscreen-sections {
    scroll-snap-type: y mandatory;
    height: 100vh;
    overflow-y: scroll;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.fullscreen-sections::-webkit-scrollbar {
    display: none;
}

.fullscreen-sections section {
    scroll-snap-align: start;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 1rem;
    box-sizing: border-box;
    background-color: transparent; /* Ensure no default dark background */
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--color-primary);
    padding-top: 65px; /* Account for fixed header */
}

/* ========================================
   BACKGROUND MUSIC CONTROL BUTTON
   ======================================== */

.music-control-btn {
    position: fixed;
    right: 2rem;
    bottom: 2rem;
    z-index: 1000;
    /* Circular design for all devices */
    width: 3.5rem;
    height: 3.5rem;
    min-width: 3.5rem;
    padding: 0;
    border-radius: 50%;
    background: linear-gradient(145deg,
        rgba(255, 255, 255, 0.15) 0%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(255, 255, 255, 0.08) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    color: #FFFFFF;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    gap: 0;
    box-shadow:
        0.25rem 0.25rem 0.5rem rgba(0, 0, 0, 0.2),
        -0.125rem -0.125rem 0.25rem rgba(255, 255, 255, 0.3),
        inset 0.0625rem 0.0625rem 0.125rem rgba(0, 0, 0, 0.1),
        inset -0.0625rem -0.0625rem 0.125rem rgba(255, 255, 255, 0.2);
}

.music-control-btn:hover {
    background: linear-gradient(145deg,
        rgba(255, 255, 255, 0.25) 0%,
        rgba(255, 255, 255, 0.2) 50%,
        rgba(255, 255, 255, 0.15) 100%);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow:
        0.375rem 0.375rem 0.75rem rgba(0, 0, 0, 0.25),
        -0.1875rem -0.1875rem 0.375rem rgba(255, 255, 255, 0.4),
        inset 0.09375rem 0.09375rem 0.1875rem rgba(0, 0, 0, 0.15),
        inset -0.09375rem -0.09375rem 0.1875rem rgba(255, 255, 255, 0.3);
}

.music-control-btn:active {
    animation-duration: 2s; /* Even faster on active */
    box-shadow:
        0.125rem 0.125rem 0.25rem rgba(0, 0, 0, 0.2),
        -0.0625rem -0.0625rem 0.125rem rgba(255, 255, 255, 0.2),
        inset 0.125rem 0.125rem 0.25rem rgba(0, 0, 0, 0.2),
        inset -0.125rem -0.125rem 0.25rem rgba(255, 255, 255, 0.15);
}

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

.music-control-btn i {
    font-size: 1.25rem;
    color: var(--color-accent-red, #BD160E);
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    margin: 0;
    /* Default: play icon gently rotates when NOT playing */
    animation: rotate360 8s linear infinite;
}

/* When playing, button stops rotating, icon pulses */
.music-control-btn.playing {
    animation: none;
}

.music-control-btn.playing i {
    /* Override: no rotation, just pulse while playing */
    animation: pulse 2s ease-in-out infinite;
}

.music-control-btn.music-ready {
    opacity: 1;
}

.music-control-btn:not(.music-ready) {
    opacity: 0.8;
    cursor: not-allowed;
}

.music-control-btn:not(.music-ready) i {
    opacity: 1; /* Keep icon fully visible even when button is not ready */
}

.music-control-btn.loading {
    opacity: 0.7;
    cursor: wait;
}

.music-control-btn.loading i {
    animation: spin 1s linear infinite;
}

.music-control-btn.buffering {
    opacity: 0.8;
}

.music-control-btn.buffering i {
    animation: pulse 1s ease-in-out infinite;
}

.music-control-btn.music-error {
    opacity: 0.5;
    cursor: not-allowed;
    background: linear-gradient(145deg,
        rgba(189, 22, 14, 0.2) 0%,
        rgba(189, 22, 14, 0.15) 50%,
        rgba(189, 22, 14, 0.1) 100%);
}

/* Loading spinner animation */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.music-control-text {
    display: none; /* Hide text on all devices, show only icon */
}

/* Pulse animation for playing state */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .music-control-btn {
        right: 1.5rem;
        bottom: 1.5rem;
        width: 3.25rem;
        height: 3.25rem;
        min-width: 3.25rem;
    }
    
    .music-control-btn i {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .music-control-btn {
        right: 1rem;
        bottom: 1rem;
        width: 3.5rem;
        height: 3.5rem;
        min-width: 3.5rem;
    }
    
    .music-control-btn i {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .music-control-btn {
        right: 0.75rem;
        bottom: 0.75rem;
        width: 3rem;
        height: 3rem;
        min-width: 3rem;
    }
    
    .music-control-btn i {
        font-size: 1.1rem;
    }
}

/* Rotating animation for circular button */
@keyframes rotate360 {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Icon rotates opposite to stay upright */
@keyframes rotate360Reverse {
    from {
        transform: rotate(360deg);
    }
    to {
        transform: rotate(0deg);
    }
}

/* Video Background Styles */
.hero-video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* Below header (z-index: 10000) */
}

.hero-video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(220, 53, 69, 0.3) 0%,
        rgba(220, 53, 69, 0.15) 50%,
        rgba(220, 53, 69, 0.4) 100%
    );
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    max-width: 1200px;
    width: 100%;
    padding: 0 clamp(1rem, 3vw, 2rem);
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Scroll Button Styles */
.scroll-indicator {
    margin-top: 1rem;
}

.hero-section .scroll-to-content-btn {
    background: transparent !important;
    border: 0.125rem solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 1rem 2rem;
    border-radius: 3.125rem;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.scroll-to-content-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: left 0.5s ease;
}

.hero-section .scroll-to-content-btn:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 255, 255, 0.2);
}

.scroll-to-content-btn:hover::before {
    left: 100%;
}

.scroll-text {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.scroll-icon {
    font-size: 1.5rem;
    display: block;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}


.hero-text {
    margin-bottom: 2rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;

    justify-content: center;
    flex: 1;
}

.company-name {
    /* Responsive hero title size (desktop ? mobile) */
    font-size: clamp(2.5rem, 7vw, 4rem);
    font-weight: 700;
    color: var(--color-primary);
    margin: 0;
    font-family: 'Altamis', var(--font-heading), sans-serif;
    animation: fadeInUp 1s ease-out;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    line-height: 1.2;
    text-align: center;
    width: 100%;
}

.company-name .word {
    display: flex;
    gap: 0.1rem;
    align-items: center;
    justify-content: center;
}

.company-name .letter {
    display: inline-block;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    padding: 0.1rem 0.2rem;
    border-radius: 4px;
    transform-origin: center;
    user-select: none;
}


.company-name .letter:hover {
    transform: scale(1.2) rotate(3deg);
    color: var(--color-secondary);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 10;
}



.company-name .letter::after {
    content: '';
    position: absolute;

    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--color-secondary);
    transition: all 0.3s ease;

    transform: translateX(-50%);
}

.company-name .letter:hover::after {
    width: 100%;
}

.scroll-indicator {
    text-align: center;
    animation: fadeInUp 1s ease-out 0.6s both;
    margin-top: 2rem;
    width: 100%;
    z-index: 10;
}

.scroll-to-content-btn {
    background: var(--color-off-white);
    border: 1px solid rgba(0, 0, 0, 0.8);
    border-radius: 50px;
    padding: 15px 30px;
    color: var(--color-text);
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
}

.scroll-to-content-btn:hover {
    background: var(--color-primary-light);
    border-color: rgba(0, 0, 0, 1);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    color: var(--color-text);
}

.scroll-text {
    font-weight: 600;
    letter-spacing: 0.5px;

    color: var(--color-text);
    text-transform: none;
    margin-bottom: 0;
}

.scroll-icon {
    font-size: 20px;
    animation: bounce 2s infinite;
    color: var(--color-text);
}

/* Story Section - Horizontal Scrolling */
.story-section {
    background: transparent; /* Make the main container transparent */
    overflow: hidden;
    height: 100vh;
    position: relative;
}

.story-viewport {
    height: 100%;
    width: 100%;
    overflow: hidden;
}

.story-container {
    display: flex;
    width: 300%; /* 3 slides * 100% width */
    transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
    height: 100%;
}

.story-slide {
    width: 33.333%; /* Each slide takes up 1/3 of the container */
    flex-shrink: 0; /* Prevent slides from shrinking */
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    box-sizing: border-box;
    background: var(--color-off-white); /* Apply background to the slides themselves */
}

.story-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    max-width: 1200px;
    width: 100%;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease 0.2s;
    margin: 0 auto;
    padding: 0 2rem;
    box-sizing: border-box;
}

/* Ensure first slide content is visible by default */
.story-slide:first-child .story-content {
    opacity: 1;
    transform: translateX(0);
}

.story-slide.active .story-content {
    opacity: 1;
    transform: translateX(0);
}

.story-image {
    flex: 1;
    max-width: 500px;
}

.story-image img {
    width: 100%;
    height: clamp(15rem, 40vh, 25rem); /* ~240�400px */
    object-fit: cover;
    border-radius: 8px;
}

.story-text {
    flex: 1;
    color: black;
    max-width: 50ch;
    margin: 0 auto;
}

/* Hide image container if image fails to load */
.story-image:empty,
.story-image:not(:has(img)),
.story-image img[src=""],
.story-image img[src*="undefined"],
.story-image img[src*="null"] {
    display: none !important;
    width: 0 !important;
    flex: 0 !important;
}

/* When image is hidden, make text take full width and center it */
.story-content:has(.story-image:empty) .story-text,
.story-content:has(.story-image:not(:has(img))) .story-text,
.story-content:has(.story-image:has(img[src=""])) .story-text {
    flex: 1 1 100% !important;
    max-width: 100% !important;
    text-align: center !important;
}

/* Adjust gap when image is hidden */
.story-content:has(.story-image:empty),
.story-content:has(.story-image:not(:has(img))),
.story-content:has(.story-image:has(img[src=""])) {
    gap: 0 !important;
}

/* Improve text visibility and centering */
.story-text h3 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: #222; /* Darker text for readability on white */
    margin-bottom: 1.5rem;
    font-weight: 600;
    font-family: 'Altamis', var(--font-heading), sans-serif;
    text-align: left;
}

.story-text p {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: #444; /* Darker text for readability on white */
    line-height: 1.7;
    font-weight: 400;
    text-align: left;
}

/* Horizontal Progress Indicator */
.story-progress {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    z-index: 10;
}

.story-progress-meta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.story-instructions {
    font-size: clamp(0.8rem, 1.5vw, 0.95rem);
    color: rgba(0, 0, 0, 0.7);
    text-align: center;
    max-width: 32rem;
}

.progress-bar {
    width: 200px;
    height: 2px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 1px;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: black;
    border-radius: 1px;
    width: 33.333%;
    transition: width 0.6s ease;
}

/* Desktop-only subtle arrow hint overlay */
.story-arrow-hint {
    position: absolute;
    bottom: 5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: rgba(0, 0, 0, 0.75);
    background: rgba(255, 255, 255, 0.85);
    border-radius: 999px;
    padding: 0.4rem 0.9rem;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.12);
    opacity: 0;
    animation: story-hint 5s ease-out 0.8s forwards;
}

.story-arrow-hint .arrow {
    font-weight: 600;
    font-size: 1rem;
}

.story-arrow-hint .hint-text {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.75rem;
}

@keyframes story-hint {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(8px);
    }
    10% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    80% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(0);
    }
}

/* Licenses Section */
.licenses-section {
    background: linear-gradient(135deg, var(--color-secondary-light) 0%, var(--color-primary-light) 100%);
    padding: clamp(2rem, 5vw, 4rem) clamp(1rem, 3vw, 2rem);
    min-height: 100vh;
}

.licenses-content {
    max-width: 1200px;
    width: 100%;

    margin: 0 auto;
}

.licenses-header {
    text-align: center;
    margin-bottom: clamp(2rem, 5vw, 4rem);
}

.licenses-header h2 {
    font-size: clamp(2rem, 4vw, 2.6rem);
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: var(--color-primary);
    margin-bottom: 1rem;
    font-family: 'Altamis', var(--font-heading), sans-serif;
    font-weight: 700;
}

.licenses-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    line-height: 1.55;
    color: var(--color-text-light);
    font-weight: 500;
}

/* Swiper Carousel Styles */
.certifications-swiper {
    width: 100%;
    padding: 2rem 0;
    margin-top: clamp(2rem, 4vw, 3rem);
}

.certifications-swiper .swiper-slide {
    height: auto;
    display: flex;
    align-items: stretch;
}

/* Certification Card Styles */
.certification-card {
    background: transparent;
    padding: 0;
    border-radius: 0;
    text-align: center;
    box-shadow: none;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: visible;
    border: none;
    min-height: 200px;
}

.certification-card::before {
    display: none;
}

.certification-card:hover {
    transform: translateY(-10px);
}

.cert-icon {
    font-size: clamp(3rem, 8vw, 4rem);
    margin-bottom: 2rem;
    display: block;
    color: var(--color-primary);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
}

/* Certification Image Styles */
.cert-image {
    width: 100%;
    height: 100%;
    min-height: clamp(150px, 22vw, 220px);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    margin: 0;
}

.cert-logo {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: 0;
    background: transparent;
}

.certification-card:hover .cert-image {
    transform: scale(1.05);
}

.certification-card:hover .cert-logo {
    transform: scale(1.1);
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.15));
}

.certification-card:hover .cert-icon {
    transform: scale(1.1) rotate(5deg);
    color: var(--color-secondary);
}

.certification-card h3 {
    font-size: clamp(1.3rem, 4vw, 1.6rem);
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    font-weight: 600;
    font-family: 'Altamis', var(--font-heading), sans-serif;
    transition: color 0.4s ease;
}

.certification-card:hover h3 {
    color: var(--color-secondary);
}

.certification-card p {
    color: var(--color-text-light);
    line-height: 1.7;
    font-size: clamp(0.95rem, 2.5vw, 1.1rem);
    margin: 0;
    flex-grow: 1;
    display: flex;
    align-items: center;
}

/* Swiper Navigation Customization for Certifications */
.certifications-swiper .swiper-button-next,
.certifications-swiper .swiper-button-prev {
    color: var(--color-primary);
    background: rgba(255, 255, 255, 0.9);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin-top: 0;
    top: 50%;
    transform: translateY(-50%);
}

.certifications-swiper .swiper-button-next::after,
.certifications-swiper .swiper-button-prev::after {
    font-size: 20px;
    font-weight: 700;
}

.certifications-swiper .swiper-button-next:hover,
.certifications-swiper .swiper-button-prev:hover {
    background: var(--color-primary);
    color: white;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-50%) scale(1.1);
}

.certifications-swiper .swiper-button-next {
    right: 10px;
}

.certifications-swiper .swiper-button-prev {
    left: 10px;
}

/* Swiper Pagination Customization for Certifications */
.certifications-swiper .swiper-pagination {
    position: relative;
    margin-top: 2rem;
}

.certifications-swiper .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(0, 0, 0, 0.5);
    opacity: 1;
    transition: all 0.3s ease;
}

.certifications-swiper .swiper-pagination-bullet-active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    transform: scale(1.2);
}

.certifications-swiper .swiper-pagination-bullet:hover {
    background: var(--color-secondary);
    border-color: var(--color-secondary);
    transform: scale(1.1);
}

/* Certification Image Clickable */
.cert-logo {
    cursor: pointer;
}

/* Certification Fullscreen Modal */
.certification-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.certification-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.certification-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    cursor: pointer;
}

.certification-modal-content {
    position: relative;
    max-width: 95%;
    max-height: 95%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.certification-modal-img {
    max-width: 90%;
    max-height: 80vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.certification-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 2.5rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10002;
    line-height: 1;
    padding: 0;
}

.certification-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

/* Gallery Section */
.gallery-section {
    background: var(--color-off-white);
    padding: clamp(2rem, 5vw, 4rem) clamp(1rem, 3vw, 2rem);
    min-height: 100vh;
}

.gallery-content {
    max-width: 75rem; /* 1200px */
    width: 100%;
    margin: 0 auto;
}

.gallery-header {
    text-align: center;
    margin-bottom: clamp(2rem, 5vw, 4rem);
}

.gallery-header h2 {
    font-size: clamp(2rem, 4vw, 2.6rem);
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: var(--color-primary);
    margin-bottom: 1rem;
    font-family: 'Altamis', var(--font-heading), sans-serif;
    font-weight: 700;
}

.gallery-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    line-height: 1.55;
    color: var(--color-text-light);
    font-weight: 500;
}

/* Swiper Coverflow Gallery Styles */
.gallery-swiper {
    width: 100%;
    padding: clamp(2rem, 4vw, 4rem) 0;
    margin-top: clamp(1.5rem, 3vw, 3rem);
}

.gallery-swiper .swiper-slide {
    width: clamp(12.5rem, 25vw, 18.75rem);  /* 200px�300px */
    height: clamp(12.5rem, 25vw, 18.75rem); /* 200px�300px */
    background-position: center;
    background-size: cover;
    border-radius: clamp(0.9375rem, 2vw, 1.25rem); /* 15px�20px */
    overflow: hidden;
    box-shadow: 0 clamp(0.625rem, 1.5vw, 0.9375rem) clamp(1.5rem, 3vw, 2.5rem) rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-swiper .swiper-slide-active {
    transform: scale(1.1);
    box-shadow: 0 clamp(1rem, 2.5vw, 1.5625rem) clamp(2.5rem, 5vw, 3.75rem) rgba(0, 0, 0, 0.3);
}

.gallery-swiper .swiper-slide-prev,
.gallery-swiper .swiper-slide-next {
    transform: scale(0.9);
    opacity: 0.7;
}

.gallery-swiper .swiper-slide-prev-prev,
.gallery-swiper .swiper-slide-next-next {
    transform: scale(0.8);
    opacity: 0.5;
}

/* Gallery Item Styles */
.gallery-item {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: clamp(0.9375rem, 2vw, 1.25rem); /* 15px�20px */
    overflow: hidden;
    cursor: grab;
}

.gallery-item:active {
    cursor: grabbing;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-swiper .swiper-slide-active .gallery-image {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    color: white;
    padding: clamp(1rem, 2.5vw, 1.25rem);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.gallery-swiper .swiper-slide-active .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h3 {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    margin: 0;
    font-weight: 600;
    font-family: 'Altamis', var(--font-heading), sans-serif;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.gallery-overlay p {
    font-size: clamp(0.8rem, 2.5vw, 0.9rem);
    opacity: 0.9;
    line-height: 1.4;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* Swiper Navigation Customization for Gallery */
.gallery-swiper .swiper-button-next,
.gallery-swiper .swiper-button-prev {
    color: var(--color-primary);
    background: rgba(255, 255, 255, 0.9);
    width: clamp(2.75rem, 4vw, 3.125rem); /* 44px�50px */
    height: clamp(2.75rem, 4vw, 3.125rem); /* 44px�50px */
    border-radius: 50%;
    box-shadow: 0 clamp(0.25rem, 0.5vw, 0.375rem) clamp(0.75rem, 1.5vw, 0.9375rem) rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin-top: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    cursor: pointer;
    pointer-events: auto;
}

.gallery-swiper .swiper-button-next::after,
.gallery-swiper .swiper-button-prev::after {
    font-size: clamp(1rem, 1.5vw, 1.25rem); /* 16px�20px */
    font-weight: 700;
}

.gallery-swiper .swiper-button-next:hover,
.gallery-swiper .swiper-button-prev:hover {
    background: var(--color-primary);
    color: white;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-50%) scale(1.1);
}

.gallery-swiper .swiper-button-next {
    right: 10px;
}

.gallery-swiper .swiper-button-prev {
    left: 10px;
}

/* Swiper Pagination for Gallery */
.gallery-swiper .swiper-pagination {
    position: relative;
    margin-top: 2rem;
}

.gallery-swiper .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(0, 0, 0, 0.5);
    opacity: 1;
    transition: all 0.3s ease;
}

.gallery-swiper .swiper-pagination-bullet-active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    transform: scale(1.2);
}

.gallery-swiper .swiper-pagination-bullet:hover {
    background: var(--color-secondary);
    border-color: var(--color-secondary);
    transform: scale(1.1);
}

/* Progress Indicator */
.progress-indicator {
    position: fixed;
    right: clamp(1rem, 3vw, 2rem);
    top: 50%;
    transform: translateY(-50%);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    gap: clamp(0.5rem, 2vw, 1rem);
}

.progress-dot {
    width: clamp(8px, 2vw, 12px);
    height: clamp(8px, 2vw, 12px);
    border-radius: 50%;
    background: white;
    border: 1px solid black;
    cursor: pointer;
    transition: all 0.2s ease;
}

.progress-dot.active {
    background: black;
    transform: scale(1.1);
}

.progress-dot:hover {
    background: rgba(0, 0, 0, 0.6);
    transform: scale(1.05);
}

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-5px);
    }
    60% {
        transform: translateY(-3px);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .fullscreen-sections section {
        padding: 1rem;
    }
    
    .hero-content {
        padding: 1.5rem 1rem;
    }
}

@media (max-width: 768px) {

    .fullscreen-sections section {
        padding: 0.5rem;
    }
    
    /* Ensure hero section takes full viewport height */
    .hero-section {
        height: 100vh;
        min-height: 100vh;
        max-height: 100vh;
        overflow: hidden;
    }
    
    .hero-content {
        padding: 1rem 0.5rem;
        height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    
    .hero-text {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 1rem;
    }
    
    .scroll-indicator {
        margin-top: auto;
        margin-bottom: 2rem;
    }
    
    .company-name {
        gap: 0.3rem;
    }
    
    .company-name .word {
        gap: 0.05rem;
    }
    
    .company-name .letter {
        padding: 0.05rem 0.1rem;
    }
    
    .company-name .letter:hover {
        transform: scale(1.15) rotate(2deg);
    }
    
    
    .progress-indicator {
        right: 0.5rem;
    }
    
    .story-timeline,
    .certifications-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .scroll-to-content-btn {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .scroll-icon {
        font-size: 18px;
    }
}

@media (max-width: 480px) {

    .fullscreen-sections section {
        padding: 0.25rem;
    }
    
    /* Ensure hero section takes full viewport height on small mobile */
    .hero-section {
        height: 100vh;
        min-height: 100vh;
        max-height: 100vh;
        overflow: hidden;
    }
    
    .hero-content {
        padding: 0.5rem 0.25rem;
        height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    
    .hero-text {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 0.5rem;
    }
    
    .scroll-indicator {
        margin-top: auto;
        margin-bottom: 1.5rem;
    }
    
    .company-name {
        flex-direction: column;
        align-items: center;
        gap: 0.2rem;
    }
    
    .company-name .word {
        gap: 0.03rem;
    }
    
    .company-name .letter {
        padding: 0.03rem 0.08rem;
    }
    
    .company-name .letter:hover {
        transform: scale(1.1) rotate(1deg);
    }
    
    
    .progress-indicator {
        right: 0.5rem;
        gap: 0.8rem;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .progress-dot {
        width: 10px;
        height: 10px;
        border: 2px solid rgba(0, 0, 0, 0.3);
        background: rgba(255, 255, 255, 0.8);
        backdrop-filter: blur(5px);
    }
    
    .progress-dot.active {
        background: var(--color-primary);
        border-color: var(--color-primary);
        transform: scale(1.2);
    }
    
    .progress-dot:hover {
        background: rgba(0, 0, 0, 0.6);
        transform: scale(1.1);
    }
    
    /* Tighter dots on small tablets/phones */
    @media (max-width: 768px) {
        .progress-dot {
            width: 8px;
            height: 8px;
            border: 1px solid rgba(0, 0, 0, 0.3);
            background: rgba(255, 255, 255, 0.8);
            backdrop-filter: blur(4px);
        }
        
        .progress-dot.active {
            transform: scale(1.1);
        }
        
        .progress-indicator {
            gap: 0.6rem;
        }
    }
    
    .story-section,
    .licenses-section,
    .gallery-section {
        padding: 1rem 0.5rem;
    }
    
    .timeline-item,
    .certification-item {
        padding: 1rem;
    }
    
    .gallery-overlay {
        padding: 1rem;
    }
    
    .scroll-to-content-btn {
        padding: 10px 20px;
        font-size: 13px;
    }
    
    .scroll-text {
        font-size: 12px;
    }
    
    .scroll-icon {
        font-size: 16px;
    }
}

/* Responsive Design for Story Section */
@media (max-width: 768px) {
    .story-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .story-image {
        max-width: 100%;
        order: -1; /* Image appears first */
    }
    
    .story-image img {
        height: 18.75rem; /* 300px */
    }

    .story-text {
        text-align: center;
    }
    
    .story-text h3, .story-text p {
        text-align: center;
        font-size: clamp(1.5rem, 4vw, 2rem);
    }
    
    .story-text p {
        font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    }
    
    .story-progress {
        bottom: 2.25rem;
    }
    
    .progress-bar {
        width: 150px;
    }
    
    .story-instructions {
        font-size: 0.85rem;
        padding: 0 1.5rem;
    }
    
    /* Hide desktop arrow hint on tablets/phones */
    .story-arrow-hint {
        display: none;
    }
}

@media (max-width: 480px) {
    .story-slide {
        padding: 1rem;
    }
    
    .story-content {
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .story-image img {
        height: 12.5rem; /* 200px */
        border-radius: 0.75rem;
        box-shadow: 0 0.5rem 1.25rem rgba(0, 0, 0, 0.15);
    }
    
    .story-text h3 {
        font-size: clamp(1.3rem, 4vw, 1.8rem);
        margin-bottom: 1rem;
    }
    
    .story-text p {
        font-size: clamp(0.85rem, 2.5vw, 1rem);
        line-height: 1.6;
    }
    
    .story-progress {
        bottom: 1.75rem;
    }
    
    .progress-bar {
        width: 120px;
        height: 3px;
    }
    
    .progress-dots {
        gap: 0.8rem;
    }
    
    .story-dot {
        width: 10px;
        height: 10px;
    }
    
    .story-dot.active {
        transform: scale(1.3);
    }
}

/* Landscape orientation adjustments */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-content {
        padding: 0.5rem;
    }
    
    .company-name {
        font-size: clamp(1.5rem, 6vw, 2.5rem);
    }
    
    .scroll-indicator {
        margin-top: 1rem;
    }
    
    .story-timeline,
    .certifications-grid,
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
    }
    
    .timeline-item,
    .certification-item {
        padding: 1rem;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .company-name .letter:hover {
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    .company-name .letter,
    .timeline-item,
    .certification-item,
    .gallery-item,
    .progress-dot {
        transition: none;
    }
    
    .company-name .letter:hover {
        transform: none;
    }
    
    .scroll-icon {
        animation: none;
    }
}

/* Responsive Design for Swiper Carousel */
@media (max-width: 1024px) {
    .certifications-swiper {
        padding: 1.5rem 0;
    }
    
    .certification-card {
        padding: clamp(1.5rem, 3vw, 2.5rem);
    }
}

@media (max-width: 768px) {
    .certifications-swiper {
        padding: 1rem 0;
        margin-top: 1.5rem;
    }
    
    .certification-card {
        padding: clamp(1.2rem, 3vw, 2rem);
        border-radius: 15px;
    }
    
    .cert-icon {
        font-size: clamp(2.5rem, 6vw, 3.5rem);
        margin-bottom: 1.5rem;
    }
    
    .cert-image {
        min-height: clamp(50px, 12vw, 75px);
        height: auto;
        margin-bottom: 1.5rem;
    }
    
    .cert-logo {
        filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.1));
    }
    
    .certification-card h3 {
        font-size: clamp(1.1rem, 3.5vw, 1.4rem);
        margin-bottom: 1rem;
    }
    
    .certification-card p {
        font-size: clamp(0.85rem, 2.5vw, 1rem);
        line-height: 1.6;
    }
    
    .certifications-swiper .swiper-pagination {
        margin-top: 1.5rem;
    }
    
    .certifications-swiper .swiper-pagination-bullet {
        width: 10px;
        height: 10px;
    }

    .certifications-swiper .swiper-slide {
        padding: 0 0.5rem;
    }
    
    .certifications-swiper .swiper-button-next,
    .certifications-swiper .swiper-button-prev {
        width: 44px;
        height: 44px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .certifications-swiper {
        padding: 0.8rem 0;
    }
    
    .certification-card {
        padding: clamp(1rem, 2.5vw, 1.5rem);
        border-radius: 12px;
        margin: 0 0.5rem;
    }
    
    .cert-icon {
        font-size: clamp(2rem, 5vw, 3rem);
        margin-bottom: 1rem;
    }
    
    .cert-image {
        min-height: clamp(40px, 10vw, 60px);
        height: auto;
        margin-bottom: 1rem;
    }
    
    .cert-logo {
        filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
        border-radius: 6px;
    }
    
    .certification-card h3 {
        font-size: clamp(1rem, 3vw, 1.3rem);
        margin-bottom: 0.8rem;
    }
    
    .certification-card p {
        font-size: clamp(0.8rem, 2.2vw, 0.95rem);
        line-height: 1.5;
    }
    
    .certifications-swiper .swiper-pagination {
        margin-top: 1rem;
    }
    
    .certifications-swiper .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
    }

    .certifications-swiper .swiper-button-next,
    .certifications-swiper .swiper-button-prev {
        width: 40px;
        height: 40px;
        font-size: 0.85rem;
    }
    
    /* Enhanced mobile certification cards */
    .certification-card:hover {
        transform: translateY(-5px) scale(1.01);
    }
    
    .certification-card::before {
        height: 3px;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .certification-card:hover {
        transform: none;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    }
    
    .certification-card:hover .cert-icon {
        transform: none;
        color: var(--color-primary);
    }
    
    .certification-card:hover h3 {
        color: var(--color-primary);
    }
    
    .certification-card:hover::before {
        transform: scaleX(0);
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .certification-card {
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    }
    
    .certification-card:hover {
        box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
    }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    .certification-card,
    .cert-icon,
    .certification-card h3 {
        transition: none;
    }
    
    .certification-card:hover {
        transform: none;
    }
    
    .certification-card:hover .cert-icon {
        transform: none;
    }
    
    .certification-card:hover::before {
        transform: scaleX(0);
    }
}

/* Responsive Design for Gallery Coverflow */
@media (max-width: 1024px) {
    .gallery-swiper {
        padding: 3rem 0;
    }
    
    .gallery-swiper .swiper-slide {
        width: 17.5rem;  /* 280px */
        height: 17.5rem; /* 280px */
    }
}

@media (max-width: 768px) {
    .gallery-swiper {
        padding: 2rem 0;
    }
    
    .gallery-swiper .swiper-slide {
        width: 15.625rem;  /* 250px */
        height: 15.625rem; /* 250px */
    }
    
    .gallery-overlay {
        padding: 1.5rem;
    }
    
    .gallery-overlay h3 {
        font-size: clamp(1rem, 3vw, 1.2rem);
    }
    
    .gallery-overlay p {
        font-size: clamp(0.75rem, 2.5vw, 0.85rem);
    }
}

@media (max-width: 480px) {
    .gallery-swiper {
        padding: 1.5rem 0;
    }
    
    .gallery-swiper .swiper-slide {
        width: 12.5rem;  /* 200px */
        height: 12.5rem; /* 200px */
        border-radius: 0.9375rem;
    }
    
    .gallery-overlay {
        padding: 1rem;
        background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
    }
    
    .gallery-overlay h3 {
        font-size: clamp(0.9rem, 3vw, 1.1rem);
        margin-bottom: 0.3rem;
    }
    
    .gallery-overlay p {
        font-size: clamp(0.7rem, 2.2vw, 0.8rem);
        line-height: 1.3;
    }
    
    .gallery-swiper .swiper-pagination {
        margin-top: 1.5rem;
    }
    
    .gallery-swiper .swiper-pagination-bullet {
        width: 10px;
        height: 10px;
    }
    
    /* Enhanced mobile gallery interactions */
    .gallery-swiper .swiper-slide-active {
        transform: scale(1.05);
    }
    
    .gallery-swiper .swiper-slide-prev,
    .gallery-swiper .swiper-slide-next {
        transform: scale(0.95);
        opacity: 0.8;
    }
}

/* Touch device optimizations for gallery */
@media (hover: none) and (pointer: coarse) {
    .gallery-swiper .swiper-slide-active .gallery-overlay {
        transform: translateY(0);
    }
    
    .gallery-swiper .swiper-slide .gallery-overlay {
        transform: translateY(0);
        background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    }
}

/* High DPI displays for gallery */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .gallery-swiper .swiper-slide {
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    }
    
    .gallery-swiper .swiper-slide-active {
        box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
    }
}

/* Reduced motion preferences for gallery */
@media (prefers-reduced-motion: reduce) {
    .gallery-swiper .swiper-slide,
    .gallery-item,
    .gallery-image,
    .gallery-overlay {
        transition: none;
    }
    
    .gallery-swiper .swiper-slide-active .gallery-image {
        transform: none;
    }
    
    .gallery-swiper .swiper-slide-active .gallery-overlay {
        transform: translateY(0);
    }
}

/* Landscape orientation adjustments for gallery */
@media (max-height: 500px) and (orientation: landscape) {
    .gallery-swiper {
        padding: 2rem 0;
    }
    
    .gallery-swiper .swiper-slide {
        width: 200px;
        height: 200px;
    }
    
    .gallery-overlay {
        padding: 1rem;
    }
    
    .gallery-overlay h3 {
        font-size: clamp(0.8rem, 2.5vw, 1rem);
        margin-bottom: 0.2rem;
    }
    
    .gallery-overlay p {
        font-size: clamp(0.65rem, 2vw, 0.75rem);
    }
}

/* Responsive Design for Video Background */
@media (max-width: 1024px) {
    .hero-video-background video {
        object-position: center center;
    }
    
    .video-overlay {
        background: linear-gradient(
            135deg,
            rgba(220, 53, 69, 0.4) 0%,
            rgba(220, 53, 69, 0.2) 50%,
            rgba(220, 53, 69, 0.5) 100%
        );
        backdrop-filter: blur(3px);
        -webkit-backdrop-filter: blur(3px);
    }
    
    .scroll-to-content-btn {
        padding: 0.8rem 1.8rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    .hero-video-background video {
        object-position: center center;
    }
    
    .video-overlay {
        background: linear-gradient(
            135deg,
            rgba(220, 53, 69, 0.5) 0%,
            rgba(220, 53, 69, 0.25) 50%,
            rgba(220, 53, 69, 0.6) 100%
        );
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
    }
    
    .hero-content {
        padding: 0 1rem;
    }
    
    .scroll-to-content-btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }
    
    .scroll-text {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .hero-video-background video {
        object-position: center center;
    }
    
    .video-overlay {
        background: linear-gradient(
            135deg,
            rgba(220, 53, 69, 0.6) 0%,
            rgba(220, 53, 69, 0.3) 50%,
            rgba(220, 53, 69, 0.7) 100%
        );
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
    }
    
    .scroll-to-content-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
    }
    
    .scroll-text {
        font-size: 0.8rem;
        margin-bottom: 0.3rem;
    }
    
    .scroll-icon {
        font-size: 1.2rem;
    }
    
    /* Enhanced mobile company name */
    .company-name {
        font-size: clamp(2rem, 8vw, 3rem) !important;
        line-height: 1.1;
    }
    
    .company-name .word {
        margin-bottom: 0.2rem;
    }
    
    .company-name .letter {
        font-size: clamp(1.8rem, 7vw, 2.8rem);
    }
}

/* Reduced motion preferences for video */
@media (prefers-reduced-motion: reduce) {
    .hero-video-background video {
        animation: none;
    }
}

/* High DPI displays for video */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-video-background video {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Landscape orientation adjustments for video */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-video-background video {
        object-position: center 30%;
    }
    
    .video-overlay {
        background: linear-gradient(
            135deg,
            rgba(220, 53, 69, 0.7) 0%,
            rgba(220, 53, 69, 0.4) 50%,
            rgba(220, 53, 69, 0.8) 100%
        );
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
    }
    
    .hero-content {
        height: 100vh;
        padding: 0 1rem;
    }
    
    .scroll-indicator {
        margin-top: 1rem;
    }
}

/* Note: Secondary header styles are now in css/components/secondary-header.css */

