/* Import Google Fonts - Bubble Fonts */
@import url('https://fonts.googleapis.com/css2?family=Fredoka+One&family=Baloo+Bhaijaan+2:wght@400;500;600;700;800&family=Bubblegum+Sans&display=swap');

/* Mobile-First Responsive Base */
* {
    box-sizing: border-box;
}

html {
    font-size: 16px; /* Base font size for mobile */
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

/* Root Variables - Color Scheme */
:root {
    /* Primary Colors */
    --color-red-primary: #DC143C;
    --color-red-bright: #FF0000;
    --color-blue-primary: #0047AB;
    --color-blue-bright: #1E90FF;
    
    /* Backgrounds */
    --color-bg-black: #000000;
    --color-bg-white: #FFFFFF;
    --color-bg-gray-light: #F8F9FA;
    --color-bg-gray-dark: #1A1A1A;
    
    /* Text Colors */
    --color-text-black: #000000;
    --color-text-white: #FFFFFF;
    --color-text-gray: #6C757D;
    
    /* Fonts */
    --font-primary: 'Fredoka One', 'Baloo Bhaijaan 2', 'Bubblegum Sans', 'Segoe UI', Arial, sans-serif;
    --font-secondary: 'Baloo Bhaijaan 2', 'Segoe UI', Arial, sans-serif;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Light Mode (Default) */
body {
    font-family: var(--font-secondary);
    background-color: var(--color-bg-white);
    color: var(--color-text-black);
    transition: background-color var(--transition-normal), color var(--transition-normal);
    overflow-x: hidden;
}

/* Dark Mode */
body.dark-mode {
    background-color: var(--color-bg-black);
    color: var(--color-text-white);
}

body.dark-mode .bg-white {
    background-color: var(--color-bg-gray-dark) !important;
    color: var(--color-text-white);
}

body.dark-mode .text-dark {
    color: var(--color-text-white) !important;
}

body.dark-mode .card {
    background-color: var(--color-bg-gray-dark);
    color: var(--color-text-white);
    border-color: #333;
}

body.dark-mode .navbar-light {
    background-color: var(--color-bg-gray-dark) !important;
}

body.dark-mode .navbar-light .nav-link {
    color: var(--color-text-white) !important;
}

body.dark-mode .navbar-light .navbar-brand {
    background: linear-gradient(135deg, var(--color-red-primary), var(--color-blue-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.dark-mode .navbar-light .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.3);
}

body.dark-mode .navbar-light .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

body.dark-mode .footer {
    background-color: var(--color-bg-gray-dark) !important;
    color: var(--color-text-white) !important;
}

/* Dark Mode Typography */
body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4,
body.dark-mode h5,
body.dark-mode h6,
body.dark-mode .display-1,
body.dark-mode .display-2,
body.dark-mode .display-3,
body.dark-mode .display-4 {
    color: var(--color-text-white) !important;
}

body.dark-mode p,
body.dark-mode span,
body.dark-mode div,
body.dark-mode .lead {
    color: var(--color-text-white) !important;
}

body.dark-mode .bubble-font {
    color: var(--color-text-white) !important;
}

/* Dark Mode Links */
body.dark-mode a {
    color: var(--color-blue-bright) !important;
}

body.dark-mode a:hover {
    color: var(--color-blue-primary) !important;
}

body.dark-mode .nav-link {
    color: var(--color-text-white) !important;
}

body.dark-mode .nav-link:hover {
    color: var(--color-blue-bright) !important;
}

/* Dark Mode Buttons */
body.dark-mode .btn-outline-primary {
    border-color: var(--color-red-primary);
    color: var(--color-red-primary);
}

body.dark-mode .btn-outline-primary:hover {
    background: var(--color-red-primary);
    color: var(--color-text-white);
}

body.dark-mode .btn-outline-secondary {
    border-color: var(--color-blue-primary);
    color: var(--color-blue-primary);
}

body.dark-mode .btn-outline-secondary:hover {
    background: var(--color-blue-primary);
    color: var(--color-text-white);
}

/* Dark Mode Sections */
body.dark-mode section {
    color: var(--color-text-white);
}

body.dark-mode .bg-light {
    background-color: var(--color-bg-gray-dark) !important;
    color: var(--color-text-white) !important;
}

body.dark-mode .text-muted {
    color: #aaa !important;
}

/* Typography */
h1, h2, h3, h4, h5, h6, .display-1, .display-2, .display-3, .display-4 {
    font-family: var(--font-primary);
    font-weight: 700;
}

.bubble-font {
    font-family: var(--font-primary);
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--color-red-primary), var(--color-red-bright));
    border: none;
    color: var(--color-text-white);
    font-family: var(--font-primary);
    padding: 12px 30px;
    border-radius: 50px;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--color-red-bright), var(--color-red-primary));
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--color-blue-primary), var(--color-blue-bright));
    border: none;
    color: var(--color-text-white);
    font-family: var(--font-primary);
    padding: 12px 30px;
    border-radius: 50px;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, var(--color-blue-bright), var(--color-blue-primary));
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-primary {
    border: 2px solid var(--color-red-primary);
    color: var(--color-red-primary);
    background: transparent;
    font-family: var(--font-primary);
    padding: 10px 28px;
    border-radius: 50px;
    transition: all var(--transition-normal);
}

.btn-outline-primary:hover {
    background: var(--color-red-primary);
    color: var(--color-text-white);
    transform: translateY(-2px);
}

.btn-outline-secondary {
    border: 2px solid var(--color-blue-primary);
    color: var(--color-blue-primary);
    background: transparent;
    font-family: var(--font-primary);
    padding: 10px 28px;
    border-radius: 50px;
    transition: all var(--transition-normal);
}

.btn-outline-secondary:hover {
    background: var(--color-blue-primary);
    color: var(--color-text-white);
    transform: translateY(-2px);
}

/* Links */
a {
    color: var(--color-blue-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-blue-bright);
    text-decoration: none;
}

/* Cards */
.card {
    border: none;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.card-header {
    background: linear-gradient(135deg, var(--color-red-primary), var(--color-blue-primary));
    color: var(--color-text-white);
    font-family: var(--font-primary);
    border: none;
    padding: 20px;
}

/* Navbar */
.navbar {
    padding: 15px 0;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.navbar-brand {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    background: linear-gradient(135deg, var(--color-red-primary), var(--color-blue-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link {
    font-family: var(--font-secondary);
    font-weight: 600;
    margin: 0 10px;
    transition: all var(--transition-fast);
    position: relative;
    color: var(--color-text-black);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-red-primary), var(--color-blue-primary));
    transition: all var(--transition-normal);
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 100%;
}

body.dark-mode .nav-link {
    color: var(--color-text-white) !important;
}

body.dark-mode .nav-link:hover {
    color: var(--color-blue-bright) !important;
}

/* Hero Section */
.hero-section {
    min-height: 600px;
    background: linear-gradient(135deg, var(--color-red-primary) 0%, var(--color-blue-primary) 100%);
    color: var(--color-text-white);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    background-position: bottom;
    pointer-events: none; /* Allow clicks to pass through */
    z-index: 0;
}

.hero-section .container {
    position: relative;
    z-index: 1; /* Ensure content is above the overlay */
}

.hero-section h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.hero-section p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    animation: fadeInUp 1.2s ease;
}

/* Package Cards */
.package-card {
    border-radius: 25px;
    padding: 30px 25px;
    text-align: center;
    transition: all var(--transition-normal);
    position: relative;
    background: linear-gradient(135deg, var(--color-red-primary) 0%, var(--color-blue-primary) 100%);
    border: 3px solid transparent;
    height: 100%;
    display: flex;
    flex-direction: column;
    min-height: 500px;
}

body.dark-mode .package-card {
    background: linear-gradient(135deg, var(--color-red-primary) 0%, var(--color-blue-primary) 100%);
}

.package-card.basic {
    border-color: var(--color-blue-primary);
}

.package-card.pro {
    border-color: var(--color-red-primary);
}

.package-card.vip {
    border-color: var(--color-blue-bright);
}

.package-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

@media (max-width: 767px) {
    .package-card {
        padding: 25px 20px;
        min-height: auto;
    }
}

.package-badge-top {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--color-red-primary), var(--color-red-bright));
    color: var(--color-text-white);
    padding: 8px 20px;
    border-radius: 20px;
    font-family: var(--font-primary);
    font-size: 0.9rem;
    z-index: 10;
    white-space: nowrap;
    box-shadow: var(--shadow-md);
}

[dir="rtl"] .package-badge-top {
    left: 50%;
    transform: translateX(-50%);
}

@media (max-width: 767px) {
    .package-badge-top {
        font-size: 0.8rem;
        padding: 6px 16px;
        top: -12px;
    }
}

.package-card .package-header {
    border-bottom: 2px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 20px;
}

.package-card .package-header {
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

body.dark-mode .package-card .package-header {
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

.package-card h3 {
    font-size: 1.75rem;
    margin-bottom: 15px;
    color: var(--color-text-white);
    font-weight: 700;
    line-height: 1.3;
}

body.dark-mode .package-card h3 {
    color: var(--color-text-white);
}

.package-card .price-container {
    margin: 15px 0;
}

.package-card .original-price {
    text-decoration: line-through;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.3rem;
    margin-bottom: 5px;
    display: block;
}

body.dark-mode .package-card .original-price {
    color: rgba(255, 255, 255, 0.7);
}

.package-card .price {
    font-size: 2.8rem;
    font-family: var(--font-primary);
    color: var(--color-text-white);
    font-weight: 700;
    line-height: 1;
    margin: 0;
}

.package-card .package-description {
    font-size: 0.95rem;
    color: var(--color-text-white);
    line-height: 1.5;
    margin-top: 10px;
}

body.dark-mode .package-card .package-description {
    color: var(--color-text-white);
}

.package-card .package-features {
    text-align: left;
    padding: 10px 0;
}

[dir="rtl"] .package-card .package-features {
    text-align: right;
}

[dir="rtl"] .package-card {
    direction: rtl;
    text-align: right;
}

[dir="rtl"] .package-card .package-header {
    text-align: center;
}

[dir="rtl"] .package-card .price-container {
    text-align: center;
}

[dir="rtl"] .package-card .package-description {
    text-align: center;
}

.package-card .features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.package-card .features li {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    transition: all var(--transition-fast);
    line-height: 1.5;
    color: var(--color-text-white);
}

.package-card .features li:last-child {
    border-bottom: none;
}

.package-card .features li:hover {
    padding-left: 5px;
    color: var(--color-text-white);
    opacity: 0.9;
}

[dir="rtl"] .package-card .features li {
    flex-direction: row-reverse;
    text-align: right;
}

[dir="rtl"] .package-card .features li:hover {
    padding-left: 0;
    padding-right: 5px;
}

[dir="rtl"] .package-card .features li .feature-icon {
    order: 2;
}

[dir="rtl"] .package-card .features li .feature-text {
    order: 1;
    text-align: right;
}

.package-card .features li {
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

body.dark-mode .package-card .features li {
    border-bottom-color: rgba(255, 255, 255, 0.2);
    color: var(--color-text-white);
}

body.dark-mode .package-card .features li:hover {
    color: var(--color-blue-bright);
}

.package-card .features li .feature-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-blue-primary), var(--color-blue-bright));
    border-radius: 50%;
    margin-top: 2px;
}

.package-card .features li .feature-icon i {
    color: var(--color-text-white);
    font-size: 0.85rem;
    margin: 0;
}

.package-card .features li .feature-text {
    flex: 1;
    color: var(--color-text-white);
}

body.dark-mode .package-card .features li .feature-text {
    color: var(--color-text-white);
}

.package-card .package-footer {
    border-top: 2px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
    margin-top: 20px;
}

body.dark-mode .package-card .package-footer {
    border-top-color: rgba(255, 255, 255, 0.2);
}

@media (max-width: 767px) {
    .package-card {
        padding: 25px 20px;
    }
    
    .package-card h3 {
        font-size: 1.5rem;
    }
    
    .package-card .price {
        font-size: 2.2rem;
    }
    
    .package-card .original-price {
        font-size: 1.1rem;
    }
    
    .package-card .features li {
        padding: 12px 0;
        font-size: 0.95rem;
    }
    
    .package-card .features li .feature-icon {
        width: 22px;
        height: 22px;
    }
    
    .package-card .features li .feature-icon i {
        font-size: 0.75rem;
    }
}

/* Forms */
.form-control {
    border-radius: 15px;
    border: 2px solid #E0E0E0;
    padding: 12px 20px;
    transition: all var(--transition-fast);
    font-family: var(--font-secondary);
}

.form-control:focus {
    border-color: var(--color-blue-primary);
    box-shadow: 0 0 0 0.2rem rgba(0, 71, 171, 0.25);
}

/* Placeholder Styling with Padding - Centered */
.form-control::placeholder,
.form-select::placeholder {
    color: #999;
    opacity: 1;
    padding: 0;
    text-align: center;
}

.form-control::-webkit-input-placeholder {
    color: #999;
    opacity: 1;
    padding: 0;
    text-align: center;
}

.form-control::-moz-placeholder {
    color: #999;
    opacity: 1;
    padding: 0;
    text-align: center;
}

.form-control:-ms-input-placeholder {
    color: #999;
    opacity: 1;
    padding: 0;
    text-align: center;
}

.form-control:-moz-placeholder {
    color: #999;
    opacity: 1;
    padding: 0;
    text-align: center;
}

/* Center placeholders for all inputs in booking form */
#booking .form-control::placeholder,
#booking .form-control::-webkit-input-placeholder,
#booking .form-control::-moz-placeholder,
#booking .form-control:-ms-input-placeholder,
#booking .form-control:-moz-placeholder {
    text-align: center;
}

#booking textarea.form-control::placeholder,
#booking textarea.form-control::-webkit-input-placeholder,
#booking textarea.form-control::-moz-placeholder,
#booking textarea.form-control:-ms-input-placeholder {
    text-align: center;
}

/* Keep input text alignment as per direction when user types */
[dir="rtl"] .form-control:not(:placeholder-shown),
[dir="rtl"] textarea.form-control:not(:placeholder-shown) {
    text-align: right;
    direction: rtl;
}

[dir="ltr"] .form-control:not(:placeholder-shown),
[dir="ltr"] textarea.form-control:not(:placeholder-shown) {
    text-align: left;
    direction: ltr;
}

/* Textarea Placeholder */
textarea.form-control::placeholder {
    padding-top: 0;
    line-height: 1.5;
}

body.dark-mode .form-control::placeholder,
body.dark-mode .form-control::-webkit-input-placeholder,
body.dark-mode .form-control::-moz-placeholder,
body.dark-mode .form-control:-ms-input-placeholder {
    color: #aaa;
}

.form-label {
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--color-text-black);
}

body.dark-mode .form-label {
    color: var(--color-text-white);
}

body.dark-mode .form-control {
    background-color: var(--color-bg-gray-dark);
    color: var(--color-text-white);
    border-color: #444;
}

body.dark-mode .form-control:focus {
    background-color: var(--color-bg-gray-dark);
    color: var(--color-text-white);
}

.form-select {
    border-radius: 15px;
    border: 2px solid #E0E0E0;
    padding: 12px 20px;
    transition: all var(--transition-fast);
    font-family: var(--font-secondary);
}

.form-select:focus {
    border-color: var(--color-blue-primary);
    box-shadow: 0 0 0 0.2rem rgba(0, 71, 171, 0.25);
}

body.dark-mode .form-select {
    background-color: var(--color-bg-gray-dark);
    color: var(--color-text-white);
    border-color: #444;
}

body.dark-mode .form-select:focus {
    background-color: var(--color-bg-gray-dark);
    color: var(--color-text-white);
}

/* Social Media Buttons */
.social-links {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.social-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-white);
    font-size: 1.5rem;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-md);
}

.social-btn:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: var(--shadow-lg);
}

.social-btn.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-btn.facebook {
    background: #1877F2;
}

.social-btn.twitter {
    background: #1DA1F2;
}

.social-btn.whatsapp {
    background: #25D366;
}

.social-btn.tiktok {
    background: #000000;
}

/* Rating Stars */
.rating {
    display: flex;
    gap: 5px;
    font-size: 1.5rem;
}

.rating i {
    color: #FFD700;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.rating i:hover {
    transform: scale(1.2);
}

/* Read-only Rating Stars (for testimonials) */
.rating-readonly {
    pointer-events: none;
}

.rating-readonly i {
    cursor: default;
}

.rating-readonly i:hover {
    transform: none;
}

/* Dark Mode Toggle */
.dark-mode-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-red-primary), var(--color-blue-primary));
    color: var(--color-text-white);
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-normal);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dark-mode-toggle:hover {
    transform: scale(1.1) rotate(15deg);
    box-shadow: var(--shadow-xl);
}

/* Language Switcher */
.language-switcher {
    display: flex;
    gap: 10px;
    align-items: center;
}

.language-switcher .lang-btn {
    width: 45px;
    height: 45px;
    padding: 0;
    margin: 0;
    border-radius: 50%;
    border: 2px solid var(--color-blue-primary);
    background: transparent;
    color: var(--color-blue-primary);
    font-family: var(--font-primary);
    cursor: pointer;
    transition: all var(--transition-fast);
    box-sizing: border-box;
    text-align: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
    outline: none;
}

.language-switcher .lang-btn.active {
    background: linear-gradient(135deg, var(--color-red-primary), var(--color-blue-primary));
    color: var(--color-text-white);
    border: none;
}

.language-switcher .lang-btn:not(.active):hover {
    background: var(--color-blue-primary);
    color: var(--color-text-white);
}

body.dark-mode .language-switcher .lang-btn {
    color: var(--color-text-white);
    border-color: rgba(255, 255, 255, 0.3);
}

body.dark-mode .language-switcher .lang-btn.active {
    background: linear-gradient(135deg, var(--color-red-primary), var(--color-blue-primary));
    color: var(--color-text-white);
    border: none;
}

body.dark-mode .language-switcher .lang-btn:not(.active):hover {
    background: var(--color-blue-primary);
    color: var(--color-text-white);
}

/* Loading Spinner */
.spinner-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(0, 0, 0, 0.1);
    border-top-color: var(--color-red-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Animations */
@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in {
    animation: fadeIn 0.5s ease;
}

.fade-in-up {
    animation: fadeInUp 0.8s ease;
}

/* Discount Banner */
.discount-banner {
    background: linear-gradient(135deg, var(--color-red-bright), var(--color-red-primary));
    color: var(--color-text-white);
    padding: 15px;
    text-align: center;
    font-family: var(--font-primary);
    position: relative;
    overflow: hidden;
}

.discount-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(255, 255, 255, 0.1) 10px,
        rgba(255, 255, 255, 0.1) 20px
    );
    animation: slide 20s linear infinite;
}

@keyframes slide {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50%, 50%); }
}

.discount-banner .content {
    position: relative;
    z-index: 1;
}

/* Countdown Timer */
.countdown {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 15px;
}

.countdown-item {
    text-align: center;
}

.countdown-item .number {
    font-size: 2rem;
    font-family: var(--font-primary);
    background: var(--color-bg-white);
    color: var(--color-red-primary);
    padding: 10px 20px;
    border-radius: 10px;
    display: inline-block;
    min-width: 60px;
}

.countdown-item .label {
    font-size: 0.9rem;
    margin-top: 5px;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--color-bg-black), #1A1A1A);
    color: var(--color-text-white);
    padding: 60px 0 20px;
    margin-top: 80px;
}

.footer h5 {
    color: var(--color-text-white);
    margin-bottom: 20px;
}

.footer a {
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition-fast);
}

.footer a:hover {
    color: var(--color-blue-bright);
}

/* Testimonials */
.testimonial-card {
    background: var(--color-bg-white);
    border-radius: 20px;
    padding: 30px 25px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all var(--transition-normal);
    position: relative;
    overflow: visible;
    border: 1px solid rgba(0, 0, 0, 0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

body.dark-mode .testimonial-card {
    background: linear-gradient(135deg, var(--color-bg-gray-dark) 0%, #1f1f1f 100%);
    border-color: rgba(255, 255, 255, 0.1);
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-red-primary), var(--color-blue-primary));
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.testimonial-card:hover::before {
    opacity: 1;
}

body.dark-mode .testimonial-card {
    background: var(--color-bg-gray-dark);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    border-color: rgba(220, 20, 60, 0.2);
}

body.dark-mode .testimonial-card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    border-color: rgba(220, 20, 60, 0.3);
}

.testimonial-card .avatar-wrapper {
    display: inline-block;
    margin-bottom: 20px;
}

.testimonial-card .avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 5px solid var(--color-bg-white);
    background: linear-gradient(135deg, var(--color-red-primary), var(--color-blue-primary));
    padding: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all var(--transition-normal);
    display: inline-block;
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
}

.testimonial-card .avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    display: block;
    aspect-ratio: 1 / 1;
    border: none;
}

.testimonial-card .avatar.avatar-initials {
    background: linear-gradient(135deg, var(--color-red-primary), var(--color-blue-primary));
    border: 5px solid var(--color-bg-white);
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    overflow: hidden;
    color: white;
    font-weight: bold;
}

body.dark-mode .testimonial-card .avatar {
    border-color: var(--color-bg-gray-dark);
}

body.dark-mode .testimonial-card .avatar.avatar-initials {
    border-color: var(--color-bg-gray-dark);
}

.testimonial-card:hover .avatar {
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.testimonial-card h5 {
    font-family: var(--font-primary);
    font-size: 1.25rem;
    color: var(--color-text-black);
    margin-bottom: 6px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

body.dark-mode .testimonial-card h5 {
    color: var(--color-text-white);
}

.testimonial-card .text-muted {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 20px;
    font-weight: 400;
    letter-spacing: 0.2px;
}

body.dark-mode .testimonial-card .text-muted {
    color: #aaa;
}

.testimonial-card .quote {
    font-style: normal;
    margin: 20px 0;
    position: relative;
    padding: 20px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    line-height: 1.7;
    font-size: 1rem;
    color: var(--color-text-black);
    flex-grow: 1;
    font-weight: 400;
    border: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
}

body.dark-mode .testimonial-card .quote {
    background: rgba(30, 30, 30, 0.8);
    color: var(--color-text-white);
    border-color: rgba(255, 255, 255, 0.1);
}

.testimonial-card .quote::before {
    content: '"';
    font-size: 4rem;
    position: absolute;
    left: 15px;
    top: -5px;
    color: var(--color-red-primary);
    font-family: 'Georgia', 'Times New Roman', serif;
    opacity: 0.4;
    line-height: 1;
    font-weight: normal;
    font-style: italic;
}

.testimonial-card .quote::after {
    content: '"';
    font-size: 4rem;
    position: absolute;
    right: 15px;
    bottom: -25px;
    color: var(--color-red-primary);
    font-family: 'Georgia', 'Times New Roman', serif;
    opacity: 0.4;
    line-height: 1;
    font-weight: normal;
    font-style: italic;
}

.testimonial-card .rating {
    margin-top: 20px;
    justify-content: center;
    font-size: 1.3rem;
    gap: 3px;
}

.testimonial-card .rating i {
    color: #FFD700;
    text-shadow: 0 2px 4px rgba(255, 215, 0, 0.3);
}

/* RTL Support */
[dir="rtl"] {
    text-align: right;
}

[dir="rtl"] .package-card .features li {
    flex-direction: row-reverse;
}

[dir="rtl"] .testimonial-card .quote {
    text-align: center;
}

[dir="rtl"] .testimonial-card .quote::before {
    left: auto;
    right: 15px;
}

[dir="rtl"] .testimonial-card .quote::after {
    right: auto;
    left: 15px;
}

/* RTL/LTR Form Support */
/* Note: Placeholders are centered, actual input text follows direction */
[dir="rtl"] .form-control:not(:placeholder-shown),
[dir="rtl"] .form-select:not(:placeholder-shown) {
    text-align: right;
}

[dir="ltr"] .form-control:not(:placeholder-shown),
[dir="ltr"] .form-select:not(:placeholder-shown) {
    text-align: left;
}

/* Keep select dropdowns aligned properly */
[dir="rtl"] .form-select {
    text-align: right;
}

[dir="ltr"] .form-select {
    text-align: left;
}

/* Force LTR for specific fields (dates, times, emails, phone numbers) */
input[type="date"],
input[type="time"],
input[type="email"],
input[type="tel"],
input[type="number"] {
    direction: ltr !important;
    text-align: left !important;
}

[dir="rtl"] input[type="date"],
[dir="rtl"] input[type="time"],
[dir="rtl"] input[type="email"],
[dir="rtl"] input[type="tel"],
[dir="rtl"] input[type="number"] {
    direction: ltr !important;
    text-align: left !important;
}

/* RTL Input Group */
[dir="rtl"] .input-group {
    flex-direction: row-reverse;
}

[dir="rtl"] .input-group .btn {
    border-radius: 15px 0 0 15px;
}

[dir="rtl"] .input-group .form-control {
    border-radius: 0 15px 15px 0;
}

/* RTL Float adjustments */
[dir="rtl"] .float-end {
    float: left !important;
}

[dir="rtl"] .float-start {
    float: right !important;
}

/* RTL Text alignment for labels */
[dir="rtl"] .form-label {
    text-align: right;
}

[dir="ltr"] .form-label {
    text-align: left;
}

/* RTL/LTR Checkbox Support */
[dir="rtl"] .form-check {
    text-align: right;
    padding-right: 1.5em;
    padding-left: 0;
}

[dir="rtl"] .form-check-input {
    float: right;
    margin-right: -1.5em;
    margin-left: 0;
}

[dir="ltr"] .form-check {
    text-align: left;
    padding-left: 1.5em;
    padding-right: 0;
}

[dir="ltr"] .form-check-input {
    float: left;
    margin-left: -1.5em;
    margin-right: 0;
}

[dir="rtl"] .form-check-label {
    text-align: right;
    direction: rtl;
}

[dir="ltr"] .form-check-label {
    text-align: left;
    direction: ltr;
}

/* Smooth Scroll Offset for Sticky Navbar */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px; /* Offset for sticky navbar */
}

section[id] {
    scroll-margin-top: 100px; /* Offset for sticky navbar */
}

/* Mobile-First Responsive Design */
/* Base styles are for mobile (320px+) */

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
    html {
        font-size: 17px;
    }
    
    .container {
        max-width: 540px;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    html {
        font-size: 18px;
    }
    
    .container {
        max-width: 720px;
    }
    
    .hero-section h1 {
        font-size: 3.5rem;
    }
    
    .package-card.pro {
        transform: scale(1.05);
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    html {
        font-size: 18px;
    }
    
    .container {
        max-width: 960px;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

/* Mobile-specific styles (max-width: 767px) */
@media (max-width: 767px) {
    .hero-section h1 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero-section p {
        font-size: 1rem;
    }
    
    .package-card {
        margin-bottom: 30px;
    }
    
    .package-card.pro {
        transform: none;
    }
    
    .dark-mode-toggle {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    
    .countdown {
        gap: 8px;
        flex-wrap: wrap;
    }
    
    .countdown-item .number {
        font-size: 1.2rem;
        padding: 6px 12px;
        min-width: 45px;
    }
    
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .btn-lg {
        padding: 12px 24px;
        font-size: 1rem;
    }
    
    .card {
        margin-bottom: 1rem;
    }
    
    .card-body {
        padding: 1rem !important;
    }
    
    .row {
        margin-left: -10px;
        margin-right: -10px;
    }
    
    .row > * {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    /* Ensure touch-friendly targets */
    a, button, input, select, textarea {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Mobile form adjustments */
    .form-control,
    .form-select {
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    /* Mobile display adjustments */
    .display-3 {
        font-size: 2rem !important;
    }
    
    .display-4 {
        font-size: 1.75rem !important;
    }
    
    /* Testimonial cards on mobile */
    .testimonial-card {
        padding: 25px 20px;
    }
    
    .testimonial-card .avatar {
        width: 80px;
        height: 80px;
        margin-bottom: 15px;
        border-width: 4px;
    }
    
    .testimonial-card .avatar,
    .testimonial-card .avatar img,
    .testimonial-card .avatar.avatar-initials {
        border-radius: 50%;
        aspect-ratio: 1 / 1;
    }
    
    .testimonial-card .quote {
        padding: 15px;
        font-size: 0.95rem;
    }
    
    .testimonial-card .quote::before,
    .testimonial-card .quote::after {
        font-size: 3rem;
    }
    
    .testimonial-card .quote::before {
        left: 10px;
        top: -3px;
    }
    
    .testimonial-card .quote::after {
        right: 10px;
        bottom: -20px;
    }
    
    [dir="rtl"] .testimonial-card .quote::before {
        right: 10px;
    }
    
    [dir="rtl"] .testimonial-card .quote::after {
        left: 10px;
    }
    
    .testimonial-card .quote {
        padding: 15px 15px 15px 40px;
        font-size: 0.95rem;
    }
    
    .testimonial-card .quote::before {
        font-size: 4rem;
        left: 8px;
        top: -3px;
    }
    
    [dir="rtl"] .testimonial-card .quote {
        padding-left: 15px;
        padding-right: 40px;
    }
    
    [dir="rtl"] .testimonial-card .quote::before {
        right: 8px;
    }
    
    .testimonial-card h5 {
        font-size: 1.1rem;
    }
    
    .testimonial-card .rating {
        font-size: 1.1rem;
    }
    
    /* Booking form on mobile */
    #booking .col-lg-8 {
        padding: 0 10px;
    }
    
    /* Hero section mobile */
    .hero-section {
        padding: 3rem 0;
    }
    
    /* Section spacing on mobile */
    section {
        padding: 2rem 0 !important;
    }
    
    /* About section stats on mobile */
    #about .col-6 {
        margin-bottom: 1rem;
    }
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Focus Styles for Accessibility */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 3px solid var(--color-blue-bright);
    outline-offset: 2px;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Horizontal Scroll for Previous Heroes */
.previous-heroes-scroll {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    padding-bottom: 10px;
}

.previous-heroes-scroll::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.previous-heroes-container {
    display: flex;
    gap: 20px;
    padding: 10px 0;
    min-width: max-content;
}

.previous-hero-item {
    flex: 0 0 auto;
    width: 280px;
}

@media (max-width: 767px) {
    .previous-hero-item {
        width: 240px;
    }
}

/* Horizontal Scroll for Testimonials */
.testimonials-scroll {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    padding-bottom: 10px;
}

.testimonials-scroll::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.testimonials-container {
    display: flex;
    gap: 20px;
    padding: 10px 0;
    min-width: max-content;
}

.testimonial-item {
    flex: 0 0 auto;
    width: 350px;
}

@media (max-width: 767px) {
    .testimonial-item {
        width: 300px;
    }
}

/* Dark Mode - Ensure no blue text on red background */
body.dark-mode .package-badge-top {
    color: var(--color-text-white) !important;
}

/* Ensure white text in package cards - buttons maintain their own styling */
.package-card h3,
.package-card .package-description,
.package-card .features li,
.package-card .features li .feature-text,
.package-card .price,
.package-card .original-price {
    color: var(--color-text-white) !important;
}

body.dark-mode .package-card h3,
body.dark-mode .package-card .package-description,
body.dark-mode .package-card .features li,
body.dark-mode .package-card .features li .feature-text,
body.dark-mode .package-card .price,
body.dark-mode .package-card .original-price {
    color: var(--color-text-white) !important;
}