@font-face {
        font-family: 'Vazir';
        src: url('/fonts/pico.TTF') format('woff2');
        font-weight: normal;
        font-style: normal;
    }



    :root {
        --primary: #10ea22;
        --primary-dark: #086c38;
        --secondary: rgb(78, 31, 3);
        --dark: rgb(44, 23, 0);
        --light: #daf5c5;
        --gray: #968a7a;
        --gray-dark: #394f37;
    }

    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        font-family: 'Vazir';
    }

    body {
        background-color: var(--dark);
        color: var(--light);
        overflow-x: hidden;
        scrollbar-width: thin;
        scrollbar-color: var(--primary) var(--light);
    }

    /* Webkit (Chrome, Edge, Safari) */
    body::-webkit-scrollbar {
        width: 10px;
    }

    body::-webkit-scrollbar-track {
        background: var(--light);
        border-radius: 10px;
    }

    body::-webkit-scrollbar-thumb {
        background: var(--primary);
        border-radius: 10px;
    }

    body::-webkit-scrollbar-thumb:hover {
        background: var(--primary-dark);
    }

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

    /* Utility Classes */
    .btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 12px 24px;
        border-radius: 50px;
        font-weight: bold;
        cursor: pointer;
        text-decoration: none;
        transition: all 0.3s ease;
        border: none;
        outline: none;
    }

    .btn-primary {
        background-color: var(--primary);
        color: var(--dark);
    }

    .btn-primary:hover {
        background-color: var(--primary-dark);
    }

    .btn-outline {
        background-color: transparent;
        color: var(--light);
        border: 1px solid var(--light);
    }

    .btn-outline:hover {
        background-color: var(--light);
        color: var(--dark);
    }

    .btn-sm {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    .section {
        padding: 80px 0;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 40px;
        text-align: center;
    }

    /* Custom Styles */
    .booking-section {
        min-height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
        background-image: url('/IMG_7911.webp');
        background-size: cover;
        background-position: center;
        position: relative;
    }

    .booking-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(44, 23, 0, 0.7);
        backdrop-filter: blur(5px);
    }

    .booking-container {
        position: relative;
        z-index: 1;
        width: 100%;
        max-width: 900px;
        margin: 40px auto;
    }

    .booking-form-wrapper {
        background: rgba(44, 23, 0, 0.8);
        border-radius: 20px;
        overflow: hidden;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.1);
        padding: 40px;
        position: relative;
    }

    .form-header {
        text-align: center;
        margin-bottom: 30px;
    }

    .logo-container {
        width: 120px;
        height: 120px;
        margin: 0 auto 20px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
        border: 2px solid var(--primary);
        overflow: hidden;
    }

    .logo-container img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }

    .form-title {
        font-size: 2.2rem;
        color: var(--light);
        margin-bottom: 10px;
        font-weight: bold;
    }

    .form-subtitle {
        color: var(--gray);
        font-size: 1rem;
    }

    .booking-form {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 25px;
    }

    .form-group {
        position: relative;
    }

    .form-group.full-width {
        grid-column: span 2;
    }

    .form-label {
        display: block;
        margin-bottom: 8px;
        font-weight: bold;
        color: var(--light);
    }

    .form-control {
        width: 100%;
        padding: 15px 20px;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        color: var(--light);
        font-size: 1rem;
        transition: all 0.3s ease;
        outline: none;
    }

    .form-control:focus {
        border-color: var(--primary);
        background: rgba(255, 255, 255, 0.1);
        box-shadow: 0 0 0 3px rgba(16, 234, 34, 0.2);
    }

    .form-control::placeholder {
        color: var(--gray);
    }

    .form-select {
        appearance: none;
        padding-right: 40px;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23daf5c5' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: left 15px center;
        background-size: 16px;
    }

    .participant-counter {
        display: flex;
        align-items: center;
        justify-content: space-between;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 12px;
        padding: 10px 15px;
    }

    .counter-btn {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.1);
        border: none;
        color: var(--light);
        font-size: 1.2rem;
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .counter-btn:hover {
        background: var(--primary);
        color: var(--dark);
    }

    .counter-value {
        font-size: 1.2rem;
        font-weight: bold;
        min-width: 40px;
        text-align: center;
    }

    .package-options {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    .package-option {
        position: relative;
    }

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

    .package-label {
        display: block;
        padding: 20px;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 12px;
        text-align: center;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .package-label:hover {
        background: rgba(255, 255, 255, 0.1);
    }

    .package-input:checked+.package-label {
        border-color: var(--primary);
        background: rgba(16, 234, 34, 0.1);
    }

    .package-name {
        font-weight: bold;
        margin-bottom: 5px;
        color: var(--light);
    }

    .package-price {
        color: var(--primary);
        font-size: 1.2rem;
        font-weight: bold;
    }

    .package-description {
        font-size: 0.9rem;
        color: var(--gray);
        margin-top: 8px;
    }

    .form-footer {
        margin-top: 30px;
        text-align: center;
        grid-column: span 2;
    }

    .submit-btn {
        padding: 15px 40px;
        font-size: 1.1rem;
        background: var(--primary);
        color: var(--dark);
        border: none;
        border-radius: 50px;
        cursor: pointer;
        transition: all 0.3s ease;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        font-weight: bold;
        box-shadow: 0 8px 15px rgba(16, 234, 34, 0.3);
    }

    .submit-btn:hover {
        background: var(--primary-dark);
        transform: translateY(-3px);
        box-shadow: 0 12px 20px rgba(16, 234, 34, 0.4);
    }

    .submit-btn:active {
        transform: translateY(0);
        box-shadow: 0 5px 10px rgba(16, 234, 34, 0.2);
    }

    .form-note {
        margin-top: 15px;
        color: var(--gray);
        font-size: 0.9rem;
    }

    /* Decorative elements */
    .decorative-leaf {
        position: absolute;
        width: 150px;
        height: 150px;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2310ea22' opacity='0.1'%3E%3Cpath d='M17.6,11.4c-2.8,0-5-2.2-5-5s-2.2-5-5-5s-5,2.2-5,5c0,0.6,0.1,1.2,0.3,1.7c0.1-0.1,0.3-0.1,0.4-0.2c1.3-0.7,2.8-1,4.3-1c2.2,0,4.2,0.8,5.7,2.3c1.5,1.5,2.3,3.5,2.3,5.7c0,1.5-0.4,3-1,4.3c-0.1,0.1-0.1,0.3-0.2,0.4c0.5,0.2,1.1,0.3,1.7,0.3c2.8,0,5-2.2,5-5S20.3,11.4,17.6,11.4z'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-size: contain;
        z-index: -1;
    }

    .leaf-1 {
        top: -50px;
        right: -50px;
        transform: rotate(45deg);
    }

    .leaf-2 {
        bottom: -50px;
        left: -50px;
        transform: rotate(225deg);
    }

    /* Animation classes */
    .fade-in {
        animation: fadeIn 0.8s ease-in-out forwards;
    }

    .slide-up {
        animation: slideUp 0.8s ease-in-out forwards;
    }

    .slide-right {
        animation: slideRight 0.8s ease-in-out forwards;
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
        }

        to {
            opacity: 1;
        }
    }

    @keyframes slideUp {
        from {
            transform: translateY(50px);
            opacity: 0;
        }

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

    @keyframes slideRight {
        from {
            transform: translateX(-50px);
            opacity: 0;
        }

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

    /* Form validation styles */
    .form-control.is-invalid {
        border-color: #ff4d4d;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23ff4d4d' viewBox='0 0 16 16'%3E%3Cpath d='M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z'/%3E%3Cpath d='M7.002 11a1 1 0 1 1 2 0 1 1 0 0 1-2 0zM7.1 4.995a.905.905 0 1 1 1.8 0l-.35 3.507a.552.552 0 0 1-1.1 0L7.1 4.995z'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: left 15px center;
        background-size: 16px;
        padding-left: 45px;
    }

    .invalid-feedback {
        display: none;
        color: #ff4d4d;
        font-size: 0.85rem;
        margin-top: 5px;
    }

    .is-invalid~.invalid-feedback {
        display: block;
    }

    /* Loading animation */
    .loading {
        display: none;
        position: relative;
        width: 30px;
        height: 30px;
    }

    .loading div {
        box-sizing: border-box;
        display: block;
        position: absolute;
        width: 24px;
        height: 24px;
        margin: 3px;
        border: 3px solid var(--dark);
        border-radius: 50%;
        animation: loading 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
        border-color: var(--dark) transparent transparent transparent;
    }

    .loading div:nth-child(1) {
        animation-delay: -0.45s;
    }

    .loading div:nth-child(2) {
        animation-delay: -0.3s;
    }

    .loading div:nth-child(3) {
        animation-delay: -0.15s;
    }

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

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

    .form-submitted .submit-btn-text {
        display: none;
    }

    .form-submitted .loading {
        display: inline-block;
    }

    /* Success message */
    .success-message {
        display: none;
        text-align: center;
        padding: 40px;
    }

    .success-icon {
        font-size: 5rem;
        color: var(--primary);
        margin-bottom: 20px;
    }

    .success-title {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .success-text {
        font-size: 1.1rem;
        color: var(--gray);
        margin-bottom: 30px;
    }

    /* Responsive styles */
    @media (max-width: 768px) {
        .booking-form {
            grid-template-columns: 1fr;
        }

        .form-group.full-width {
            grid-column: span 1;
        }

        .package-options {
            grid-template-columns: 1fr;
        }

        .form-footer {
            grid-column: span 1;
        }

        .booking-form-wrapper {
            padding: 30px 20px;
        }
    }

    /* Flatpickr customization */
    .flatpickr-calendar {
        background: var(--dark) !important;
        border: 1px solid var(--gray-dark) !important;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3) !important;
    }

    .flatpickr-day {
        color: var(--light) !important;
    }

    .flatpickr-day.selected,
    .flatpickr-day.startRange,
    .flatpickr-day.endRange,
    .flatpickr-day.selected.inRange,
    .flatpickr-day.startRange.inRange,
    .flatpickr-day.endRange.inRange,
    .flatpickr-day.selected:focus,
    .flatpickr-day.startRange:focus,
    .flatpickr-day.endRange:focus,
    .flatpickr-day.selected:hover,
    .flatpickr-day.startRange:hover,
    .flatpickr-day.endRange:hover,
    .flatpickr-day.selected.prevMonthDay,
    .flatpickr-day.startRange.prevMonthDay,
    .flatpickr-day.endRange.prevMonthDay,
    .flatpickr-day.selected.nextMonthDay,
    .flatpickr-day.startRange.nextMonthDay,
    .flatpickr-day.endRange.nextMonthDay {
        background: var(--primary) !important;
        border-color: var(--primary) !important;
        color: var(--dark) !important;
    }

    .flatpickr-months .flatpickr-month {
        color: var(--light) !important;
    }

    .flatpickr-current-month .flatpickr-monthDropdown-months {
        background: var(--dark) !important;
    }

    .flatpickr-months .flatpickr-prev-month,
    .flatpickr-months .flatpickr-next-month {
        color: var(--light) !important;
        fill: var(--light) !important;
    }

    .flatpickr-weekday {
        color: var(--primary) !important;
    }

    .flatpickr-day.flatpickr-disabled,
    .flatpickr-day.flatpickr-disabled:hover,
    .flatpickr-day.prevMonthDay,
    .flatpickr-day.nextMonthDay,
    .flatpickr-day.notAllowed,
    .flatpickr-day.notAllowed.prevMonthDay,
    .flatpickr-day.notAllowed.nextMonthDay {
        color: var(--gray) !important;
    }

    /* Tooltip styles */
    .tooltip {
        position: relative;
        display: inline-block;
        margin-left: 8px;
    }

    .tooltip .tooltip-icon {
        color: var(--gray);
        cursor: pointer;
        font-size: 0.9rem;
    }

    .tooltip .tooltip-text {
        visibility: hidden;
        width: 200px;
        background-color: var(--gray-dark);
        color: var(--light);
        text-align: center;
        border-radius: 6px;
        padding: 8px;
        position: absolute;
        z-index: 1;
        bottom: 125%;
        left: 50%;
        margin-left: -100px;
        opacity: 0;
        transition: opacity 0.3s;
        font-size: 0.85rem;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }

    .tooltip .tooltip-text::after {
        content: "";
        position: absolute;
        top: 100%;
        left: 50%;
        margin-left: -5px;
        border-width: 5px;
        border-style: solid;
        border-color: var(--gray-dark) transparent transparent transparent;
    }

    .tooltip:hover .tooltip-text {
        visibility: visible;
        opacity: 1;
    }

    /* Background animation */
    .bg-animation {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        overflow: hidden;
        z-index: 0;
    }

    .bg-animation span {
        position: absolute;
        display: block;
        width: 20px;
        height: 20px;
        background: rgba(16, 234, 34, 0.1);
        animation: animate 25s linear infinite;
        bottom: -150px;
        border-radius: 50%;
    }

    .bg-animation span:nth-child(1) {
        left: 10%;
        width: 80px;
        height: 80px;
        animation-delay: 0s;
        animation-duration: 15s;
    }

    .bg-animation span:nth-child(2) {
        left: 20%;
        width: 30px;
        height: 30px;
        animation-delay: 2s;
        animation-duration: 25s;
    }

    .bg-animation span:nth-child(3) {
        left: 35%;
        width: 50px;
        height: 50px;
        animation-delay: 4s;
        animation-duration: 12s;
    }

    .bg-animation span:nth-child(4) {
        left: 50%;
        width: 25px;
        height: 25px;
        animation-delay: 0s;
        animation-duration: 18s;
    }

    .bg-animation span:nth-child(5) {
        left: 65%;
        width: 60px;
        height: 60px;
        animation-delay: 0s;
        animation-duration: 15s;
    }

    .bg-animation span:nth-child(6) {
        left: 80%;
        width: 40px;
        height: 40px;
        animation-delay: 3s;
        animation-duration: 20s;
    }

    .bg-animation span:nth-child(7) {
        left: 90%;
        width: 70px;
        height: 70px;
        animation-delay: 7s;
        animation-duration: 12s;
    }

    @keyframes animate {
        0% {
            transform: translateY(0) rotate(0deg);
            opacity: 0.5;
        }

        100% {
            transform: translateY(-1000px) rotate(720deg);
            opacity: 0;
        }
    }

    /* استایل select و گزینه‌ها */
    #tour-destination {
        background-color: #f0f8f5;
        /* پس‌زمینه روشن */
        color: #333;
        /* رنگ متن مناسب */
        border: 1px solid #10ea22;
        /* رنگ حاشیه مطابق سایت */
        border-radius: 5px;
        padding: 8px 12px;
        font-size: 1rem;
        transition: border-color 0.3s, box-shadow 0.3s;
        width: 100%;
        appearance: none;
        /* حذف فلش پیشفرض مرورگر */
    }

    #tour-destination:focus {
        outline: none;
        border-color: #086c38;
        /* سبز تیره هنگام فوکوس */
        box-shadow: 0 0 5px rgba(16, 234, 34, 0.5);
    }

    /* گزینه‌ها داخل select */
    #tour-destination option {
        background-color: #ffffff;
        /* پس‌زمینه سفید برای گزینه‌ها */
        color: #333;
        /* متن تیره برای خوانایی */
        padding: 5px;
    }

    /* برای هاور روی گزینه‌ها */
    #tour-destination option:hover {
        background-color: #10ea22;
        /* سبز سایت هنگام هاور */
        color: #fff;
        /* متن سفید */
    }

