/* Riwash Hitech - New Frontend Design CSS */
/* Extracted from travel-design-5/index.html */

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; }

/* Hero Section */
.hero {
    position: relative;
    color: white;
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.95) 0%, rgba(45, 90, 135, 0.9) 100%), url(https://images.unsplash.com/photo-1544735716-392fe2489ffa?w=1920) center / cover;
    padding: 0px 0;
}

.hero .owl-carousel,
.hero .owl-carousel .item,
.hero .owl-carousel .item > div {
    background: transparent !important;
}

.hero-gradient {
    background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.4) 100%) !important;
}

/* Owl Carousel Override */
.owl-carousel .item {
    position: relative;
}

.owl-carousel .owl-stage-outer {
    overflow: hidden;
}

.owl-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.owl-dots .owl-dot {
    width: 12px;
    height: 12px;
    margin: 0 5px;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
    display: inline-block;
    transition: all 0.3s;
}

.owl-dots .owl-dot.active {
    background: #e74c3c;
    transform: scale(1.2);
}

/* Blog Content Styles */
.blog-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.875rem;
    font-weight: 700;
    color: #1E3A5F;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}
.blog-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #1E3A5F;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}
.blog-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: #4B5563;
}
.blog-content ul, .blog-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}
.blog-content li {
    margin-bottom: 0.5rem;
    color: #4B5563;
}
.blog-content blockquote {
    border-left: 4px solid #C75B39;
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #374151;
}

/* Header Styles */
.top-bar {
    background: #1e3a5f;
    color: white;
    padding: 8px 0;
    font-size: 13px;
}

.main-header {
    background: white;
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Mega Menu Styles */
.mega-menu-wrapper {
    position: relative;
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1001;
    margin-top: 10px;
}

.mega-menu-wrapper:hover .mega-menu {
    opacity: 1;
    visibility: visible;
}

.mega-menu-header {
    background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 100%);
    padding: 20px 25px;
    color: white;
    border-radius: 8px 8px 0 0;
}

.mega-menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.mega-menu-column {
    padding: 25px;
    border-right: 1px solid #f1f5f9;
}

.mega-menu-column:last-child {
    border-right: none;
}

.mega-menu-title {
    font-size: 13px;
    font-weight: 700;
    color: #1e3a5f;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mega-menu-title i {
    color: #e74c3c;
}

.mega-menu-list {
    list-style: none;
}

.mega-menu-list li {
    margin-bottom: 10px;
}

.mega-menu-list a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #64748b;
    font-size: 14px;
    transition: all 0.2s;
    padding: 4px 0;
}

.mega-menu-list a:hover {
    color: #e74c3c;
    padding-left: 5px;
}

.mega-menu-list a i {
    font-size: 10px;
    color: #cbd5e1;
}

/* Dropdown Styles */
.dropdown-wrapper {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1001;
    padding: 10px 0;
    margin-top: 10px;
}

.dropdown-wrapper:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    color: #475569;
    font-size: 14px;
    transition: all 0.2s;
}

.dropdown-item:hover {
    background: #f8fafc;
    color: #e74c3c;
}

.dropdown-item i {
    color: #94a3b8;
    width: 18px;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: white;
    z-index: 2000;
    transition: right 0.3s ease;
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.95) 0%, rgba(45, 90, 135, 0.9) 100%), url('https://images.unsplash.com/photo-1544735716-392fe2489ffa?w=1920') center/cover;
    padding: 0px 0;
    text-align: center;
    color: white;
}

/* Button Styles */
.btn-main {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-main:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(231, 76, 60, 0.3);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: white;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    border: 2px solid white;
    transition: all 0.3s;
    cursor: pointer;
}

.btn-outline:hover {
    background: white;
    color: #1e3a5f;
}

/* Card Styles */
.trek-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

.trek-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

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

.trek-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.trek-card:hover .trek-img img {
    transform: scale(1.05);
}

.trek-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #e74c3c;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.trek-content {
    padding: 20px;
}

.trek-title {
    font-size: 18px;
    font-weight: 700;
    color: #1e3a5f;
    margin-bottom: 8px;
    line-height: 1.4;
}

.trek-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #64748b;
    font-size: 13px;
    margin-bottom: 12px;
}

.trek-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #e2e8f0;
}

.trek-price {
    font-size: 20px;
    font-weight: 800;
    color: #e74c3c;
}

.trek-price span {
    font-size: 13px;
    color: #94a3b8;
    font-weight: 400;
}



/* Blog Card */
.blog-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.blog-img {
    height: 200px;
    overflow: hidden;
}

.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.blog-card:hover .blog-img img {
    transform: scale(1.05);
}

/* Departure Table */
.departure-table {
    width: 100%;
    border-collapse: collapse;
}

.departure-table th {
    background: #1e3a5f;
    color: white;
    padding: 14px 16px;
    text-align: left;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.departure-table td {
    padding: 16px;
    border-bottom: 1px solid #e2e8f0;
    font-size: 14px;
}

.departure-table tr:hover {
    background: #f8fafc;
}

.seats-available {
    background: #dcfce7;
    color: #16a34a;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.seats-limited {
    background: #fef3c7;
    color: #d97706;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

/* Quick Contact Bar */
.contact-bar {
    background: #1e3a5f;
    color: white;
    padding: 20px 0;
}

/* Footer */
.footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 60px 0 30px;
}

.footer h4 {
    color: white;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer a {
    color: #94a3b8;
    display: block;
    padding: 6px 0;
    font-size: 14px;
    transition: color 0.2s;
}

.footer a:hover {
    color: #e74c3c;
}

/* Quick Links Nav */
.quick-nav {
    background: white;
    border-bottom: 1px solid #e2e8f0;
    padding: 12px 0;
}

.quick-nav a {
    color: #475569;
    font-size: 13px;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 4px;
    transition: all 0.2s;
    white-space: nowrap;
}

.quick-nav a:hover, .quick-nav a.active {
    background: #fef2f2;
    color: #e74c3c;
}

/* Difficulty Badge */
.difficulty {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: 500;
}

.difficulty.easy { background: #dcfce7; color: #16a34a; }
.difficulty.moderate { background: #fef3c7; color: #d97706; }
.difficulty.hard { background: #fee2e2; color: #e74c3c; }

/* Mobile Responsive */
@media (max-width: 1024px) {
    .mega-menu {
        display: none;
    }
    
    .mega-menu-wrapper:hover .mega-menu {
        display: none;
    }
}

@media (max-width: 768px) {

.slider-text-box  {
  margin-top: 20px;
  display: inline-block;
}
    .hero {
        padding: 0px 0;
    }
    
    .hero h2 {
        font-size: 1.875rem;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .departure-table {
        display: block;
        overflow-x: auto;
    }
    
    .quick-nav {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .quick-nav::-webkit-scrollbar {
        display: none;
    }
}

/* Utility Colors */
.text-primary { color: #1e3a5f; }
.text-accent { color: #e74c3c; }
.bg-primary { background-color: #1e3a5f; }
.bg-accent { background-color: #e74c3c; }
.border-accent { border-color: #e74c3c; }

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1e3a5f;
    margin-bottom: 12px;
}

.section-header p {
    color: #64748b;
    font-size: 1.1rem;
}

/* Stats Section */
.stat-box {
    text-align: center;
    padding: 30px;
}

.stat-number {
    font-size: 36px;
    font-weight: 800;
    color: #e74c3c;
    margin-bottom: 8px;
}

.stat-label {
    color: #64748b;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Testimonial Card */
.testimonial-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.testimonial-stars {
    color: #f59e0b;
    margin-bottom: 15px;
}

.testimonial-text {
    color: #475569;
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #1e3a5f;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: #1e3a5f;
    box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.1);
}

/* Loading Animation */
@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading {
    animation: spin 1s linear infinite;
}

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

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #64748b;
}


/* page section */

/* Section Background */
.section-warm {
    background: linear-gradient(135deg, #f8fafc, #eef2f7);
    position: relative;
    overflow: hidden;
}

/* Container spacing */
.page-section {
    padding-top: 80px;
    padding-bottom: 80px;
}

/* Main paragraph intro */
.page-section > .max-w-7xl > p:first-child {
    font-size: 18px;
    line-height: 1.8;
    color: #4a5568;
    margin-bottom: 40px;
    max-width: 850px;
}

/* Headings (number + title) */
.page-section h3 {
    font-size: 22px;
    font-weight: 700;
    color: #1a202c;
    margin-top: 40px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Number styling */
.page-section h3 strong:first-child {
    color: #ff6b35;
    font-size: 26px;
}

/* Paragraph under each heading */
.page-section h3 + p {
    font-size: 16px;
    line-height: 1.8;
    color: #4a5568;
    margin-bottom: 20px;
    padding-left: 5px;
}

/* Card-like effect for each block */
.page-section h3,
.page-section h3 + p {
    background: #ffffff;
    padding: 20px 25px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

/* Group spacing fix */
.page-section h3 {
    margin-bottom: 0;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.page-section h3 + p {
    margin-top: 0;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

/* Hover effect */
.page-section h3:hover,
.page-section h3:hover + p {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
}

/* Last paragraph */
.page-section > .max-w-7xl > p:last-child {
    margin-top: 50px;
    font-weight: 500;
    font-size: 17px;
    color: #2d3748;
    background: #fff7ed;
    padding: 20px 25px;
    border-left: 4px solid #ff6b35;
    border-radius: 8px;
}

/* Responsive */
@media (max-width: 768px) {
    .page-section {
        padding: 50px 20px;
    }

    .page-section h3 {
        font-size: 18px;
    }

    .page-section h3 strong:first-child {
        font-size: 22px;
    }

    .page-section p {
        font-size: 15px;
    }
}