/* Font Face Declarations */
@font-face {
    font-family: 'Bricolage Grotesque';
    src: url('/home/font/Bricolage_Grotesque/static/BricolageGrotesque-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Bricolage Grotesque';
    src: url('/home/font/Bricolage_Grotesque/static/BricolageGrotesque-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Bricolage Grotesque';
    src: url('/home/font/Bricolage_Grotesque/static/BricolageGrotesque-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Bricolage Grotesque';
    src: url('/home/font/Bricolage_Grotesque/static/BricolageGrotesque-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Bricolage Grotesque';
    src: url('/home/font/Bricolage_Grotesque/static/BricolageGrotesque-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Bricolage Grotesque';
    src: url('/home/font/Bricolage_Grotesque/static/BricolageGrotesque-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

:root {
    --primary-blue: #1d2f6f;
    --bright-yellow: #FFE873;
    --dark-yellow: #e7d002;  
    --white: #ffffff;
    --light-blue: #3a4f8a;
    --dark-blue: #162654;
    --accent-orange: #FF6B35;
    --success-green: #4CAF50;
    --light-gray: #f8f9fa;
    --border-color: #e9ecef;
    --text-dark: #2c3e50;
    --text-light: #6c757d;
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-medium: rgba(0, 0, 0, 0.15);
    --shadow-heavy: rgba(29, 47, 111, 0.25);
}

/* Bootstrap Customization */
:root {
    --bs-primary: #1d2f6f;
    --bs-primary-rgb: 29, 47, 111;
    --bs-warning: #FFE873;
    --bs-warning-rgb: 255, 232, 115;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Bricolage Grotesque', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, var(--bright-yellow) 0%, #FFF5A5 100%);
    min-height: 100vh;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Enhanced background with animated elements */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
            radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
            radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
            radial-gradient(circle at 50% 50%, rgba(29, 47, 111, 0.05) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
    z-index: 0;
}

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

/* Enhanced Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 215, 0, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 0.875rem 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid var(--dark-yellow);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

/* Add subtle animation on page load */
.navbar {
    animation: navbarSlideDown 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes navbarSlideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.navbar.scrolled {
    background: rgba(255, 215, 0, 0.98);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15);
    padding: 0.75rem 0;
    border-bottom: 2px solid var(--dark-yellow);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-blue);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0;
    position: relative;
    transition: all 0.3s ease;
}

.logo::before {
    content: '';
    width: 4.5rem;
    height: 4.5rem;
    background-image: url('/images/logo.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    margin-right: -0.35rem;
}

.logo::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary-blue);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.logo:hover::after {
    width: 100%;
}

.logo:hover {
    transform: translateY(-2px);
    text-shadow: 0 4px 8px rgba(29, 47, 111, 0.2);
}



.nav-links {
    font-family: 'Bricolage Grotesque', sans-serif;
    display: flex;
    list-style: none;
    gap: 0.5rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    position: relative;
    display: block;
    letter-spacing: 0.5px;
    margin: 0 0.25rem;
}

.nav-links a:hover {
    color: var(--white);
    background: var(--primary-blue);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(29, 47, 111, 0.3);
    font-weight: 700;
}

.nav-links a:active {
    transform: translateY(-1px);
    transition: transform 0.1s ease;
}

/* Active navigation indicator */
.nav-links a.active {
    background: var(--primary-blue);
    color: var(--white);
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(29, 47, 111, 0.3);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.75rem;
    color: var(--primary-blue);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-toggle:hover {
    background: rgba(29, 47, 111, 0.1);
    transform: scale(1.1);
}

/* Mobile Navigation Styles */
@media (max-width: 768px) {
    .navbar {
        padding: 1rem 0;
    }
    
    .nav-container {
        padding: 0 1rem;
    }
    
    .logo {
        font-size: 1.6rem;
    }
    
    .logo::before {
        width: 1.8rem;
        height: 1.8rem;
    }
    
    .nav-links {
        position: fixed;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 215, 0, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        gap: 0;
        padding: 2rem 0;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
        border-top: 1px solid rgba(218, 165, 32, 0.3);
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-links li {
        width: 100%;
        text-align: center;
    }
    
            .nav-links a {
            padding: 1rem 2rem;
            border-radius: 0;
            width: 100%;
            border-bottom: 1px solid rgba(29, 47, 111, 0.1);
            font-size: 1.2rem;
        }
    
    .nav-links a:hover {
        background: rgba(255, 232, 115, 0.2);
        transform: none;
        box-shadow: none;
    }
    
    .nav-links a::before {
        display: none;
    }
    
    .nav-toggle {
        display: block;
        position: relative;
        z-index: 1001;
    }
    
    /* Hamburger Menu Animation */
    .nav-toggle.active {
        transform: rotate(90deg);
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.4rem;
    }
    
    .logo::before {
        width: 1.6rem;
        height: 1.6rem;
    }
    
            .nav-links a {
            padding: 1.25rem 2rem;
            font-size: 1.3rem;
        }
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--light-blue) 100%);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 8rem 2rem 4rem;
    z-index: 1;
}

.hero-background {
    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="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    z-index: 1;
}

.z-3 {
    z-index: 3;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-badges {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.badge {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-blue);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Question Marks Animation */
.question-marks {
    display: flex;
    justify-content: center;
    gap: 1rem;
    font-size: 3rem;
    color: var(--white);
    text-shadow: 2px 2px 8px var(--shadow-medium);
    margin-bottom: 1rem;
    animation: bounce 2s infinite;
}

.question-mark {
    font-size: 4rem;
    color: var(--bright-yellow);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    animation: bounce 2s infinite;
}

.question-mark:nth-child(2) {
    animation-delay: 0.2s;
}

.question-mark:nth-child(3) {
    animation-delay: 0.4s;
}

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

/* Text Gradient */
.text-gradient {
    background: linear-gradient(135deg, var(--bright-yellow) 0%, #FFF5A5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

.app-name {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--light-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    margin-bottom: 1rem;
    letter-spacing: 3px;
    text-shadow: none;
    position: relative;
}

.app-name::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--accent-orange);
    border-radius: 2px;
}

.tagline {
    font-family: 'Bricolage Grotesque', sans-serif;
    color: var(--primary-blue);
    font-size: 1.3rem;
    margin-bottom: 2rem;
    font-weight: 500;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    display: block;
    color: var(--bright-yellow);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-label {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

/* CTA Section */
.cta-section {
    margin-top: 3rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--light-blue) 100%);
    color: var(--white);
    border: none;
    padding: 1.2rem 3rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px var(--shadow-heavy);
    position: relative;
    overflow: hidden;
}

.btn-primary::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-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px var(--shadow-heavy);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-warning {
    background: linear-gradient(135deg, var(--bright-yellow) 0%, #FFD700 100%);
    border: none;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.btn-warning:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 232, 115, 0.4);
}

.login-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 25px;
}

.login-link:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: translateY(-1px);
}

/* Features Section */
.features-section {
    padding: 6rem 2rem;
    background: var(--white);
    position: relative;
    z-index: 1;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(135deg, var(--bright-yellow) 0%, var(--white) 100%);
    clip-path: polygon(0 0, 100% 0, 100% 80%, 0 100%);
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.section-title {
    font-family: 'Bricolage Grotesque', sans-serif;
    color: var(--primary-blue);
    font-size: 2.8rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--text-light);
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}

/* Feature Cards */
.feature-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px var(--shadow-light);
    transition: all 0.3s ease;
    text-align: center;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-orange), var(--success-green));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px var(--shadow-medium);
    border-color: var(--primary-blue);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
    transition: transform 0.3s ease;
}

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

.feature-title {
    font-family: 'Bricolage Grotesque', sans-serif;
    color: var(--primary-blue);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature-description {
    font-family: 'Bricolage Grotesque', sans-serif;
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
}

/* How It Works Section */
.how-it-works {
    padding: 6rem 2rem;
    background: var(--light-gray);
}

.steps-container {
    max-width: 1000px;
    margin: 0 auto;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

/* Step Cards */
.step-card {
    text-align: center;
    position: relative;
    transition: transform 0.3s ease;
}

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

.step-number {
    font-family: 'Bricolage Grotesque', sans-serif;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 25px var(--shadow-heavy);
}

.step-title {
    font-family: 'Bricolage Grotesque', sans-serif;
    color: var(--primary-blue);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.step-description {
    font-family: 'Bricolage Grotesque', sans-serif;
    color: var(--text-light);
    line-height: 1.6;
}

/* Testimonials Section */
.testimonials {
    padding: 6rem 2rem;
    background: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 4rem auto 0;
}

/* Testimonial Cards */
.testimonial-card {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 15px;
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow-medium) !important;
    border-color: var(--primary-blue);
}

.testimonial-card::before {
    font-size: 4rem;
    color: var(--primary-blue);
    position: absolute;
    top: -10px;
    left: 20px;
    opacity: 0.3;
}

.testimonial-text {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    flex-shrink: 0;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 600;
}

.author-info h4 {
    font-family: 'Bricolage Grotesque', sans-serif;
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.author-info p {
    font-family: 'Bricolage Grotesque', sans-serif;
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

/* Footer */
.footer {
    font-family: 'Bricolage Grotesque', sans-serif;
    background: var(--primary-blue);
    color: var(--white);
    padding: 3rem 2rem 2rem;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 4px 20px var(--shadow-light);
        border-radius: 0 0 15px 15px;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-toggle {
        display: block;
    }

    .hero-section {
        min-height: 80vh;
        padding: 6rem 1rem 2rem;
    }

    .question-mark {
        font-size: 3rem;
    }

    .app-name {
        font-size: 2.5rem;
        letter-spacing: 1px;
    }

    .question-marks {
        font-size: 2.5rem;
    }

    .hero-stats {
        gap: 2rem;
    }

    .stat-number {
        font-size: 2rem;
    }

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

    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 300px;
    }

    .features-grid,
    .steps-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .display-1 {
        font-size: 3rem;
    }

    .display-4 {
        font-size: 2.5rem;
    }

    .features-section,
    .how-it-works,
    .testimonials {
        padding: 4rem 1rem;
    }
}

@media (max-width: 480px) {
    .question-mark {
        font-size: 2.5rem;
    }

    .app-name {
        font-size: 2rem;
    }

    .tagline {
        font-size: 1.1rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-container {
        padding: 0 0.75rem;
    }

    .logo {
        font-size: 1.5rem;
    }

    .display-1 {
        font-size: 2.5rem;
    }

    .display-4 {
        font-size: 2rem;
    }

    .btn-lg {
        padding: 0.75rem 2rem;
        font-size: 1rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* App Screenshots Carousel - Full Width Hero */
.app-carousel-hero {
    width: 100vw;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.carousel-container-fluid {
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-image-container {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.screens-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1200px;
    width: 100%;
    height: 100%;
    align-items: center;
}

.screen-item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.screen-item img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Download Buttons Overlay */
.download-buttons-overlay {
    position: absolute;
    bottom: 15%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

/* Carousel Title with Gradient Overlay */
.carousel-title-overlay {
    background: rgba(29, 47, 111, 0.45);
    backdrop-filter: blur(8px);
    border-radius: 16px;
    padding: 1.5rem 3rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

/* Title Icon */
.title-icon {
    margin-bottom: 1rem;
    font-size: 2rem;
    color: var(--bright-yellow);
}

/* Title Subtitle */
.title-subtitle {
    font-family: 'Bricolage Grotesque', sans-serif;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    font-weight: 400;
    margin-top: 0.5rem;
    text-align: center;
}

.carousel-title {
    font-family: 'Bricolage Grotesque', sans-serif;
    color: var(--white);
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0;
    text-align: center;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    letter-spacing: 0.5px;
}

.download-buttons {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    align-items: center;
    justify-content: center;
}

.store-button-link {
    display: inline-block;
    transition: all 0.3s ease;
    position: relative;
}

.store-button {
    height: 60px;
    width: auto;
    transition: all 0.3s ease;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.store-button-link:hover .store-button {
    transform: translateY(-5px);
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.4));
}



/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background: rgba(29, 47, 111, 0.8);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    border: none;
}

.carousel-control-prev {
    left: 20px;
}

.carousel-control-next {
    right: 20px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: rgba(29, 47, 111, 1);
}

.carousel-indicators {
    bottom: 20px;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    margin: 0 5px;
}

.carousel-indicators button.active {
    background-color: var(--bright-yellow);
}

/* Responsive adjustments for carousel */
@media (max-width: 768px) {
    .app-carousel-hero {
        height: 70vh;
    }
    
    .carousel-image-container {
        height: 70vh;
        padding: 1rem;
    }
    
    .screens-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        max-width: 100%;
    }
    
    .screen-item img {
        max-height: 60vh;
    }
    
    .download-buttons-overlay {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        margin-top: 2rem;
        margin-bottom: 2rem;
    }
    
    .download-buttons {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .store-button {
        height: 50px;
    }
    
    .carousel-title {
        font-size: 1.8rem;
    }
    
    .carousel-title-overlay {
        padding: 1.25rem 2.5rem;
    }
    
    .title-icon {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
    }
    
    .title-subtitle {
        font-size: 0.85rem;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .app-carousel-hero {
        height: 60vh;
    }
    
    .carousel-image-container {
        height: 60vh;
        padding: 0.5rem;
    }
    
    .screens-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .screen-item img {
        max-height: 50vh;
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .store-button {
        height: 45px;
    }
    
    .carousel-title {
        font-size: 1.3rem;
    }
    
    .carousel-title-overlay {
        padding: 1rem 2rem;
    }
    
    .title-icon {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }
    
    .title-subtitle {
        font-size: 0.75rem;
    }
}

/* CTA Section Download Links */
.download-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.download-links .store-button {
    height: 50px;
    transition: all 0.3s ease;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.download-links .store-button-link:hover .store-button {
    transform: translateY(-3px);
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.4));
}

/* Focus styles for accessibility */
.btn:focus,
.btn-primary:focus,
.btn-secondary:focus,
.login-link:focus,
.nav-link:focus {
    outline: 2px solid var(--accent-orange);
    outline-offset: 2px;
    box-shadow: 0 0 0 3px rgba(255, 232, 115, 0.5);
}

/* Remove focus outline from nav links to avoid red outline */
.nav-links a:focus {
    outline: none;
    box-shadow: none;
}

/* Enhanced Quick Navigation Styles */
.quick-nav-section {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 249, 250, 0.95) 100%);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 3rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

/* Enhanced Page Header Styles */
.page-header {
    position: relative;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--light-blue) 100%);
    color: var(--white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 4px 20px rgba(29, 47, 111, 0.3);
}

/* Breadcrumb styling for better visibility */
.page-header .breadcrumb-item a {
    color: var(--white) !important;
    opacity: 0.75;
    transition: opacity 0.3s ease;
}

.page-header .breadcrumb-item a:hover {
    opacity: 1;
    text-decoration: none;
}

.page-header .breadcrumb-item.active {
    color: var(--white) !important;
    opacity: 1;
}

/* Fix hash navigation */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px; /* Account for fixed navbar */
}

/* Ensure sections are properly positioned for hash navigation */
.section[id] {
    scroll-margin-top: 120px;
}

/* Highlight animation for hash navigation */
@keyframes highlightSection {
    0% {
        background-color: rgba(255, 232, 115, 0.1);
        transform: scale(1);
    }
    50% {
        background-color: rgba(255, 232, 115, 0.3);
        transform: scale(1.02);
    }
    100% {
        background-color: transparent;
        transform: scale(1);
    }
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--bright-yellow), transparent);
    box-shadow: 0 0 10px rgba(255, 232, 115, 0.5);
}

.page-header .header-icon {
    position: relative;
    z-index: 2;
}

.page-header h1,
.page-header p,
.page-header .breadcrumb {
    position: relative;
    z-index: 2;
}

.quick-nav-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--bright-yellow) 0%, #FFD700 100%);
    border-radius: 50%;
    color: var(--primary-blue);
    box-shadow: 0 8px 25px rgba(255, 232, 115, 0.4);
    animation: float 3s ease-in-out infinite;
    border: 3px solid var(--white);
    transition: all 0.3s ease;
    cursor: pointer;
}

.quick-nav-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(255, 232, 115, 0.6);
    background: linear-gradient(135deg, #FFD700 0%, var(--bright-yellow) 100%);
}

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

.quick-nav-card {
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
}

.quick-nav-card:hover {
    text-decoration: none;
    transform: translateY(-8px);
}

.quick-nav-item {
    transition: all 0.3s ease;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}

.quick-nav-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--light-blue) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.quick-nav-item:hover::before {
    opacity: 0.05;
}

.quick-nav-item:hover {
    box-shadow: 0 15px 40px rgba(29, 47, 111, 0.15);
    border-color: var(--primary-blue);
}

.quick-nav-item .card-body {
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.quick-nav-item:hover .card-body {
    transform: scale(1.02);
}

.nav-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(29, 47, 111, 0.1) 0%, rgba(58, 79, 138, 0.1) 100%);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.quick-nav-item:hover .nav-icon {
    background: linear-gradient(135deg, rgba(29, 47, 111, 0.15) 0%, rgba(58, 79, 138, 0.15) 100%);
    transform: scale(1.1);
}

.quick-nav-item:hover .card-title {
    color: var(--primary-blue) !important;
}

.quick-nav-item:hover .card-text {
    color: var(--text-dark) !important;
}

/* Responsive adjustments for quick navigation */
@media (max-width: 768px) {
    .quick-nav-section {
        padding: 2rem 1.5rem;
    }
    
    .quick-nav-icon {
        width: 60px;
        height: 60px;
    }
    
    .quick-nav-icon i {
        font-size: 1.5rem !important;
        color: var(--primary-blue) !important;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }
}

@media (max-width: 480px) {
    .quick-nav-section {
        padding: 1.5rem 1rem;
    }
    
    .quick-nav-icon {
        width: 50px;
        height: 50px;
    }
    
    .quick-nav-icon i {
        font-size: 1.25rem !important;
    }
} 