@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&family=Open+Sans:wght@400;600&display=swap');

/* Page Transition Loader */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #FFFFFF;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-line {
    position: absolute;
    top: 50%;
    left: -100%;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent 0%, #D6A15B 20%, #B8884A 50%, #D6A15B 80%, transparent 100%);
    transform: translateY(-50%);
    animation: zipLine 0.8s ease-in-out forwards;
    box-shadow: 0 0 20px rgba(214, 161, 91, 0.6);
}

@keyframes zipLine {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

:root {
    --og-bg: #000000;
    --og-card-bg: #111111;
    --og-orange: #D6A15B;
    --og-text: #ffffff;
    --og-text-muted: #888888;
    --og-font: 'Poppins', sans-serif;
}

body {
    background-color: var(--og-bg);
    color: var(--og-text);
    font-family: var(--og-font);
    margin: 0;
    line-height: 1.4;
    overflow-x: hidden;
}

/* Remove blue outline on focus */
*:focus {
    outline: none !important;
}

#rotating-text {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

#rotating-text:focus {
    outline: none !important;
}

/* White background overrides for specific pages */
.main-container:has(.login-hero-section),
.main-container:has(.login-hero-section) ~ *,
.main-container:has(.register-page-wrapper),
body:has(.login-hero-section),
body:has(.register-page-wrapper),
body:has([style*="background: #FFFFFF"]) {
    background: #FFFFFF !important;
    background-color: #FFFFFF !important;
}

/* Override Bootstrap focus states on register page */
.register-page-wrapper .form-control:focus,
.register-page-wrapper .form-select:focus,
.register-page-wrapper input:focus,
.register-page-wrapper select:focus,
.register-page-wrapper textarea:focus {
    border-color: #D6A15B !important;
    box-shadow: 0 0 0 0.25rem rgba(214, 161, 91, 0.25) !important;
    background-color: #EEEEEE !important;
    outline: 0 !important;
}

.register-page-wrapper .form-control,
.register-page-wrapper .form-select,
.register-page-wrapper input,
.register-page-wrapper select,
.register-page-wrapper textarea {
    background-color: #DDDDDD !important;
    border-color: #CCCCCC !important;
}

.text-orange {
    color: var(--og-orange) !important;
}

/* Header Styling */
.navbar-header {
    background: #173A2B;
    transition: all 0.4s ease;
    padding: 8px 0;
    z-index: 1030;
}

.navbar-header.scrolled {
    background: rgba(19, 22, 30, 0.3);
    backdrop-filter: blur(10px);
}

.nav-link {
    transition: color 0.2s ease;
    letter-spacing: 0.5px;
    font-size: 0.95rem;
    font-weight: 300 !important;
    color: white !important;
}

.nav-link:hover {
    color: var(--og-orange) !important;
}

.btn-customer-login-solid {
    background: linear-gradient(135deg, #D6A15B 0%, #B8884A 100%) !important;
    color: white !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 14px 35px !important;
    font-size: 0.9rem !important;
    font-weight: 800 !important;
    display: inline-block;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(214, 161, 91, 0.3) !important;
    transition: all 0.3s ease !important;
}

.btn-customer-login-solid:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 15px 40px rgba(214, 161, 91, 0.5) !important;
}

/* Hero Section */
.hero-title-large {
    font-size: clamp(1rem, 4vw, 3.5rem);
    font-family: "Inter";
    font-weight: 400 !important;
    line-height: 1.1;
    color: white !important;
    border: none !important;
    outline: none !important;
    background: transparent !important;
    text-shadow: none !important;
    -webkit-text-stroke: 0px transparent !important;
    margin-bottom: 25px;
}

.hero-subtitle-large {
    font-size: clamp(1.5rem, 2vw, 2.2rem);
    font-weight: 400;
    color: white;
}

.btn-learn-more { 
    background: transparent !important; 
    color: white !important; 
    border: 2px solid white !important; 
    border-radius: 50px !important; 
    padding: 15px 45px !important; 
    font-weight: 700 !important;
    text-decoration: none;
}

.btn-learn-more:hover { 
    background: white !important; 
    color: black !important; 
}

/* Hero & Video */
.hero-section-main {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.video-background-wrapper {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
}

.video-bg {
    width: 100%; height: 100%; object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.4);
}

/* Feature & Footer */
.feature-card {
    background-color: var(--og-card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 25px;
    padding: 40px;
    height: 100%;
}

.btn-orange-og {
    background-color: var(--og-orange) !important;
    color: white !important;
    border-radius: 50px !important;
    padding: 15px 45px !important;
    font-weight: 700 !important;
    display: inline-block;
    text-decoration: none;
}

/* Sections after video - white background */
.lock-divider {
    background-color: #FFFFFF !important;
}

.about-section {
    background-color: #FFFFFF !important;
}

/* Ensure all content after hero section has white background */
.hero-section-main ~ * {
    background-color: #FFFFFF !important;
}

/* Override for footer to keep its specific color */
.footer {
    background-color: #173A2B !important;
}

.about-section .section-title {
    color: #000000 !important;
}

.about-section .text-secondary {
    color: #666666 !important;
}

.about-section .text-white {
    color: #000000 !important;
}

/* Pricing Page Specific Styles */
.pricing-hero-section {
    background: #FFFFFF;
    min-height: 70vh;
    color: #000000;
}

.pricing-hero-section .text-white {
    color: #000000 !important;
}

.pricing-hero-section .text-secondary {
    color: #666666 !important;
}

.section-tag {
    position: relative;
    display: inline-block;
}

.orange-underline {
    height: 3px;
    width: 60px;
    background-color: var(--og-orange);
    margin-top: 5px;
}

.image-placeholder {
    min-height: 400px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px dashed rgba(255, 255, 255, 0.2);
    border-radius: 15px;
}

.placeholder-box {
    width: 300px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin-bottom: 10px;
}

.pricing-packages-section {
    background: #173A2B;
    color: #FFFFFF;
}

.packages-header {
    position: relative;
    display: inline-block;
    margin-bottom: 30px;
}

.orange-line-top, .orange-line-bottom {
    height: 2px;
    width: 300px;
    background-color: var(--og-orange);
    margin: 0 auto;
}

.orange-line-top {
    margin-bottom: 15px;
}

.orange-line-bottom {
    margin-top: 15px;
}

.packages-title {
    color: #FFFFFF !important;
    font-size: 1.5rem;
    letter-spacing: 2px;
    margin: 0;
}

.pricing-packages-section h2 {
    color: #FFFFFF !important;
}

.pricing-packages-section h3 {
    color: #FFFFFF !important;
}

.pricing-packages-section p {
    color: #CCCCCC !important;
}

/* Dark Pricing Cards */
.pricing-card-dark {
    background-color: #1e2329 !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #FFFFFF !important;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card-dark:hover,
.pricing-card-dark.hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    border-color: rgba(214, 161, 91, 0.3) !important;
}

.pricing-card-dark.selected {
    border: 2px solid var(--og-orange) !important;
    transform: scale(1.02);
    box-shadow: 0 15px 35px rgba(214, 161, 91, 0.3);
    z-index: 2;
}

.pricing-card-dark.selected::before {
    content: "✓ SELECTED";
    position: absolute;
    top: -10px;
    right: -10px;
    background: var(--og-orange);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: bold;
    letter-spacing: 1px;
}

.pricing-card-dark.coming-soon {
    filter: blur(2px);
    opacity: 0.6;
    pointer-events: none;
    position: relative;
}

.pricing-card-dark.coming-soon::after {
    content: "COMING SOON";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(214, 161, 91, 0.9);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: bold;
    font-size: 14px;
    z-index: 10;
    filter: blur(0);
    letter-spacing: 1px;
}

.pricing-card-dark.selected .package-icon {
    background-color: var(--og-orange);
    box-shadow: 0 0 20px rgba(214, 161, 91, 0.5);
}

.package-icon {
    background-color: var(--og-orange);
    border-radius: 15px;
    width: 80px;
    height: 60px;
    margin: 0 auto 20px auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.package-name {
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
}

.pricing-packages-section .plan-title {
    color: #FFFFFF !important;
}

.pricing-packages-section .text-secondary {
    color: #888888 !important;
}

.feature-list-dark {
    list-style: none;
    padding: 0;
    text-align: left;
}

.feature-list-dark li {
    color: #FFFFFF !important;
    padding: 8px 0;
    font-size: 0.9rem;
}

/* Override white background styles for packages section */
.pricing-packages-section .pricing-card {
    background-color: #1e2329 !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #FFFFFF !important;
}

.pricing-packages-section .feature-card {
    background-color: #1e2329 !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #FFFFFF !important;
}

.pricing-packages-section .text-white {
    color: #FFFFFF !important;
}

/* Prevent thin white edge on mobile by ensuring no horizontal overflow
   and a consistent dark background for the page. */
html, body {
    background: #173A2B !important;
    overflow-x: hidden !important;
}

/* Ensure hero video covers full width without creating seams */
.video-background-wrapper, .video-bg {
    width: 100% !important;
    display: block !important;
    box-sizing: border-box !important;
}

/* Make sure no element draws a white border on the right */
* { box-sizing: border-box; }

.pricing-packages-section .feature-list li {
    color: #FFFFFF !important;
}

.pricing-packages-section .tick {
    color: #28a745 !important;
}

.pricing-packages-section .popular {
    border: 2px solid var(--og-orange) !important;
}

.pricing-packages-section .popular-badge {
    background: var(--og-orange) !important;
    color: white !important;
}

.price-display {
    margin: 20px 0;
}

.price-currency {
    font-size: 1.5rem;
    color: var(--og-orange);
    font-weight: bold;
}

.price-amount {
    font-size: 3rem;
    color: var(--og-orange);
    font-weight: bold;
}

.price-period {
    font-size: 1.2rem;
    color: #666666;
}

.testimonials-section {
    background: #173A2B;
}

.testimonial-card {
    background: linear-gradient(135deg, #D6A15B 0%, #B8884A 100%) !important;
    border: none !important;
    color: white !important;
    box-shadow: 0 10px 30px rgba(214, 161, 91, 0.4) !important;
    transition: all 0.3s ease !important;
}

.testimonial-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 15px 40px rgba(214, 161, 91, 0.6) !important;
}

.testimonial-card .text-secondary {
    color: rgba(255, 255, 255, 0.95) !important;
}

.testimonial-card .text-white {
    color: white !important;
    font-weight: 600 !important;
}

.testimonial-card blockquote {
    color: white !important;
    line-height: 1.7 !important;
    font-size: 1rem !important;
}

/* Testimonial Carousel */
.testimonial-carousel-container {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.testimonial-carousel {
    display: flex;
    width: 300%; /* 3 slides = 300% */
    transition: transform 0.6s ease-in-out;
}

.testimonial-slide {
    width: 33.333%; /* Each slide takes 1/3 of the carousel width */
    flex-shrink: 0;
    opacity: 1;
}

.testimonial-slide.active {
    opacity: 1;
}

.testimonial-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.carousel-btn {
    background: var(--og-orange);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-btn:hover {
    background: #e6751a;
    transform: scale(1.1);
}

.carousel-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.carousel-indicators {
    display: flex;
    gap: 10px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active,
.indicator:hover {
    background: var(--og-orange);
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .testimonial-nav {
        gap: 15px;
        margin-top: 20px;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .indicator {
        width: 10px;
        height: 10px;
    }
}

.faq-section {
    background: #FFFFFF;
    color: #000000;
}

.faq-title-section {
    position: sticky;
    top: 100px;
    padding-right: 2rem;
}

.faq-title-section .section-tag {
    position: relative;
    display: inline-block;
}

.faq-title-section .orange-underline {
    height: 3px;
    width: 60px;
    background-color: var(--og-orange);
    margin-top: 5px;
}

.faq-accordion {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid #eee;
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #fff;
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border-color: var(--og-orange);
}

.faq-header {
    display: flex;
    align-items: center;
    padding: 24px;
    cursor: pointer;
    user-select: none;
    background: #fff;
    transition: all 0.3s ease;
    position: relative;
}

.faq-header:hover {
    background: #fafafa;
}

.faq-number {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #D6A15B 0%, #B8884A 100%);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    margin-right: 20px;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(214, 161, 91, 0.3);
}

.faq-title {
    flex: 1;
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.faq-icon {
    width: 32px;
    height: 32px;
    border: 2px solid #D6A15B;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    color: #D6A15B;
    transition: all 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    background: linear-gradient(135deg, #D6A15B 0%, #B8884A 100%);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(214, 161, 91, 0.3);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background: #f8f9fa;
}

.faq-item.active .faq-content {
    max-height: 800px;
}

.faq-content-inner {
    padding: 0 24px 24px 92px;
}

.faq-question {
    margin-bottom: 20px;
}

.faq-question:last-child {
    margin-bottom: 0;
}

.faq-question strong {
    display: block;
    color: #333333 !important;
    margin-bottom: 8px;
    font-size: 16px;
    line-height: 1.4;
}

.faq-question p {
    color: #666666 !important;
    line-height: 1.6;
    margin: 0;
    font-size: 15px;
}

/* Override any white text in FAQ section */
#faq .faq-title,
#faq .faq-number,
#faq .faq-icon,
#faq .faq-question,
#faq .faq-question strong,
#faq .faq-question p {
    color: #333333 !important;
}

#faq .faq-header {
    color: #333333 !important;
}

#faq .text-white {
    color: #333333 !important;
}

@media (max-width: 991px) {
    .faq-title-section {
        position: static;
        text-align: center;
        padding-right: 0;
        margin-bottom: 2rem;
    }
    
    .faq-content-inner {
        padding: 0 20px 20px 20px;
    }
    
    .faq-header {
        padding: 20px;
    }
    
    .faq-number {
        width: 40px;
        height: 40px;
        margin-right: 16px;
        font-size: 13px;
    }
    
    .faq-title {
        font-size: 16px;
    }
    
    .faq-icon {
        width: 28px;
        height: 28px;
        font-size: 16px;
    }
}

.footer {
    background-color: #173A2B;
}

/* Footer Styles */
.footer-logo .bg-warning {
    background-color: var(--og-orange) !important;
}

.footer-link:hover {
    color: var(--og-orange) !important;
    transition: color 0.3s ease;
}

.footer-social-icons a {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: var(--og-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white !important;
    transition: all 0.3s ease;
}

.footer-social-icons a:hover {
    background-color: #e6751a;
    transform: translateY(-2px);
}

.footer-contact i {
    width: 20px;
}

@media (max-width: 991px) {
    .footer .col-lg-4 {
        text-align: center !important;
        margin-bottom: 2rem;
    }
    
    .footer .col-lg-4:last-child {
        margin-bottom: 1rem;
    }
    
    .footer-contact .d-flex {
        justify-content: center;
    }
}

/* Hide Blazor Error UI */
#blazor-error-ui {
    display: none !important;
}

/* Forms */
.form-control {
    background-color: #111 !important;
    border: 1px solid #333 !important;
    color: white !important;
    border-radius: 10px !important;
}

.form-control:focus {
    border-color: var(--og-orange) !important;
    background-color: #1a1a1a !important;
}

/* Custom Scrollbar Styles */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(214, 161, 91, 0.2);
    border-radius: 10px;
    transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(214, 161, 91, 0.5);
}

/* For Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: rgba(214, 161, 91, 0.2) transparent;
}

@media (max-width: 768px) {
    .hero-title-large { font-size: 3rem; }
    .navbar-header { background-color: black !important; }
