/*
Theme Name: Tailor Made Theme
Theme URI: https://visitlocaltravel.com/
Author: Visit Local Travel
Author URI: https://visitlocaltravel.com/
Description: A custom WordPress theme for the Tailor Made travel page. Features a modern design with animated backgrounds, multi-step enquiry form integration, and responsive layout.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tailor-made-theme
Tags: custom-background, threaded-comments, translation-ready
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #11315f;
    --secondary-color: #27ae60;
    --accent-color: #f98ab8;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-color: #e1f0ff;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    background: linear-gradient(135deg, #f8fafc 0%, #e8f4fd 50%, #f0f7ff 100%);
    position: relative;
    margin: 0px !important;
}

/* Animated Background Icons */
.bg-icons {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.bg-icon {
    position: absolute;
    opacity: 0.03;
    animation: float 20s infinite ease-in-out;
    color: var(--primary-color);
}

.bg-icon:nth-child(1) { top: 10%; left: 10%; animation-delay: 0s; font-size: 2rem; }
.bg-icon:nth-child(2) { top: 20%; right: 15%; animation-delay: 2s; font-size: 2.5rem; }
.bg-icon:nth-child(3) { top: 60%; left: 5%; animation-delay: 4s; font-size: 1.8rem; }
.bg-icon:nth-child(4) { top: 80%; right: 10%; animation-delay: 6s; font-size: 2.2rem; }
.bg-icon:nth-child(5) { top: 40%; left: 20%; animation-delay: 8s; font-size: 1.5rem; }
.bg-icon:nth-child(6) { top: 30%; right: 30%; animation-delay: 10s; font-size: 2.8rem; }
.bg-icon:nth-child(7) { top: 70%; left: 15%; animation-delay: 12s; font-size: 2rem; }
.bg-icon:nth-child(8) { top: 90%; right: 25%; animation-delay: 14s; font-size: 1.7rem; }
.bg-icon:nth-child(9) { top: 50%; left: 8%; animation-delay: 16s; font-size: 2.3rem; }
.bg-icon:nth-child(10) { top: 25%; left: 25%; animation-delay: 18s; font-size: 1.9rem; }

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-20px) rotate(5deg); }
    50% { transform: translateY(10px) rotate(-3deg); }
    75% { transform: translateY(-15px) rotate(3deg); }
}

/* Header Styles */
.header {
    background: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-light) 100%);
    padding: 5px 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
	display:none;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: var(--primary-color);
}

.logo img {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 30px;
    flex-wrap: wrap;
}

.main-nav a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.2;
    transition: color 0.3s ease, transform 0.3s ease;
    white-space: nowrap;
}

.main-nav a:hover {
    color: var(--accent-color);
    transform: translateY(-1px);
}

.mobile-menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(17, 49, 95, 0.12);
    border-radius: 10px;
    background: #ffffff;
    color: var(--primary-color);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 6px 18px rgba(17, 49, 95, 0.08);
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
    color: var(--accent-color);
    transform: translateY(-1px);
}

/* Hero Section */
.hero {
    margin-top: 0;
    min-height: 65vh;
    background: linear-gradient(137deg, #11315f 0%, #451c6f 50%, #1a4d8a 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::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="%23ffffff10" fill-opacity="1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,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>') no-repeat bottom;
    background-size: cover;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(255,255,255,0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255,255,255,0.1) 0%, transparent 50%),
                radial-gradient(circle at 40% 40%, rgba(255,255,255,0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-logo {
    display: inline-block;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease;
    animation-fill-mode: both;
}

.hero-logo img {
    height: 65px;
    width: auto;
    transition: transform 0.3s ease;
}

.hero-logo:hover img {
    transform: scale(1.05);
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 15px;
    animation: fadeInUp 1s ease 0.2s;
    animation-fill-mode: both;
    line-height: 1.2;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 15px;
    animation: fadeInUp 1s ease 0.2s;
    animation-fill-mode: both;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255,255,255,0.95);
    margin-bottom: 20px;
    animation: fadeInUp 1s ease 0.3s;
    animation-fill-mode: both;
    font-weight: 500;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 40px;
    animation: fadeInUp 1s ease 0.2s;
    animation-fill-mode: both;
}

.hero-description {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.85);
    max-width: 700px;
    margin: 0 auto 30px;
    animation: fadeInUp 1s ease 0.4s;
    animation-fill-mode: both;
    line-height: 1.6;
}

.hero-cta-group {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease 0.5s;
    animation-fill-mode: both;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.cta-button.primary {
    background: linear-gradient(137deg, #27ae60 0%, #2ecc71 100%);
}

.cta-button.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(39, 174, 96, 0.4);
    background: linear-gradient(137deg, #219653 0%, #27ae60 100%);
}

.cta-button.secondary {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.3);
}

.cta-button.secondary:hover {
    transform: translateY(-3px);
    background: rgba(255,255,255,0.25);
    border-color: rgba(255,255,255,0.5);
}

.hero-trust-badges {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.7s;
    animation-fill-mode: both;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.9);
    font-size: 0.9rem;
    font-weight: 500;
}

.trust-badge i {
    font-size: 1.2rem;
    color: #f1c40f;
}

/* Features Section */
.features {
    padding: 35px 0 60px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #f0f7ff 100%);
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(17, 49, 95, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(52, 152, 219, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 50% 10%, rgba(39, 174, 96, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

.section-title {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.section-subtitle {
    text-align: center;
    font-size: 1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 30px;
}

.features-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.feature-card {
    background: white;
    padding: 25px 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.feature-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.feature-description {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Form Section */
.form-section {
    padding: 5px 0 0px 0;
    position: relative;
    overflow: hidden;
}

.form-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 30% 70%, rgba(17, 49, 95, 0.01) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(52, 152, 219, 0.01) 0%, transparent 50%);
    pointer-events: none;
}

/* Form Section Floating Icons */
.form-section .form-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.form-section .form-icon {
    position: absolute;
    opacity: 0.04;
    animation: formFloat 25s infinite ease-in-out;
    color: var(--primary-color);
}

.form-section .form-icon:nth-child(1) { top: 5%; left: 8%; animation-delay: 0s; font-size: 1.8rem; }
.form-section .form-icon:nth-child(2) { top: 15%; right: 12%; animation-delay: 3s; font-size: 2.2rem; }
.form-section .form-icon:nth-child(3) { top: 55%; left: 6%; animation-delay: 6s; font-size: 1.6rem; }
.form-section .form-icon:nth-child(4) { top: 75%; right: 8%; animation-delay: 9s; font-size: 2rem; }
.form-section .form-icon:nth-child(5) { top: 35%; left: 15%; animation-delay: 12s; font-size: 1.4rem; }
.form-section .form-icon:nth-child(6) { top: 25%; right: 20%; animation-delay: 15s; font-size: 2.4rem; }
.form-section .form-icon:nth-child(7) { top: 65%; left: 12%; animation-delay: 18s; font-size: 1.7rem; }
.form-section .form-icon:nth-child(8) { top: 85%; right: 15%; animation-delay: 21s; font-size: 1.5rem; }

@keyframes formFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg) scale(1); }
    33% { transform: translateY(-15px) rotate(3deg) scale(1.05); }
    66% { transform: translateY(8px) rotate(-2deg) scale(0.95); }
}

.form-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
}

/* TTM Form Wrapper */
.ttm-form-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
}

/* Footer */
.footer {
    background: #ffffff;
    color: #11315f;
    padding: 0px 0 20px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 20px;
}

.footer-text {
    margin-bottom: 30px;
    opacity: 0.8;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    color: white;
    text-decoration: none;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    padding-top: 20px;
    border-top: 0px solid rgba(255,255,255,0.1);
    opacity: 1;
    font-weight: normal;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: row;
        padding: 2px 15px;
        position: relative;
    }
    .ttms-step-label,
    .ttms-step:not(:last-child)::after {
        display: none;
    }
    .mobile-menu-toggle {
        display: inline-flex;
    }
    .ttm-form-wrapper {
        padding: 15px 0px;
    }
    .hero h2 {
        font-size: 1.5em;    
    }
    
    .main-nav {
        position: absolute;
        top: calc(100% + 0px);
        left: 0px;
        right: 0px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        padding: 10px;
        background: #11315f;
        border: 1px solid rgba(17, 49, 95, 0.1);
        border-radius: 0px;
        box-shadow: 0 18px 40px rgba(17, 49, 95, 0.16);
        backdrop-filter: blur(16px);
        transition: all 0.3s ease;
        animation: fadeInUp 1s ease 0.6s;
        animation-fill-mode: both;
    }

    .main-nav a {
        font-size: 16px !important;
        padding: 12px 14px;
        border-radius: 10px;
        color: #fff;
        text-align: center;
    }
    
    .hero-content {
        padding: 12px 20px;
    }

    .destinations-content,
    .why-travel-content,
    .trust-content,
    .safety-content,
    .premium-features-content {
        padding: 0 15px;
    }

    .main-nav a:hover {
        background: #f8fafc;
        transform: none;
    }

    .main-nav.active {
        display: flex;
    }

    .hero h1 {
        font-size: 1.7rem;
    }
    .form-container {
        padding: 0 10px;
    }
    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .features-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        padding-top: 15px;
    }
    .features {
        padding: 20px 0;
        display:none;
    }
    .feature-card,
    .testimonial-card {
        padding: 15px 15px;
    }
    .section-subtitle {
        margin: 0 auto 0px;
    }
    .footer-bottom {
        opacity: 1;
        font-size: 12px;
    }
    .ttms-form-section h3 {
        margin-bottom: 12px;
    }
}

@media (max-width: 480px) {
    .main-nav a {
        font-size: 13px;
    }

    .hero h1 {
        font-size: 1.7rem;
    }

    .logo-text {
        font-size: 1.5rem;
    }

    .cta-button {
        padding: 12px 30px;
        margin-bottom: 15px;
        font-size: 1rem;
    }
}

/* Tour Tailor Made Enquiry Form Styles */
.ttms-enquiry-form-wrapper {
    max-width: 890px;
    width: 100%;
    margin: 0 auto;
    padding: 0px 20px 30px 20px;
    gap: 40px;
    background: linear-gradient(135deg, #ffffff00 0%, #f8fafc00 100%);
    border-radius: 20px;
}

.ttms-form {
    background: rgb(255 255 255 / 0%);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 40px rgb(0 0 0 / 0%);
    padding: 10px;
    width: 100%;
    z-index: 9999;
    border-radius: 15px;
    border: 0px solid rgba(17, 49, 95, 0.1);
}

.ttms-form-section h3 {
    font-size: 1.1em !important;
    margin-bottom: 15px;
}
.ttms-form-section1 {
     padding: 20px 0 5px 0;
}
.ttms-form-section2,
.ttms-form-section3, 
.ttms-form-section4, 
.ttms-form-section5, 
.ttms-form-section6 {
    padding: 10px 0;
    margin-bottom: 0px;
}

.ttms-form-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.ttms-form-section1 h3, 
.ttms-form-section2 h3, 
.ttms-form-section3 h3, 
.ttms-form-section4 h3, 
.ttms-form-section5 h3, 
.ttms-form-section6 h3, 
.ttms-form-section7 h3 {
    margin-bottom: 20px;
    font-size: 1.2em;
    position: relative;
    font-weight: 500 !important;
    color: #11315f;
    border-left: 4px solid #11315f;
    border: 1px solid #a9bad1 !important;
    background: rgb(17 49 95 / 8%) !important;
    border-radius: 5px;
    padding: 5px 10px 5px 10px;
}

.ttms-form-section h3::before {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 0px;
    background: #27ae60;
    border-radius: 2px;
}

.ttms-contact-info strong {
    line-height: normal;
}

.ttms-call-btn:hover {
    transform: translateY(-2px);
}

.ttms-form-group label {
    margin-top: 2px;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 4px;
}

.ttms-form-group label .required {
    color: #e74c3c;
    font-size: 16px;
}

.ttms-form-group input[type="date"] {
    border: 2px solid #ddd;     
}

.ttms-form-group input[type="text"], 
.ttms-form-group input[type="email"], 
.ttms-form-group input[type="tel"], 
.ttms-form-group select, 
.ttms-form-group textarea {
    width: 100%;
    height: 48px;
    padding: 12px 16px !important;
    border: 1px solid #cdcdcd !important;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

.ttms-form-group input[type="text"]:focus, 
.ttms-form-group input[type="email"]:focus, 
.ttms-form-group input[type="tel"]:focus, 
.ttms-form-group select:focus, 
.ttms-form-group textarea:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
    transform: translateY(-1px);
}

.ttms-form-group input[type="date"] {
    padding: 12px 16px !important;
    height: 48px;
    border: 2px solid #e8f0fe;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

.ttms-form-group input[type="date"]:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
    transform: translateY(-1px);
}

.ttms-form-group select {
    padding: 12px 16px !important;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2311315f' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 12px;
    padding-right: 40px !important;
    cursor: pointer;
}

textarea {
    height: 120px !important;
    resize: vertical;
    font-family: inherit;
}

textarea:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
    transform: translateY(-1px);
}

.ttms-form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #2c3e50;
}

.ttms-form-submit {
    text-align: center;
    margin-top: 15px;
    padding-top: 5px;
}

.ttms-submit-btn {
    background: linear-gradient(137deg, #11315f 0%, #451c6f 50%, #1a4d8a 100%) !important;
    color: #fff !important;
    padding: 16px 48px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    font-weight: 600;
    border: none;
    box-shadow: 0 4px 15px rgba(17, 49, 95, 0.3);
    position: relative;
    overflow: hidden;
}

.ttms-submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.ttms-submit-btn:hover {
    background: linear-gradient(135deg, #1a4d8a 0%, #11315f 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(17, 49, 95, 0.4);
}

.ttms-submit-btn:hover::before {
    left: 100%;
}

.ttms-submit-btn:active {
    transform: translateY(0);
}

.ttms-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Required field styling for external websites */
.ttms-form[data-external="true"] .ttms-form-group input[required],
.ttms-form[data-external="true"] .ttms-form-group select[required],
.ttms-form[data-external="true"] .ttms-form-group textarea[required] {
    border-color: #e0e0e0;
}

.ttms-form[data-external="true"] .ttms-form-group input[required].ttms-field-error,
.ttms-form[data-external="true"] .ttms-form-group select[required].ttms-field-error,
.ttms-form[data-external="true"] .ttms-form-group textarea[required].ttms-field-error {
    border-color: #dc3232;
    background-color: #fff8f8;
}

.ttms-form[data-external="true"] .ttms-form-group input[required]:invalid,
.ttms-form[data-external="true"] .ttms-form-group select[required]:invalid,
.ttms-form[data-external="true"] .ttms-form-group textarea[required]:invalid {
    border: 1px solid #ffaaaa !important;
}

.ttms-form[data-external="true"] .ttms-form-section.ttms-section-error {
    border: 2px solid #dc3232;
    border-radius: 8px;
    background-color: #fff8f8;
    padding: 15px;
    margin-bottom: 15px;
}

.ttms-form[data-external="true"] .ttms-form-section.ttms-section-error h3 {
    color: #dc3232;
    border-bottom-color: #dc3232;
}

/* Thank You Screen Styles */
.thank-you-container {
    overflow: hidden;
    text-align: center;
    max-width: 890px;
    width: 100%;
    margin: 0 auto;
    padding: 0px 0px 30px 0px;
    gap: 40px;
    background: linear-gradient(135deg, #fff0 0%, #f8fafc00 100%);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgb(0 0 0 / 0%);
    border: 0px solid rgba(17, 49, 95, 0.1);
}
.enquiry-details {
    text-align: center;
}
.thank-you-header {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    padding: 40px 20px !important;
    max-width: 890px;
    width: 100%;
}

.thank-you-header h1 {
    color: #11315f;
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
}

.thank-you-header p {
    color: #2c3e50;
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Date input container styling */
.ttms-date-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.ttms-date-input-wrapper::after {
    content: 'ðŸ“…';
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    pointer-events: none;
    color: #11315f;
}

/* Destinations Section */
.destinations {
    padding: 80px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #e8f4fd 100%);
    position: relative;
    overflow: hidden;
}

.destinations::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(17, 49, 95, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(39, 174, 96, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

.destinations-content {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.destinations-scroll-wrapper {
    overflow: hidden;
    position: relative;
    margin-top: 40px;
}

.scroll-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: #dddddd00;
    font-size: 3.2rem;
    cursor: pointer;
    font-weight: 200;
    z-index: 10;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    align-items: center;
    justify-content: center;
}

.destinations-scroll-wrapper:hover .scroll-arrow {
    opacity: 1;
    visibility: visible;
}

.scroll-arrow:hover {
    background: linear-gradient(135deg, #451c6f00 0%, #11315f00 100%);
    transform: translateY(-50%) scale(1.15);
}

.scroll-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

.scroll-left {
    left: 10px;
}

.scroll-right {
    right: 10px;
}

@media (max-width: 768px) {
    .scroll-arrow {
        display: none;
    }
}

.destinations-scroll {
    display: flex;
    gap: 30px;
    animation: scrollLeft 40s linear infinite;
    padding: 20px 0;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.destinations-scroll:hover {
    animation-play-state: paused;
}

@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.destination-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    flex-shrink: 0;
    width: 350px;
    display: flex;
    flex-direction: column;
}

.destination-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 70px rgba(0,0,0,0.2);
}

.destination-image {
    height: 200px;
    position: relative;
    background-size: cover;
    background-position: center;
}

.destination-card.cambodia .destination-image {
    background: linear-gradient(135deg, #8B4513 0%, #D2691E 50%, #CD853F 100%);
}

.destination-card.laos .destination-image {
    background: linear-gradient(135deg, #228B22 0%, #32CD32 50%, #90EE90 100%);
}

.destination-card.vietnam .destination-image {
    background: linear-gradient(135deg, #DC143C 0%, #FF6347 50%, #FFD700 100%);
}

.destination-card.thailand .destination-image {
    background: linear-gradient(135deg, #FF6B6B 0%, #4ECDC4 50%, #45B7D1 100%);
}

.destination-card.indonesia .destination-image {
    background: linear-gradient(135deg, #FF4757 0%, #FF6B81 50%, #FFA502 100%);
}

.destination-card.malaysia .destination-image {
    background: linear-gradient(135deg, #3742FA 0%, #5352ED 50%, #70A1FF 100%);
}

.destination-card.singapore .destination-image {
    background: linear-gradient(135deg, #FF4757 0%, #FFFFFF 50%, #FF4757 100%);
}

.destination-card.myanmar .destination-image {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #FF8C00 100%);
}

.destination-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.3) 100%);
}

.destination-flag {
    position: absolute;
    top: 0px;
    right: 20px;
    font-size: 4rem;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.destination-info {
    padding: 25px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.destination-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.destination-tagline {
    font-size: 0.95rem;
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.destination-description {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.destination-highlights {
    list-style: none;
    margin-bottom: 0px;
    flex-grow: 1;
}

.destination-highlights li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.destination-highlights i {
    color: var(--secondary-color);
    font-size: 0.8rem;
}

.destination-cta {
    display: block;
    width: 100%;
    padding: 14px 20px;
    background: linear-gradient(137deg, var(--primary-color) 0%, #451c6f 100%);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-align: center;
    margin-top: auto;
}

.destination-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(17, 49, 95, 0.3);
}

/* Why Travel With Us Section */
.why-travel-us {
    padding: 80px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #e8f4fd 100%);
    position: relative;
}

.why-travel-us::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 40%, rgba(17, 49, 95, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 60%, rgba(39, 174, 96, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

.why-travel-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.why-travel-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.why-travel-card {
    background: white;
    padding: 35px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.why-travel-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.why-travel-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}

.why-travel-card:hover::before {
    transform: scaleX(1);
}

.why-travel-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #451c6f 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 2rem;
    color: white;
    box-shadow: 0 10px 30px rgba(17, 49, 95, 0.2);
}

.why-travel-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-family: 'Playfair Display', serif;
}

.why-travel-card > p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.why-travel-features {
    list-style: none;
    margin: 0;
    padding: 0;
}

.why-travel-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-dark);
    margin-bottom: 10px;
    font-size: 0.9rem;
    font-weight: 500;
}

.why-travel-features i {
    color: var(--secondary-color);
    font-size: 0.9rem;
}

/* Trust & Statistics Section */
.trust-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #11315f 0%, #451c6f 50%, #1a4d8a 100%);
    position: relative;
    overflow: hidden;
}

.trust-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.05) 0%, transparent 50%);
    pointer-events: none;
}

.trust-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.trust-section .section-title {
    color: white;
}

.trust-section .section-subtitle {
    color: rgba(255,255,255,0.85);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin: 50px 0;
}

.stat-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 35px 25px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
}

.stat-card:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-5px);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #f1c40f;
    margin-bottom: 10px;
    font-family: 'Playfair Display', serif;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 8px;
}

.stat-description {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.5;
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.trust-badge-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    font-size: 1rem;
    font-weight: 500;
    padding: 15px 25px;
    background: rgba(255,255,255,0.1);
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
}

.trust-badge-item:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

.trust-badge-item i {
    font-size: 1.3rem;
    color: #f1c40f;
}

/* Sustainability & Safety Section */
.safety-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #f0f7ff 100%);
    position: relative;
}

.safety-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 65%, rgba(17, 49, 95, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 75% 35%, rgba(39, 174, 96, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

.safety-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.safety-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.safety-card {
    background: white;
    padding: 30px 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.safety-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.safety-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 50px rgba(0,0,0,0.12);
}

.safety-card:hover::before {
    transform: scaleX(1);
}

.safety-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #451c6f 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: white;
    box-shadow: 0 8px 25px rgba(17, 49, 95, 0.2);
}

.safety-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.safety-card p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.9rem;
}

/* Premium Features Section */
.premium-features {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #f0f7ff 100%);
    position: relative;
}

.premium-features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 30% 20%, rgba(17, 49, 95, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(39, 174, 96, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

.premium-features-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.premium-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.premium-feature {
    background: white;
    padding: 30px 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.premium-feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.premium-feature:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 50px rgba(0,0,0,0.12);
}

.premium-feature:hover::before {
    transform: scaleX(1);
}

.premium-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #451c6f 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: white;
    box-shadow: 0 8px 25px rgba(17, 49, 95, 0.2);
}

.premium-feature h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.premium-feature p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.9rem;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #e8f4fd 100%);
    position: relative;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 75%, rgba(17, 49, 95, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 75% 25%, rgba(39, 174, 96, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

.testimonials-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background: white;
    padding: 30px 25px;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0,0,0,0.12);
}

.testimonial-rating {
    display: flex;
    gap: 5px;
    margin-bottom: 15px;
}

.testimonial-rating i {
    color: #f1c40f;
    font-size: 1rem;
}

.testimonial-text {
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
    font-size: 0.95rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #451c6f 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
}

.author-info h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 2px;
}

.author-info p {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Responsive Design======*/
@media (max-width: 768px) {
    .hero {
        min-height: 50vh;
    }
    
    .hero-title,
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
        max-width: 100%;
    }
    
    .hero-cta-group {
        flex-direction: column;
        gap: 10px;
    }
    
    .cta-button {
        width: 100%;
        justify-content: center;
        padding: 12px 24px;
    }
    
    .hero-trust-badges {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }
    
    .trust-badge {
        font-size: 0.85rem;
    }
    
    .destinations,
    .premium-features,
    .testimonials {
        padding: 50px 0;
    }
    
    .destinations-scroll-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .destinations-scroll {
        animation: none;
        padding: 10px 0;
    }
    
    .destination-card {
        width: 300px;
    }
    
    .premium-features-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .premium-feature,
    .testimonial-card {
        padding: 20px;
    }
    
    .destination-image {
        height: 150px;
    }
    
    .destination-flag {
        font-size: 2rem;
    }
    
    .destination-info h3 {
        font-size: 1.5rem;
    }
    
    .premium-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .why-travel-grid,
    .safety-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .why-travel-card,
    .safety-card {
        padding: 25px 20px;
    }
    
    .why-travel-icon,
    .safety-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .why-travel-card h3,
    .safety-card h3 {
        font-size: 1.2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .stat-card {
        padding: 25px 20px;
    }
    
    .stat-number {
        font-size: 2.2rem;
        margin-bottom: 8px;
    }
    
    .stat-label {
        font-size: 0.95rem;
        margin-bottom: 6px;
    }
    
    .stat-description {
        font-size: 0.8rem;
    }
    
    .trust-badges {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    .trust-badge-item {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
    }
    
    .thank-you-header {
        min-height: 250px;
        padding: 30px 15px;
    }

    .thank-you-header h1 {
        font-size: 2em;
    }

    .thank-you-header p {
        font-size: 1.1rem;
    }

    .ttms-enquiry-form-wrapper {
        gap: 20px;
        padding: 20px 15px;
        border-radius: 15px;
    }
}
