:root {
    --pcolor: #2f4f82;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
}

a {
    color: #666;
    text-decoration: none;
}

button {
    cursor: pointer;
}

input[type="checkbox"],
input[type="radio"] {
    accent-color: black;
}

.accordion-icon.rotate-180 {
    transform: rotate(180deg);
}

.accordion-content {
    transition: max-height 0.3s ease-in-out, opacity 0.2s ease;
    opacity: 0;
}

.accordion-content[style*="max-height: 0px"] {
    opacity: 0;
}

.accordion-content[style*="max-height"]:not([style*="max-height: 0px"]) {
    opacity: 1;
}

.vertical-fab {
    position: fixed;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
}

.vertical-fab button {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    padding: 16px 3px 16px 2px;
    background: linear-gradient(to bottom, var(--pcolor), #231f20);
    color: white;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 400;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    font-size: 10px;
}

.vertical-fab button span {
    transform: rotate(180deg);
    display: inline-block;
}

.choose-model-btn {
    padding: 6px 12px;
    font-size: 14px;
    font-weight: 500;
}

.scroll-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--pcolor);
    color: white;
    border: 4px solid #fff;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-to-top-btn.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top-btn:hover {
    background: var(--pcolor);
    transform: translateY(-2px);
}

.border-red-500 {
    border-color: var(--pcolor);
}

.border-green-500 {
    border-color: #10b981 !important;
}

.error-message {
    color: var(--pcolor);
    font-size: 0.75rem;
    margin-top: 0.25rem;
}

.sticky-top {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 99999999;
}

.text-nowrap {
    white-space: nowrap;
}

.price-card-mobile-view {
    display: none;
}


@media (max-width: 768px) {
    .price-card-mobile-view {
        display: block;
    }

    .hero-title {
        font-size: 26px;
    }

    .hero-subtilte {
        font-size: 15px;
    }

    .heor-section button {
        font-size: 14px;
        padding: 6px 20px !important;
        height: auto !important;
    }

    .hero-img {
        height: 100vh;
        object-fit: cover;
    }
}


/* --- Modal background --- */
.modal {
    display: none;
    position: fixed;
    z-index: 99999999999;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity .3s ease;
}

.modal.show {
    display: flex;
    opacity: 1;
}

/* --- Modal Box --- */
.modal-content {
    background: #fff;
    border-radius: 12px;
    padding: 25px 30px;
    width: 400px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    transform: translateY(-30px);
    transition: transform .3s ease, opacity .3s ease;
    position: relative;
}

.modal.show .modal-content {
    transform: translateY(0);
    opacity: 1;
}

/* --- Title & Text --- */
.modal-title {
    margin: 0;
    font-size: 22px;
    color: #1e3a8a;
    /* deep blue like header */
}

.modal-subtitle {
    margin: 5px 0 20px;
    color: #555;
    font-size: 14px;
}

/* --- Close Button --- */
.close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    color: #555;
    cursor: pointer;
    transition: color .2s;
}

.close:hover {
    color: #000;
}

/* --- Form Elements --- */
.form-group {
    margin-bottom: 15px;
    position: relative;
}

label {
    display: block;
    font-size: 14px;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
}

input,
textarea {
    width: 100%;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
}

input.error,
textarea.error {
    border-color: #c62828;
}

input:focus,
textarea:focus {
    border-color: #1e3a8a;
    box-shadow: 0 0 0 2px rgba(30, 58, 138, 0.2);
}

/* --- Submit Button --- */
.btn-submit {
    width: 100%;
    padding: 12px;
    background: #1e3a8a;
    color: #fff;
    font-size: 15px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background .2s ease;
}

.btn-submit:hover {
    background: #0f2454;
}

/* Response message */
.response {
    margin-top: 10px;
    font-size: 14px;
    color: green;
}

/* Error alert styling */
.error-alert {
    background-color: #ffebee;
    color: #c62828;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 15px;
    border-left: 4px solid #c62828;
    font-size: 14px;
}

/* Error message styling */
.error-message {
    color: #c62828;
    font-size: 12px;
    margin-top: 5px;
    display: none;
}

/* Captcha styling */
.captcha-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.captcha-question {
    background: #f0f0f0;
    padding: 7px 12px;
    border-radius: 6px;
    font-weight: bold;
    width: auto;
    white-space: nowrap;
}


/*=========*/

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: white;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #666;
    margin-bottom: 10px;
}

.top-left {
    display: flex;
    gap: 20px;
}

.nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

.nav-menu a:hover {
    color: #ff6b35;
}

.cta-btn {
    background: #ff6b35;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
}

/* Hamburger Menu (Mobile Only) */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background: #333;
    border-radius: 10px;
    transition: all 0.3s linear;
    position: relative;
    transform-origin: center;
}

/* Hamburger Animation when active */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -8px);
}

/* Mobile Navigation */
@media (max-width: 768px) {

    .modal-content {
        width: 95% !important;
    }

    .top-bar {
        flex-direction: column;
        gap: 10px;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        transition: right 0.3s ease-in-out;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        z-index: 5;
    }

    .nav-menu.active {
        right: 0;
    }

    .cta-btn {
        display: none;
    }
}

/* Hero Section (for demo purposes) */
.hero {
    height: 500px;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}


/* ====== PROFESSIONAL NAVIGATION STYLES ====== */

/* Update existing header styles */
.header {
    background: #ffffff;
    padding: 0;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}


/* Navigation Bar */
.nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    position: relative;
}

.logo {
    font-size: 26px;
    font-weight: 700;
    color: #2f4f82;
    letter-spacing: -0.5px;
    z-index: 11;
}

/* Desktop Navigation Enhancement */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    font-size: 15px;
    position: relative;
    transition: color 0.2s ease;
}

.nav-menu .menu-item {
    padding: 8px 0 !important;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: #2f4f82;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-menu a:hover {
    color: #2f4f82;
}

.nav-menu a:hover::after {
    width: 100%;
}

/* CTA Button Enhancement */
.cta-btn {
    background: #2f4f82;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    letter-spacing: 0.3px;
}

.cta-btn:hover {
    background: #1e3a5f;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(47, 79, 130, 0.3);
}

/* Professional Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 11;
    position: relative;
}

.hamburger span {
    width: 100%;
    height: 2px;
    background: #374151;
    border-radius: 1px;
    transition: all 0.25s ease-in-out;
    position: absolute;
    left: 0;
}

.hamburger span:nth-child(1) {
    top: 5px;
}

.hamburger span:nth-child(2) {
    top: 11px;
}

.hamburger span:nth-child(3) {
    top: 17px;
}

/* Hamburger Animation */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 11px;
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg);
    top: 11px;
}

/* Mobile Navigation Overlay */
.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 9;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.nav-overlay.active {
    opacity: 1;
}

/* Mobile CTA Button */
.mobile-cta {
    display: none;
    margin: 30px 32px 0;
    padding: 16px 24px;
    background: #2f4f82;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
    width: calc(100% - 64px);
}

.mobile-cta:hover {
    background: #1e3a5f;
}

/* ====== MOBILE RESPONSIVE STYLES ====== */
@media (max-width: 768px) {

    /* Hide top bar on mobile */
    .top-bar {
        display: none !important;
    }

    .nav-bar {
        padding: 12px 0;
    }

    .logo {
        font-size: 22px;
    }

    /* Show hamburger on mobile */
    .hamburger {
        display: flex;
    }

    /* Professional Mobile Navigation */
    .nav-menu {
        position: fixed;
        top: 83px;
        right: -100%;
        width: 320px;
        height: 100vh;
        background: #ffffff;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        transition: right 0.25s ease-in-out;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        z-index: 10;
        border-left: 1px solid #e5e7eb;
        overflow-y: auto;
    }

    .nav-menu.active {
        right: 0;
        display: flex;
    }

    .nav-menu a {
        color: #374151;
        font-size: 16px;
        font-weight: 500;
        padding: 18px 32px;
        border-bottom: 1px solid #f3f4f6;
        transition: all 0.2s ease;
        background: transparent;
        position: relative;
    }

    .nav-menu a:hover {
        color: #2f4f82;
        background: #f8fafc;
        padding-left: 40px;
    }

    .nav-menu a::after {
        display: none;
    }

    .nav-menu a::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 0;
        background: #2f4f82;
        transition: width 0.2s ease;
    }

    .nav-menu a:hover::before {
        width: 4px;
    }

    /* Show mobile CTA */
    .mobile-cta {
        display: block;
    }

    /* Hide desktop CTA */
    .cta-btn {
        display: none;
    }
}

/* Tablet Styles */
@media (max-width: 1024px) and (min-width: 769px) {
    .nav-menu {
        gap: 25px;
    }

    .cta-btn {
        padding: 10px 20px;
        font-size: 13px;
    }
}

/* Prevent body scroll when mobile menu is open */
body.nav-open {
    overflow: hidden;
}

/* Smooth transitions for all interactive elements */
* {
    -webkit-tap-highlight-color: transparent;
}

button,
a {
    touch-action: manipulation;
}