﻿/* Reset and Base Styles */


:root {
    --primary: #006a4e !important;
    --primary-color: #10553F;
    --primary-dark: #00563f;
    --white: #ffffff !important;
    --gray-100: #f5f5f5;
    --gray-200: #e5e5e5;
    --gray-300: #d4d4d4;
    --gray-400: #a3a3a3;
    --gray-500: #737373;
    --gray-600: #525252;
    --gray-700: #404040;
    --gray-800: #262626;
    --gray-900: #171717;
}
  input[type="checkbox"] { 
    accent-color: #007f5f;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
 font-family: 'Vazirmatn', sans-serif;
}
.swal2-popup {
    direction: rtl;
}
.main-nav ul {
    display: flex;
    gap: 30px;
}
body {
    font-family: Arial, Tahoma, sans-serif;
    line-height: 1.6;
    color: #2c2c2c;
    background-color: #F8F8FA !important;
    direction: rtl;
    overflow: visible;
}

html {
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    text-decoration:none;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
 /*   max-width: 1300px !important;*/
    margin: 0 auto;
    padding: 0 15px;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #006a4e !important;
    border:unset !important;
    color: #ffffff;
}
.form-row > .col, .form-row > [class*=col-] {
    text-align: right !important;
    padding-left: -1px !important;
}

    a {
    color: #212529 !important;
    text-decoration: none !important;
}
.btn-primary:hover {
    background-color: #10553f;
}

/* Header Styles */
.site-header {
    background-color: #ffffff;
    border-bottom: 1px solid #e2e2e2;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.auth-links {
    display: flex;
    align-items: center;
}

.auth-link {
    color: #757575;
    font-size: 14px;
    margin-left: 10px;
}

.divider {
    color: #e2e2e2;
    margin: 0 10px;
}

.main-nav {
    display: none;
}

.nav-list {
    display: flex;
}

.nav-item {
    margin-left: 20px;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
}

.nav-item.active .nav-link {
    border-bottom: 2px solid #006a4e;
    padding-bottom: 5px;
}

.logo-img {
    height: 40px;
    width: auto;
}

/* Search Tabs */
.search-tabs {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    margin: 30px 0;
    padding: 20px;
}

.tab-header {
    display: flex;
    border-bottom: 1px solid #e2e2e2;
    margin-bottom: 20px;
}

.tab-item {
    padding: 10px 15px;
    cursor: pointer;
    font-weight: 500;
    position: relative;
}

    .tab-item.active {
        border-bottom: 2px solid #006a4e;
    }

.tab-content {
    padding: 10px 0;
}

/* Open Modal Button */
.open-modal-btn {
    background-color: transparent !important;
    color: #333 !important;
    border: none;
    padding: 12px 14px;
    font-size: 16px !important;
    cursor: pointer;
    border-bottom: 1px solid #ffffff;
    transition: all 0.3s;
    box-shadow:none !important;
    border-radius:0 !important;
}

    .open-modal-btn:hover {
        border-bottom: 1px solid #005540 !important;
    }

/* Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: visible;
    transition: opacity 0.3s, visibility 0.3s;
}

    .modal-overlay.active {
        display:flex;
        opacity: 1;
        visibility: visible;
    }

/* Modal Container */
.modal-container {
    background-color: white;
    border-radius: 12px;
    width: 100%;
    max-width: 450px;
    padding: 30px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(20px);
    transition: transform 0.3s;
}

.modal-overlay.active .modal-container {
    transform: translateY(0);
}

/* Close Button */
.close-modal-btn {
    position: absolute;
    top: 15px;
    left: 15px;
    background: none;
    border: none;
    font-size: 20px;
    color: var(--text-light);
    cursor: pointer;
    transition: color 0.3s;
}

    .close-modal-btn:hover {
        color: var(--primary-color);
    }

/* Logo */
.logo-container {
    text-align: center;
    margin-bottom: 10px;
}

.logo {
    max-width: 140px;
    height: auto;
}

/* Tabs */
#modalOverlay > .tabs {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 30px;
}

.tab-btn {
    flex: 1;
    background: none;
    border: none;
    padding: 15px; 
    font-size: 18px;
    color: var(--text-light);
    cursor: pointer;
    position: relative;
    transition: color 0.3s;
}

    .tab-btn.active {
        color: var(--primary-color) !important;
        font-weight: bold !important;
    }

 

/* Form Container */
.form-container {
    display: none;
}

    .form-container.active {
        display: block;
    }

/* Form Elements */
.form-group {
    margin-bottom: 10px;
}

input[type="text"],
input[type="email"],
input[type="password"] {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s;
}

    input[type="text"]:focus,
    input[type="email"]:focus,
    input[type="password"]:focus {
        outline: none;
        border-color: var(--primary-color);
    }

/* Forgot Password */
.forgot-password {
    text-align: right;
    margin: 25px 19px 29px 0px;
}

    .forgot-password a {
        color: var(--text-light);
        text-decoration: none;
        font-size: 14px;
    }

    .forgot-password span {
        color: var(--primary-color);
    }

/* Terms Agreement */
 

    .terms-agreement a {
        color: var(--primary-color);
        text-decoration: none;
    }

/* Buttons */
.primary-btn {
    width: 100%;
    padding: 15px;
    background-color: var(--primary-light);
    color: white;
    border: none;
    border-radius: 8px; 
    font-size: 16px;
    cursor: pointer;
    margin-bottom: 15px;
    transition: background-color 0.3s;
}

    .primary-btn:hover {
        background-color: var(--primary-color);
    }

.secondary-btn {
    margin-top:15px;
    width: 100%;
    padding: 15px;
    background-color: white;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: 8px; 
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}
.errorName {
    display:none;
    color: crimson;
}

.secondary-btn:hover {
    background-color: #f0f8f6;
}

/* Responsive Styles */
@media (max-width: 480px) {
    .modal-container {
        width: 90%;
        padding: 20px;
    }

    .tab-btn {
        font-size: 16px;
    }

    input[type="text"],
    input[type="email"],
    input[type="password"] {
        padding: 12px;
    }

    .primary-btn,
    .secondary-btn {
        padding: 12px;
    }
}
.form-row {
    align-items: flex-start;
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
    max-height: 78px;
}

.form-group {
    flex: 1;
    min-width: 200px;
    padding: 0 10px;
    margin-bottom: 10px !important;
}

    .form-group label {
        display: block;
        margin-bottom: 8px;
        font-size: 14px;
    }

    .form-group input {
        width: 96%;
        padding: 10px;
        border: 1px solid #d9d9d9;
        border-radius: 4px;
        font-size: 14px;
    }

.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.checkbox-group {
    display: flex;
}

.checkbox {
    display: flex;
    align-items: center;
    margin-left: 15px;
}

    .checkbox input {
        margin-left: 5px;
    }

.passenger-count {
    color: #757575;
    font-size: 14px;
}

/* Feature Cards */
.feature-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.feature-card {
    background-color: #ffffff;
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: box-shadow 0.3s ease;
}

    .feature-card:hover {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

.feature-icon {
    font-size: 24px;
    margin-bottom: 15px;
    color: #006a4e;
}

.feature-title {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 5px;
}

.feature-desc {
    font-size: 14px;
    color: #757575;
}

/* Tour Banners */
.tour-banners {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin-bottom: 30px;
    margin-top:80px;
}
button:focus {
    outline:none !important;
}
.tabs {
    text-align:right !important;
}
#formRegister > .form-group:first-child {
    margin-top:20px
}
.terms-agreement {
    margin: 16px 0;
    font-size: 17px;
    display: inline-block;
    position: relative;
    left: 11%;
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    align-items: center;
    gap: 15px;
}
.tour-banner {
    position: relative;
    height: 200px;
    border-radius: 8px;
    overflow: visible;
    display: flex;
    align-items: center;
    padding: 0 5px;
}

    .tour-banner.mashhad {
        /*background-color: #c9cba3;*/
        overflow:visible;
    }

    .tour-banner.karbala {
        /*background-color: #d9ba8a;*/
    }

.banner-content {
    display: flex;
    align-items: center;
}

.banner-title {
    font-size: 24px;
    font-weight: 700;
    color: #353617;
}

.tour-banner.karbala .banner-title {
    color: #231a0b;
}

.banner-arrow {
    margin-right: 10px;
    font-size: 20px;
    transition: transform 0.3s ease;
}

.tour-banner:hover .banner-arrow {
    transform: translateX(-5px);
}

/* Travel Cards */
.travel-cards {
    margin-bottom: 30px;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 15px;
    margin-bottom: 15px;
}

.large-card-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

.travel-card, .large-travel-card {
    border-radius: 8px;
    overflow: hidden; 
}

.card-image {
    position: relative;
    height: 400px;
}

    .card-image img {
        width: 100%;
        display: block; 
        background-size: cover;
    }
.travel-card> a > .card-image img {
    width: 100%;
    display: block;
    height:100%;
    background-size: cover;
}

.card-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255 );
    padding: 20px;
    text-align: center;
}

    .card-label h3 {
        font-size: 14px;
        font-weight: 500;
    }

/* Footer Links */
.footer-links {
    border-top: 1px solid #e2e2e2;
    padding: 20px 0;
    margin-bottom: 30px;
    text-align: right;
}
[type=search] {
  
    outline: 0px !important;
}
.links-wrapper {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-link {
    color: #757575;
    font-size: 14px;
    transition: color 0.3s ease;
}

    .footer-link:hover {
        color: #006a4e;
    }

/* Text Content */
.text-content {
    margin-bottom: 40px;
}

    .text-content p {
        font-size: 14px;
        color: var(--gray-700);
        line-height: 1.8;
    }

/* FAQ Section */
.faq-section {
    margin-bottom: 50px;
}

.section-title {
    text-align: center;
    font-size: 20px;
    font-weight: 700; 
}

.accordion-item {
    border-bottom: 1px solid #e2e2e2;
    margin: 15px 0;
}

.accordion-header {
    padding: 15px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background-color: #fff;
    padding: 10px;
    border-radius: 8px;
}

    .accordion-header h3 {
        font-size: 16px;
        font-weight: 500;
        padding:10px 0;
    }

.accordion-content {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.accordion-item.active .accordion-content {
    padding: 0 0 15px;
    max-height: 200px;
}

.accordion-content p {
    color: #757575;
    font-size: 14px;
    padding:15px 10px;
    text-align:right;
}

/* Footer Styles */
.footer {
    background-color: #fff;
    border-top: 1px solid var(--gray-200);
    margin-top: 95px;
 
}
.nav-list {
    margin: 0 !important;   
}
.enamadWrap img {
    width: 130px;
}
.footer-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    width: 69%;
    margin-right: 30%;
    /* float: left; */
    position: relative;
}
.footer-contact {
    position: relative;
    align-items: center;
    justify-items: center;
}
.footer-icon-wrapper img {
    width: 60%; 
    justify-content: center;
    display: flex;
    padding: 17px 0;
}
.footer-icon-wrapper {
    width: 80%;
    justify-content: center;
    display: flex;
    border-bottom: 1px solid #3333334d;
}

/* Footer Header */
.footer-header {
    background-color: var(--primary);
    color: var(--white);
    padding: 1rem 0;
    overflow: hidden;
    width:100%;
}

.footer-header-content {
    display: grid;
    width: 80% !important;
    margin-right: 452px !important;
    grid-template-columns: repeat(2, auto);
    /* justify-content: space-between; */
    align-items: center;
}

.newsletter-form {
    display: flex;
}

    .newsletter-form input {
        width: 300px;
        padding: 0.5rem 1rem 0.5rem 3rem;
        border: none;
        border-radius: 4px 0 0 4px;
        font-family: 'Vazirmatn', sans-serif;
        border-radius: 5px;
        outline: none;
        border: 1px solid #666;
    }

    .newsletter-form button {
        background-color: rgba(226, 226, 226, 1);
        color: var(--primary);
        border: none;
        padding: 0.3rem 1rem;
        border-radius: 4px 0px 0 4px;
        cursor: pointer;
        font-family: 'Vazirmatn', sans-serif;
        font-weight: 500;
        top: 0.5px;
        right: -58px;
        position: relative;
        height: 38px;
    }

.header-text {
    font-size: 0.9rem;
    text-align: center;
    flex: 1;
    padding: 0 1rem;
}

.logo img {
    height: 40px;
}

/* Footer Content */
.footer-content {
    padding: 1.5rem ;
    background-color:#efefef;
}

.footer-grid {
    display: grid;
    grid-template-columns: 0.5fr 2fr;
    gap: 0rem;
    margin-bottom: 0rem;
}

/* Footer About */
.footer-about h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--gray-800);
}

.footer-about p {
    font-size: 0.85rem;
    color: var(--gray-600);
    line-height: 1.8;
    text-align:justify;
}

/* Footer Links */
.footer-links h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--gray-800);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    font-size:1rem;
    color: var(--gray-800);
}

    .footer-links a:hover {
        color: var(--primary);
    }

/* Footer Contact */
.footer-contact h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--gray-800);
    margin-top:43px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 0 20px;
    line-height: 2;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--gray-600);
    text-align: right;
}
    .contact-item span {
        line-height:1.7;
    }
    .icon {
        width: 20px;
        height: 20px;
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        flex-shrink: 0;
    }

.phone-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23006a4e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'%3E%3C/path%3E%3C/svg%3E");
}

.email-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23006a4e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z'%3E%3C/path%3E%3Cpolyline points='22,6 12,13 2,6'%3E%3C/polyline%3E%3C/svg%3E");
}

.location-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23006a4e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'%3E%3C/path%3E%3Ccircle cx='12' cy='10' r='3'%3E%3C/circle%3E%3C/svg%3E");
}

/* Social Networks Button */
.social-networks button {
    background-color: var(--primary);
    color: var(--white);
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 4px;
    font-family: 'Vazirmatn', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
}
.social-networks img {
    width:60px;
}
.social-networks {
    position: relative;
    left: 10px;
}
.social-networks button:hover {
    background-color: var(--primary-dark);
}

/* Copyright */
.copyright {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-200);
    font-size: 0.85rem;
    color: var(--gray-600);
}

.footer-info-wrapper {
    width: 310px;
    height: 436px;
    background-color: rgba(255, 255, 255, 1);
    border-radius: 8px;
    position: absolute;
    margin-top: -51px;
    margin-right: 50px;
    z-index: 5;
    box-shadow: -1px 3px 15px #33333329;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem 1rem;
    }

    .footer-about {
        grid-column: span 2;
    }
}

.newsletter {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.newsletter-text {
    font-size: 14px;
    color: #757575;
    margin-bottom: 10px;
}

.newsletter-form {
    display: flex;
    width: 100%;
    max-width: 400px;
}

.newsletter-input {
    flex: 1;
    padding: 10px;
    border: 1px solid #d9d9d9;
    border-radius: 4px 0 0 4px;
    font-size: 14px;
}

.newsletter-form .btn {
    border-radius: 0 4px 4px 0;
}

.copyright p {
    color: #333;
}
.copyright { 
    color: #ffffff;
    padding: 15px 0;
    text-align: center;
    font-size: 14px;
}

@media (max-width: 1200px) {
    .footer-container {
        width: 56%;
        margin-right: 44%;
    }

    .footer {
        align-items: center;
        display: grid;
        justify-items: center;
    }

    .footer-info-wrapper {
        width: 50%;
        height: 436px;
        background-color: rgba(255, 255, 255, 1);
        border-radius: 8px;
        position: relative;
        margin-bottom: 53px;
        height: 470px;
    }

    .footer-header-content {
        width: 90% !important;
        margin: 0 auto;
    }
}

@media (min-width: 992px) {
  
   
    .card-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
/* Responsive Styles */

@media (max-width: 768px) {
    .footer-header-content {
        flex-direction: column;
        gap: 1rem;
    }

    .footer-info-wrapper {
        width: 65%;
    }

    .header-text {
        order: 1;
    }

    .newsletter-form {
        order: 2;
        width: 100%;
        max-width: 400px;
    }

    .logo {
        order: 0;
        margin-bottom: 0.5rem;
    }
}
.g-recaptcha {
    margin: 25px 37px 11px 0px;
}
#formRegister > .g-recaptcha {
    margin: 25px 37px 0px 0px;
}
.nav-link {
    display: block;
    padding: 0.5rem !important;
}
.activeLoginRegisterBtn {
    background-color: #10553F80 !important;
    color: #FFFFFF !important;
    border-color: transparent !important;
    transition: 0.5s all;
 
}
#formRegister > .activeLoginRegisterBtn {
    margin-top: 70px;
}
    .activeLoginRegisterBtn:hover {
        background-color: #d1dad7 !important;
        color: #333 !important;
    }
@media (max-width: 576px) {
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
 
}


@media (min-width: 768px) {
   
    .main-nav {
        display: block;
    }
     

    .tour-banners {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }

    .footer-logo {
        margin-bottom: 0;
    }

    .newsletter {
        flex-direction: row;
        align-items: center;
    }

    .newsletter-text {
        margin-bottom: 0;
        margin-left: 15px;
    }
}

@media (max-width: 761px) {
    .feature-cards {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
    .g-recaptcha {
        margin-right: 0px;
    }

        .large-card-grid {
        grid-template-columns: 1fr;
    }
    .large-travel-card > a > .card-image {
        height: unset;
    }
    .footer-header-content {
        grid-template-rows: repeat(2, 1fr);
        grid-template-columns: 1fr;
        justify-items: self-start;
    }
    .footer-container {
        width: 100%;
        margin-right: unset;
    }
    .newsletter-form {
        max-width: unset;
        width: 100%;
        margin: 0 auto;
    }
        .newsletter-form input {
            width: 80%;
        }
        }

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-info-wrapper {
        width: 80%;
        margin: 0;
        margin-bottom: 50px;
    }

    .footer-about {
        grid-column: span 1;
    }

    .feature-cards {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
    }
}
@media (max-width: 446px) {
    .card-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}