/* Video.js Player Custom Styling */
.hero-video-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    width: 100%;
    aspect-ratio: 16/9;
    z-index: 1;
    background-image: url('assets/images/cover_video_hero.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* iPhone Frame Styling */
.iphone-frame-container {
    max-width: 300px;
    margin: 0 auto;
    animation: float-gentle 6s ease-in-out infinite;
}

.iphone-frame {
    background: linear-gradient(145deg, #2c2c2c 0%, #1a1a1a 50%, #000000 100%);
    border: 2px solid #333;
    box-shadow: 
        0 0 0 1px rgba(255, 255, 255, 0.1),
        0 25px 50px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
}

.iphone-frame::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 6px;
    background: #333;
    border-radius: 0 0 8px 8px;
    z-index: 20;
}

.iphone-screen {
    background: #000;
    position: relative;
    overflow: hidden;
}

.dynamic-island {
    background: #000;
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.1);
}

.home-indicator {
    background: rgba(255, 255, 255, 0.6);
}

/* Portrait Video Container */
.hero-video-container-portrait {
    position: relative;
    width: 100%;
    height: 100%;
    background-image: url('assets/images/cover_video_hero.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.hero-video-portrait.video-js,
.hero-video-fallback-portrait {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    background-color: #000;
    border-radius: 0;
}

/* Portrait Video Controls */
.hero-video-portrait.video-js .vjs-control-bar {
    opacity: 0;
    visibility: hidden;
    transform: translateY(100%);
    transition: all 0.3s ease;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
}

.hero-video-portrait.video-js.vjs-playing .vjs-control-bar,
.hero-video-portrait.video-js:hover .vjs-control-bar {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Custom Play Button for Portrait */
.custom-play-overlay-portrait {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 20;
    cursor: pointer;
    transition: all 0.3s ease;
}

.play-button-circle-portrait {
    width: 4rem;
    height: 4rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    border: 3px solid #FAD4E0;
}

.play-button-circle-portrait:hover {
    transform: scale(1.1);
    background: rgba(250, 212, 224, 0.95);
    border-color: #A2D8F3;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

.play-button-circle-portrait .play-icon {
    width: 1.5rem;
    height: 1.5rem;
    margin-left: 0.2rem;
    color: #1E1E1E;
    transition: color 0.3s ease;
}

.play-button-circle-portrait:hover .play-icon {
    color: #A2D8F3;
}

.hero-video-portrait.video-js.vjs-playing + .custom-play-overlay-portrait {
    opacity: 0;
    pointer-events: none;
}

.video-loading-overlay-portrait {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 25;
}

.iphone-reflection {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.2) 0%, 
        rgba(255, 255, 255, 0.05) 30%, 
        transparent 60%);
    z-index: 30;
}

.hero-video-portrait.video-js .vjs-big-play-button {
    display: none;
}

@keyframes float-gentle {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@media (max-width: 640px) {
    .iphone-frame-container { max-width: 250px; }
    .play-button-circle-portrait { width: 3rem; height: 3rem; }
    .play-button-circle-portrait .play-icon { width: 1.2rem; height: 1.2rem; }
    .dynamic-island { width: 100px !important; height: 25px !important; }
    .home-indicator { width: 120px !important; height: 4px !important; }
}

@media (min-width: 1024px) {
    .iphone-frame-container { max-width: 350px; }
}

@media (min-width: 1280px) {
    .iphone-frame-container { max-width: 400px; }
}

.hero-video.video-js,
.hero-video-fallback {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    object-fit: cover;
    background-color: #000;
}

.hero-video.video-js:hover,
.hero-video-fallback:hover {
    transform: scale(1.02);
    transition: transform 0.3s ease;
}

/* Hide Video.js controls initially */
.hero-video.video-js .vjs-control-bar {
    opacity: 0;
    visibility: hidden;
    transform: translateY(100%);
    transition: all 0.3s ease;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
}

/* Show controls only when playing or on hover */
.hero-video.video-js.vjs-playing .vjs-control-bar,
.hero-video.video-js:hover .vjs-control-bar {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Custom Play Button in Center */
.custom-play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 20;
    cursor: pointer;
    transition: all 0.3s ease;
}

.play-button-circle {
    width: 5rem;
    height: 5rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    border: 3px solid #FAD4E0;
}

.play-button-circle:hover {
    transform: scale(1.1);
    background: rgba(250, 212, 224, 0.95);
    border-color: #A2D8F3;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

.play-icon {
    width: 2rem;
    height: 2rem;
    margin-left: 0.3rem;
    color: #1E1E1E;
    transition: color 0.3s ease;
}

.play-button-circle:hover .play-icon {
    color: #A2D8F3;
}

/* Hide custom play button when video is playing */
.hero-video.video-js.vjs-playing + .custom-play-overlay {
    opacity: 0;
    pointer-events: none;
}

/* Video.js Custom Control Bar Styling */
.hero-video.video-js .vjs-control-bar .vjs-play-control .vjs-icon-placeholder:before {
    color: #FAD4E0;
}

.hero-video.video-js .vjs-control-bar .vjs-progress-control .vjs-progress-holder {
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 0.25rem;
}

.hero-video.video-js .vjs-control-bar .vjs-progress-control .vjs-play-progress {
    background: linear-gradient(90deg, #FAD4E0 0%, #A2D8F3 100%);
    border-radius: 0.25rem;
}

.hero-video.video-js .vjs-control-bar .vjs-volume-control .vjs-volume-bar {
    background-color: rgba(255, 255, 255, 0.3);
}

.hero-video.video-js .vjs-control-bar .vjs-volume-control .vjs-volume-level {
    background: #A2D8F3;
}

/* Video.js Big Play Button (Hide it since we use custom) */
.hero-video.video-js .vjs-big-play-button {
    display: none;
}

/* Video Loading Animation */
.hero-video.video-js.vjs-waiting .vjs-loading-spinner {
    border-color: #FAD4E0 transparent #A2D8F3 transparent;
}

/* Loading Indicator */
.video-loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    z-index: 25;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid #FAD4E0;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 10px;
}

.loading-text {
    color: white;
    font-size: 14px;
    font-weight: 500;
}

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

/* Video.js Responsive Base */
.video-js {
    width: 100% !important;
    height: auto !important;
    border-radius: 1.5rem;
    overflow: hidden;
    background-image: url('assets/images/cover_video_hero.png') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

.video-js .vjs-tech {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
}

/* Ensure video maintains aspect ratio */
.hero-video-container .video-js {
    aspect-ratio: 16/9;
}

/* Video Poster/Cover Image Full Coverage */
.hero-video.video-js .vjs-poster,
.hero-video-fallback[poster] {
    object-fit: cover !important;
    width: 100% !important;
    height: 100% !important;
    object-position: center !important;
}

.video-js .vjs-poster {
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

.video-js .vjs-poster img {
    object-fit: cover !important;
    width: 100% !important;
    height: 100% !important;
    object-position: center !important;
}

.hero-video.video-js video,
.hero-video-fallback {
    object-fit: cover !important;
    object-position: center !important;
}

/* Base Styles */
body {
    font-family: 'Nunito', sans-serif;
}

/* Custom Gradients */
.gradient-text {
    background: linear-gradient(90deg, #FAD4E0 0%, #A2D8F3 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bg-gradient-feel {
    background: linear-gradient(135deg, rgba(162, 216, 243, 0.12) 15%, rgba(250, 212, 224, 0.12) 85%);
}

/* Animations */
.floating-element {
    animation: float 6s ease-in-out infinite;
    z-index: 30 !important;
    position: relative;
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0px); 
    }
    50% { 
        transform: translateY(-20px); 
    }
}

/* Utility Classes */
.smooth-scroll {
    scroll-behavior: smooth;
}

.hover-scale {
    transition: transform 0.3s ease;
}

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

/* Card Hover Effects */
.card-hover-effect {
    transition: all 0.3s ease;
}

.testimonial-card:hover,
.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15);
}

.course-card:hover {
    transform: translateY(-5px);
}

/* Gallery Effects */
.gallery-item {
    transition: all 0.3s ease;
    overflow: hidden;
}

.gallery-item:hover {
    transform: scale(1.03);
}

.gallery-item img {
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Custom Hero Title Effects */
.hero-title-fun-english {
    color: #A2D8F3;
    transform: rotate(-3deg);
    display: inline-block;
    transform-origin: left bottom;
}

.hero-title-fun-future {
    color: #FAD4E0;
}

/* Navigation Effects */
.nav-link {
    transition: color 0.3s ease;
}

/* Button Effects */
.btn-primary {
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: scale(1.05);
}

/* Form Focus Effects */
.form-input:focus {
    outline: 2px solid #A2D8F3;
    border-color: transparent;
}

/* Social Icons */
.social-icon {
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: scale(1.1);
}

/* RESPONSIVE DESIGN - MINIMAL CUSTOM CSS, MOSTLY TAILWIND */

/* Only specific responsive adjustments that Tailwind can't handle */
@media (min-width: 768px) and (max-width: 1024px) {
    /* Tablet specific video adjustments */
    .play-button-circle {
        width: 4rem;
        height: 4rem;
    }
    
    .play-icon {
        width: 1.5rem;
        height: 1.5rem;
    }
}

@media (max-width: 640px) {
    /* Mobile specific play button size */
    .play-button-circle {
        width: 3.5rem;
        height: 3.5rem;
    }
    
    .play-icon {
        width: 1.3rem;
        height: 1.3rem;
    }
}

@media (max-width: 480px) {
    /* Very small mobile */
    .play-button-circle {
        width: 3rem;
        height: 3rem;
    }
    
    .play-icon {
        width: 1.1rem;
        height: 1.1rem;
    }
}

.hero-video.video-js .vjs-control-bar .vjs-progress-control .vjs-progress-holder {
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 0.25rem;
}

.hero-video.video-js .vjs-control-bar .vjs-progress-control .vjs-play-progress {
    background: linear-gradient(90deg, #FAD4E0 0%, #A2D8F3 100%);
    border-radius: 0.25rem;
}

.hero-video.video-js .vjs-control-bar .vjs-volume-control .vjs-volume-bar {
    background-color: rgba(255, 255, 255, 0.3);
}

.hero-video.video-js .vjs-control-bar .vjs-volume-control .vjs-volume-level {
    background: #A2D8F3;
}

/* Video.js Big Play Button (Hide it since we use custom) */
.hero-video.video-js .vjs-big-play-button {
    display: none;
}

/* Video Loading Animation */
.hero-video.video-js.vjs-waiting .vjs-loading-spinner {
    border-color: #FAD4E0 transparent #A2D8F3 transparent;
}

/* Loading Indicator */
.video-loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    z-index: 25;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid #FAD4E0;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 10px;
}

.loading-text {
    color: white;
    font-size: 14px;
    font-weight: 500;
}

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

/* Video.js Responsive Base */
.video-js {
    width: 100% !important;
    height: auto !important;
    border-radius: 1.5rem;
    overflow: hidden;
    background-image: url('assets/images/cover_video_hero.png') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

.video-js .vjs-tech {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
}

/* Ensure video maintains aspect ratio */
.hero-video-container .video-js {
    aspect-ratio: 16/9;
}

/* Video Poster/Cover Image Full Coverage */
.hero-video.video-js .vjs-poster,
.hero-video-fallback[poster] {
    object-fit: cover !important;
    width: 100% !important;
    height: 100% !important;
    object-position: center !important;
}

.video-js .vjs-poster {
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

.video-js .vjs-poster img {
    object-fit: cover !important;
    width: 100% !important;
    height: 100% !important;
    object-position: center !important;
}

.hero-video.video-js video,
.hero-video-fallback {
    object-fit: cover !important;
    object-position: center !important;
}

/* Base Styles */
body {
    font-family: 'Nunito', sans-serif;
}

/* Custom Gradients */
.gradient-text {
    background: linear-gradient(90deg, #FAD4E0 0%, #A2D8F3 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bg-gradient-feel {
    background: linear-gradient(135deg, rgba(162, 216, 243, 0.12) 15%, rgba(250, 212, 224, 0.12) 85%);
}

/* Animations */
.floating-element {
    animation: float 6s ease-in-out infinite;
    z-index: 30 !important;
    position: relative;
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0px); 
    }
    50% { 
        transform: translateY(-20px); 
    }
}

/* Utility Classes */
.smooth-scroll {
    scroll-behavior: smooth;
}

.hover-scale {
    transition: transform 0.3s ease;
}

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

/* Card Hover Effects */
.card-hover-effect {
    transition: all 0.3s ease;
}

.testimonial-card:hover,
.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15);
}

.course-card:hover {
    transform: translateY(-5px);
}

/* Gallery Effects */
.gallery-item {
    transition: all 0.3s ease;
    overflow: hidden;
}

.gallery-item:hover {
    transform: scale(1.03);
}

.gallery-item img {
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Custom Hero Title Effects */
.hero-title-fun-english {
    color: #A2D8F3;
    transform: rotate(-3deg);
    display: inline-block;
    transform-origin: left bottom;
}

.hero-title-fun-future {
    color: #FAD4E0;
}

/* Navigation Effects */
.nav-link {
    transition: color 0.3s ease;
}

/* Button Effects */
.btn-primary {
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: scale(1.05);
}

/* Form Focus Effects */
.form-input:focus {
    outline: 2px solid #A2D8F3;
    border-color: transparent;
}

/* Social Icons */
.social-icon {
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: scale(1.1);
}

/* Hero Video Player Legacy Support */
.hero-video {
    width: 100%;
    max-width: 32rem;
    margin: 0 auto;
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease;
    object-fit: cover;
    background-color: #f3f4f6;
}

.hero-video:hover {
    transform: scale(1.05);
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, rgba(162, 216, 243, 0.1), rgba(250, 212, 224, 0.1));
    border-radius: 1rem;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hero-video-container:hover .video-overlay {
    opacity: 1;
}

/* Video Play Button Overlay Legacy */
.video-play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    width: 4rem;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
}

.hero-video-container:hover .video-play-overlay {
    opacity: 1;
}

.video-play-overlay:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background: rgba(255, 255, 255, 1);
}

.video-play-icon {
    width: 1.5rem;
    height: 1.5rem;
    margin-left: 0.2rem;
}

/* Video Controls Styling */
.hero-video::-webkit-media-controls-panel {
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.3));
}

.hero-video::-webkit-media-controls-play-button {
    background-color: #FAD4E0;
    border-radius: 50%;
}

/* ===========================================
   RESPONSIVE DESIGN - CLEAN STRUCTURE
   =========================================== */

/* Desktop (1025px and up) - Default styles above apply */

/* Large Tablet/Small Desktop (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-video-container {
        max-width: 36rem;
    }
    
    .play-button-circle {
        width: 4.5rem;
        height: 4.5rem;
    }
    
    .play-icon {
        width: 1.8rem;
        height: 1.8rem;
    }
    
    /* Hero section adjustments for large tablets */
    #home .max-w-7xl {
        padding-top: 2rem !important;
        padding-bottom: 1.5rem !important;
    }
    
    #home .flex.flex-col {
        gap: 1.5rem !important;
    }
    
    /* Typography adjustments for tablet */
    .text-5xl {
        font-size: 2.8rem !important;
    }
    
    .text-xl {
        font-size: 1.15rem !important;
    }
    
    /* Floating elements adjustment */
    .floating-element {
        font-size: 0.95rem !important;
        padding: 0.65rem 1rem !important;
    }
}

/* Tablet Portrait (481px - 768px) */
@media (min-width: 481px) and (max-width: 768px) {
    .hero-video-container {
        max-width: 32rem;
        margin-top: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .video-js {
        min-height: 240px !important;
        height: auto !important;
    }
    
    .play-button-circle {
        width: 4rem;
        height: 4rem;
    }
    
    .play-icon {
        width: 1.5rem;
        height: 1.5rem;
    }
    
    /* Hero section for tablet */
    #home .max-w-7xl {
        padding-top: 2rem !important;
        padding-bottom: 1.5rem !important;
    }
    
    #home .flex.flex-col {
        gap: 1.5rem !important;
    }
    
    /* Typography for tablet */
    .text-5xl {
        font-size: 2.5rem !important;
        line-height: 1.1 !important;
    }
    
    .text-xl {
        font-size: 1.1rem !important;
        line-height: 1.4 !important;
    }
    
    .text-lg {
        font-size: 1rem !important;
    }
    
    /* Button sizing for tablet */
    .px-8 {
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }
    
    .py-3 {
        padding-top: 0.6rem !important;
        padding-bottom: 0.6rem !important;
    }
    
    /* Floating elements for tablet */
    .floating-element {
        font-size: 0.9rem !important;
        padding: 0.6rem 0.9rem !important;
    }
}

/* Mobile Landscape and Small Tablet (641px - 768px) */
@media (min-width: 641px) and (max-width: 768px) {
    #home .hero-content-spacing {
        margin-top: 1rem !important;
    }
}

/* Mobile Portrait (up to 640px) */
@media (max-width: 640px) {
    /* Hero Layout for Mobile */
    #home .max-w-7xl {
        padding-top: 1.5rem !important;
        padding-bottom: 1rem !important;
    }
    
    #home .flex.flex-col {
        gap: 1.2rem !important;
        justify-content: flex-start !important;
        padding-top: 0.5rem;
    }
    
    #home .hero-left-content {
        padding-top: 0 !important;
        min-height: auto !important;
    }
    
    #home {
        padding-top: 0 !important;
    }
    
    #home .hero-content-spacing {
        margin-top: 0.75rem !important;
    }
    
    /* Video Container for Mobile */
    .hero-video-container {
        max-width: calc(100vw - 1.5rem) !important;
        margin: 0 0.75rem !important;
        min-height: 260px !important;
        width: 100% !important;
    }
    
    .video-js {
        width: 100% !important;
        height: 260px !important;
        min-height: 260px !important;
    }
    
    /* Play Button for Mobile */
    .custom-play-overlay {
        transform: translate(-50%, -50%) scale(1) !important;
    }
    
    .play-button-circle {
        width: 80px !important;
        height: 80px !important;
        border-width: 3px !important;
    }
    
    .play-icon {
        width: 2rem !important;
        height: 2rem !important;
        margin-left: 3px !important;
    }
    
    /* Typography for Mobile */
    .text-5xl {
        font-size: 2rem !important;
        line-height: 1.1 !important;
    }
    
    .text-xl {
        font-size: 1rem !important;
        line-height: 1.4 !important;
    }
    
    .text-lg {
        font-size: 0.95rem !important;
    }
    
    /* Button sizing for Mobile */
    .px-8 {
        padding-left: 1.2rem !important;
        padding-right: 1.2rem !important;
    }
    
    .py-3 {
        padding-top: 0.55rem !important;
        padding-bottom: 0.55rem !important;
    }
    
    /* Floating elements for Mobile */
    .floating-element {
        font-size: 0.875rem !important;
        padding: 0.5rem 0.75rem !important;
    }
    
    /* Video overlay adjustments */
    .video-overlay {
        border-radius: 1rem !important;
    }
}

/* Very Small Mobile (up to 480px) */
@media (max-width: 480px) {
    .hero-video-container {
        max-width: calc(100vw - 1rem) !important;
        margin: 0 0.5rem !important;
        min-height: 280px !important;
    }
    
    .video-js {
        height: 280px !important;
        min-height: 280px !important;
    }
    
    .play-button-circle {
        width: 85px !important;
        height: 85px !important;
    }
    
    .play-icon {
        width: 2.2rem !important;
        height: 2.2rem !important;
    }
    
    /* Typography for very small mobile */
    .text-5xl {
        font-size: 1.8rem !important;
    }
    
    .text-xl {
        font-size: 0.95rem !important;
    }
    
    /* Compact spacing for very small screens */
    #home .flex.flex-col {
        gap: 1rem !important;
    }
}

/* iPad Pro and Large Tablets (1024px - 1366px) */
@media (min-width: 1024px) and (max-width: 1366px) {
    /* Enhanced for large tablets like iPad Pro */
    .hero-video-container {
        max-width: 42rem;
    }
    
    #home .max-w-7xl {
        padding-top: 2.5rem !important;
        padding-bottom: 2rem !important;
    }
    
    #home .flex.flex-col {
        gap: 2rem !important;
    }
    
    /* Typography optimized for iPad Pro */
    .text-5xl {
        font-size: 3.2rem !important;
        line-height: 1.1 !important;
    }
    
    .text-xl {
        font-size: 1.3rem !important;
        line-height: 1.4 !important;
    }
    
    /* Button sizing for large tablets */
    .px-8 {
        padding-left: 2rem !important;
        padding-right: 2rem !important;
    }
    
    .py-3 {
        padding-top: 0.8rem !important;
        padding-bottom: 0.8rem !important;
    }
    
    /* Play button for large tablets */
    .play-button-circle {
        width: 5.5rem;
        height: 5.5rem;
    }
    
    .play-icon {
        width: 2.2rem;
        height: 2.2rem;
    }
    
    /* Floating elements for large tablets */
    .floating-element {
        font-size: 1rem !important;
        padding: 0.75rem 1.25rem !important;
    }
}
