:root {
    --beige: #fedba1;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* Remove Android browser blue highlight */
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Remove focus outline for touch devices while keeping accessibility for keyboard users */
button,
input,
select,
textarea,
a {
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

/* Restore focus outline for keyboard navigation (accessibility) */
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
a:focus-visible {
    outline: 2px solid #fedba1;
    outline-offset: 2px;
}

/* Stronger, more visible focus states for important interactive controls */
.btn:focus-visible,
.language-toggle:focus-visible,
.language-option:focus-visible,
.review-arrow:focus-visible,
.instagram-fallback-link:focus-visible,
.social-links a:focus-visible {
    outline: 3px solid #fedba1;
    outline-offset: 3px;
    box-shadow: 0 0 0 4px rgba(254, 219, 161, 0.15);
    transform: translateY(-1px);
}

/* Make sure focus styles are not applied for touch-only users (respect reduced motion and pointer coarse devices) */
@media (pointer: coarse) {

    .btn:focus-visible,
    .language-toggle:focus-visible,
    .language-option:focus-visible,
    .review-arrow:focus-visible,
    .instagram-fallback-link:focus-visible,
    .social-links a:focus-visible {
        outline: 2px solid #fedba1;
        outline-offset: 2px;
        box-shadow: none;
        transform: none;
    }
}

body {
    font-family: 'Varela', sans-serif;
    line-height: 1.6;
    color: #002061;
    background-color: #f9f9f9;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

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

/* Logo */
.logo {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: 150px;
    height: auto;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.logo:hover {
    opacity: 1;
}

/* Language Selector */
.language-selector {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1001;
}

.language-toggle {
    background: rgba(254, 219, 161, 0.9);
    border: 2px solid rgba(0, 32, 97, 0.3);
    border-radius: 25px;
    padding: 8px 16px;
    color: #002061;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
}

.language-toggle:hover {
    background: rgba(254, 219, 161, 1);
    border-color: #002061;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 32, 97, 0.2);
}

.language-toggle i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.language-dropdown.show .language-toggle .animate {
    transform: rotate(180deg);
}

.language-dropdown {
    position: relative;
    display: inline-block;
}

.language-dropdown-content {
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(0, 32, 97, 0.1);
    border-radius: 12px;
    min-width: 160px;
    box-shadow: 0 8px 32px rgba(0, 32, 97, 0.15);
    z-index: 1002;
    opacity: 0;
    transform: translateY(-10px);
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(20px);
    margin-top: 8px;
}

.language-dropdown.show .language-dropdown-content {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

.language-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    color: #002061;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    font-weight: 500;
    border-radius: 8px;
    margin: 4px;
}

.language-option:hover {
    background: rgba(254, 219, 161, 0.3);
    transform: translateX(4px);
}

.language-option.active {
    background: rgba(254, 219, 161, 0.5);
    font-weight: bold;
}

.language-option .flag {
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

/* Main Navigation */
.main-navigation {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
    display: flex;
    gap: 20px;
}

/* Don't make main-navigation sticky on mobile */
@media (max-width: 830px) {
    .main-navigation {
        position: absolute;
    }

     
}

/* Hamburger Menu Button (hidden by default) */
.hamburger-menu {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 1002;
    background: none;
    border: none;
    cursor: pointer;
    padding: 12px;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 48px;
    height: 48px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.hamburger-menu:hover {
    background: rgba(254, 219, 161, 0.2);
}

.hamburger-menu:focus-visible {
    outline: 3px solid #fedba1;
    outline-offset: 3px;
    box-shadow: 0 0 0 4px rgba(254, 219, 161, 0.15);
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background-color: #fedba1;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Hamburger animation when active */
.hamburger-menu.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-menu.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.social-links a {
    color: #fedba1;
}

/* Mobile Navigation Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 32, 97, 0.8);
    z-index: 1001;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding-top: 120px;
    padding-left: 40px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
    /* Ensure backdrop-filter support for better visual effect */
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

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

.mobile-navigation {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.mobile-nav-link {
    color: #fedba1;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.5rem;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
    text-align: left;
}

.mobile-nav-link:hover {
    color: white;
    border-bottom-color: #fedba1;
}

.mobile-nav-link:focus-visible {
    outline: 3px solid #fedba1;
    outline-offset: 3px;
    box-shadow: 0 0 0 4px rgba(254, 219, 161, 0.15);
}

.nav-link {
    color: #fedba1;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    padding: 8px 16px;
    border-radius: 25px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-shadow: #002061 0px 0px 6px;
}

.nav-link:hover {
    background: rgba(254, 219, 161, 0.9);
    color: #002061;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 32, 97, 0.2);
    border-color: rgba(0, 32, 97, 0.3);
    text-shadow: none;
}

.nav-link:focus-visible {
    outline: 3px solid #fedba1;
    outline-offset: 3px;
    box-shadow: 0 0 0 4px rgba(254, 219, 161, 0.15);
}

/* Mobile landscape mode - move logo to top left */
/* @media (max-height: 640px) and (orientation: landscape) {
    .logo {
        left: 20px;
        top: 15px;
        transform: none;
        width: 75px;
    }

    .language-selector {
        top: 15px;
        right: 15px;
    }

    .main-navigation {
        top: 15px;
        left: 115px;
        gap: 10px;
    }

    .hamburger-menu {
        top: 15px;
        left: 115px;
        width: 40px;
        height: 40px;
        padding: 8px;
    }

    .hamburger-line {
        width: 20px;
        margin: 2px 0;
    }

    .nav-link {
        padding: 6px 12px;
        font-size: 0.9rem;
    }

    .mobile-nav-overlay {
        padding-top: 80px;
        padding-left: 30px;
    }

    .mobile-nav-link {
        font-size: 1.2rem;
    }

    .reel-section {
        padding: 40px 0;
    }

    .reel-container {
        max-width: 250px;
        max-height: 300px;
    }

    .reel-placeholder {
        padding-bottom: 120%;
    }

    .reel-content {
        font-size: 1rem;
    }

    @media (max-width: 768px) {
        .logo {
            left: 40px;
        }
    }

} */

@media (max-width: 450px) {

    /* Show hamburger menu and hide desktop navigation on mobile */
    .hamburger-menu {
        display: flex;
    }

    .main-navigation {
        display: none;
    }

    /* Fix scroll arrow centering on mobile */
    .scroll-arrow {
        left: 50%;
        transform: translateX(-50%);
        margin-left: 0;
        margin-right: 0;
        padding: 15px;
        margin: -15px;
        z-index: 999;
    }

    .logo {
        left: 50px;
    }

    .hamburger-menu {
        top: 15px;
        left: 115px;
        width: 40px;
        height: 40px;
        padding: 8px;
    }

    .hamburger-menu {
        top: 15px;
        left: 15px;
    }

}

/* Responsive language selector */
@media (max-width: 768px) {
    .language-selector {
        top: 15px;
        right: 15px;
    }

    .language-toggle {
        padding: 6px 12px;
        font-size: 0.8rem;
    }

    .language-dropdown-content {
        min-width: 140px;
    }

    .language-option {
        padding: 10px 12px;
        font-size: 0.9rem;
    }

    .main-navigation {
        top: 15px;
        left: 15px;
        gap: 15px;
    }

    .hamburger-menu {
        top: 15px;
        left: 15px;
    }

    .nav-link {
        padding: 6px 10px;
        font-size: 0.9rem;
    }
}

/* Landing Section */
.landing {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.video-background,
.video-background-2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    background-color: #002061;
    /* Black background while loading */
    opacity: 0;
    transition: opacity 1.5s ease;
    will-change: opacity;
    /* Hardware acceleration for better mobile performance */
    transform: translateZ(0);
    backface-visibility: hidden;
}

.video-background.active,
.video-background-2.active {
    opacity: 1;
}

/* Performance optimizations for mobile */
@media (max-width: 768px) {

    .video-background,
    .video-background-2 {
        /* Reduce transition time on mobile for better performance */
        transition: opacity 1s ease;
        /* Better mobile video performance */
        object-position: center center;
    }
}

/* For devices with limited GPU memory, use faster transitions */
@media (max-width: 480px) {

    .video-background,
    .video-background-2 {
        transition: opacity 0.8s ease;
    }

    .language-toggle {
        padding: 4px 5px;
        font-size: 0.7rem;
        margin-top: 5px;
    }


}

/* Respect user's motion preferences */
@media (prefers-reduced-motion: reduce) {

    .video-background,
    .video-background-2 {
        transition: opacity 0.3s ease;
    }
}



.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 32, 97, 0.7), rgba(0, 32, 97, 0.8));
    z-index: 0;
    pointer-events: none;
    transition: background 0.3s ease;
}

.content {
    z-index: 1;
    padding: 20px;
    max-width: 800px;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: #fedba1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 1px;
}

.tagline {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: white;
    font-weight: 300;
}

/* Download Buttons */
.download-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 14px 32px;
    background-color: #fedba1;
    color: #002061;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 2px solid #fedba1;
    position: relative;
    overflow: hidden;
}

.btn i {
    margin-right: 10px;
    font-size: 1.2rem;
}

/* Optimized hover animation using transform */
.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #002061;
    transition: transform 0.3s ease;
    z-index: -1;
    transform: scaleX(0);
    transform-origin: right;
}

.btn:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.btn:hover {
    color: #fedba1;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn:active {
    transform: translateY(0);
}

/* Sections */
section {
    padding: 80px 0;
}

h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #002061;
    font-size: 2.5rem;
}

h2 i {
    color: #fedba1;
    margin-right: 15px;
}

/* Features Section */
.features {
    background-color: #f8f9fa;
    padding: 60px 0;
}

.features h2 {
    font-size: 2rem;
    margin-bottom: 30px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.feature-item {
    background: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 32, 97, 0.1);
    transition: box-shadow 0.3s ease;
}

.feature-item:hover {
    box-shadow: 0 5px 20px rgba(0, 32, 97, 0.15);
}

.feature-item i {
    font-size: 2rem;
    color: #fedba1;
    margin-bottom: 15px;
}

.feature-item h3 {
    color: #002061;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.feature-item p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Instagram Reel Section */
.reel-section {
    background-color: #002061;
    color: white;
    text-align: center;
}

.reel-section h2 {
    color: #fedba1;
}

.reel-container {
    max-width: 350px;
    margin: 0 auto;
    background: #000;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
}

.reel-placeholder {
    width: 100%;
    padding-bottom: 177.8%;
    /* 9:16 aspect ratio */
    background: #e0e0e0;
    /* light grey background for placeholder */
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reel-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    padding: 20px;
}

/* When the placeholder is used, show dark grey text centered */
.reel-placeholder .reel-content {
    /* absolute centering ensures exact vertical + horizontal centering */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #4a4a4a;
    /* dark grey */
    padding: 0;
    font-weight: 700;
    /* bold text */
    text-align: center;
    /* center horizontally */
    font-size: 1.15rem;
    /* slightly larger for emphasis */
    line-height: 1.2;
    margin: 0;
}

.reel-content i {
    font-size: 3rem;
    margin-bottom: 15px;
}

.reel-content p {
    font-size: 1.2rem;
    margin-top: 15px;
}

/* Instagram Section */
.instagram-section {
    background: #f8f9fa;
    padding: 4rem 0;
}

.instagram-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    padding: 0 1rem;
}

.instagram-embed {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 32, 97, 0.1);
    padding: 1rem;
    margin: 2rem 0;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.instagram-loading {
    color: #002061;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.instagram-loading::before {
    content: '';
    width: 20px;
    height: 20px;
    border: 2px solid #fedba1;
    border-top: 2px solid #002061;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

    100% {
        transform: rotate(360deg);
    }
}

.instagram-fallback {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: #002061;
    text-align: center;
}

.instagram-fallback.show {
    display: flex;
}

.instagram-fallback-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(45deg, #833ab4, #fd1d1d, #fcb045);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: transform 200ms ease-out, box-shadow 200ms ease-out;
    box-shadow: 0 4px 12px rgba(131, 58, 180, 0.3);
}

.instagram-fallback-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(131, 58, 180, 0.4);
}

.instagram-fallback-link:active {
    transform: translateY(0);
}

/* Hide loading spinner when embed loads */
.instagram-embed.loaded .instagram-loading {
    display: none;
}

/* Responsive Instagram embed */
@media (max-width: 768px) {
    .instagram-embed {
        margin: 1rem 0;
        padding: 0.5rem;
        min-height: 300px;
    }
}

/* Accessibility - Reduced motion support for Instagram loading */
@media (prefers-reduced-motion: reduce) {
    .instagram-loading::before {
        animation: none;
        border: 2px solid #002061;
    }
}

/* Follow text hover effects */
.section-title a {
    display: inline-block;
    transition: transform 0.3s ease, text-shadow 0.3s ease;
}

.section-title a:hover {
    transform: translateY(-3px);
    text-shadow: 0 0 10px #fedba1, 0 0 20px #fedba1, 0 0 30px #fedba1;
}

/* Reviews Section */
.reviews-section {
    background: white;
    padding: 4rem 0;
}

.reviews-section h2 {
    color: #002061;
    margin-bottom: 3rem;
}

.reviews-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    padding: 0 60px;
    /* Space for arrows */
    overflow: hidden;
}

.reviews-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
    touch-action: pan-y pinch-zoom;
    /* Add gradient masks on the sides */
    mask: linear-gradient(to right,
            transparent 0%,
            white 15%,
            white 85%,
            transparent 100%);
    -webkit-mask: linear-gradient(to right,
            transparent 0%,
            white 15%,
            white 85%,
            transparent 100%);
}

.reviews-track {
    display: flex;
    transition: transform 0.5s ease;
    will-change: transform;
    /* Center the track initially */
    justify-content: flex-start;
}

.review-card {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 2rem;
    margin: 0 40px;
    /* Add significant spacing between cards */
    width: 100%;
    max-width: 500px;
    min-width: 400px;
    flex: 0 0 auto;
    text-align: center;
    transition: all 0.3s ease;
    background: #ffffff;
}

.review-card.active {
    transform: scale(1.02);
}

.review-card .stars {
    margin-bottom: 1rem;
    color: #ffd700;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.review-card .stars i {
    margin: 0 2px;
    text-shadow: 0 1px 3px rgba(255, 215, 0, 0.3);
}

.review-card h4 {
    color: #002061;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.review-card p {
    color: #4a5568;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.review-author {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.author-name {
    color: #002061;
    font-weight: bold;
    font-size: 0.95rem;
}

.review-date {
    color: #718096;
    font-size: 0.85rem;
    background: rgba(254, 219, 161, 0.2);
    padding: 4px 12px;
    border-radius: 20px;
}



/* Review Navigation Arrows */
.review-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: rgba(254, 219, 161, 0.9);
    color: #002061;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 32, 97, 0.2);
}

.review-arrow:hover {
    background: #002061;
    color: #fedba1;
    border: 3px solid #fedba1;
    box-sizing: border-box;
    /* Prevent shifting by keeping border inside */
    transform: translateY(-50%) scale(1.2);
    box-shadow: 0 4px 5px rgba(0, 32, 97, 0.2);
}

.review-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

.review-arrow-left {
    left: 10px;
}

.review-arrow-right {
    right: 10px;
}

.review-navigation {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.review-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #002061;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.review-dot:hover {
    transform: scale(1.2);
    background: rgba(254, 219, 161, 0.5);
}

.review-dot.active {
    background: #fedba1;
    border-color: #002061;
    box-shadow: 0 0 0 3px rgba(254, 219, 161, 0.3);
}

/* Responsive design for reviews */
@media (max-width: 768px) {
    .reviews-container {
        padding: 0 50px;
    }

    .review-arrow {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .review-arrow-left {
        left: 5px;
    }

    .review-arrow-right {
        right: 5px;
    }

    .review-card {
        padding: 1.5rem;
        margin: 0 30px;
        /* Reduced spacing for mobile */
        max-width: 400px;
        min-width: 300px;
    }

    .review-card h4 {
        font-size: 1.1rem;
    }

    .review-card p {
        font-size: 0.95rem;
    }

    .author-name {
        font-size: 0.9rem;
    }

    .review-date {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .reviews-section {
        padding: 3rem 0;
    }

    .reviews-container {
        padding: 0 40px;
    }

    .review-arrow {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .review-card {
        padding: 1.25rem;
        margin: 0 20px;
        /* Even less spacing for small screens */
        max-width: 320px;
        min-width: 250px;
    }

    .author-name,
    .review-date {
        flex-basis: 100%;
        text-align: center;
    }

    .review-author {
        gap: 0.5rem;
    }

    .main-navigation {
        top: 10px;
        left: 10px;
        gap: 10px;
    }

    .nav-link {
        padding: 5px 8px;
        font-size: 0.8rem;
    }
}

/* FAQ Section */
.faq {
    background-color: #002061;
    color: white;
}

.faq h2 {
    color: #fedba1;
}

.faq-item {
    margin-bottom: 20px;
    border-bottom: 1px solid #fedba1;
    padding-bottom: 20px;
}

.faq-question {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #fedba1;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* Button-specific styles */
    background: none;
    border: none;
    padding: 10px 0 10px 20px;
    width: 100%;
    text-align: left;
    transition: all 0.2s ease;
    border-radius: 4px;
}

.faq-question:hover {
    background-color: rgba(254, 219, 161, 0.1);
    padding-left: 10px;
    padding-right: 10px;
}

.faq-question:focus {
    outline: 2px solid #fedba1;
    outline-offset: 2px;
    background-color: rgba(254, 219, 161, 0.15);
}

.faq-question:focus-visible {
    outline: 3px solid #fedba1;
    outline-offset: 3px;
    box-shadow: 0 0 0 4px rgba(254, 219, 161, 0.15);
}

.faq-question span {
    /* Plus/cross indicator */
    font-size: 1.5rem;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 10px;
    display: inline-block;
    width: 20px;
    height: 20px;
    text-align: center;
    line-height: 18px;
}

.faq-active .faq-question span {
    transform: rotate(45deg);
}

.faq-answer {
    display: none;
    padding-top: 10px;
    color: white;
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
    transition: opacity 0.3s ease;
}

.faq-answer a {
    color: #fedba1;
    text-decoration: underline !important;
    pointer-events: auto;
}

.faq-answer a:focus {
    outline: 2px solid #fedba1;
    outline-offset: 2px;
}

.faq-active .faq-answer {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhanced keyboard navigation styles */
.faq-question[aria-expanded="true"] {
    background-color: transparent;
}

.faq-active .faq-question {
    background-color: transparent;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .faq-question:focus {
        outline: 3px solid yellow;
        background-color: rgba(255, 255, 0, 0.2);
    }
}

/* Reduced motion accessibility */
@media (prefers-reduced-motion: reduce) {

    .faq-question,
    .faq-question span,
    .faq-answer {
        transition: none;
    }

    .faq-active .faq-answer {
        animation: none;
    }
}

/* Footer */
footer {
    background-color: #002061;
    color: white;
    text-align: center;
    padding: 30px 0;
}

.social-links {
    margin-bottom: 20px;
}

.social-links a {
    font-size: 1.5rem;
    margin: 0 15px;
    transition: transform 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

.social-links a:hover {
    transform: translateY(-5px);
    text-decoration: underline;
    text-underline-offset: 5px;

}

/* Animated Arrow */
.scroll-arrow {
    position: absolute;
    bottom: 75px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
    cursor: pointer;
    /* Make background transparent */
    background: transparent;
    border: none;
    /* Increase clickable area with padding */
    padding: 20px;
    /* Use negative margin to maintain visual positioning */
    margin: -20px;
    /* Ensure proper centering */
    display: flex;
    align-items: center;
    justify-content: center;
}

.arrow-down {
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 12px solid #fedba1;
    opacity: 0.8;
    /* Center the visual arrow within the larger clickable area */
    margin: 0 auto;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Responsive Design */
@media (max-width: 830px) {
    h1 {
        font-size: 2.5rem;
    }

    .tagline {
        font-size: 1.2rem;
    }

    .download-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .reel-container {
        max-width: 300px;
    }

    /* Show hamburger menu and hide desktop navigation on mobile */
    .hamburger-menu {
        display: flex;
    }

    .main-navigation {
        display: none;
    }

    /* Fix scroll arrow centering on mobile */
    .scroll-arrow {
        left: 50%;
        transform: translateX(-50%);
        margin-left: 0;
        margin-right: 0;
        padding: 15px;
        margin: -15px;
        z-index: 999;
    }
}

/* Additional responsive breakpoints for title font size */
@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
        margin-top: 25px;
    }

    .tagline {
        font-size: 1.1rem;
    }

    /* Adjust mobile navigation for smaller screens */
    .mobile-nav-overlay {
        padding-top: 100px;
        padding-left: 30px;
    }

    .mobile-nav-link {
        font-size: 1.3rem;
    }

    .hamburger-menu {
        width: 44px;
        height: 44px;
        padding: 10px;
    }
}

@media (max-width: 375px) {
    h1 {
        font-size: 1.7rem;
        margin-top: 75px;

    }

    .tagline {
        font-size: 1rem;
    }
}

@media (max-width: 320px) {
    h1 {
        font-size: 1.5rem;
        letter-spacing: 1px;
        margin-top: 125px;

    }

    .tagline {
        font-size: 0.95rem;
    }

    .content {
        padding: 15px;
    }
}

/* Accessibility Styles */
.accessibility-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(254, 219, 161, 0.9);
    border: 2px solid rgba(0, 32, 97, 0.3);
    color: #002061;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 32, 97, 0.2);
    backdrop-filter: blur(10px);
}

/* Ensure the icon doesn't interfere with button clicks */
.accessibility-btn i {
    pointer-events: none;
    user-select: none;
}

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

.accessibility-btn:hover {
    background: rgba(254, 219, 161, 1);
    border-color: #002061;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 32, 97, 0.3);
}

.accessibility-btn:focus-visible {
    outline: 3px solid #fedba1;
    outline-offset: 3px;
    box-shadow: 0 0 0 4px rgba(254, 219, 161, 0.15);
}

.accessibility-menu {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 280px;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(0, 32, 97, 0.1);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 32, 97, 1);
    z-index: 10001;
    display: none;
    backdrop-filter: blur(20px);
    max-height: 400px;
    overflow-y: auto;
}

.accessibility-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(0, 32, 97, 0.1);
}

.accessibility-menu-header h3 {
    margin: 0;
    color: #002061;
    font-size: 1.1rem;
    font-weight: bold;
}

.close-menu-btn {
    background: none;
    border: none;
    color: #002061;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.close-menu-btn:hover {
    background: rgba(0, 32, 97, 0.1);
}

.close-menu-btn:focus-visible {
    outline: 2px solid #fedba1;
    outline-offset: 2px;
}

.accessibility-option {
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.option-label {
    color: #002061;
    font-weight: 500;
    font-size: 1rem;
    flex: 1;
}

.language-select {
    background: rgba(254, 219, 161, 0.9);
    border: 2px solid rgba(0, 32, 97, 0.3);
    border-radius: 8px;
    padding: 8px 12px;
    color: #002061;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
    max-width: 150px;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.language-select:focus-visible {
    outline: 3px solid #fedba1;
    outline-offset: 3px;
    box-shadow: 0 0 0 4px rgba(254, 219, 161, 0.15);
    transform: translateY(-1px);
}

.toggle-container {
    position: relative;
    width: 60px;
    height: 30px;
}

.toggle-input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

.toggle-switch {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #fff;
    border: 2px solid #8d8d8d;
    border-radius: 30px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    padding: 2px;
}

.toggle-switch:hover {
    border-color: #002061;
}

.toggle-slider {
    position: relative;
    width: 22px;
    height: 22px;
    background-color: #808080;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.8rem;
}

.toggle-slider .toggle-icon-off {
    display: block;
    position: relative;
    top: 2px;
}

.toggle-slider .toggle-icon-on {
    display: none;
    position: relative;
    top: 2px;
}

.toggle-input:checked+.toggle-switch {
    background-color: #28a745;
    border-color: #28a745;
}

.toggle-input:checked+.toggle-switch .toggle-slider {
    transform: translateX(28px);
    background-color: #fff;
    color: #28a745;
}

.toggle-input:checked+.toggle-switch .toggle-icon-off {
    display: none;
}

.toggle-input:checked+.toggle-switch .toggle-icon-on {
    display: block;
}

.option-description {
    padding: 0 20px 20px;
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* ----------------------------

High contrast mode styles 

-------------------------- */
body.high-contrast {
    color: #fff;
}

body.high-contrast .landing.h1 {
    color: #fff !important;
}

body.high-contrast .overlay {
    background: linear-gradient(to bottom, rgba(0, 32, 97, 0.9), rgba(0, 32, 97, 0.95)) !important;
}

body.high-contrast .feature-item i {
    color: #002061 !important;
}

body.high-contrast .feature-item p {
    color: #1f1f1f !important;
}

body.high-contrast .feature-item h3 {
    color: #002061;
}

body.high-contrast .tagline {
    color: #fff;
}

body.high-contrast .btn {
    background-color: #fedba1;
    color: #002061;
    border-color: #fedba1;
}

body.high-contrast .btn:hover {
    background-color: #002061;
    color: white;
}

body.high-contrast .language-select {
    background: #002061;
    border-color: #fedba1;
    color: #fedba1;
}

body.high-contrast .content h2 i {
    color: white;
}

body.high-contrast .review-card {
    color: #002061;
}

body.high-contrast .review-card h4 {
    color: #002061;
}

body.high-contrast .review-card p {
    color: #1f1f1f;
}

body.high-contrast .review-author {
    color: #002061;
}

body.high-contrast .faq-question {
    background: #f8f9fa;
    color: #002061;
}

body.high-contrast .faq-answer {
    font-weight: bold;
    letter-spacing: 1px;
    ;
}

body.high-contrast footer {
    background: #002061;
    color: white !important;
}

body.high-contrast footer a {
    color: white !important;
}

.features-description p {
    color: #002061 !important;
}

body.high-contrast .close-menu-btn {
    color: #002061;
}

.body.high-contrast .copyright {
    color: rgb(248, 64, 64) !important;
}

body.high-contrast .review-date {
    color: black !important;
}


body.high-contrast .option-description {
    color: black !important;
}

/* Mobile responsiveness for accessibility menu */
@media (max-width: 768px) {
    .accessibility-menu {
        width: calc(100vw - 40px);
        right: 20px;
        left: 20px;
        bottom: 80px;
    }

    .accessibility-btn {
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    .accessibility-menu {
        width: calc(100vw - 20px);
        right: 10px;
        left: 10px;
        bottom: 70px;
    }

    .accessibility-btn {
        bottom: 15px;
        right: 15px;
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
}

/* Back to Top Link */
.back-to-top {
    text-align: center;
    padding: 20px 0;
    background: #002061;
}

.back-to-top-link {
    color: white;
    text-decoration: none;
    letter-spacing: 0.9px;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.back-to-top-link:hover {
    color: #fedba1;
}

.back-to-top-link:focus-visible {
    outline: 3px solid #fedba1;
    outline-offset: 3px;
    box-shadow: 0 0 0 4px rgba(254, 219, 161, 0.15);
    transform: translateY(-1px);
}

.back-to-top-text {
    font-weight: bold;
}

/* Critical Above-the-Fold CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

button,
input,
select,
textarea,
a {
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
a:focus-visible {
    outline: 2px solid #fedba1;
    outline-offset: 2px;
}

body {
    font-family: 'Varela', sans-serif;
    line-height: 1.6;
    color: #002061;
    background-color: #f9f9f9;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Logo */
.logo {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: 150px;
    height: auto;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.logo:hover {
    opacity: 1;
}

/* Language Selector */
.language-selector {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1001;
}

.language-toggle {
    background: rgba(254, 219, 161, 0.9);
    border: 2px solid rgba(0, 32, 97, 0.3);
    border-radius: 25px;
    padding: 8px 16px;
    color: #002061;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
}

.language-toggle:hover {
    background: rgba(254, 219, 161, 1);
    border-color: #002061;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 32, 97, 0.2);
}

.language-toggle i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.language-dropdown {
    position: relative;
    display: inline-block;
}

.language-dropdown-content {
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(0, 32, 97, 0.1);
    border-radius: 12px;
    min-width: 160px;
    box-shadow: 0 8px 32px rgba(0, 32, 97, 0.15);
    z-index: 1002;
    opacity: 0;
    transform: translateY(-10px);
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(20px);
    margin-top: 8px;
}

.language-dropdown.show .language-dropdown-content {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

.language-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    color: #002061;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    font-weight: 500;
    border-radius: 8px;
    margin: 4px;
}

.language-option:hover {
    background: rgba(254, 219, 161, 0.3);
    transform: translateX(4px);
}

.language-option.active {
    background: rgba(254, 219, 161, 0.5);
    font-weight: bold;
}

.language-option .flag {
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

/* Main Navigation */
.main-navigation {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 1000;
    display: flex;
    gap: 20px;
}

.nav-link {
    color: #fedba1;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    padding: 8px 16px;
    border-radius: 25px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.nav-link:hover {
    background: rgba(254, 219, 161, 0.9);
    color: #002061;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 32, 97, 0.2);
    border-color: rgba(0, 32, 97, 0.3);
}

/* Landing Section - Critical */
.landing {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.video-background,
.video-background-2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    background-color: #002061;
    opacity: 0;
    transition: opacity 1.5s ease;
    will-change: opacity;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.video-background.active,
.video-background-2.active {
    opacity: 1;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 32, 97, 0.7), rgba(0, 32, 97, 0.8));
    z-index: 0;
    pointer-events: none;
    transition: background 0.3s ease;
}

.content {
    z-index: 1;
    padding: 20px;
    max-width: 800px;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: #fedba1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 1px;
}

.tagline {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: white;
    font-weight: 300;
}

/* Download Buttons */
.download-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 14px 32px;
    background-color: #fedba1;
    color: #002061;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 2px solid #fedba1;
    position: relative;
    overflow: hidden;
}

.btn i {
    margin-right: 10px;
    font-size: 1.2rem;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #002061;
    transition: transform 0.3s ease;
    z-index: -1;
    transform: scaleX(0);
    transform-origin: right;
}

.btn:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.btn:hover {
    color: #fedba1;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn:active {
    transform: translateY(0);
}

/* Scroll Arrow */
.scroll-arrow {
    position: absolute;
    bottom: 75px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 20px;
    margin: -20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.arrow-down {
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 12px solid #fedba1;
    opacity: 0.8;
    margin: 0 auto;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Critical Mobile Styles */
@media (max-width: 768px) {
    .language-selector {
        top: 15px;
        right: 15px;
    }

    .language-toggle {
        padding: 6px 12px;
        font-size: 0.8rem;
    }

    .main-navigation {
        display: none;
    }

    h1 {
        font-size: 2.5rem;
    }

    .tagline {
        font-size: 1.2rem;
    }

    .download-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
        margin-top: 25px;
    }

    .tagline {
        font-size: 1.1rem;
    }

    .language-toggle {
        padding: 4px 5px;
        font-size: 0.7rem;
        margin-top: 5px;
    }

    .video-background,
    .video-background-2 {
        transition: opacity 0.8s ease;
    }

    .logo {
        top: 30px;
    }
}

@media (max-width: 375px) {
    h1 {
        font-size: 1.7rem;
        margin-top: 75px;
    }

    .tagline {
        font-size: 1rem;
    }
}

@media (max-width: 320px) {
    h1 {
        font-size: 1.5rem;
        letter-spacing: 1px;
        margin-top: 125px;
    }

    .tagline {
        font-size: 0.95rem;
    }

    .content {
        padding: 15px;
    }
}

/* Mobile override for features description padding */
@media (max-width: 768px) {
    .features-description {
        padding: 0 20px !important;
    }
}

/* Minimal Font Awesome CSS - Only Used Icons */
@font-face {
    font-family: "Font Awesome 5 Free";
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/webfonts/fa-solid-900.woff2") format("woff2"),
        url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/webfonts/fa-solid-900.woff") format("woff");
}

@font-face {
    font-family: "Font Awesome 5 Brands";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/webfonts/fa-brands-400.woff2") format("woff2"),
        url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/webfonts/fa-brands-400.woff") format("woff");
}

.fa,
.fas,
.fab {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
}

.fab {
    font-family: "Font Awesome 5 Brands";
    font-weight: 400;
}

/* Only the icons actually used in the HTML */

/* Solid Icons (fas) */
.fa-globe::before {
    content: "\f0ac";
}

.fa-chevron-down::before {
    content: "\f078";
}

.fa-star::before {
    content: "\f005";
}

.fa-horse::before {
    content: "\f6f0";
}

.fa-mobile-alt::before {
    content: "\f3cd";
}

.fa-users::before {
    content: "\f0c0";
}

.fa-video::before {
    content: "\f03d";
}

.fa-share-alt::before {
    content: "\f1e0";
}

.fa-chevron-left::before {
    content: "\f053";
}

.fa-chevron-right::before {
    content: "\f054";
}

.fa-question-circle::before {
    content: "\f059";
}

.fa-chevron-up::before {
    content: "\f077";
}

.fa-universal-access::before {
    content: "\f29a";
}

/* Brand Icons (fab) */
.fa-google-play::before {
    content: "\f3ab";
}

.fa-apple::before {
    content: "\f179";
}

.fa-instagram::before {
    content: "\f16d";
}

.fa-facebook::before {
    content: "\f09a";
}

.fa-play-circle::before {
    content: "\f144";
}

/* ================================
   App Tutorials Page Styles
   ================================ */

/* Tutorials Hero Section */
.tutorials-hero {
    background-color: #002061;
    color: white;
    padding: 120px 20px 60px;
    text-align: center;
    position: relative;
}

/* Show tutorials logo on desktop - positioned absolutely on top */
.tutorials-logo-link {
    display: block;
    position: absolute;
    top: 17px;
    right: 20px;
    z-index: 10;
}

.tutorials-logo {
    position: absolute;
    top: 20px;
    right: 20px;
    height: 50px;
    width: auto;
    max-width: 100%;
}

.tutorials-page-title {
    color: #fedba1;
    font-size: 2rem;
    font-weight: bold;
    display: block;
    position: fixed;
    top: 26px;
    left: 400px;
    right: 20px;
    z-index: 1000;
    text-shadow: #002061 0px 0px 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tutorials-hero h1 {
    color: #fedba1;
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.tutorials-hero h1 i {
    margin-right: 15px;
}

.tutorials-subtitle {
    color: white;
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Tutorials Section */
.tutorials-section {
    background-color: #f8f9fa;
    padding: 60px 20px;
    min-height: 60vh;
}

/* Desktop Grid Layout - 3 columns */
.tutorials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.tutorial-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 32, 97, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tutorial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 32, 97, 0.15);
}

.tutorial-video-container {
    position: relative;
    width: 100%;
    padding-bottom: 177.78%; /* 9:16 aspect ratio for portrait */
    background: #000;
    overflow: hidden;
}

.tutorial-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Fix fullscreen for portrait videos - use contain instead of cover */
.tutorial-video:fullscreen {
    object-fit: contain;
}

.tutorial-video:-webkit-full-screen {
    object-fit: contain;
}

.tutorial-video:-moz-full-screen {
    object-fit: contain;
}

.tutorial-video:-ms-fullscreen {
    object-fit: contain;
}

.tutorial-info {
    padding: 20px;
    text-align: center;
    font-weight: 800;
}

.tutorial-info h3 {
    color: #002061;
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.tutorial-info p {
    color: #666;
    font-size: 1.2rem;
    line-height: 1.4;
}

/* Mobile TikTok-style scroll - hidden on desktop */
.tutorials-tiktok-scroll {
    display: none;
}

/* Tutorials CTA Section */
.tutorials-cta {
    background-color: #002061;
    color: white;
    padding: 60px 20px;
    text-align: center;
}

.tutorials-cta h2 {
    color: #fedba1;
    margin-bottom: 15px;
}

.tutorials-cta p {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Active nav link style */
.nav-link-active {
    background: rgba(254, 219, 161, 0.3);
    border-color: rgba(254, 219, 161, 0.5);
}

/* Tablet - 2 columns */
@media (max-width: 992px) {
    .tutorials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .tutorials-page-title {
        left: 70px;
        right: 20px;
        top: 26px;
        font-size: 2.5vw;
    }

    .hamburger-menu {
        display: flex !important;
    }

    .main-navigation {
        display: none !important;
    }
}

/* Mobile/Tablet - TikTok style scrolling */
@media (max-width: 768px) {
    .tutorials-hero {
        padding: 50px 20px 20px;
    }

    /* Hide tutorials logo on mobile */
    .tutorials-logo-link,
    .tutorials-logo {
        display: none;
    }

    .tutorials-page-title {
        left: 70px;
        right: 15px;
        top: 18px;
        font-size: 4vw;
        margin-top: 0px;
    }

    .tutorials-hero h1 {
        font-size: 2rem;
    }

    .tutorials-subtitle {
        font-size: 1rem;
    }

    /* Hide grid on mobile */
    .tutorials-grid {
        display: none;
    }

    /* Show TikTok scroll on mobile */
    .tutorials-tiktok-scroll {
        display: block;
        scroll-snap-type: y mandatory;
        overflow-y: scroll;
        height: calc(100vh - 60px);
        -webkit-overflow-scrolling: touch;
    }

    .tutorials-section {
        padding: 0;
        background: #000;
    }

    .tiktok-video-item {
        scroll-snap-align: start;
        height: calc(100vh - 60px);
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #000;
    }

    .tiktok-video {
        width: 100%;
        height: 100%;
        object-fit: contain;
        background: white;
        padding: 10px;
        box-sizing: border-box;
        border-radius: 3px !important;
    }

    /* Fix fullscreen for portrait videos - ensure contain is used */
    .tiktok-video:fullscreen {
        object-fit: contain;
    }

    .tiktok-video:-webkit-full-screen {
        object-fit: contain;
    }

    .tiktok-video:-moz-full-screen {
        object-fit: contain;
    }

    .tiktok-video:-ms-fullscreen {
        object-fit: contain;
    }

    .tiktok-video-info {
        position: absolute;
        top: 20px;
        left: 20px;
        right: 20px;
        color: #002061;
        z-index: 10;
        text-align: center;
    }

    .tiktok-video-info h3 {
        color: #002061;
        font-size: 1.2rem;
        margin-bottom: 5px;
    }

    .tiktok-video-info p {
        color: #002061;
        font-size: 0.9rem;
        font-weight: bold;
    }

    .tutorials-cta {
        padding: 40px 20px;
    }

    .tutorials-cta .download-buttons {
        flex-direction: column;
        align-items: center;
    }

    .tutorials-cta .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

/* View Tutorials Button Style */
.tutorials-button-container {
    text-align: center;
    margin-top: 30px;
}

.btn-tutorials {
    display: inline-flex;
    align-items: center;
    padding: 14px 32px;
    background-color: #fedba1;
    color: #002061;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 2px solid #fedba1;
    position: relative;
    overflow: hidden;
}

.btn-tutorials i {
    margin-right: 10px;
    font-size: 1.2rem;
}

.btn-tutorials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #002061;
    transition: transform 0.3s ease;
    z-index: -1;
    transform: scaleX(0);
    transform-origin: right;
}

.btn-tutorials:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-tutorials:hover {
    color: #fedba1;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}