/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --text-color: #9c654c;
    --first-color: #0d4e4c;
    --font-size-base: 16px;
    --spacing: 1.5rem;
}

body {
    background: var(--first-color);
    color: #ffffff;
    overflow-x: hidden;
}

.all_page {
    position: relative;
    min-height: 100vh;
    /*background: linear-gradient(180deg, #9ca081 0% 50%, #f9debb 100%);*/
}

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

/* Header Navigation Section */
.header-nav-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    z-index: 10;
}

.header-nav-image {
    width: 100%;
    height: 75px;
    display: block;
    filter: sepia(30%) saturate(150%) hue-rotate(15deg) brightness(1.1);
}

/* Moving Text Overlay */
.moving-text-overlay {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    height: 60px;
    overflow: hidden;
    background: transparent;
}

.moving-text {
    white-space: nowrap;
    font-size: 20px;
    font-weight: bold;
    color: #ffffff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    line-height: 60px;
    animation: scroll-text 25s linear infinite;
    direction: rtl;
    font-family: 'Arial', sans-serif;
}

@keyframes scroll-text {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* Hero Image Section */
.hero-image-section {
    position: relative;
    width: 100%;
    /*height: 100vh;*/
    overflow: hidden;
    margin-bottom: 0;
}

.header-logo {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 15;
    text-align: center;
}

.header-logo-image {
    max-width: 300px;
    height: auto;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.5));
}

.hero-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Responsive Images for Desktop and Mobile */
.desktop-image {
    display: block;
}

.mobile-image {
    display: none;
}

/* On mobile screens (768px and below), show mobile image and hide desktop image */
@media (max-width: 768px) {
    .desktop-image {
        display: none;
    }

    .mobile-image {
        display: block;
    }
}

/* Form Overlay Styling */
.form-overlay {
    position: absolute;
    top: 62%;
    right: 50px;
    transform: translateY(-50%);
    width: 400px;
    z-index: 10;
}

/* Form Header Image */
.form-header-image {
    text-align: center;
    width: 100%;
    margin-bottom: 20px;
}

.book-now-header-image {

    /* Offer Image Styling */
    .offer-image {
        text-align: center;
        margin-bottom: 15px;
    }

    /* Offer Image Styling */
    .offer-image {
        text-align: center;
        margin-bottom: 15px;
    }

    .offer-image img {
        max-width: 150px;
        height: auto;
        border-radius: 9px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    .offer-image img {
        max-width: 150px;
        height: auto;
        border-radius: 9px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    max-width: 200px;

    /* Offer Image Styling */
    .offer-image {
        text-align: center;
        margin-bottom: 15px;
    }

    .offer-image img {
        max-width: 150px;
        height: auto;
        border-radius: 9px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    height: auto;

    /* Offer Image Styling */
    .offer-image {
        text-align: center;
        margin-bottom: 15px;
    }

    .offer-image img {
        max-width: 150px;
        height: auto;
        border-radius: 9px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    display: block;

    /* Offer Image Styling */
    .offer-image {
        text-align: center;
        margin-bottom: 15px;
    }

    .offer-image img {
        max-width: 150px;
        height: auto;
        border-radius: 9px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    margin: 0 auto;

    /* Offer Image Styling */
    .offer-image {
        text-align: center;
        margin-bottom: 15px;
    }

    .offer-image img {
        max-width: 150px;
        height: auto;
        border-radius: 9px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }
}

/* Offer Image Styling */
.offer-image {
    text-align: center;
    margin-bottom: 15px;
}

.offer-image img {
    max-width: 150px;
    height: auto;
    border-radius: 9px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Update appointment form styling */
.appointment-form {
    background: #e6e0d5;
    /* Updated to the requested color */
    border-radius: 20px;
    padding: 40px 30px 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid #e0e0e0;
    /* Light gray border */
}

/* Form Header */
.form-header {
    text-align: center;
    margin: -40px -40px 30px -40px;
    background: linear-gradient(23deg, #002934, #a5d7bf);
    padding: 25px 40px;
    border-radius: 20px 20px 0 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: none;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.form-icon {
    font-size: 2.5rem;
    color: #f4dc8a;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.form-title {
    font-size: 1.8rem;
    color: #f4dc8a;
    margin-bottom: 10px;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.form-subtitle {
    font-size: 1rem;
    color: #f4dc8a;
    line-height: 1.4;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Form Fields */
.form-fields {
    margin-bottom: 30px;
}

.form-field {
    margin-bottom: 20px;
}

.field-label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #003030;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.field-label i {
    font-size: 1.1rem;
    color: #5e7874;
    /* Updated to match label color */
}

.form-field input,
.form-field .form-select {
    width: 100%;
    /*padding: 15px 20px;*/
    background: rgba(230, 224, 213, 0);
    /* Updated to match form background */
    border: 1px solid var(--text-color);
    /* Light gray border */

    color: #B8795E;
    /* Dark text color */
    font-size: 12px;
    transition: all 0.3s ease;
    line-height: 45px;
    gap: 10px;
    angle: 0deg;
    opacity: 1;
    border-radius: 6px;
    padding-left: 12px;
    padding-right: 12px;
    font-size: 18px;

}

.form-field input::placeholder {
    color: var(--text-color);
    /* Gray placeholder text */

}

.form-field input:focus,
.form-field .form-select:focus {
    outline: none;
    border-color: #B8795E;
    /* Dark brown border on focus - fixed syntax error */
    /*box-shadow: 0 0 10px rgba(139, 69, 19, 0.2);*/
    background: rgba(255, 255, 255, 0);
    /* White background on focus */
    transform: translateY(-3px);
}

.form-select option {
    background: #e6e0d5;
    /* Updated to match form background */
    color: #333;
}

/* Custom Control Styling */
.custom-control-wrapper {
    margin-bottom: 15px;
}

.custom-control-input {
    display: none;
}

.custom-control-input+.custom-control-label {
    display: inline-block;
    padding: 10px 20px;
    margin: 5px;
    background: #e6e0d5;
    /* Updated to match form background */
    border: 2px solid #d0d0d0;
    border-radius: 10px;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.custom-control-input:checked+.custom-control-label {
    background: #8B4513;
    border-color: #8B4513;
    color: #fff;
    transform: scale(1.05);
}

.custom-control-input+.custom-control-label:hover {
    background: #d4c4a8;
    /* Slightly darker shade for hover */
    border-color: #8B4513;
}

/* Submit Button - Copy from slot machine style */
.submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    background-color: #003030;
    color: white;
    border: none;
    border-radius: 100px;
    padding: 25px 50px;
    font-size: 22px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.5s cubic-bezier(.42, 0, .58, 1), color 0.3s, box-shadow 0.3s, transform 0.3s;
    box-shadow: 0 16px 20px -10px rgba(0, 0, 0, 0.7);
    width: 86%;
    /* Increased width */
    height: 40px;
    position: relative;
    text-decoration: none;
    margin: 20px auto 0 auto;
}

.submit-btn:hover {
    /*background-color: #014040ff;*/
    transform: translateY(-3px);
    /*box-shadow: 0 12px 35px rgba(189, 120, 118, 0.6);*/
    /*opacity: 0.9;*/
    /*color: white;*/
    text-decoration: none;
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.diamond-icon {
    position: absolute;
    left: -9px;
}

.diamond-icon img {
    width: 55px;
    /* Increased from 24px */
    height: 55px;
    /* Increased from 24px */
    /*object-fit: contain;*/
}

.calendar-icon {
    position: absolute;
    right: 31px;
}

.calendar-icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.button-text {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 18px;
}

/* Terms styling */
.terms {
    color: #5e7874;
    /* Updated to match label color */
    font-weight: bold;
    font-size: 16px;
}

.branch-text {
    color: #5e7874;
    /* Updated to match label color */
    font-weight: bold;
    font-size: 16px;
    margin-left: 250px;
}


.stats-headline h2 {
    font-size: 2.5rem;
    margin-bottom: 60px;
    line-height: 1.4;
    color: white;
}

.stats-headline .highlight {
    color: #d7ba6e;
    font-weight: bold;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
}

.stat-icon {
    font-size: 3rem;
    color: #d7ba6e;
    margin-bottom: 20px;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: #d7ba6e;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.2rem;
    color: white;
}

.stat-image {
    width: 50px;
    height: 50px;
    object-fit: contain;
    margin-top: 10px;
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(180deg, #0d4c4a 0%, #fbe7ce 100%) no-repeat;
    position: relative;
}

.section-header {
    margin-bottom: 50px;
}

.section-title {
    font-size: 3rem;
    color: #8B4513;
    /* Dark brown for better contrast */
    margin-bottom: 15px;
    font-weight: bold;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 50px;
    margin-top: 50px;
    position: relative;
}

.testimonial-card {
    position: relative;
    background-color: #fff4e9;
    border-radius: 20px;
    padding: 40px 30px 30px;
    margin-top: 40px;
    /* border: 2px solid rgba(139, 74, 156, 0.1); */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    /* box-shadow: 0 20px 40px rgba(139, 74, 156, 0.2); */
}

.testimonial-avatar {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.testimonial-avatar img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #ffffff;
    /* box-shadow: 0 5px 15px rgba(139, 74, 156, 0.3); */
    box-shadow: 0 10px 17px rgba(0, 0, 0, 0.25);
    margin-bottom: 30px;

}

.testimonial-content {
    padding-top: 20px;
}

.testimonial-text {

    font-weight: 400;
    /*font-style: Plain;*/
    font-size: 16px;
    leading-trim: NONE;
    line-height: 26.2px;
    letter-spacing: 0%;
    text-align: center;
    color: #005050;
    margin-top: 20px;

}

.testimonial-rating {
    margin-bottom: 20px;
    text-align: center;
}

.testimonial-rating img {
    width: auto;
    height: 20px;
}

.testimonial-name {
    color: #8B4513;
    /* Dark brown for better contrast */
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 5px;
    text-align: center;
}

.testimonial-profession {
    color: #A0522D;
    /* Saddle brown for better contrast */
    font-size: 0.95rem;
    text-align: center;
}

/* App Download Section */
.app-download-section {
    padding: 60px 0;
    text-align: center;
    background: linear-gradient(180deg, #fbe7ce 0%, #fdf6ed 100%);
}

.app-download-content {
    max-width: 600px;
    margin: 0 auto;
}

.app-download-title {
    color: #8B4513;
    /* Dark brown for better contrast */
    font-size: 2.5rem;
    margin-bottom: 30px;
    font-weight: bold;
}

.app-download-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.app-store-link,
.google-play-link {
    display: inline-block;
    transition: transform 0.3s ease;
}

.app-store-link:hover,
.google-play-link:hover {
    transform: scale(1.05);
}

.app-store-badge,
.google-play-badge {
    height: 80px;
    width: 200px;
    object-fit: fill;
    transition: transform 0.3s ease;
}

/* WhatsApp Icon */
.whatsapp-icon {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.whatsapp-icon a {
    display: block;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    text-align: center;
    line-height: 60px;
    color: white;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.whatsapp-icon a:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Select2 Customization */
.select2-container--default .select2-selection--single {
    height: 50px !important;
    border: 1px solid var(--text-color) !important;
    border-radius: 10px !important;
    background: rgba(255, 255, 255, 0) !important;
    text-align: right !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 48px !important;
    padding-right: 20px !important;
    color: var(--text-color) !important;
    font-size: 14px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    /* background-color: #d7ba6e; */
    border-radius: 50%;
    width: 26px;
    height: 26px;
    color: #fff;
    left: 3px !important;
    right: auto !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: #b78a6e transparent transparent transparent;
}

.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
    border-color: transparent transparent #fff transparent;
}

.select2-dropdown {
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 15px !important;
    background: #b78a6e !important;
}

.select2-container--default .select2-results__option {
    color: white !important;
    background: #b78a6e !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background: #d7ba6e !important;
    color: #978796 !important;
}

/* Form Validation Styles */
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 10px;
    font-weight: bold;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-danger {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert ul {
    margin: 0;
    padding-right: 20px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .form-overlay {
        right: 30px;
        width: 350px;
    }
}

@media (max-width: 991px) {
    .form-overlay {
        right: 20px;
        width: 320px;
    }

    .appointment-form {
        padding: 30px;
    }

    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .moving-text {
        font-size: 12px;
        animation-duration: 20s;
    }

    .moving-text-overlay {
        height: 50px;
    }

    .moving-text {
        line-height: 50px;
    }

    .header-nav-image {
        height: 30px;
    }

    .hero-image-section {
        /* height: 200vh; */
        width: 100%;
        position: relative;
        display: block;
    }

    .hero-main-image {
        width: 100% !important;
        height: 32% !important;
        object-fit: cover;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 1;
    }

    .header-logo {
        position: absolute !important;
        top: 20px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        z-index: 10;
        text-align: center;
        margin-bottom: 0;
    }

    .header-logo-image {
        max-width: 147px !important;
        margin: 53px auto;
        display: block;
    }

    .form-overlay {
        position: relative !important;
        top: auto !important;
        bottom: auto !important;
        left: auto !important;
        transform: none !important;
        width: 90% !important;
        max-width: 500px !important;
        margin-left: auto !important;
        margin-right: 10px !important;
        padding: 0;
        z-index: 5;
        margin-top: 80vh !important;
        margin-bottom: 20px !important;
    }

    .appointment-form {
        padding: 30px !important;
        margin: 0 auto !important;
        width: 100% !important;
        max-width: 100% !important;
        position: static !important;
        transform: none !important;
        background: #e6e0d5 !important;
        backdrop-filter: blur(20px) !important;
        border-radius: 25px !important;
        border: 1px solid rgba(255, 255, 255, 0.3) !important;
        box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25) !important;
    }

    .form-header {
        background: linear-gradient(23deg, #002934, #a5d7bf) !important;
        margin: -30px -30px 25px -30px !important;
        padding: 25px 30px !important;
        border-radius: 25px 25px 0 0 !important;
        border-bottom: none !important;
        text-align: center;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .form-title {
        font-size: 2rem !important;
    }

    .form-subtitle {
        font-size: 1.2rem !important;
    }

    .testimonial-text {
        font-size: 1.3rem !important;
    }

    .testimonial-name {
        font-size: 1.2rem !important;
    }

    .testimonial-profession {
        font-size: 1.1rem !important;
    }

    .stat-number {
        font-size: 3rem !important;
    }

    .stat-label {
        font-size: 1.3rem !important;
    }

    .section-title {
        font-size: 3rem;
    }

    .stats-headline h2 {
        font-size: 2.5rem;
    }

    .app-download-title {
        font-size: 2.5rem;
    }

    .app-download-buttons {
        gap: 15px;
    }

    .app-store-badge,
    .google-play-badge {
        height: 60px;
        width: 150px;
        object-fit: fill;
    }

    .whatsapp-icon {
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-icon a {
        width: 50px;
        height: 50px;
        line-height: 50px;
        font-size: 25px;
    }
}

@media (max-width: 480px) {
    .moving-text {
        font-size: 16px;
        animation-duration: 18s;
    }

    .moving-text-overlay {
        height: 45px;
    }

    .moving-text {
        line-height: 45px;
    }

    .header-nav-image {
        height: 20px;
    }

    .form-overlay {
        margin-left: auto !important;
        margin-right: 5px !important;
        margin-top: 41vh !important;
        margin-bottom: 10px !important;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .stats-headline h2 {
        font-size: 2.2rem;
    }

    .app-download-title {
        font-size: 2.2rem;
    }

    .app-download-buttons {
        gap: 10px;
        flex-direction: column;
    }

    .app-store-badge,
    .google-play-badge {
        height: 50px;
        width: 120px;
        object-fit: fill;
    }

    .form-title {
        font-size: 1.8rem !important;
    }

    .form-subtitle {
        font-size: 1.1rem !important;
    }

    .testimonial-text {
        font-size: 1.2rem !important;
    }

    .testimonial-name {
        font-size: 1.1rem !important;
    }

    .testimonial-profession {
        font-size: 1rem !important;
    }

    .stat-number {
        font-size: 2.8rem !important;
    }

    .stat-label {
        font-size: 1.2rem !important;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #296780;
}

::-webkit-scrollbar-thumb {
    background: #d7ba6e;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #c4a85a;
}

@media (max-width: 768px) {
    .button-text {
        font-size: 14px;
    }

}