/* ==========================================================================
   YMU Travels Sri Lanka Custom Stylesheet
   ========================================================================== */

:root {
    --primary-orange: #e67e22;
    --primary-gold: #f39c12;
    --secondary-orange: #d35400;
    --dark-bg: #111111;
    --dark-gray: #1a1a1a;
    --light-bg: #f8f9fa;
    --text-main: #2c3e50;
    --text-muted: #7f8c8d;
    --border-color: #e2e8f0;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --font-heading: 'Poppins', sans-serif;
    --font-handwriting: 'Satisfy', cursive;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-main);
    background-color: #ffffff;
    overflow-x: hidden;
}

/* ==========================================================================
   Typography & Accents
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
}

.script-heading {
    font-family: var(--font-handwriting);
    color: var(--primary-gold);
    font-size: 2.2rem;
    margin-bottom: 0.2rem;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--dark-bg);
    text-transform: uppercase;
}

/* ==========================================================================
   Navbar
   ========================================================================== */
.custom-navbar {
    background-color: transparent;
    transition: all 0.4s ease;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.custom-navbar.scrolled {
    background-color: var(--dark-bg);
    padding: 0.6rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border-bottom: none;
}

.logo-title {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
    color: #ffffff;
    letter-spacing: 2px;
}

.logo-subtitle {
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--primary-gold);
}

.custom-navbar .nav-link {
    color: #ffffff !important;
    font-weight: 500;
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin: 0 0.5rem;
    position: relative;
    transition: color 0.3s ease;
}

.custom-navbar .nav-link:hover,
.custom-navbar .nav-link.active {
    color: var(--primary-gold) !important;
}

.custom-navbar .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 8px;
    right: 8px;
    height: 2px;
    background-color: var(--primary-gold);
}

.btn-phone {
    background-color: var(--primary-orange);
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 4px;
    border: none;
    transition: background-color 0.3s ease;
}

.btn-phone:hover {
    background-color: var(--secondary-orange);
    color: #ffffff;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    padding-bottom: 120px;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 1;
}

.hero-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
    z-index: 2;
}

.hero-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
}

.hero-divider .divider-fill {
    fill: #ffffff;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-tagline {
    font-family: var(--font-handwriting);
    font-size: 3rem;
    color: var(--primary-gold);
    margin-bottom: 0.5rem;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1px;
}

.hero-title span {
    color: var(--primary-gold);
}

.hero-desc {
    font-size: 1.1rem;
    max-width: 600px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
}

.btn-explore {
    background-color: var(--primary-orange);
    color: #ffffff;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.8rem 2rem;
    border-radius: 4px;
    border: none;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn-explore:hover {
    background-color: var(--secondary-orange);
    color: #ffffff;
    transform: translateY(-2px);
}

.rating-badge {
    position: absolute;
    right: 10%;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 110px;
    height: 110px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    z-index: 2;
    text-align: center;
}

.rating-badge i {
    color: var(--primary-gold);
    font-size: 1.2rem;
    margin-bottom: 0.2rem;
}

.rating-badge .rating-num {
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1;
}

.rating-badge .rating-text {
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.2;
}

/* ==========================================================================
   Search Container (Floating)
   ========================================================================== */
.search-container {
    position: relative;
    z-index: 3;
    margin-top: -60px;
}

.search-box {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
}

.search-field {
    border-right: 1px solid var(--border-color);
    padding: 0 1rem;
}

.search-field:last-child {
    border-right: none;
}

.search-field label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 0.2rem;
    text-transform: uppercase;
}

.search-field .input-group-text {
    background: none;
    border: none;
    color: var(--primary-orange);
    padding-left: 0;
}

.search-field .form-control {
    border: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding-left: 0.5rem;
    color: var(--text-main);
}

.search-field .form-control::placeholder {
    color: #a0aec0;
}

.search-field .form-control:focus {
    box-shadow: none;
}

.btn-search {
    background-color: var(--primary-orange);
    color: #ffffff;
    font-weight: 600;
    padding: 0.8rem 2rem;
    border-radius: 4px;
    border: none;
    width: 100%;
    transition: background-color 0.3s ease;
}

.btn-search:hover {
    background-color: var(--secondary-orange);
    color: #ffffff;
}

/* ==========================================================================
   Categories Bar
   ========================================================================== */
.categories-section {
    padding: 3rem 0;
    background-color: #ffffff;
    border-bottom: 1px solid var(--border-color);
}

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-main);
    transition: all 0.3s ease;
}

.category-icon {
    font-size: 1.8rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.category-name {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.category-item:hover {
    color: var(--primary-orange);
}

.category-item:hover .category-icon {
    color: var(--primary-orange);
    transform: translateY(-3px);
}

/* ==========================================================================
   Stats / Counter Banner Section
   ========================================================================== */
.stats-section {
    position: relative;
    background-image: linear-gradient(rgba(18, 18, 18, 0.8), rgba(18, 18, 18, 0.88)), url('../images/hero-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding: 3.5rem 0;
    border-top: 3px solid var(--primary-orange);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.8rem 0;
}

@media (max-width: 767px) {
    .stat-item {
        border-right: none;
    }
}

.stat-item:last-child {
    border-right: none;
}

.stat-icon {
    font-size: 2.2rem;
    color: var(--primary-gold);
    font-style: normal;
}

.stat-num {
    font-size: 2.2rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
}

.stat-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

/* ==========================================================================
   Travel Packages Grid
   ========================================================================== */
.packages-section {
    padding: 5rem 0;
    background-color: var(--light-bg);
}

.package-card {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
}

.package-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.package-img-container {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.package-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.package-card:hover .package-img-container img {
    transform: scale(1.08);
}

.duration-badge {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background-color: var(--primary-orange);
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.package-body {
    padding: 1.5rem;
}

.package-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--dark-bg);
}

.package-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    min-height: 38px;
}

.package-icons {
    display: flex;
    gap: 1.2rem;
    border-top: 1px solid var(--border-color);
    padding-top: 0.8rem;
    margin-bottom: 1.2rem;
}

.package-icons span {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

.package-icons i {
    color: var(--primary-orange);
    margin-right: 0.3rem;
}

.package-pricing {
    display: flex;
    border-radius: 4px;
    overflow: hidden;
}

.price-lkr {
    background-color: var(--primary-gold);
    color: #ffffff;
    font-weight: 700;
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
    flex-grow: 1;
    text-align: center;
}

.price-per-person {
    background-color: var(--primary-orange);
    color: #ffffff;
    font-weight: 600;
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ==========================================================================
   Counter/Stats Banner
   ========================================================================== */
.stats-section {
    background-color: var(--dark-bg);
    color: #ffffff;
    padding: 3.5rem 0;
    border-top: 2px solid var(--primary-orange);
}

.stat-item {
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item:last-child {
    border-right: none;
}

.stat-icon {
    font-size: 2.2rem;
    color: var(--primary-gold);
    margin-right: 1rem;
}

.stat-num {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
}

.stat-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ==========================================================================
   Widgets Row (About Us, Live Weather, Currency Converter)
   ========================================================================== */
.widgets-section {
    padding: 5rem 0;
    background-color: #ffffff;
}

.widget-card {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: var(--card-shadow);
    padding: 2rem;
    height: 100%;
    border: 1px solid rgba(0,0,0,0.02);
}

.widget-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
    color: var(--dark-bg);
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary-orange);
}

/* About Us Widget style */
.about-widget-img {
    border-radius: 8px;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-checklist {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
}

.about-checklist li {
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.about-checklist li i {
    color: var(--primary-orange);
    margin-right: 0.6rem;
}

.btn-readmore {
    background: transparent;
    border: 1px solid var(--primary-orange);
    color: var(--primary-orange);
    font-weight: 600;
    font-size: 0.8rem;
    padding: 0.5rem 1.2rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-readmore:hover {
    background-color: var(--primary-orange);
    color: #ffffff;
}

/* Weather Widget style */
.weather-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.weather-icon {
    width: 60px;
    height: 60px;
}

.weather-temp {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--dark-bg);
    line-height: 1;
}

.weather-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.weather-details {
    display: flex;
    justify-content: space-between;
    background-color: var(--light-bg);
    padding: 0.8rem;
    border-radius: 6px;
    margin-bottom: 1.5rem;
}

.weather-detail-item {
    text-align: center;
}

.weather-detail-label {
    font-size: 0.65rem;
    color: var(--text-muted);
    display: block;
    margin-bottom: 0.2rem;
}

.weather-detail-val {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--dark-bg);
}

.weather-forecast {
    display: flex;
    justify-content: space-between;
}

.forecast-day {
    text-align: center;
}

.forecast-name {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-muted);
    display: block;
    margin-bottom: 0.2rem;
}

.forecast-icon {
    font-size: 1.1rem;
    color: var(--primary-gold);
    margin-bottom: 0.2rem;
}

.forecast-temp {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--dark-bg);
    display: block;
}

/* Currency Widget style */
.currency-row {
    background-color: var(--light-bg);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 0.8rem;
    margin-bottom: 1rem;
}

.currency-row label {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 0.2rem;
}

.currency-select {
    border: none;
    background: none;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark-bg);
    width: 100%;
}

.currency-input {
    border: none;
    background: none;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark-bg);
    width: 100%;
    text-align: right;
}

.currency-input:focus, .currency-select:focus {
    outline: none;
}

.currency-swap-container {
    display: flex;
    justify-content: center;
    margin: -0.5rem 0;
    position: relative;
    z-index: 2;
}

.btn-swap {
    background-color: var(--primary-orange);
    color: #ffffff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.btn-swap:hover {
    transform: rotate(180deg);
}

.currency-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

/* ==========================================================================
   Why Choose Us Section
   ========================================================================== */
.why-choose-section {
    padding: 5rem 0;
    background-color: var(--light-bg);
}

.choose-card {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: var(--card-shadow);
    padding: 1.5rem;
    text-align: left;
    height: 100%;
    transition: transform 0.3s ease;
    border-left: 4px solid var(--primary-orange);
}

.choose-card:hover {
    transform: translateY(-3px);
}

.choose-icon {
    font-size: 1.8rem;
    color: var(--primary-orange);
    margin-bottom: 0.8rem;
}

.choose-title {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    color: var(--dark-bg);
}

.choose-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.4;
    margin-bottom: 0;
}

/* ==========================================================================
   Happy Clients Section
   ========================================================================== */
.testimonials-section {
    padding: 5rem 0;
    background-color: #ffffff;
    position: relative;
}

.testimonials-slider-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1.5rem;
    padding: 1rem 0.5rem 2rem;
    scrollbar-width: none; /* Hide scrollbar for Firefox */
}

.testimonials-slider-container::-webkit-scrollbar {
    display: none; /* Hide scrollbar for Chrome/Safari */
}

.testimonial-card {
    flex: 0 0 300px;
    scroll-snap-align: start;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: var(--card-shadow);
    padding: 1.5rem;
    border: 1px solid rgba(0,0,0,0.02);
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 0.8rem;
}

.testimonial-meta h6 {
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 0.1rem;
    color: var(--dark-bg);
}

.testimonial-meta span {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.testimonial-quote {
    font-size: 0.78rem;
    color: var(--text-main);
    line-height: 1.5;
    margin-bottom: 1rem;
    min-height: 60px;
    position: relative;
}

.testimonial-quote::before {
    content: '"';
    font-size: 2rem;
    color: rgba(230, 126, 34, 0.15);
    position: absolute;
    top: -15px;
    left: -10px;
    font-family: serif;
}

.testimonial-stars {
    color: var(--primary-gold);
    font-size: 0.7rem;
}

.slider-controls {
    display: flex;
    gap: 0.5rem;
}

.btn-slider {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background-color: #ffffff;
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-slider:hover {
    background-color: var(--primary-orange);
    color: #ffffff;
    border-color: var(--primary-orange);
}

/* ==========================================================================
   Popular Destinations Section
   ========================================================================== */
.destinations-section {
    padding: 5rem 0;
    background-color: var(--light-bg);
}

.dest-card {
    position: relative;
    height: 240px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    cursor: pointer;
    border: none;
}

.dest-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.dest-card:hover img {
    transform: scale(1.08);
}

.dest-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 60%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 1;
}

.dest-title {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: #ffffff;
    font-weight: 700;
    font-size: 1.15rem;
    z-index: 2;
    margin-bottom: 0;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* ==========================================================================
   Newsletter Section
   ========================================================================== */
.newsletter-section {
    background-color: var(--primary-orange);
    color: #ffffff;
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
}

.newsletter-icon {
    font-size: 2.2rem;
    color: rgba(255, 255, 255, 0.8);
}

.newsletter-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.newsletter-subtitle {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0;
}

.newsletter-form .form-control {
    border: none;
    border-radius: 4px 0 0 4px;
    padding: 0.75rem 1.2rem;
    font-size: 0.85rem;
}

.newsletter-form .form-control:focus {
    box-shadow: none;
}

.btn-subscribe {
    background-color: var(--dark-bg);
    color: #ffffff;
    border-radius: 0 4px 4px 0;
    padding: 0.75rem 1.8rem;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    transition: background-color 0.3s ease;
}

.btn-subscribe:hover {
    background-color: #000000;
}

/* Decor outline suitcase */
.newsletter-decor {
    position: absolute;
    right: 2%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.08;
    pointer-events: none;
}

/* ==========================================================================
   Footer Styling & Extras
   ========================================================================== */
.footer-section {
    font-size: 0.85rem;
    background-color: var(--dark-bg) !important;
}

.footer-logo-title {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
    color: #ffffff;
    letter-spacing: 2px;
}

.footer-logo-subtitle {
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--primary-gold);
}

.footer-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.2rem;
    letter-spacing: 1px;
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    color: #a0aec0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-gold);
}

.footer-contact li {
    color: #a0aec0;
}

.social-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-btn:hover {
    background-color: var(--primary-gold);
    color: #ffffff;
    transform: translateY(-2px);
}

.bg-secondary-dark {
    background-color: rgba(255,255,255,0.04);
}

/* ==========================================================================
   Responsive Adjustments
   ========================================================================== */
@media (max-width: 991.98px) {
    .custom-navbar {
        background-color: var(--dark-bg);
        padding: 0.8rem 0;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .rating-badge {
        position: static;
        transform: none;
        margin: 2rem 0;
    }
    
    .search-container {
        margin-top: -20px;
    }
    
    .search-field {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding: 0.8rem 0;
    }
    
    .search-field:last-child {
        border-bottom: none;
    }
    
    .stat-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 1.5rem;
    }
    
    .stat-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-tagline {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .testimonials-slider-container {
        gap: 1rem;
    }
    
    .testimonial-card {
        flex: 0 0 280px;
    }
}

/* ==========================================================================
   Preloader Style
   ========================================================================== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--dark-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader-content {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 200px;
    height: 200px;
}

.preloader-logo {
    height: 100px;
    z-index: 2;
    animation: logoPulse 1.8s ease-in-out infinite;
}

.preloader-spinner {
    position: absolute;
    width: 160px;
    height: 160px;
    border: 3px solid transparent;
    border-top-color: var(--primary-gold);
    border-radius: 50%;
    animation: spinnerRotate 1.2s linear infinite;
    z-index: 1;
}

@keyframes logoPulse {
    0%, 100% { transform: scale(1); opacity: 0.9; }
    50% { transform: scale(1.08); opacity: 1; }
}

@keyframes spinnerRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#preloader.fade-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* ==========================================================================
   Scroll Reveal Animation Style
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   Mobile Bottom Navigation Bar
   ========================================================================== */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 6px 0 env(safe-area-inset-bottom, 6px);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.6rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 6px 0;
    flex: 1;
    transition: color 0.3s ease, transform 0.2s ease;
}

.mobile-nav-item i {
    font-size: 1.15rem;
    margin-bottom: 3px;
    transition: transform 0.2s ease;
}

.mobile-nav-item.active {
    color: var(--primary-gold);
}

.mobile-nav-item.active i {
    transform: scale(1.15);
}

.mobile-nav-item:hover {
    color: var(--primary-gold);
}

/* Add bottom padding to footer to prevent content behind mobile nav */
@media (max-width: 991.98px) {
    .footer-section {
        padding-bottom: 80px !important;
    }
}

/* ==========================================================================
   Footer Background Image
   ========================================================================== */
.footer-section {
    position: relative;
    background-color: #1a1a1a;
    background-image: url('../images/footer-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.footer-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(18, 18, 18, 0.75);
    z-index: 0;
}

.footer-section > .container {
    position: relative;
    z-index: 1;
}
