/* Global Styles */
:root {
    /* Light Mode - Earthy Tones */
    --primary-color: #9c6644; /* Terracotta */
    --secondary-color: #d4b996; /* Sand */
    --accent-color: #2a9d8f; /* Teal */
    --dark-color: #264653; /* Deep Teal */
    --light-color: #f8f9fa;
    --success-color: #5D8A66; /* Muted Green */
    --warning-color: #E6B89C; /* Soft Peach */
    --danger-color: #9E5A63; /* Muted Burgundy */
    --gray-color: #6c757d;
    --text-color: #3a3a3a;
    --bg-color: #f8f9fa;
    --transition: all 0.3s ease;
    --primary-color-rgb: 156, 102, 68; /* RGB values for Terracotta */
    --secondary-color-rgb: 212, 185, 150; /* RGB values for Sand */
    --accent-color-rgb: 42, 157, 143; /* RGB values for Teal */
}

/* Dark Mode Colors */
[data-theme="dark"] {
    --primary-color: #ff8c42; /* Brighter Orange */
    --secondary-color: #6a7a7c; /* Lighter Charcoal */
    --accent-color: #4ecdc4; /* Bright Teal */
    --dark-color: #0a1128; /* Dark Royal Blue */
    --light-color: #ffffff;
    --text-color: #ffffff; /* Pure white for better contrast */
    --bg-color: #0a1128; /* Dark Royal Blue */
    --success-color: #7ebe8a; /* Brighter Green */
    --warning-color: #ffcba4; /* Brighter Peach */
    --danger-color: #e07f8a; /* Brighter Burgundy */
}

/* Light Mode Text Color Fix */
[data-theme="light"] .bg-light, 
[data-theme="light"] .card, 
[data-theme="light"] .feedback-card,
[data-theme="light"] .workshop-card,
[data-theme="light"] .journey-card,
[data-theme="light"] .client-logo,
[data-theme="light"] .testimonial-card {
    color: #000000; /* Black text on white backgrounds */
}
[data-theme="dark"] .testimonial-card {
    color: #078a4d; /* Black text on white backgrounds */
}
/* Section heading text color for light/dark modes */
[data-theme="light"] section h2,
[data-theme="light"] .section-title {
    color: #000000 !important; /* Black text in light mode */
}

[data-theme="dark"] section h2,
[data-theme="dark"] .section-title {
    color: #ffffff !important; /* White text in dark mode */
}

/* India map background pattern */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image: url('../assets/images/world.svg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    opacity: 0.05; /* 40% transparent */
    filter: hue-rotate(60deg) brightness(1.5); /* Yellow color */
    pointer-events: none;
}

/* Dotted line path */
body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background-image: radial-gradient(circle, white 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.3;
    pointer-events: none;
}

/* Remove dotted background in dark mode */
[data-theme="dark"] body::after {
    background: none !important;
    opacity: 0 !important;
}

/* Font enhancements */
body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--bg-color);
    font-weight: 400;
    letter-spacing: 0.2px;
}

/* Card text styling as per requirements */
.card-text {
    font-family: 'Delius', cursive;
    font-size: 0.95rem;
    color: #222; /* Dark gray for light theme */
    line-height: 1.6;
}

/* Change color to white in dark mode */
[data-theme="dark"] .card-text {
    color: #fff !important;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-color);
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.05);
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
}

h2 {
    font-size: 2.8rem;
}

h3 {
    font-size: 2.2rem;
}

p {
    font-size: 1.05rem;
    margin-bottom: 1.2rem;
    line-height: 1.7;
}

.section-title, 
section h2,
.section-header h2 {
    font-family: 'Cedarville Cursive', cursive;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
    visibility: visible !important;
    opacity: 1 !important;
    display: block !important;
    z-index: 100 !important;
    position: relative !important;
    background-color: transparent !important;
}

/* Light mode section title colors */
[data-theme="light"] .section-title,
[data-theme="light"] section h2,
[data-theme="light"] .section-header h2 {
    color: #000 !important;
}

/* Dark mode section title colors */
[data-theme="dark"] .section-title,
[data-theme="dark"] section h2,
[data-theme="dark"] .section-header h2 {
    color: #fff !important;
}

/* Make all sections visible above the watermark */
section {
    padding: 80px 0;
    position: relative;
    z-index: 10;
    background-color: transparent;
}

/* Ensure all section titles are visible */
.section-title, 
section h2, 
.section-header h2,
.featured-tours .section-header h2,
.what-we-do .section-header h2,
.why-choose-us .section-header h2,
.take-a-tour .section-header h2,
.experiences .section-header h2,
.testament .section-header h2,
.popular-journeys .section-header h2,
.testimonials .section-header h2,
.feedback .section-header h2,
.clients .section-header h2,
.workshops .section-header h2 {
    font-family: 'Cedarville Cursive', cursive;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-color);
    visibility: visible !important;
    opacity: 1 !important;
    display: block !important;
    position: relative !important;
    z-index: 100 !important;
    text-shadow: 0px 0px 2px rgba(255,255,255,0.5);
}

.section-subtitle {
    color: var(--accent-color);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color); /* Dark Blue for hover */
}

.btn {
    border-radius: 30px;
    padding: 0.6rem 1.8rem;
    font-weight: 600;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(var(--primary-color-rgb), 0.3);
}

.btn-primary:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(var(--accent-color-rgb), 0.5);
}

.btn-primary:active {
    transform: translateY(1px);
    box-shadow: 0 2px 10px rgba(var(--accent-color-rgb), 0.3);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    border-width: 2px;
    background: linear-gradient(to right, transparent 50%, var(--primary-color) 50%);
    background-size: 200% 100%;
    background-position: left bottom;
}

/* Button color variants as per requirements */
.btn-green {
    background-color: #28a745;
    border-color: #28a745;
    color: #fff;
}
.btn-green:hover {
    background-color: #218838;
    border-color: #1e7e34;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.btn-red {
    background-color: #20b459;
    border-color: #20b459;
    color: #fff;
}
.btn-red:hover {
    background-color: #c82333;
    border-color: #bd2130;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
}

.btn-yellow {
    background-color: #ffc107;
    border-color: #ffc107;
    color: #212529;
}
.btn-yellow:hover {
    background-color: #e0a800;
    border-color: #d39e00;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
}

.btn-outline-primary:hover {
    background-position: right bottom;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(var(--primary-color-rgb), 0.4);
}

section {
    padding: 80px 0;
    position: relative;
    z-index: 5;
}

.section-header {
    margin-bottom: 60px;
    text-align: center;
}

.section-header h2 {
    font-size: 2.8rem;
    margin-bottom: 1.2rem;
    position: relative;
    display: inline-block;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-emphasis-color: transparent;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.section-header h2:after {
    content: '';
    position: absolute;
    width: 70px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--gray-color);
    max-width: 700px;
    margin: 0 auto;
    margin-top: 25px;
}

/* Make Featured Study Tours heading visible and black in light mode */
.section-header .section-title {
    font-family: 'Cedarville Cursive', cursive;
    color: #111 !important;      /* Black for light theme */
    font-size: 2.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-shadow: 0 2px 8px rgba(255,255,255,0.5), 0 1px 0 #fff;
    line-height: 1.1;
}

/* Featured Study Tours heading: always visible, Cedarville Cursive, black/white */
.section-header .section-title,
.section-title,
.featured-tours .section-header h2 {
    font-family: 'Cedarville Cursive', cursive;
    font-size: 2.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #06d737 !important; /* Black for light theme */
    text-shadow: 0 2px 8px rgba(255,255,255,0.5), 0 1px 0 #fff;
    line-height: 1.1;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: unset !important;
    background-clip: unset !important;
    text-emphasis-color: unset !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    z-index: 100 !important;
    position: relative !important;
}

/* White in dark mode */
[data-theme="dark"] .section-header .section-title,
[data-theme="dark"] .section-title,
[data-theme="dark"] .featured-tours .section-header h2 {
    color: #fff !important;
    text-shadow: 0 2px 8px rgba(0,0,0,0.7), 0 1px 0 #000;
}

/* Navbar Styles */
.navbar {
    padding: 1rem 0;
    transition: var(--transition);
    background-color: rgba(26, 26, 46, 0.8); /* Semi-transparent dark background */
    backdrop-filter: blur(10px); /* Modern blur effect */
}

.navbar.scrolled {
    background-color: var(--dark-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    padding: 0.5rem 0;
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.8rem;
    color: white;
    margin-right: 2rem;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 600;
    margin: 0 2px;
    padding: 0.5rem 0.8rem !important;
    transition: var(--transition);
    text-align: center;
}

.nav-link:hover, .nav-link.active {
    color: white !important;
}

.login-btn {
    background-color: var(--accent-color);
    color: white !important;
    border-radius: 30px;
    padding: 0.5rem 1.5rem !important;
    margin-left: 1rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(246, 76, 114, 0.3);
}

.login-btn:hover {
    background-color: var(--primary-color);
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(108, 99, 255, 0.4);
}

/* --- HERO SECTION VIDEO: Responsive and visually appealing --- */
.hero-section {
    position: relative;
    width: 100vw;
    min-height: 100vh;
    height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #000; /* fallback */
    padding: 0;
}

.video-background {
    position: absolute;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    z-index: 0;
    overflow: hidden;
}

.video-background video {
    position: absolute;
    top: 50%; left: 50%;
    width: 100vw;
    height: 100vh;
    min-width: 100vw;
    min-height: 100vh;
    transform: translate(-50%, -50%);
    object-fit: cover; /* fills area, keeps aspect ratio */
    object-position: center;
    z-index: 0;
    filter: blur(4px) brightness(0.85) saturate(1.15);
    background: #000;
    transition: filter 0.4s;
    pointer-events: none;
}

@media (max-width: 768px) {
    .hero-section,
    .video-background,
    .video-background video {
        min-height: 60vh;
        height: 60vh;
        width: 100vw;
    }
}

.video-background .overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.4); /* dark overlay for text readability */
    z-index: 2;
    transition: background 0.4s;
}

/* Add a blue/purple/teal color overlay in dark mode for visual effect */
[data-theme="dark"] .video-background .overlay {
    background: linear-gradient(
        120deg,
        rgba(20, 30, 60, 0.7) 0%,
        rgba(30, 60, 80, 0.7) 50%,
        rgba(10, 20, 40, 0.7) 100%
    ) !important;
    /* You can adjust the colors and opacity for your preferred effect */
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    color: #fff;
    padding: 2rem 1rem;
}

/* Paper Airplane Animation 
.paper-airplane-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.paper-airplane {
    position: absolute;
    width: 120px;
    height: auto;
    opacity: 0.8;
    animation: fly 20s linear infinite;
}

@keyframes fly {
    0% {
        top: 20%;
        left: -10%;
        transform: rotate(10deg);
    }
    25% {
        top: 30%;
        left: 30%;
        transform: rotate(0deg);
    }
    50% {
        top: 50%;
        left: 50%;
        transform: rotate(-10deg);
    }
    75% {
        top: 40%;
        left: 70%;
        transform: rotate(0deg);
    }
    100% {
        top: 20%;
        left: 110%;
        transform: rotate(10deg);
    }
}
    */

/*.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../assets/images/hero-bg.svg');
    background-size: cover;
    opacity: 0.4;
    z-index: 0;
}

.hero-section .container {
    position: relative;
    z-index: 1;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}*/

.hero-section h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    line-height: 1.;
}

.hero-section h1.typewrite {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-section p.lead {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 90%;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.15);
    line-height: 1.6;
}

.hero-buttons {
    margin-top: 2rem;
}

/* Hero section background is now handled by the background-image property */

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-section h1, .hero-section p {
    position: relative;
    z-index: 1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.hero-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero-buttons .btn {
    padding: 0.8rem 2rem;
    font-weight: 600;
}

/*.hero-image-container {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.hero-image {
    transition: transform 0.5s ease;
}

.hero-image:hover {
    transform: scale(1.05);
}*/

/* Featured Tours Section */
.card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    background-color: var(--bg-color);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(var(--primary-color-rgb), 0.15);
}

.card-title {
    color: var(--primary-color);
    font-weight: 700;
}

/* Style for card text: smaller, Delius font, white in dark mode */
.card-text {
    font-family: 'Delius', cursive;
    font-size: 0.95rem;
    color: #222; /* Dark gray for light theme */
    line-height: 1.6;
}

/* Change color to white in dark mode */
[data-theme="dark"] .card-text {
    color: #fff !important;
}

.tour-card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.tour-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.tour-card img {
    height: 200px;
    object-fit: cover;
}

.tour-card .card-title {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.tour-duration {
    color: var(--gray-color);
    font-size: 0.9rem;
}

/* Why Choose Us Section */
.feature-card {
    padding: 2rem;
    text-align: center;
    border-radius: 15px;
    background-color: var(--bg-color);
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: var(--transition);
    height: 100%;
    border-bottom: 4px solid var(--accent-color);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(var(--accent-color-rgb), 0.2);
}

.feature-box {
    padding: 2rem;
    border-radius: 10px;
    background-color: var(--bg-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    height: 100%;
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background-color: rgba(255, 215, 0, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.feature-box h4 {
    margin-bottom: 1rem;
    font-weight: 700;
}

/* Testimonials Section */
.testimonial-card {
    background-color: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-content {
    margin-bottom: 1.5rem;
    font-style: italic;
    position: relative;
}

.testimonial-content:before {
    content: '\201C';
    font-size: 4rem;
    position: absolute;
    left: -20px;
    top: -20px;
    color: rgba(255, 215, 0, 0.3);
    font-family: Georgia, serif;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    object-fit: cover;
}

.testimonial-author h5 {
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.testimonial-author small {
    color: var(--gray-color);
    font-size: 0.8rem;
}

/* Subscription Section */
.subscription-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.subscription-form .form-control {
    height: 50px;
    border-radius: 30px;
}

/* Enquiry Section */
.enquiry-form-container {
    border-radius: 10px;
    overflow: hidden;
}

.enquiry-content h2 {
    margin-bottom: 1rem;
    font-weight: 700;
}

.contact-info i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* Footer */
.footer {
    background-color: var(--dark-color);
}

.footer h4, .footer h5 {
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.footer h4:after, .footer h5:after {
    content: '';
    position: absolute;
    width: 30px;
    height: 2px;
    background-color: var(--primary-color);
    bottom: -10px;
    left: 0;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

address p {
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1000;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--secondary-color);
    color: white;
}

/* Default watermark for light mode */
.watermark-bg {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    z-index: -3; /* Lower than body::before (-1) and body::after (-2) */
    pointer-events: none;
    background: url('../assets/images/world.svg') no-repeat center center;
    background-size: cover;
    opacity: 0.08;
    transition: background 0.4s, opacity 0.4s;
}

/* Change watermark in dark mode to white airplane */
[data-theme="dark"] .watermark-bg {
    background: url('../assets/images/airplane-white.jpg') no-repeat center center;
    background-size: cover;
    opacity: 0.05; /* Subtle opacity for dark mode */
    z-index: -3;
}

/* Responsive Design */
@media (max-width: 992px) {
    .container {
        max-width: 95%;
    }
    
    .row {
        flex-wrap: wrap;
    }
    
    .col-md-4, .col-md-3, .col-md-6, .col-lg-3, .col-lg-4 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 20px;
    }
    
    .journey-card, .feedback-card, .workshop-card, .client-logo, .testimonial-card {
        margin-bottom: 20px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .section-subtitle {
        font-size: 16px;
    }
    
    .navbar-brand {
        font-size: 20px;
    }
    
    .navbar-nav {
        margin-top: 15px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .col-md-4, .col-md-3, .col-lg-3, .col-lg-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 576px) {
  .hero-section h1,
  .hero-section h1.display-4,
  .hero-section h1.typewrite {
    font-size: 2rem !important;
    line-height: 1.2 !important;
    word-break: break-word;
    text-align: left;
  }
  .hero-section p.lead {
    font-size: 1rem !important;
  }
}

/* Font Color Aesthetics */
.section-title {
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: 0.5px;
}

.section-subtitle {
    color: var(--accent-color);
    font-weight: 500;
    letter-spacing: 0.3px;
}

.card-title {
    color: var(--primary-color);
    font-weight: 600;
}

.card-text {
    font-family: 'Delius', cursive;
    font-size: 0.95rem;
    color: #222; /* Dark gray for light theme */
    line-height: 1.6;
}

/* Change color to white in dark mode */
[data-theme="dark"] .card-text {
    color: #fff !important;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.type-cursor {
  display: inline;
  color: #ffffff; /* or your desired color */
  font-weight: 400;
  font-size: inherit;
  animation: blink 1s steps(1) infinite;
  margin-left: 2px;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Increase the size of icons in service boxes and feature cards */
.service-icon img,
.feature-icon i,
.mission-icon i,
.vision-icon i,
.value-icon i,
.achievement-icon i {
    font-size: 3rem !important;
    width: 80px !important;
    height: 80px !important;
    max-width: 100%;
    max-height: 100%;
}

.partner-logo {
    max-height: 80px; /* Optional: increase logo size */
}

/* Global button color styles for red and yellow theme */

/* Primary buttons: Red */
.btn-primary,
.btn-primary:active,
.btn-primary:focus {
    background-color: #ffb703 !important; /* Vibrant red */
    border-color: #ffb703 !important;
    color: #fff !important;
    box-shadow: none !important;
}

/* Primary button hover/focus: Yellow */
.btn-primary:hover,
.btn-primary:focus-visible {
    background-color: #e63946 !important; /* Mustard yellow */
    border-color: #e63946 !important;
    color: #222 !important;
}

/* Outline buttons: Yellow */
.btn-outline-primary,
.btn-outline-light {
    background-color: #e63946 !important; /* Mustard yellow */
    border-color: #e63946 !important;
    color: #222 !important;
}

/* Outline button hover/focus: Red */
.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-light:hover,
.btn-outline-light:focus {
    background-color: #ffb703 !important; /* Vibrant red */
    border-color: #ffb703 !important;
    color: #fff !important;
}

/* For small and large buttons, inherit the same colors */
.btn-sm, .btn-lg {
    color: inherit !important;
    background-color: inherit !important;
    border-color: inherit !important;
}

/* Red & Yellow Headings for all headings except hero section */
body h1:not(.hero-section h1):not(.hero-section .typewrite),
body h2:not(.hero-section h2),
body h3:not(.hero-section h3),
body h4:not(.hero-section h4),
body h5:not(.hero-section h5),
body h6:not(.hero-section h6) {
    color: #ffb703 !important; /* Vibrant red */
    background: none !important;
    text-shadow: none !important;
    font-weight: 800;
    letter-spacing: 0.5px;
}

body h1:not(.hero-section h1):after,
body h2:not(.hero-section h2):after,
body h3:not(.hero-section h3):after,
body h4:not(.hero-section h4):after,
body h5:not(.hero-section h5):after,
body h6:not(.hero-section h6):after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: #e63946; /* Mustard yellow underline */
    border-radius: 2px;
    margin-top: 8px;
}

/* Make all section headers visible, black in light, white in dark, Cedarville Cursive font */
.section-header .section-title,
.section-title,
section h2,
.section-header h2,
.featured-tours .section-header h2,
.what-we-do .section-header h2,
.why-choose-us .section-header h2,
.take-a-tour .section-header h2,
.experiences .section-header h2,
.testament .section-header h2,
.popular-journeys .section-header h2,
.testimonials .section-header h2,
.feedback .section-header h2,
.clients .section-header h2,
.workshops .section-header h2 {
    font-family: 'Cedarville Cursive', cursive;
    font-size: 2.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #00cb0a !important; /* Black for light theme */
    text-shadow: 0 2px 8px rgba(255,255,255,0.5), 0 1px 0 #fff;
    line-height: 1.1;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: unset !important;
    background-clip: unset !important;
    text-emphasis-color: unset !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    z-index: 100 !important;
    position: relative !important;
}

/* White in dark mode */
[data-theme="dark"] .section-header .section-title,
[data-theme="dark"] .section-title,
[data-theme="dark"] section h2,
[data-theme="dark"] .section-header h2,
[data-theme="dark"] .featured-tours .section-header h2,
[data-theme="dark"] .what-we-do .section-header h2,
/* [data-theme="dark"] .why-choose-us .section-header h2, */
[data-theme="dark"] .take-a-tour .section-header h2,
/* [data-theme="dark"] .experiences .section-header h2, */
[data-theme="dark"] .testament .section-header h2,
[data-theme="dark"] .popular-journeys .section-header h2,
[data-theme="dark"] .testimonials .section-header h2,
[data-theme="dark"] .feedback .section-header h2,
[data-theme="dark"] .clients .section-header h2{
/* [data-theme="dark"] .workshops .section-header h2 { */
    color: #fff !important;
    text-shadow: 0 2px 8px rgba(0,0,0,0.7), 0 1px 0 #000;
}

/* Force black color for these section headers in dark mode */
[data-theme="dark"] .experiences .section-header h2,
[data-theme="dark"] .workshops .section-header h2,
[data-theme="dark"] .feedback .section-header h2,
[data-theme="dark"] .why-choose-us .section-header h2 {
    color: #000 !important;
    text-shadow: none !important;
}

/* Featured Study Tours section */
.featured-tours .section-header h2,
.featured-tours .section-title {
    font-family: 'Cedarville Cursive', cursive;
    font-size: 2.5rem;
}
.featured-tours .section-header p,
.featured-tours .section-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.15rem;
}

/* What We Do section */
.what-we-do .section-header h2 {
    font-family: 'Cedarville Cursive', cursive;
    font-size: 2.2rem;
}
.what-we-do .section-header p,
.what-we-do .service-box p {
    font-family: 'Delius', cursive;
    font-size: 1rem;
}

/* Why Choose Us section */
.why-choose-us .section-header h2 {
    font-family: 'Cedarville Cursive', cursive;
    font-size: 2.2rem;
}
.why-choose-us .section-header p,
.why-choose-us .feature-box p {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
}

/* Take a Tour section */
.take-a-tour .section-header h2 {
    font-family: 'Cedarville Cursive', cursive;
    font-size: 2.2rem;
}
.take-a-tour .section-header p {
    font-family: 'Delius', cursive;
    font-size: 1rem;
}

/* Testimonials section */
.testimonials .section-header h2 {
    font-family: 'Cedarville Cursive', cursive;
    font-size: 2.2rem;
}
.testimonials .section-header p,
.testimonials .testimonial-content p {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
}

/* Experiences We Share section */
.experiences-we-share .section-header h2 {
    font-family: 'Cedarville Cursive', cursive;
    font-size: 2.2rem;
    color: #000 !important; /* Black for light theme */
}

.experiences-we-share .section-header p {
    font-family: 'Delius', cursive;
    font-size: 1rem;
    color: #222 !important; /* Dark gray for light theme */
}

[data-theme="dark"] .experiences-we-share .section-header h2 {
    color: #00cb0a !important; /* Green for dark theme */
}

[data-theme="dark"] .experiences-we-share .section-header p {
    color: #ffffff !important; /* Green for dark theme */
}

/* Our Popular Journeys section */
.popular-journeys .section-header h2,
.popular-journeys .section-title {
    font-family: 'Cedarville Cursive', cursive;
    font-size: 2.2rem;
}
.popular-journeys .section-header p,
.popular-journeys .section-subtitle,
.popular-journeys .card-text {
    font-family: 'Delius', cursive;
    font-size: 1rem;
}

/* Feedback That Delights Us section */
.feedback-section .section-header h2,
.feedback .section-header h2 {
    font-family: 'Cedarville Cursive', cursive;
    font-size: 2.2rem;
}
.feedback-section .section-header p,
.feedback .section-header p,
.feedback-card .feedback-text {
    font-family: 'Delius', cursive;
    font-size: 1rem;
}

/* Our Valuable Clients section */
.clients-section .section-header h2 {
    font-family: 'Cedarville Cursive', cursive;
    font-size: 2.2rem;
}
.clients-section .section-header p {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
}

/* Our Impeccable Workshops section */
.workshops-section .section-header h2 {
    font-family: 'Cedarville Cursive', cursive;
    font-size: 2.2rem;
}
.workshops-section .section-header p,
.workshops-section .workshop-card .card-text {
    font-family: 'Delius', cursive;
    font-size: 1rem;
}

/* Enquiry section */
.enquiry-section .section-header h2 {
    font-family: 'Cedarville Cursive', cursive;
    font-size: 2.2rem;
}
.enquiry-section .section-header p {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
}

/* Change color of journey-features icons and text on theme switch */
.journey-features li {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #222;
}

.journey-features li i {
    color: #1a033d; /* Primary color for light theme */
    font-size: 1.1rem;
    margin-right: 6px;
}

/* Dark theme: make icons and text white */
[data-theme="dark"] .journey-features li {
    color: #fff !important;
}

[data-theme="dark"] .journey-features li i {
    color: #ffb703 !important; /* Accent yellow for dark theme */
}

/* Auto-scroll client logos in a single line */
.client-logos-scroll {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

.client-logos-scroll .logos-track {
    display: flex;
    align-items: center;
    gap: 40px;
    animation: scroll-logos 25s linear infinite;
}

.client-logos-scroll .client-logo {
    flex: 0 0 auto;
    width: 120px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.client-logos-scroll .client-logo img {
    max-width: 100%;
    max-height: 60px;
    object-fit: contain;
}

@keyframes scroll-logos {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Mission & Vision section: make paragraph font smaller and black in dark mode */
.mission-box p,
.vision-box p {
    font-family: 'Delius', cursive;
    font-size: 0.95rem;
    color: #222;
    line-height: 1.6;
}

/* Change paragraph color to black in dark mode */
[data-theme="dark"] .mission-box p,
[data-theme="dark"] .vision-box p {
    color: #000000 !important;
}

/* Meet Our Team section: change heading and subtitle color in dark mode */
[data-theme="dark"] .our-team .section-header h2,
[data-theme="dark"] .our-team .section-header .section-title {
    color: #110124 !important; /* Green for dark theme */
}

[data-theme="dark"] .our-team .section-header p,
[data-theme="dark"] .our-team .section-header .text-muted,
[data-theme="dark"] .team-member p {
    color: #110124 !important; /* Green for dark theme */
}

/* Our Core Values section: icon white in dark mode, text black in dark mode */
.value-card .value-icon i {
    color: #222;
    font-size: 2.2rem;
    transition: color 0.3s;
}

/* Dark mode: icon white */
[data-theme="dark"] .value-card .value-icon i {
    color: #fff !important;
}

.value-card p,
.value-card h4 {
    color: #222;
    transition: color 0.3s;
}

/* Dark mode: text black */
[data-theme="dark"] .value-card p,
[data-theme="dark"] .value-card h4 {
    color: #000 !important;
}

/* Our Partners section: heading and subtitle black in dark mode */
[data-theme="dark"] .partners .section-header h2,
[data-theme="dark"] .partners .section-header p {
    color: #000 !important;
}

/* Scrolling partner logos in a single line */
.partners .row.align-items-center {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.partners .partner-logos-track {
    display: flex;
    gap: 40px;
    align-items: center;
    animation: scroll-partners 25s linear infinite;
}

.partners .partner-logo {
    flex: 0 0 auto;
    width: 120px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partners .partner-logo img {
    max-width: 100%;
    max-height: 60px;
    object-fit: contain;
}

@keyframes scroll-partners {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Make all program images the same height and aligned at one level */
.program-card img {
    display: block;
    width: 100%;
    height: 220px;           /* Set a fixed height for all images */
    object-fit: cover;       /* Crop and fill the area */
    object-position: center; /* Center the image */
    border-radius: 0.5rem;   /* Optional: rounded corners */
}

/* Diagonal layout for process steps and larger icons */
.program-process .row {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    position: relative;
}

.program-process .process-step {
    position: relative;
    margin-bottom: 40px;
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
    transition: box-shadow 0.3s;
    z-index: 1;
}

@media (min-width: 992px) {
    .program-process .process-step:nth-child(1) { top: 0; }
    .program-process .process-step:nth-child(2) { top: 40px; }
    .program-process .process-step:nth-child(3) { top: 80px; }
    .program-process .process-step:nth-child(4) { top: 120px; }
}

/* Larger icons in process steps */
.program-process .process-icon i {
    font-size: 2.8rem;
    color: #0a174e;
    margin-bottom: 10px;
}

.program-process .process-icon .step-number {
    display: block;
    font-size: 1.2rem;
    font-weight: bold;
    color: #fff;
    background: #0a174e;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    line-height: 32px;
    margin: 0 auto 8px auto;
}

/* Add to your CSS file for proper layering and responsiveness */
.blog-header {
    position: relative;
    background: none !important;
    padding: 150px 0 80px;
    color: white;
    text-align: center;
    overflow: hidden;
}
.blog-header-video {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: 0;
}
.blog-header-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 1;
    opacity: 0.8;
}
.blog-header .container {
    position: relative;
    z-index: 2;
}