/* Index Page Specific Styles */

/* Overflow Control - Prevents horizontal scrolling */
html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

/* Alert styles */
.alert-success {
    background-color: #d4edda;
    color: #155724;
    border-color: #c3e6cb;
    font-weight: 500;
}
.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border-color: #f5c6cb;
    font-weight: 500;
}

/* Hero subtitle max-width */
.hero-subtitle {
    max-width: 600px;
}

/* Location detection button styles */
#detect-location-btn {
    color: #b86614;
    border-color: #e7a84d;
    background-color: transparent;
    transition: color 0.3s ease, background-color 0.3s ease;
    transform: none !important;
}

#detect-location-btn:hover,
#detect-location-btn:active,
#detect-location-btn:focus {
    transform: none !important;
    margin-top: 0 !important;
    position: relative;
    top: 0 !important;
    color: white;
    background-color: #e7a84d;
}

#detect-location-btn:focus {
    box-shadow: 0 0 0 0.25rem rgba(231, 168, 77, 0.25);
}

#detect-location-btn i {
    font-size: 0.9rem;
}

/* Responsive styles for location button */
@media (max-width: 767.98px) {
    /* Form container width adjustments for mobile */
    .hero-section .col-lg-7,
    .hero-section .col-md-9 {
        width: 98% !important;
        max-width: 98% !important;
        padding-left: 5px !important;
        padding-right: 5px !important;
    }
    
    .hero-section .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
    }
    
    .application-card {
        width: 100% !important;
        margin: 0 auto !important;
        border-radius: 10px !important;
    }
    
    .hero-section .container {
        max-width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    #detect-location-btn {
        padding: 0.375rem 0.5rem;
    }
    
    #detect-location-btn .button-text {
        display: none;
    }
    
    #detect-location-btn i {
        margin-right: 0 !important;
    }
    
    .badge.bg-gold {
        font-size: 0.65rem;
        padding: 0.25rem 0.45rem;
    }
}

/* Badge for location detection feature */
.badge.bg-gold {
    background-color: #e7a84d !important;
    font-weight: 500;
    font-size: 0.75rem;
    padding: 0.35rem 0.65rem;
    animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
    0% {
        opacity: 0.7;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0.7;
    }
}

/* Visual feedback for successful auto-detection */
.bg-light-success {
    transition: background-color 0.5s ease;
    background-color: rgba(212, 237, 218, 0.3) !important;
    border-color: #c3e6cb !important;
    animation: pulse-success 1s;
}

@keyframes pulse-success {
    0% {
        box-shadow: 0 0 0 0 rgba(25, 135, 84, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(25, 135, 84, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(25, 135, 84, 0);
    }
}

/* Complete isolation of navbar from ANY styling in this CSS file */
.prevent-navbar-leakage {
    --force-navbar-isolation: true;
}

/* Fix for containers that might overflow - EXPLICIT SCOPING to page sections only */
.hero-section .container,
.app-highlights .container,
.crawler-experience .container,
.download-section .container,
.features-tabs-container {
    max-width: 100vw; /* Ensures content does not try to exceed viewport width */
    overflow-x: hidden; /* Prevents horizontal scrollbars within these sections */
}

/* Hero section specific fixes */
.hero-section {
    overflow-y: hidden; /* Prevent vertical scrolling */
}

.hero-inner {
    overflow: visible;
}

.hero-section .row {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}

/* Apply specific padding to the hero content wrapper */
.hero-section .hero-content-wrapper {
    padding: 1rem; /* Default padding, left side will be 1rem */
}

.hero-section .col-lg-6 { /* Note: HTML uses col-lg-5, these rules might not apply as intended or are for a different structure */
    padding-left: 0;
}

.hero-section .hero-title,
.hero-section .hero-subtitle,
.hero-section .hero-buttons {
    width: 100%;
    box-sizing: border-box;
    overflow-wrap: break-word;
    word-wrap: break-word;
    position: relative; /* Consolidated from later rules */
    margin-left: 0;     /* Consolidated and !important removed */
}

/* Ensure left-aligned text on larger screens */
@media (min-width: 992px) {
    .hero-section .text-lg-start {
        text-align: left; /* Attempted removal of !important */
    }

    .hero-section .justify-content-lg-start {
        justify-content: flex-start; /* Attempted removal of !important */
    }
}

/* Tablet and desktop - hero content adjustments */
@media (min-width: 768px) {
    .hero-section .hero-content-wrapper {
        padding: 1.5rem; /* Increased padding, left side will be 1.5rem */
    }
    .hero-section .row > .col-lg-6 { /* Made selector more specific; Note: HTML uses col-lg-5 */
        margin-left: 8%;
        max-width: 50%;
    }
}

@media (min-width: 992px) {
    .hero-section .row > .col-lg-6:first-child { /* Made selector more specific; Note: HTML uses col-lg-5, this targets the text content column */
        margin-left: 6%;
        max-width: 42%;
    }
}

/* Mobile adjustments for hero section */
@media (max-width: 767.98px) {
    .hero-section {
        padding-left: 2px !important;
        padding-right: 2px !important;
        padding-top: 0.5rem !important;
        padding-bottom: 2rem !important;
    }

    /* Scope container styles to specific sections, not the navbar */
    .hero-section .container,
    .app-highlights .container {
        padding-left: 4px !important;
        padding-right: 4px !important;
    }

    .hero-section .hero-content-wrapper {
        padding: 0.75rem 1rem !important; /* top/bottom 0.75rem, left/right 1rem */
    }
    
    /* Reduce margin for title/subtitle for more compact layout */
    .hero-section .hero-title {
        margin-bottom: 0.75rem !important;
    }
    
    .hero-section .hero-subtitle {
        margin-bottom: 1.5rem !important;
    }
    
    /* Make container take full width */
    .hero-section .container {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    /* Make sure the hero content is centered properly */
    .hero-section .row.justify-content-center {
        justify-content: center !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* Fix heading spacing and alignment */
    .hero-section h1.hero-title {
        font-size: 2rem !important;
        margin-top: 0.5rem;
    }
}

/* Utility Classes */
.z-index-2 {
    z-index: 2;
}

.margin-top-0 {
    margin-top: 0;
}

.text-gold {
    color: #c17b00 !important;
}

/* Standardized Text Sizes for Consistency */
/* These classes override Bootstrap defaults to ensure consistency across all sections */
/* Adding main selector to prevent affecting footer */
main {
    /* Base text sizes for the index page content only */
}

main .display-5 {
    font-size: 3rem !important;
    font-weight: 700 !important;
}

main .lead {
    font-size: 1.4rem !important;
    font-weight: 400 !important;
}

main h1, main .h1 {
    font-size: 3.2rem !important;
    font-weight: 700 !important;
}

main h2, main .h2 {
    font-size: 2.8rem !important;
    font-weight: 700 !important;
}

main h3, main .h3 {
    font-size: 2.1rem !important;
    font-weight: 600 !important;
}

main h5, main .h5 {
    font-size: 1.2rem !important; 
    font-weight: 600 !important;
}

main p {
    font-size: 1.2rem !important;
    line-height: 1.6 !important;
}

main .feature-text p {
    font-size: 1.2rem !important;
}

main .feature-list li {
    font-size: 1.2rem !important;
    line-height: 1.7 !important;
}

main .feature-tabs .nav-link span {
    font-size: 1.1rem !important;
}

/* Mobile text adjustments */
@media (max-width: 767.98px) {
    main h1, main .h1 {
        font-size: 2.2rem !important;
    }
    
    main h2, main .h2, main .display-5 {
        font-size: 2rem !important;
    }
    
    main h3, main .h3 {
        font-size: 1.5rem !important;
    }
    
    main .lead {
        font-size: 1.15rem !important;
    }
    
    main p, main .feature-text p {
        font-size: 1rem !important;
    }
}

/* Small mobile adjustments */
@media (max-width: 576px) {
    main h1, main .h1 {
        font-size: 1.8rem !important;
    }
    
    main h2, main .h2, main .display-5 {
        font-size: 1.7rem !important;
    }
    
    main h3, main .h3 {
        font-size: 1.3rem !important;
    }
}

/* App Highlights Section */
.app-highlights {
    min-height: 700px;
    padding: 4rem 0;
    position: relative;
}

.app-highlights h2 {
    color: #b86614;
    position: relative;
    display: inline-block;
}

.app-highlights h2:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #e7a84d;
    border-radius: 2px;
}

/* Feature Tabs */
.features-tabs-container {
    padding: 2rem 0 4rem;
    max-width: 1100px;
    position: relative;
    box-sizing: border-box;
    width: 100%;
}

.features-tabs-container:before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(231, 168, 77, 0.08), rgba(231, 168, 77, 0.01));
    top: 10%;
    left: -150px;
    z-index: -1;
    max-width: 50%;
    max-height: 50%;
}

.features-tabs-container:after {
    content: '';
    position: absolute;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(184, 102, 20, 0.05), rgba(184, 102, 20, 0.01));
    bottom: 5%;
    right: -100px;
    z-index: -1;
    max-width: 50%;
    max-height: 50%;
}

/* Tab Navigation */
.feature-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 3rem;
    border: none;
    position: relative;
    padding: 0;
}

/* The following ::after rule created an underline effect and is being removed as per user request.
.feature-tabs:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(to right, rgba(231, 168, 77, 0), rgba(231, 168, 77, 0.4), rgba(231, 168, 77, 0));
}
*/

.feature-tabs .nav-item {
    margin: 0 12px;
    position: relative;
}

.feature-tabs .nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 8px;
    border: none;
    border-radius: 0;
    color: #666;
    position: relative;
    background: transparent;
    transition: all 0.4s ease;
    min-width: 120px;
}

.feature-tabs .nav-link:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80%;
    height: 3px;
    background: linear-gradient(to right, #e7a84d, #c17b00);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 2px;
    z-index: 1;
}

.feature-tabs .nav-link:hover,
.feature-tabs .nav-link:focus {
    color: #b86614;
    border: none;
    transform: translateY(-3px);
}

.feature-tabs .nav-link:hover:after,
.feature-tabs .nav-link:focus:after {
    transform: translateX(-50%) scaleX(0.6);
}

.feature-tabs .nav-link.active {
    color: #b86614;
    background: transparent;
    border: none;
    font-weight: 600;
    transform: translateY(-5px);
}

.feature-tabs .nav-link.active:after {
    transform: translateX(-50%) scaleX(1);
    box-shadow: 0 1px 5px rgba(231, 168, 77, 0.3);
}

.tab-icon {
    font-size: 1.6rem;
    margin-bottom: 12px;
    height: 58px;
    width: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e7a84d;
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.8), rgba(231, 168, 77, 0.12));
    box-shadow: 0 6px 12px rgba(231, 168, 77, 0.12);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.tab-icon:before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, rgba(231, 168, 77, 0.3), rgba(231, 168, 77, 0.1));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-tabs .nav-link:hover .tab-icon {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 8px 20px rgba(231, 168, 77, 0.18);
}

.feature-tabs .nav-link:hover .tab-icon:before {
    opacity: 1;
}

.feature-tabs .nav-link.active .tab-icon {
    transform: translateY(-8px) scale(1.05);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(231, 168, 77, 0.25));
    box-shadow: 0 10px 25px rgba(231, 168, 77, 0.25);
    color: #b86614;
}

.feature-tabs .nav-link.active .tab-icon:before {
    opacity: 1;
}

.feature-tabs .nav-link span {
    font-size: 0.95rem;
    transition: all 0.3s ease;
    font-weight: 500;
    letter-spacing: 0.2px;
}

.feature-tabs .nav-link.active span {
    font-weight: 600;
}

/* Tab Content */
.feature-tab-content {
    position: relative;
    background: linear-gradient(145deg, #ffffff, #fafafa);
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    min-height: 420px;
    border: 1px solid rgba(231, 168, 77, 0.08);
}

.feature-tab-content:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(231, 168, 77, 0.03), transparent 70%);
    opacity: 0.6;
    border-radius: 50%;
    z-index: 0;
}

.feature-content-inner {
    padding: 3.5rem 2.5rem;
    position: relative;
    z-index: 1;
}

.feature-image {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.feature-icon-large {
    font-size: 8rem;
    color: #e7a84d;
    opacity: 0.85;
    text-align: center;
    margin-bottom: 2rem;
    background: radial-gradient(circle, rgba(231, 168, 77, 0.15), rgba(231, 168, 77, 0.01));
    width: 220px;
    height: 220px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 6s infinite alternate;
    position: relative;
    box-shadow: 0 10px 30px rgba(231, 168, 77, 0.12);
}

.feature-icon-large:before {
    content: '';
    position: absolute;
    inset: -15px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(231, 168, 77, 0.08), rgba(231, 168, 77, 0.01));
    z-index: -1;
    opacity: 0.6;
    animation: pulse 8s infinite alternate;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.feature-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.feature-text h3 {
    color: #333;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 1.2rem;
}

.feature-text h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, #e7a84d, rgba(231, 168, 77, 0.3));
    border-radius: 3px;
}

.feature-text p {
    color: #555;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.feature-benefits {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.benefit-item {
    display: flex;
    align-items: center;
    color: #555;
    position: relative;
    padding-left: 5px;
    transform: translateX(0);
    transition: transform 0.3s ease;
}

.benefit-item:hover {
    transform: translateX(5px);
}

.benefit-item i {
    color: #e7a84d;
    margin-right: 12px;
    font-size: 1.2rem;
    background: rgba(231, 168, 77, 0.12);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.benefit-item span {
    font-weight: 500;
}

/* Animation for tabs */
.tab-pane {
    animation-duration: 0.6s;
}

/* Feature Badges */
.feature-badge {
    margin-top: 0;
}

/* Crawler Experience Section */
.crawler-experience {
    background-color: #738290;
    color: white;
}

/* Download Section */
.download-section {
    background-color: #FBFAF8;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
    background-image: linear-gradient(to bottom, rgba(251, 250, 248, 0.98), rgba(251, 250, 248, 0.96));
}

.download-lottie-container {
    position: relative;
    width: 100%;
    max-width: 300px;
    height: 200px;
    margin: 0 auto 2rem;
    overflow: hidden;
    border-radius: 10px;
}

.download-lottie {
    width: 100%;
    height: 100%;
    transform: scale(1.2);
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.1));
}

.download-header {
    margin-bottom: 3rem;
    position: relative;
}

.download-header h2 {
    color: #b86614;
    position: relative;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.download-header h2:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #e7a84d;
    border-radius: 2px;
}

.download-header .lead {
    margin-top: 2rem;
    color: #666;
}

.download-subheading {
    font-weight: 400;
    color: #666;
    font-size: 1.15rem;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

.download-subheading:before,
.download-subheading:after {
    content: '';
    position: absolute;
    top: 50%;
    width: 50px;
    height: 1px;
    background: linear-gradient(to right, rgba(231, 168, 77, 0.1), rgba(231, 168, 77, 0.5));
}

.download-subheading:before {
    right: calc(100% + 20px);
}

.download-subheading:after {
    left: calc(100% + 20px);
}

.download-note {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0.8rem 0;
    margin-top: 1rem;
    color: #666;
    font-size: 1.1rem;
    font-weight: 500;
    position: relative;
}

.download-note i {
    font-size: 1.2rem;
    color: #e7a84d;
}

.download-note:before,
.download-note:after {
    content: '';
    position: absolute;
    height: 2px;
    width: 60px;
    background: linear-gradient(to right, rgba(231, 168, 77, 0), rgba(231, 168, 77, 0.2), rgba(231, 168, 77, 0));
}

.download-note:before {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.download-note:after {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* Decorative circles */
.decoration-circle-orange {
    background: radial-gradient(circle, rgba(231, 168, 77, 0.15), rgba(231, 168, 77, 0.03));
    width: 400px;
    height: 400px;
    top: -150px;
    right: -150px;
    opacity: 0.7;
    position: absolute;
    max-width: 80%;
    max-height: 80%;
}

.decoration-circle-brown {
    background: radial-gradient(circle, rgba(184, 102, 20, 0.12), rgba(184, 102, 20, 0.02));
    width: 350px;
    height: 350px;
    bottom: -150px;
    left: -100px;
    opacity: 0.7;
    position: absolute;
    max-width: 80%;
    max-height: 80%;
}

.decoration-circle-top-right {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    opacity: 0.05;
    top: -100px;
    right: -50px;
    max-width: 50%;
    max-height: 50%;
}

.decoration-circle-bottom-left {
    position: absolute;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    opacity: 0.1;
    bottom: -70px;
    left: -70px;
    max-width: 50%;
    max-height: 50%;
}

/* App mockup */
.app-mockup-glow {
    position: absolute;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(255,184,0,0.1) 0%, rgba(255,255,255,0) 70%);
    top: 10%;
    left: 10%;
    z-index: 1;
}

.lottie-player {
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.1));
    max-width: 90%;
    margin: 0 auto;
}

/* App Screenshot Section */
.app-screenshots {
    position: relative;
    overflow: hidden;
}

.screenshot-mockup {
    position: relative;
    display: flex;
    justify-content: center;
}

.screenshot-text {
    max-width: 480px;
    margin-left: auto;
}

.screenshot-text h3 {
    margin-bottom: 1.5rem;
    color: #2d3436;
    font-weight: 700;
}

/* Phone mockup */
.phone-outline {
    position: relative;
    width: 280px;
    height: 580px;
    margin: 0 auto;
    background-color: #222;
    border-radius: 40px;
    padding: 60px 15px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.12);
    border: 8px solid #333;
}

.phone-screen {
    background-color: #fff;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    position: relative;
}

/* Crossfade effect for screenshots */
.screenshot-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s ease;
    padding: 20px;
    box-sizing: border-box;
}

.screenshot-container.active {
    opacity: 1;
    z-index: 2;
}

.screenshot-container.next {
    opacity: 0;
    z-index: 1;
}

.screenshot-container.fade-out {
    opacity: 0;
}

.screenshot-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100%;
    width: 100%;
}

.screenshot-image i {
    margin-bottom: 20px;
    display: block;
}

.screenshot-image .screenshot-text {
    font-weight: 600;
    font-size: 1.2rem;
    color: #2d3436;
    width: 100%;
    text-align: center;
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .screenshot-text {
        margin-left: 0;
        padding-left: 15px;
    }
    
    .feature-tabs .nav-item {
        margin: 0 5px;
    }
    
    .feature-tabs .nav-link {
        min-width: 100px;
    }
    
    .feature-icon-large {
        font-size: 6rem;
        width: 160px;
        height: 160px;
    }
}

@media (max-width: 767.98px) {
    .feature-content .d-flex {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .feature-badge {
        margin-top: 1rem;
        margin-left: 0 !important;
    }
    
    .screenshot-text {
        text-align: center;
        max-width: 100%;
        padding: 0 20px;
    }
    
    .feature-list {
        display: inline-block;
        text-align: left;
    }
    
    .feature-content-inner {
        padding: 2rem 1rem;
    }
    
    .feature-image {
        margin-bottom: 2rem;
    }
    
    .feature-icon-large {
        font-size: 5rem;
        width: 140px;
        height: 140px;
        margin-bottom: 0;
    }
    
    /* Mobile Tab Navigation Optimizations */
    
    /* Add padding to the outer container */
    .features-tabs-container {
        padding-left: 20px !important;
        padding-right: 20px !important;
        width: 100%;
        box-sizing: border-box;
    }
    
    /* Tab navigation bar */
    .feature-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
        justify-content: flex-start;
        padding-top: 15px;
        margin-bottom: 2rem; /* Restored original margin */
        position: relative;
        -webkit-overflow-scrolling: touch;
        display: flex;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        
        /* Hide scrollbars but keep functionality */
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE/Edge */
    }
    
    /* Hide scrollbar for WebKit browsers */
    .feature-tabs::-webkit-scrollbar {
        display: none;
        height: 0;
        width: 0;
    }
    
    /* Create a non-shrinkable space at the start of tabs */
    .feature-tabs::before {
        content: '';
        display: block;
        min-width: 15px;
        height: 1px;
        flex-shrink: 0;
    }
    
    /* Create a non-shrinkable space at the end of tabs */
    .feature-tabs::after {
        content: '';
        display: block;
        min-width: 15px;
        height: 1px;
        flex-shrink: 0;
    }
    
    /* Nav item styling */
    .feature-tabs .nav-item {
        flex: 0 0 auto;
        margin: 0 5px;
    }
    
    /* Add extra space between tabs */
    .feature-tabs .nav-item + .nav-item {
        margin-left: 8px;
    }
    
    /* Tab link styling */
    .feature-tabs .nav-link {
        min-width: 90px;
        padding: 12px 15px;
        text-align: center;
        border-radius: 6px;
    }
    
    .tab-icon {
        font-size: 1.2rem;
        height: 40px;
        width: 40px;
        margin-bottom: 8px;
    }
    
    .feature-content-inner {
        padding: 2rem 1.5rem;
    }
    
    .feature-tab-content {
        border-radius: 16px;
        min-height: auto;
    }
    
    .feature-image {
        margin-bottom: 1.5rem;
        padding: 0 1rem;
    }
    
    .feature-icon-large {
        font-size: 5rem;
        width: 140px;
        height: 140px;
        margin-bottom: 0;
    }
    
    .decoration-dots {
        width: 70px;
        height: 70px;
    }
    
    .feature-text h3 {
        font-size: 1.6rem;
        margin-bottom: 1rem;
        padding-bottom: 1rem;
        text-align: center;
    }
    
    .feature-text h3:after {
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
    }
    
    .feature-text p {
        font-size: 1rem;
        text-align: center;
        margin-bottom: 1.5rem;
    }
    
    .feature-benefits {
        padding: 0 10px;
    }
    
    .benefit-item {
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 576px) {
    .download-subheading:before,
    .download-subheading:after {
        display: none;
    }
    
    .feature-tabs .nav-link {
        min-width: 80px; /* Reduced min-width for very small screens */
        padding: 10px 5px; /* Adjusted padding */
    }
    
    .feature-tabs .nav-link span {
        font-size: 0.8rem; /* Smaller font for tab text */
    }
    
    .tab-icon {
        margin-bottom: 5px;
        height: 36px; /* Smaller tab icons */
        width: 36px;
    }
    
    .feature-content-inner {
        padding: 1.5rem 1rem; /* Reduced padding */
    }
    
    .feature-icon-large {
        width: 120px; /* Smaller large icons */
        height: 120px;
        font-size: 4rem;
    }
    
    .feature-text h3 {
        font-size: 1.4rem; /* Smaller heading text */
    }
    
    .icon-glow {
        filter: blur(8px); /* Adjusted blur for smaller icons */
    }
    
    .benefit-item i {
        width: 26px; /* Smaller benefit icons */
        height: 26px;
        font-size: 1rem;
    }
    
    .features-tabs-container:before,
    .features-tabs-container:after {
        /* Adjusted decorative elements for very small screens */
        width: 20px;
        height: 50px;
        top: 30px;
    }
}

.feature-icon {
    font-size: 3rem;
    color: #e7a84d;
    margin-bottom: 1.2rem;
    transition: all 0.3s ease;
}

.feature-card-tall:hover .feature-icon {
    transform: scale(1.15);
    color: #c17b00; /* Using specific hex for gold color variant */
}

/* Icon Glow Effect */
.icon-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(231, 168, 77, 0.4), rgba(231, 168, 77, 0.1) 50%, transparent 70%);
    border-radius: 50%;
    opacity: 0.7;
    filter: blur(10px);
    animation: glow 3s ease-in-out infinite alternate;
    z-index: -1;
}

@keyframes glow {
    0% {
        opacity: 0.5;
        filter: blur(10px);
    }
    100% {
        opacity: 0.8;
        filter: blur(15px);
    }
}

/* Decorative Dots */
.decoration-dots {
    position: absolute;
    width: 100px;
    height: 100px;
    z-index: 0;
}

.decoration-dots:before,
.decoration-dots:after {
    content: '';
    position: absolute;
    background-color: #e7a84d;
    border-radius: 50%;
    opacity: 0.2;
}

.decoration-dots:before {
    width: 8px;
    height: 8px;
    top: 10px;
    left: 10px;
}

.decoration-dots:after {
    width: 12px;
    height: 12px;
    top: 30px;
    left: 30px;
}

.decoration-dots.top-left {
    top: 20px;
    left: 0;
}

.decoration-dots.bottom-right {
    bottom: 20px;
    right: 0;
}

.decoration-dots.top-left:before {
    box-shadow: 15px 12px 0 rgba(231, 168, 77, 0.15), 
                20px 40px 0 rgba(231, 168, 77, 0.1),
                40px 5px 0 rgba(231, 168, 77, 0.2);
}

.decoration-dots.bottom-right:before {
    box-shadow: 25px -15px 0 rgba(231, 168, 77, 0.15), 
                40px -30px 0 rgba(231, 168, 77, 0.2),
                10px -40px 0 rgba(231, 168, 77, 0.1);
}

/* More comprehensive mobile navbar resets (from Bootstrap overrides) */
@media (max-width: 991.98px) {
    .navbar.navbar-expand-lg.navbar-dark .navbar-collapse.show {
        opacity: 1 !important;
        transform: translateX(0) !important;
        pointer-events: auto !important;
    }

    .navbar.navbar-expand-lg.navbar-dark .navbar-collapse {
        transition: opacity 0.3s ease, transform 0.3s ease !important; /* Keep !important for transition override if necessary */
        opacity: 0 !important;
        transform: translateX(100%) !important;
        pointer-events: none !important;
        z-index: 1025 !important; /* Ensure navbar is on top */
        display: flex !important; /* Ensure flex properties apply */
        flex-direction: column !important;
        justify-content: flex-start !important;
        align-items: center !important;
        /* position: fixed, top, left, right, bottom, width, height, background can be added here if needed for a full-screen overlay effect */
    }
}

/* Form specific styles */
.application-form {
    padding: 2rem;
}

.beta-signup-form {
    margin: 0 auto;
}

.beta-signup-form .form-label {
    font-weight: 500;
    color: #333;
    margin-bottom: 0.5rem;
}

.beta-signup-form .form-label i {
    color: #e7a84d;
    margin-right: 0.5rem;
    width: 20px;
    text-align: center;
}

/* Additional responsive styles */
@media (max-width: 767.98px) {
    /* Form padding adjustments - reduce padding to make contents wider */
    .application-form {
        padding: 1rem 0.75rem;
    }
    
    /* Make form header more compact with less padding */
    .application-header {
        padding: 0.75rem 0.75rem !important;
    }
    
    /* Reduce unnecessary margins in form fields */
    .beta-signup-form .mb-3 {
        padding-left: 0;
        padding-right: 0;
    }
    
    /* Make inputs use full width with minimal side padding */
    .beta-signup-form input,
    .beta-signup-form select,
    .beta-signup-form textarea {
        padding-left: 0.6rem;
        padding-right: 0.6rem;
        width: 100%;
        max-width: 100%;
    }
    
    /* Adjust submit button for full width with proper padding */
    .beta-signup-form .btn-lg {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
        padding-top: 0.8rem;
        padding-bottom: 0.8rem;
        border-radius: 8px;
        width: 100%;
    }
    
    /* Make form header more compact */
    .application-header h3 {
        font-size: 1.5rem !important;
        margin-bottom: 0 !important;
    }
    
    /* Form fields alignment fixes */
    .beta-signup-form .form-label {
        display: flex;
        align-items: center;
        font-size: 0.95rem;
        margin-bottom: 0.5rem;
        line-height: 1.2;
    }
    
    .beta-signup-form .form-label i {
        font-size: 1rem;
        margin-right: 0.5rem;
        width: 18px;
        display: inline-flex;
        justify-content: center;
        align-items: center;
    }
    
    /* Badge positioning fix */
    .badge.bg-gold {
        font-size: 0.65rem;
        padding: 0.25rem 0.45rem;
        margin-left: 0.5rem !important;
        line-height: 1;
        vertical-align: middle;
    }
    
    /* Input fields consistent styling */
    .beta-signup-form input,
    .beta-signup-form select,
    .beta-signup-form textarea {
        font-size: 16px !important; /* Prevents iOS zoom on focus */
        padding: 0.6rem 0.75rem;
        width: 100%;
        border-radius: 8px;
        height: auto;
        line-height: 1.5;
    }
    
    /* Checkbox alignment fix */
    .beta-signup-form .form-check {
        padding-left: 1.8rem;
        margin-top: 0.75rem;
        margin-bottom: 1.25rem;
    }
    
    .beta-signup-form .form-check-input {
        margin-left: -1.8rem;
        margin-top: 0.25rem;
        width: 1.2rem;
        height: 1.2rem;
    }
    
    .beta-signup-form .form-check-label {
        font-size: 0.95rem;
        line-height: 1.4;
        padding-top: 0.125rem;
    }
    
    /* Help text spacing and alignment */
    .beta-signup-form .form-text,
    .beta-signup-form small {
        font-size: 0.8rem;
        line-height: 1.4;
        display: block;
        margin-top: 0.4rem;
        color: #6c757d;
    }
    
    /* Improve spacing for form elements */
    .beta-signup-form .mb-3 {
        margin-bottom: 1.25rem !important;
    }
    
    /* Input group for city field */
    .beta-signup-form .input-group {
        flex-wrap: nowrap;
    }
    
    .beta-signup-form .input-group > .form-control {
        width: 1%;
        flex: 1 1 auto;
    }
    
    /* Improve field icon alignment */
    .beta-signup-form .form-label i.fas {
        width: 24px;
        height: 24px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-right: 0.5rem;
        color: #e7a84d;
    }
    
    /* Improve field spacing and consistency */
    .beta-signup-form .mb-3 {
        margin-bottom: 1.5rem !important;
    }
    
    .beta-signup-form .mb-3:last-of-type {
        margin-bottom: 2rem !important;
    }
    
    /* Special styling for the OS auto-detected badge */
    .beta-signup-form label[for] .badge.bg-gold {
        position: relative;
        top: -1px;
    }
    
    /* Ensure good spacing below labels */
    .beta-signup-form label {
        margin-bottom: 0.5rem;
    }
    
    /* Ensure good spacing below help text */
    .beta-signup-form .form-text {
        margin-bottom: 0.25rem;
    }
} 