/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Utility class to hide elements initially */
.opacity-0 {
    opacity: 0;
}

/* Enhanced animation keyframes for better visual appeal */
@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.fade-in {
  animation: fadeIn 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes slideInLeft {
  0% {
    transform: translateX(-60px);
    opacity: 0;
  }
  60% {
    transform: translateX(15px);
    opacity: 1;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInRight {
  0% {
    transform: translateX(60px);
    opacity: 0;
  }
  60% {
    transform: translateX(-15px);
    opacity: 1;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

.slide-in-left {
  animation: slideInLeft 0.7s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.slide-in-right {
  animation: slideInRight 0.7s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Mobile animations */
  @media (max-width: 768px) {
    @keyframes slideInUp {
      0% {
        transform: translateY(50px);
        opacity: 0;
      }
      60% {
        transform: translateY(-10px);
        opacity: 1;
      }
      100% {
        transform: translateY(0);
        opacity: 1;
      }
    }

    @keyframes slideInDown {
      0% {
        transform: translateY(-50px);
        opacity: 0;
      }
      60% {
        transform: translateY(10px);
        opacity: 1;
      }
      100% {
        transform: translateY(0);
        opacity: 1;
      }
    }

    .slide-in-up {
      animation: slideInUp 1.8s ease-in-out forwards;
    }

    .slide-in-up-slow {
      animation: slideInUp 2s ease-in-out forwards;
    }

    .slide-in-down {
      animation: slideInDown 1.8s ease-in-out forwards;
    }
  }

@keyframes zoomIn {
  0% {
    transform: scale(0.3);
    opacity: 0;
  }
  50% {
    transform: scale(1.05);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.zoom-in {
  animation: zoomIn 1.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

:root {
    --primary-color: #0A2463;
    --primary-light: #3E92CC;
    --primary-dark: #041E42;
    --secondary-color: #D8E4FF;
    --accent-color: #FF6B35;
    --accent-dark: #E85A2A;
    --gold: #FFD700;
    --gold-dark: #D4AF37;
    --metallic: #C0C0C0;
    --luxury-purple: #4C1D95;
    --luxury-red: #7C2D12;
    --text-dark: #1A1A2E;
    --text-light: #6B7280;
    --white: #FFFFFF;
    --gray-100: #F9FAFB;
    --gray-200: #E5E7EB;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow: 0 10px 40px rgba(10, 36, 99, 0.08);
    --shadow-lg: 0 25px 60px rgba(10, 36, 99, 0.12);
    --shadow-xl: 0 35px 80px rgba(10, 36, 99, 0.16);
    --shadow-luxury: 0 20px 60px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(255, 215, 0, 0.1);
    --gradient-primary: linear-gradient(135deg, #0A2463 0%, #3E92CC 100%);
    --gradient-accent: linear-gradient(135deg, #FF6B35 0%, #FFD700 100%);
    --gradient-luxury: linear-gradient(135deg, #4C1D95 0%, #7C2D12 50%, #FFD700 100%);
    --gradient-bg: linear-gradient(135deg, #F0F4FF 0%, #E0E9FF 50%, #F5F8FF 100%);
    --gradient-hero: linear-gradient(135deg, #041E42 0%, #0A2463 50%, #3E92CC 100%);
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--gradient-bg), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60" viewBox="0 0 60 60"><g opacity="0.03"><circle cx="30" cy="30" r="1.5" fill="%230A2463"/><circle cx="10" cy="10" r="1" fill="%23FF6B35"/><circle cx="50" cy="50" r="1" fill="%23FFD700"/></g></svg>');
    background-size: 60px 60px;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.2;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.3;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    line-height: 1.4;
}

p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-light);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    background: var(--gradient-hero);
    overflow: hidden;
    display: flex;
    align-items: center;
}
.container.hero-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    flex-wrap: nowrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 8rem 2rem; /* increased padding top and bottom */
}

/* Explicit styles for hero content and video card for left-right layout */
.hero-content {
    flex-grow: 1;
    max-width: 60%;
    text-align: left;
    margin: 0;
    position: relative;
    z-index: 5;
}

.hero-video-card {
    flex: 0 0 360px;
    margin-left: 2rem;
    max-width: 360px;
    border-radius: 20px;
    /* Removed box-shadow to avoid white border effect */
    /* box-shadow: 0 0 30px rgba(255, 107, 53, 0.3); */
    overflow: hidden;
}

.hero-content {
    /* removed duplicate */
}

.hero-video-card {
    max-width: 360px;
    margin-left: 3rem;
    flex: 0 0 35%;
}

.hero-video-card {
    max-width: 360px;
    margin-left: 3rem;
    flex: 0 0 auto;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(255, 215, 0, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(62, 146, 204, 0.2) 0%, transparent 40%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100"><defs><pattern id="grid" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    pointer-events: none;
    animation: heroGlow 8s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        radial-gradient(circle at 90% 80%, rgba(255, 215, 0, 0.1) 1px, transparent 1px),
        radial-gradient(circle at 50% 50%, rgba(62, 146, 204, 0.05) 2px, transparent 2px);
    background-size: 100px 100px, 150px 150px, 200px 200px;
    background-position: 0 0, 50px 50px, 100px 100px;
    animation: particleFloat 20s linear infinite;
    pointer-events: none;
}

@keyframes heroGlow {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

@keyframes particleFloat {
    0% { transform: translateY(0) translateX(0); }
    33% { transform: translateY(-20px) translateX(10px); }
    66% { transform: translateY(10px) translateX(-10px); }
    100% { transform: translateY(0) translateX(0); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
}

.navbar {
    position: absolute;
    top: 0;
    left: 15px;
    right: 15px;
    padding: 2rem 0;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.2));
}

.logo img {
    height: 5rem;
    width: auto;
    max-width: 200px;
}

.logo i {
    font-size: 2rem;
    color: var(--accent-color);
}

.hero-content {
    position: relative;
    z-index: 5;
    text-align: left;
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    color: var(--white);
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    font-size: clamp(3rem, 6vw, 5.5rem);
    line-height: 1.1;
    background: linear-gradient(135deg, #FFFFFF 0%, #FFD700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    font-weight: 400;
    line-height: 1.6;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
}

.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;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-accent);
    color: var(--white);
    border: 2px solid transparent;
    background-clip: padding-box;
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.02) rotateX(5deg);
    box-shadow: 0 30px 60px rgba(255, 107, 53, 0.4), 0 0 30px rgba(255, 215, 0, 0.2);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    font-size: 1rem;
    padding: 0.8rem 2rem;
}

.btn-secondary:hover {
    transform: translateY(-5px) scale(1.02) rotateX(5deg);
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 25px 50px rgba(255, 255, 255, 0.3), 0 0 20px rgba(255, 215, 0, 0.1);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    background: linear-gradient(135deg, #FFD700 0%, #FFFFFF 50%, #FFD700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 10px rgba(255, 215, 0, 0.3);
}

.underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--gold) 0%, var(--metallic) 100%);
    margin: 0 auto;
    border-radius: 2px;
    box-shadow: 0 2px 10px rgba(255, 215, 0, 0.5);
}

.section-header p {
    max-width: 600px;
    margin: 1rem auto 0;
    font-size: 1.1rem;
}

/* About Section */
.about-section {
    padding: 8rem 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="about-pattern" width="50" height="50" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="2" fill="%23FF6B35" opacity="0.03"/><circle cx="75" cy="75" r="1" fill="%230D4FB0" opacity="0.02"/></pattern></defs><rect width="100" height="100" fill="url(%23about-pattern)"/></svg>');
    pointer-events: none;
    z-index: 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.about-text p {
    margin-bottom: 2rem;
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--white);
    animation: fadeInUp 1s ease-out;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 3rem;
    background: rgba(26, 32, 44, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 215, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.1), transparent);
    transition: left 0.6s;
}

.feature:hover::before {
    left: 100%;
}

.feature:hover {
    transform: translateY(-12px) scale(1.02) rotateX(2deg);
    box-shadow: var(--shadow-luxury);
    border-color: rgba(255, 215, 0, 0.4);
    background: rgba(26, 32, 44, 0.9);
}

.feature i {
    font-size: 3rem;
    color: var(--accent-color);
    background: linear-gradient(135deg, var(--accent-color) 0%, #FF5722 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    flex-shrink: 0;
}

.feature h3 {
    color: var(--white);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.feature p {
    margin: 0;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* Videos Section */
.videos-section {
    padding: 8rem 0;
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 50%, #2d3748 100%);
    position: relative;
    overflow: hidden;
}

.videos-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="videos-pattern" width="40" height="40" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1" fill="%230D4FB0" opacity="0.02"/></pattern></defs><rect width="100" height="100" fill="url(%23videos-pattern)"/></svg>');
    pointer-events: none;
    z-index: 0;
}

/* Testimonials Section */
.testimonials-section {
    padding: 8rem 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="testimonials-pattern" width="60" height="60" patternUnits="userSpaceOnUse"><circle cx="30" cy="30" r="1.5" fill="%23FF6B35" opacity="0.02"/><circle cx="70" cy="70" r="1" fill="%230D4FB0" opacity="0.01"/></pattern></defs><rect width="100" height="100" fill="url(%23testimonials-pattern)"/></svg>');
    pointer-events: none;
    z-index: 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: rgba(30, 41, 59, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-size: 4rem;
    color: var(--accent-color);
    opacity: 0.2;
    font-family: 'Playfair Display', serif;
}

.testimonial-card:hover {
    transform: translateY(-10px) scale(1.01) rotateX(2deg);
    box-shadow: var(--shadow-luxury);
    border-color: rgba(255, 215, 0, 0.3);
}

.testimonial-card p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--white);
    font-style: italic;
}

.testimonial-toggle {
    display: none;
}

.testimonial-label {
    display: inline-block;
    color: var(--accent-color);
    cursor: pointer;
    font-weight: 600;
    margin-top: 0.5rem;
    transition: color 0.3s ease;
    text-decoration: none;
    font-size: 0.9rem;
}

.testimonial-label:hover {
    color: var(--primary-color);
}

.testimonial-label.more {
    display: inline-block;
}

.testimonial-label.more::before {
    content: '▼ ';
    font-weight: bold;
}

.testimonial-label.less {
    display: none;
}

.testimonial-label.less::before {
    content: '▲ ';
    font-weight: bold;
}

.testimonial-text {
    max-height: 4.8em;
    overflow: hidden;
    position: relative;
    transition: max-height 0.5s ease;
}

.testimonial-text::after {
    content: '...';
    position: absolute;
    bottom: 0;
    right: 0;
    padding-left: 0.5rem;
}

.testimonial-toggle:checked ~ .testimonial-text {
    max-height: none;
}

.testimonial-toggle:checked ~ .testimonial-text::after {
    display: none;
}

.testimonial-toggle:checked ~ .testimonial-label.more {
    display: none;
}

.testimonial-toggle:checked ~ .testimonial-label.less {
    display: inline-block;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.video-card:not(.hero-video-card) {
    background: rgba(45, 55, 72, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: 320px;
    margin: 0 auto;
    padding: 15px;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.video-card:not(.hero-video-card):hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: rgba(255, 215, 0, 0.3);
}

.video-wrapper {
    position: relative;
    width: 100%;
    max-width: 560px;
    height: auto;
    overflow: hidden;
    border-radius: 0;
}

.hero-video-card {
    flex: 0 0 360px;
    margin-left: 3rem;
    max-width: 360px;
    border-radius: 24px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 10px;
    animation: float 4s ease-in-out infinite;
}

.hero-video-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 35px 80px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.4);
}

.hero-video-card .video-wrapper {
    max-width: 360px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
}

.video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 20px 20px 20px 20px;
    display: block;
}

.video-wrapper video:hover,
.video-wrapper video:focus {
    box-shadow: 0 0 15px rgba(255, 107, 53, 0.9);
    outline: none;
}

/* Custom Video Controls Styles */

.custom-controls {
    background-color: transparent;
    color: var(--white);
    display: flex;
    align-items: center;
    border-radius: 0;
    user-select: none;
    font-size: 1rem;
    flex-wrap: nowrap;
    position: absolute;
    bottom: 0;
    width: 100%;
    box-sizing: border-box;
    backdrop-filter: none;
    transition: background-color 0.3s ease;
    padding: 0.3rem 0.6rem;
}

body.is-iphone .custom-controls {
    display: none !important;
}

.custom-controls:hover {
    background-color: transparent;
}

.custom-controls:hover {
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 0;
}

.custom-controls button {
    background: none;
    border: none;
    color: var(--white);
    cursor: pointer;
    font-size: 1.2rem;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-controls button:hover,
.custom-controls button:focus {
    color: #ffffff;
    outline: none;
}

.custom-controls input.volume-slider {
    -webkit-appearance: none;
    height: 6px;
    border-radius: 4px;
    background: var(--primary-color);
    cursor: pointer;
    width: 50px; /* width specifically for volume slider */
    margin: 0 8px;
    flex-grow: 0;
}

.custom-controls input.progress-bar {
    -webkit-appearance: none;
    height: 7px; /* bigger height for time slider */
    border-radius: 4px;
    background: var(--primary-color);
    cursor: pointer;
    width: 70%; /* wider width for time slider */
    margin: 0 8px;
    flex-grow: 0;
}

.progress-bar::-webkit-slider-thumb {
    width: 20px;
    height: 20px;
    margin-top: -7px; /* center thumb vertically given bigger height */
    background: #ffffff;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.9);
    -webkit-appearance: none;
    transition: background-color 0.3s ease;
}

.progress-bar:focus::-webkit-slider-thumb {
    background-color: #e0e0e0;
}

.progress-bar::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: var(--accent-color);
    border-radius: 50%;
    border: none;
    cursor: pointer;
    box-shadow: 0 0 6px rgba(255, 107, 53, 0.9);
    transition: background-color 0.3s ease;
}

.custom-controls input.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    background: #ffffff;
    border-radius: 50%;
    cursor: pointer;
    border: none;
    box-shadow: 0 0 4px rgba(255, 255, 255, 0.7);
    transition: background-color 0.3s ease;
    margin-top: -5px; /* Centers thumb vertically */
}

.custom-controls input.volume-slider:focus::-webkit-slider-thumb {
    background-color: #e0e0e0;
}

.custom-controls input.volume-slider::-moz-range-thumb {
    width: 16px;
    height: 16px;
    background: var(--accent-color);
    border-radius: 50%;
    cursor: pointer;
    border: none;
    box-shadow: 0 0 4px rgba(255, 107, 53, 0.7);
    transition: background-color 0.3s ease;
}

.custom-controls input.progress-bar::-webkit-slider-thumb {
    width: 20px;
    height: 20px;
    margin-top: -7px; /* center thumb vertically given bigger height */
    background: #ffffff;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.9);
    -webkit-appearance: none;
    transition: background-color 0.3s ease;
}

.custom-controls input.progress-bar:focus::-webkit-slider-thumb {
    background-color: #e0e0e0;
}

.custom-controls input.progress-bar::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: var(--accent-color);
    border-radius: 50%;
    border: none;
    cursor: pointer;
    box-shadow: 0 0 6px rgba(255, 107, 53, 0.9);
    transition: background-color 0.3s ease;
}

.custom-controls input[type="range"]:focus::-webkit-slider-thumb {
    background-color: #e0e0e0;
}

.custom-controls input[type="range"]::-moz-range-thumb {
    width: 16px;
    height: 16px;
    background: var(--accent-color);
    border-radius: 50%;
    cursor: pointer;
    border: none;
    box-shadow: 0 0 4px rgba(255, 107, 53, 0.7);
    transition: background-color 0.3s ease;
}

.custom-controls .time-display {
    display: none;
}

.video-wrapper {
    position: relative;
    border-radius: 20px 20px 0 0;
}

.video-wrapper video {
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    border-radius: 20px 20px 0 0;
    border: none;
    box-shadow: none;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 20px 20px 0 0;
}

.video-info {
    padding: 1rem;
}

.video-info h3 {
    color: var(--white);
    margin-bottom: 0.5rem;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}

.video-info p {
    margin: 0;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

/* CTA Section */
.cta-section {
    padding: 8rem 0;
    background: var(--gradient-primary);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    color: var(--white);
    margin-bottom: 1rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.cta-content p {
    margin-bottom: 2rem;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--text-dark) 0%, #1a202c 100%);
    color: var(--white);
    padding: 4rem 0 3rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="footer-pattern" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23FF6B35" opacity="0.03"/></pattern></defs><rect width="100" height="100" fill="url(%23footer-pattern)"/></svg>');
    pointer-events: none;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.2rem;
    font-weight: 700;
}

.footer-logo img {
    height: 4rem;
    width: auto;
    max-width: 120px;
}

.footer-logo i {
    color: var(--accent-color);
}

.footer-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.social-link:hover {
    transform: translateY(-2px);
    background: rgba(255, 107, 53, 0.2);
    color: var(--accent-color);
}

.social-link i {
    font-size: 1.2rem;
}

.footer-bottom {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    position: relative;
    z-index: 1;
}

.footer p {
    color: var(--text-light);
    margin: 0;
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-left {
    animation: slideInLeft 0.8s ease-out forwards;
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.zoom-in {
    animation: zoomIn 0.8s ease-out forwards;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .video-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 100vh;
        padding: 0;
        background: linear-gradient(135deg, #0A2463 0%, #1E3A8A 50%, #3B82F6 100%);
    }

    .container.hero-flex {
        flex-direction: column;
        flex-wrap: nowrap;
        padding: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
    }
    
    .hero-content {
        flex-grow: 1 !important;
        max-width: 100% !important;
        margin: 0 0 1rem 0 !important;
        padding: 0 1.5rem;
    }
    
        .hero-video-card {
        flex-grow: 0 !important;
        min-height: auto !important;
        width: 90vw !important;
        max-width: 360px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        margin-top: 2rem !important;
        margin-bottom: 2rem !important;
        height: auto !important;
        max-height: 90vh !important;
        border-radius: 24px !important;
        overflow: hidden !important;
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border: 2px solid rgba(255, 255, 255, 0.2);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
        aspect-ratio: 9 / 16 !important;
        transition: all 0.3s ease;
        padding: 10px;
    }
    .hero-video-card:hover {
        transform: scale(1.02);
        box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
        border-color: rgba(255, 255, 255, 0.3);
    }

    .video-wrapper {
        width: 100% !important;
        height: 100% !important;
        aspect-ratio: 9 / 16 !important; /* enforce portrait shape */
        max-width: 100% !important;
        margin: 0 auto !important;
        border-radius: 20px !important;
        overflow: hidden !important;
    }
    
    .hero-video-card .video-wrapper video {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        aspect-ratio: 9 / 16 !important;
        border-radius: 20px !important;
        display: block !important;
        transition: transform 0.3s ease;
    }
    .hero-video-card .video-wrapper video:hover,
    .hero-video-card .video-wrapper video:focus {
        transform: scale(1.05);
        box-shadow: 0 0 20px rgba(255, 107, 53, 0.8);
        outline: none;
    }

    .hero-content {
        text-align: center;
        max-width: 100%;
        padding-top: 70px;
    }

    #featured-video {
        display: block !important;
    }

        .hero-title {
        font-size: 2.4rem;
        line-height: 1.2;
        margin-bottom: 1.8rem;
        color: var(--white);
        text-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
        background: linear-gradient(135deg, #FFFFFF 0%, #FFD700 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        line-height: 1.5;
        margin-bottom: 3rem;
        font-weight: 500;
        color: rgba(255, 255, 255, 0.9);
        text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    }

    .navbar {
        /* Fix: layout with logo left, button right */
        padding: 1rem 1.5rem;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 0;
    }

    .logo {
        font-size: 1.3rem;
        text-align: left;
    }

    .logo img {
        height: 3rem;
    }

        .btn {
        padding: 0.9rem 2rem;
        font-size: 1rem;
        border-radius: 40px;
        box-shadow: var(--shadow-lg);
        transition: all 0.3s ease;
        font-weight: 600;
    }
    .btn:hover,
    .btn:focus {
        transform: translateY(-3px) scale(1.02);
        box-shadow: 0 25px 40px rgba(255, 107, 53, 0.35);
    }

    .btn-primary {
        font-weight: 700;
    }

    .section-header {
        margin-bottom: 2.5rem;
        text-align: center;
    }

        .section-header h2 {
        font-size: 2.2rem;
        margin-bottom: 1rem;
        color: var(--primary-color);
        font-weight: 800;
    }

    .section-header p {
        font-size: 1.1rem;
        line-height: 1.6;
        font-weight: 500;
    }

    .about-section,
    .videos-section,
    .testimonials-section,
    .cta-section {
        padding: 3.5rem 0;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 3.5rem;
        text-align: center;
        padding: 0 1.5rem;
    }

    .about-text p {
        font-size: 1.2rem;
        line-height: 1.8;
        margin-bottom: 1.8rem;
    }

        .feature {
        padding: 2rem;
        flex-direction: column;
        text-align: center;
        gap: 1.2rem;
        
    }

    .feature i {
        font-size: 3rem;
        background: linear-gradient(135deg, var(--accent-color) 0%, #FF5722 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.15));
    }

    .feature h3 {
        font-size: 1.4rem;
    }

    .video-grid {
        grid-template-columns: 1fr;
        gap: 1.8rem;
        justify-content: center;
        place-items: center;
        padding: 0 1.2rem;
    }

        .video-card {
        margin: 0;
        padding: 1.8rem 1.2rem;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        box-shadow: var(--shadow);
        border-radius: 24px;
        border: 1px solid rgba(255, 255, 255, 0.8);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .video-card:hover {
        transform: translateY(-8px) scale(1.02);
        box-shadow: var(--shadow-lg);
        border-color: rgba(10, 36, 99, 0.3);
    }

    .video-info {
        padding: 1.6rem;
        text-align: center; /* Center text on mobile */
    }

    .video-info h3 {
        font-size: 1.3rem; /* Slightly increased font size */
       
    }

    .video-info p {
        font-size: 1.05rem; /* Slightly increased font size */
        
        font-weight: 500;
    }
    
    .video-wrapper {
        max-width: 100%; /* Full width on mobile */
        height: auto;
        border-radius: 18px !important;
        overflow: hidden !important;
        box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
        transition: box-shadow 0.3s ease;
    }
    .video-wrapper:hover, .video-wrapper:focus-within {
        box-shadow: 0 8px 24px rgba(255, 107, 53, 0.6);
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.8rem;
    }

        .testimonial-card {
        padding: 2rem;
        border-radius: 20px;
        
        
    }

    .testimonial-card p {
        font-size: 1.0rem;
        line-height: 1.55;
        font-style: italic;
    }

    .testimonial-text {
        max-height: 3em;
    }

    .testimonial-label {
        font-size: 0.9rem;
        margin-top: 1rem;
        color: var(--accent-color);
        font-weight: 600;
        cursor: pointer;
        transition: color 0.3s ease;
    }
    .testimonial-label:hover {
        color: var(--primary-color);
    }

    .cta-content {
        padding: 0 1.5rem;
    }

        .cta-content h2 {
        font-size: 2rem;
        line-height: 1.3;
        margin-bottom: 1.2rem;
        color: var(--white);
        text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    }

    .cta-content p {
        font-size: 1.05rem;
        line-height: 1.6;
        margin-bottom: 2.5rem;
        color: rgba(255, 255, 255, 0.9);
        font-weight: 500;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1.8rem;
    }

    .footer-logo {
        font-size: 1.2rem;
        color: var(--white);
        font-weight: 700;
    }

    .footer-logo img {
        height: 2.2rem;
    }

    .footer-links {
        gap: 1.2rem;
        flex-direction: column;
        width: 100%;
    }

    .social-link {
        justify-content: center;
        padding: 0.9rem 1.8rem;
        font-size: 1rem;
        background: rgba(255, 255, 255, 0.15);
        border-radius: 30px;
        box-shadow: 0 4px 15px rgba(255, 107, 53, 0.35);
        transition: all 0.3s ease;
    }
    .social-link:hover {
        transform: translateY(-3px);
        background: rgba(255, 107, 53, 0.3);
        color: var(--accent-color);
        box-shadow: 0 8px 20px rgba(255, 107, 53, 0.7);
    }

    .footer p {
        font-size: 0.85rem;
        line-height: 1.5;
        margin-top: 1rem;
        color: var(--text-light);
    }
}
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        height: 80vh;
        padding: 1rem 0;
    }

    .hero-title {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 2rem;
    }

    .navbar {
        padding: 0.8rem 0;
        gap: 0.8rem;
        flex-direction: row;
    }

    .logo {
        font-size: 1rem;
    }

    .logo img {
        height: 1.8rem;
    }
      
    .section-header {
        margin-bottom: 2rem;
    }

    .section-header h2 {
        font-size: 1.6rem;
        margin-bottom: 0.6rem;
    }

    .section-header p {
        font-size: 0.9rem;
    }

    .about-section,
    .videos-section,
    .testimonials-section,
    .cta-section {
        padding: 2.5rem 0;
    }

    .video-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .video-card {
        margin: 0 0 1.5rem 0;
        padding: 1rem 0.75rem; /* Reduced padding on very small screens */
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); /* Slightly lighter shadow */
        border-radius: 12px;
    }

    .video-info {
        padding: 1rem 0.4rem;
        text-align: center;
    }

    .video-info h3 {
        font-size: 1.1rem;
    }

    .video-info p {
        font-size: 0.95rem;
    }

    .video-wrapper {
        max-width: 100%;
        height: auto;
    }

    .about-text p {
        font-size: 1rem;
        margin-bottom: 1.2rem;
    }

    .feature {
        padding: 1.2rem;
        gap: 0.8rem;
    }

    .feature i {
        font-size: 2rem;
    }

    .feature h3 {
        font-size: 1.1rem;
    }

    .feature p {
        font-size: 0.9rem;
    }

    .testimonial-card {
        padding: 2rem;
    }

    .testimonial-card p {
        font-size: 0.9rem;
    }

    .testimonial-text {
        max-height: 2em;
    }

    .testimonial-label {
        font-size: 0.8rem;
        margin-top: 0.6rem;
    }

    .testimonials-grid .testimonial-card:nth-child(n+4) {
        display: none;
    }

    .cta-content h2 {
        font-size: 1.5rem;
        margin-bottom: 0.8rem;
    }

    .cta-content p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .footer {
        padding: 3rem 0 2rem;
    }

    .footer-content {
        gap: 1.2rem;
    }

    .footer-logo {
        font-size: 1rem;
    }

    .footer-logo img {
        height: 1.8rem;
    }

    .social-link {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }

    .footer p {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        height: 80vh;
        padding: 1rem 0;
    }

    .hero-title {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 2rem;
    }

    .navbar {
        padding: 0.8rem 0;
        gap: 0.8rem;
        flex-direction: row;
    }

    .logo {
        font-size: 1rem;
    }

    .logo img {
        height: 1.8rem;
    }

    .btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    .section-header h2 {
        font-size: 1.6rem;
        margin-bottom: 0.6rem;
    }

    .section-header p {
        font-size: 0.9rem;
    }

    .about-section,
    .videos-section,
    .testimonials-section,
    .cta-section {
        padding: 2.5rem 0;
    }

    .about-text p {
        font-size: 1rem;
        margin-bottom: 1.2rem;
    }

    .feature {
        padding: 1.2rem;
        gap: 0.8rem;
    }

    .feature i {
        font-size: 2rem;
    }

    .feature h3 {
        font-size: 1.1rem;
    }

    .feature p {
        font-size: 0.9rem;
    }

    .video-grid {
        grid-template-columns: 1fr;
    }

    .video-info {
        padding: 1.2rem;
    }

    .video-info h3 {
        font-size: 1rem;
    }

    .video-info p {
        font-size: 0.9rem;
    }

    .testimonial-card {
        padding: 2rem;
    }

    .testimonial-card p {
        font-size: 0.9rem;
    }

    .testimonial-text {
        max-height: 2em;
    }

    .testimonial-label {
        font-size: 0.8rem;
        margin-top: 0.6rem;
    }

    .testimonials-grid .testimonial-card:nth-child(n+4) {
        display: none;
    }

    .cta-content h2 {
        font-size: 1.5rem;
        margin-bottom: 0.8rem;
    }

    .cta-content p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .footer {
        padding: 3rem 0 2rem;
    }

    .footer-content {
        gap: 1.2rem;
    }

    .footer-logo {
        font-size: 1rem;
    }

    .footer-logo img {
        height: 1.8rem;
    }

    .social-link {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }

    .footer p {
        font-size: 0.75rem;
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gray-200);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

/* Pop-in Animation for popping effect */
@keyframes popIn {
    0% {
        opacity: 0;
        transform: scale(0.7);
    }
    40% {
        opacity: 1;
        transform: scale(1.1);
    }
    70% {
        transform: scale(0.95);
    }
    100% {
        transform: scale(1);
    }
}

.pop-in {
    animation: popIn 0.7s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Advanced Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.float {
    animation: float 3s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 20px rgba(255, 215, 0, 0.3); }
    50% { box-shadow: 0 0 40px rgba(255, 215, 0, 0.6), 0 0 60px rgba(255, 215, 0, 0.4); }
}

.glow {
    animation: glow 2s ease-in-out infinite;
}

@keyframes staggerFadeIn {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

.stagger-fade-in {
    animation: staggerFadeIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.pulse {
    animation: pulse 2s infinite;
}
