/* CSS Root Variables */
:root {
    --primary-terracotta: #b06a4b;
    --secondary-teal: #006a71;
    --accent-gold: #e2b478;
    --neutral-cream: #fdf6e7;
    --text-dark: #333333;
    --text-light: #ffffff;
}

/* General Body Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', sans-serif;
    color: var(--text-dark);
    background-color: var(--neutral-cream);
    line-height: 1.6;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', serif;
    font-weight: 700;
}

.section-title {
    color: var(--secondary-teal);
    margin-bottom: 2rem;
}

/* Global Styles */
.container {
    max-width: 1200px;
}

/* Background Texture for depth */
.texture-bg {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60" viewBox="0 0 60 60"><defs><pattern id="parchment" patternUnits="userSpaceOnUse" width="60" height="60"><rect fill="%23fdf6e7" width="60" height="60"/><circle fill="%23f5e6d3" opacity="0.1" cx="10" cy="10" r="2"/><circle fill="%23f5e6d3" opacity="0.1" cx="50" cy="30" r="1.5"/><circle fill="%23f5e6d3" opacity="0.1" cx="30" cy="50" r="1"/></pattern></defs><rect fill="url(%23parchment)" width="60" height="60"/></svg>');
    background-size: 60px 60px;
}

/* Mountain Divider */
.mountain-divider {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 60"><path fill="%23006a71" opacity="0.3" d="M0 60V30L100 10L200 25L300 15L400 20L500 8L600 18L700 12L800 22L900 16L1000 28L1100 14L1200 30V60H0Z"/><path fill="%23b06a4b" opacity="0.4" d="M0 60V40L150 20L250 35L350 25L450 30L550 18L650 28L750 22L850 32L950 26L1050 38L1150 24L1200 40V60H0Z"/></svg>');
    background-size: cover;
    height: 60px;
    width: 100%;
    background-repeat: no-repeat;
    background-position: center;
    margin: 40px 0;
}

/* Button Styles */
.btn {
    border-radius: 25px;
    padding: 12px 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--accent-gold);
    border-color: var(--accent-gold);
    color: var(--text-dark);
}

.btn-primary:hover {
    background-color: var(--primary-terracotta);
    border-color: var(--primary-terracotta);
    color: var(--text-light);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--secondary-teal);
    border-color: var(--secondary-teal);
    color: var(--text-light);
}

.btn-secondary:hover {
    background-color: var(--primary-terracotta);
    border-color: var(--primary-terracotta);
    transform: translateY(-2px);
}

/* Hero Section */
#hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

#hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;
    transform: translateX(-50%) translateY(-50%);
    object-fit: cover;
    opacity: 1;
    transition: opacity 1s ease-in-out;
}

/* Fallback background for when videos fail to load */
.video-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 106, 113, 0.8) 0%, rgba(176, 106, 75, 0.6) 50%, rgba(226, 180, 120, 0.7) 100%),
                url('https://images.unsplash.com/photo-1506905925346-21bda4d32df4?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    z-index: -3;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--text-light);
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Application Form */
.application-form {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-control {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    padding: 12px 15px;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 0.2rem rgba(226, 180, 120, 0.25);
}

.form-label {
    font-weight: 600;
    color: var(--secondary-teal);
    margin-bottom: 8px;
}

/* Enhanced Radio Button and Checkbox Styling */
.form-check {
    margin-bottom: 12px;
    padding: 12px 16px;
    background: rgba(226, 180, 120, 0.05);
    border-radius: 8px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
}

.form-check:hover {
    background: rgba(226, 180, 120, 0.1);
    border-color: rgba(226, 180, 120, 0.3);
}

.form-check-input {
    width: 20px;
    height: 20px;
    margin-top: 0.125em;
    margin-right: 12px;
    border: 2px solid var(--accent-gold);
    background-color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-check-input:checked {
    background-color: var(--accent-gold);
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px rgba(226, 180, 120, 0.3);
}

.form-check-input:focus {
    border-color: var(--primary-terracotta);
    box-shadow: 0 0 0 3px rgba(176, 106, 75, 0.25);
}

.form-check-input[type="radio"] {
    border-radius: 50%;
}

.form-check-input[type="checkbox"] {
    border-radius: 4px;
}

.form-check-label {
    font-weight: 500;
    color: var(--text-dark);
    cursor: pointer;
    margin-left: 8px;
    user-select: none;
}

/* Active state for the entire form-check container */
.form-check:has(.form-check-input:checked) {
    background: rgba(226, 180, 120, 0.15);
    border-color: var(--accent-gold);
    transform: scale(1.02);
}

/* Privacy checkbox special styling */
.privacy-group {
    background: rgba(0, 106, 113, 0.05);
    padding: 16px;
    border-radius: 12px;
    border: 2px solid rgba(0, 106, 113, 0.2);
    margin-top: 8px;
    transition: all 0.3s ease;
}

.privacy-group:hover {
    background: rgba(0, 106, 113, 0.1);
    border-color: rgba(0, 106, 113, 0.4);
}

.privacy-group:has(#privacy_accepted:checked) {
    background: rgba(0, 106, 113, 0.15);
    border-color: var(--secondary-teal);
    transform: scale(1.02);
}

.privacy-group .form-check {
    background: transparent;
    border: none;
    margin-bottom: 0;
}

.privacy-group .form-check:hover {
    background: transparent;
    border: none;
}

/* Radio Group Styling */
.radio-group {
    background: rgba(255, 255, 255, 0.8);
    padding: 16px;
    border-radius: 12px;
    border: 1px solid rgba(226, 180, 120, 0.2);
    margin-top: 8px;
}

.radio-group .form-check {
    margin-bottom: 8px;
}

.radio-group .form-check:last-child {
    margin-bottom: 0;
}

/* Enhanced icons in labels */
.form-check-label i {
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.form-check-input:checked + .form-check-label i {
    opacity: 1;
    transform: scale(1.1);
}

/* Itinerary Cards with enhanced interactivity */
.itinerary-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
    border: 1px solid rgba(226, 180, 120, 0.2);
    position: relative;
    overflow: hidden;
}

.itinerary-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(226, 180, 120, 0.1), transparent);
    transition: left 0.6s;
}

.itinerary-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.itinerary-card:hover::before {
    left: 100%;
}

/* Connecting Path between cards */
.itinerary-card:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -30px;
    top: 50%;
    width: 60px;
    height: 2px;
    background: repeating-linear-gradient(
        to right,
        var(--accent-gold) 0,
        var(--accent-gold) 8px,
        transparent 8px,
        transparent 16px
    );
    transform: translateY(-50%);
    z-index: 1;
}

@media (max-width: 992px) {
    .itinerary-card::after {
        display: none;
    }
}

.itinerary-card .card-header {
    background: var(--secondary-teal);
    color: var(--text-light);
    padding: 1rem 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    border: none;
}

.itinerary-card h3 {
    margin: 0;
    font-size: 1.2rem;
}

/* Testimonials with decorative quotes */
.testimonial-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(226, 180, 120, 0.2);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 15px;
    font-size: 8rem;
    color: var(--accent-gold);
    opacity: 0.15;
    font-family: 'Montserrat', serif;
    font-weight: 700;
    line-height: 1;
    z-index: 0;
}

.testimonial-content {
    position: relative;
    z-index: 1;
}

.testimonial-text {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.testimonial-author {
    color: var(--secondary-teal);
}

/* Destination Section with Parallax Effect */
#destination {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 106, 113, 0.4)), 
                      url('https://images.unsplash.com/photo-1506905925346-21bda4d32df4?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--text-light);
    position: relative;
}

.destination-image {
    text-align: center;
    color: var(--accent-gold);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.destination-image i {
    animation: gentle-glow 3s ease-in-out infinite alternate;
}

@keyframes gentle-glow {
    from { text-shadow: 0 0 20px rgba(226, 180, 120, 0.5); }
    to { text-shadow: 0 0 30px rgba(226, 180, 120, 0.8); }
}

/* Disable parallax on mobile for performance */
@media (max-width: 768px) {
    #destination {
        background-attachment: scroll;
    }
}

/* Enhanced WhatsApp Floating Button with pulse effect */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: white;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
    animation: whatsapp-pulse 2s infinite;
}

@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 25px rgba(37, 211, 102, 0.6);
        transform: scale(1.05);
    }
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
}

.whatsapp-float:hover {
    background-color: #20b954;
    color: white;
    transform: scale(1.15);
    text-decoration: none;
    animation: none;
    box-shadow: 0 6px 30px rgba(32, 185, 84, 0.5);
}

/* Thank You Page */
.thank-you-card {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Privacy Policy */
.privacy-content h2 {
    color: var(--secondary-teal);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.privacy-content ul {
    margin-bottom: 1.5rem;
}

/* Sections */
section {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--neutral-cream) !important;
}

/* Apply sophisticated background images to sections */
#application-form {
    background-image: linear-gradient(rgba(253, 246, 231, 0.95), rgba(253, 246, 231, 0.95)),
                      url('https://images.unsplash.com/photo-1544947950-fa07a98d237f?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

#application-form .application-form {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(226, 180, 120, 0.2);
}

#pain-point {
    background-image: linear-gradient(rgba(253, 246, 231, 0.9), rgba(253, 246, 231, 0.9)),
                      url('https://images.unsplash.com/photo-1506905925346-21bda4d32df4?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

#itinerary {
    background-image: linear-gradient(rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.95)),
                      url('https://images.unsplash.com/photo-1464822759844-d150baec7c3b?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

#testimonials {
    background-image: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)),
                      url('https://images.unsplash.com/photo-1506905925346-21bda4d32df4?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Enhanced visual hierarchy with better contrast */
.section-title {
    position: relative;
    display: inline-block;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    padding: 0 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, var(--accent-gold), var(--primary-terracotta));
    border-radius: 2px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Enhanced text contrast for sections with background images */
#pain-point .section-title,
#pain-point p {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    color: var(--text-dark);
}

#application-form .section-title {
    color: var(--secondary-teal);
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

#itinerary .section-title {
    color: var(--secondary-teal);
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.8);
}

#testimonials .section-title {
    color: var(--secondary-teal);
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.8);
}

/* Contact Section Styling */
#contact {
    background-image: linear-gradient(rgba(253, 246, 231, 0.95), rgba(253, 246, 231, 0.95)),
                      url('https://images.unsplash.com/photo-1544947950-fa07a98d237f?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.contact-options {
    margin: 2rem 0;
}

.contact-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    text-align: center;
    height: 100%;
    border: 1px solid rgba(226, 180, 120, 0.2);
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.contact-icon {
    font-size: 3rem;
    color: var(--secondary-teal);
    margin-bottom: 1rem;
}

.contact-card h4 {
    color: var(--secondary-teal);
    margin-bottom: 1rem;
}

.contact-card p {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.contact-info {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    backdrop-filter: blur(5px);
}

#contact .section-title {
    color: var(--secondary-teal);
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    /* Hide video on mobile */
    #hero-video {
        display: none;
    }
    
    /* Use background image for mobile hero */
    #hero {
        background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 106, 113, 0.4)), 
                    url('https://images.unsplash.com/photo-1506905925346-21bda4d32df4?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80');
        background-size: cover;
        background-position: center;
        height: 70vh;
    }
    
    /* Disable parallax on mobile for performance */
    #application-form,
    #pain-point,
    #itinerary,
    #testimonials,
    #destination {
        background-attachment: scroll !important;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .application-form {
        padding: 2rem 1.5rem;
    }
    
    .itinerary-card {
        margin-bottom: 2rem;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 24px;
    }
    
    section {
        padding: 60px 0;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .application-form {
        padding: 1.5rem 1rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Admin Panel Styles */
.table th {
    background-color: var(--secondary-teal);
    color: var(--text-light);
    border: none;
}

.table-striped > tbody > tr:nth-of-type(odd) > td {
    background-color: rgba(253, 246, 231, 0.5);
}

.table-hover tbody tr:hover {
    background-color: rgba(226, 180, 120, 0.2);
}

/* Thank You Page Styles */
.thank-you-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(226, 180, 120, 0.2);
    position: relative;
    overflow: hidden;
}

.thank-you-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 106, 113, 0.05) 0%, rgba(226, 180, 120, 0.05) 100%);
    z-index: -1;
}

.thank-you-card h1 {
    color: var(--secondary-teal);
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.thank-you-card .btn {
    transition: all 0.3s ease;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 10px;
}

.thank-you-card .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.thank-you-card .btn-primary {
    background: linear-gradient(135deg, var(--secondary-teal), var(--primary-terracotta));
    border: none;
}

.thank-you-card .btn-success {
    background: linear-gradient(135deg, #25D366, #128C7E);
    border: none;
}

/* Thank you page background */
body:has(.thank-you-card) {
    background: linear-gradient(135deg, rgba(0, 106, 113, 0.1) 0%, rgba(226, 180, 120, 0.1) 100%),
                url('https://images.unsplash.com/photo-1506905925346-21bda4d32df4?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
}
