

/* Intro Section */
.intro-section {
    padding: 6rem 0;
    background-color: var(--white);
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.intro-text h2 {
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    
}

.intro-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.text-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
    
    
}

.text-link:hover {
    gap: 1rem;
}

.intro-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
 
    
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-color);
}



.section-header h2 {
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: #666;
}

/* Experience Section */
.experience-section {
    padding: 6rem 0; /* Your original padding */
    background-color: #f8f9fa; /* Your original background */
}

/* Grid Layout */
.experience-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Your original two-column layout */
    gap: 4rem; /* Your original gap */
    align-items: center;
}

/* Content Styling */
.experience-content h2 {
    font-size: 2.5rem; /* Your original size */
    color: var(--text-color); /* Your original color variable */
    margin-bottom: 1.5rem; /* Your original margin */
    text-align: center; /* Your original alignment */
}

.experience-content p {
    font-size: 1.1rem; /* Your original size */
    line-height: 1.8; /* Your original line height */
    margin-bottom: 2rem; /* Your original margin */
    text-align: center; /* Your original alignment */
}

.experience-content .cta-button {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    display: inline-block;
    background-color: #10b981; /* Tailwind green-500 */
    color: white;
    padding: 0.5rem 1.5rem; /* Adjusted from Tailwind py-2 px-6 */
    border-radius: 0.375rem; /* Tailwind rounded */
    transition: all 0.3s ease;
}

.experience-content .cta-button:hover {
    background-color: #059669; /* Tailwind green-600 */
    transform: scale(1.05); /* Slight scale on hover */
   
}

/* Gallery Styling */
.experience-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Your original two-column layout */
    gap: 1rem; /* Your original gap */
}

.gallery-img {
    width: 100%;
    height: 200px; /* Your original height */
    object-fit: cover;
    border-radius: 15px; /* Your original radius */
    transition: transform 0.3s ease; /* Your original transition */
}

.gallery-img:hover {
    transform: scale(1.05); /* Your original hover effect */
}

.gallery-img:first-child {
    grid-column: span 2; /* Your original spanning */
    height: 300px; /* Your original height for the first image */
}

/* Responsive Adjustments */
@media (max-width: 767px) { /* Below md breakpoint */
    .experience-section {
        padding: 3rem 0; /* Reduced padding on smaller screens */
    }

    .experience-grid {
        grid-template-columns: 1fr; /* Stack vertically on mobile */
        gap: 2rem; /* Smaller gap */
    }

    .experience-content h2 {
        font-size: 1.5rem; /* Smaller heading */
        margin-bottom: 1rem;
    }

    .experience-content p {
        font-size: 1rem; /* Smaller text */
        margin-bottom: 1.5rem;
    }

    .experience-content .cta-button {
        padding: 0.5rem 1rem; /* Smaller button */
        font-size: 0.875rem; /* Smaller text */
    }

    .experience-gallery {
        grid-template-columns: 1fr; /* Single column on mobile */
        gap: 0.75rem; /* Smaller gap */
    }

    .gallery-img {
        height: 12rem; /* Smaller height */
    }

    .gallery-img:first-child {
        grid-column: span 1; /* No spanning on mobile */
        height: 12rem; /* Consistent height */
    }
}

@media (min-width: 768px) and (max-width: 1023px) { /* Between md and lg */
    .experience-grid {
        grid-template-columns: 1fr; /* Still stacked for medium screens */
        gap: 3rem;
    }

    .experience-content h2 {
        font-size: 2rem; /* Slightly smaller heading */
    }

    .experience-content p {
        font-size: 1.05rem;
    }

    .gallery-img {
        height: 14rem; /* Medium height */
    }

    .gallery-img:first-child {
        grid-column: span 2; /* Restore spanning */
        height: 18rem; /* Slightly smaller than desktop */
    }
}

/* Large screens (1024px and above) retain original styling as defined above */

/* CTA Section */
.cta-section {
    padding: 6rem 0;
    background-color: #d4a373;

    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.cta-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    text-align: center;
    
}
.experience-section .container {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.experience-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}



@media (max-width: 480px) {
    .hero-content h2 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .gallery-img:first-child {
        height: 200px;
    }

    .experience-content h2 {
        font-size: 2rem;
    }
}
/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh; /* Full viewport height */
    overflow: hidden; /* Prevent overflow from slideshow */
}

/* Slideshow Container */
.slideshow-container {
    position: relative;
    width: 100%;
    height: 100%;
}

/* White Background Overlay */
.white-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    z-index: 15; /* Above slides but below text and navigation */
    animation: fadeOut 1s ease-in-out forwards; /* Fade out animation */
}

/* Individual Slides */
.slide {
    display: none; /* Hidden by default */
    position: absolute; /* Stack slides on top of each other */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensure images cover the area without distortion */
    object-position: center; /* Center the image */
    image-rendering: -webkit-optimize-contrast; /* Improve sharpness in Webkit browsers */
    image-rendering: crisp-edges; /* Improve sharpness in other browsers */
    -webkit-backface-visibility: hidden; /* Prevent rendering artifacts */
    backface-visibility: hidden;
    transform: translateZ(0); /* Force hardware acceleration for smoother rendering */
    animation: zoomIn 10s ease-in-out infinite; /* Add zoom effect */
}

/* Zoom-In Animation for Images (Ken Burns Effect) */
@keyframes zoomIn {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1); /* Zoom in slightly */
    }
}

/* Fade Animation for Slides */
.fade {
    animation: fade 1.5s ease-in-out;
}

@keyframes fade {
    from { opacity: 0.4; }
    to { opacity: 1; }
}

/* Animation for Text */
h2 {
    animation: fadeInUp 1s ease-in-out forwards;
    animation-delay: 0.5s;
}

p {
    animation: fadeInUp 1s ease-in-out forwards;
    animation-delay: 0.8s;
}

/* Animation for Buttons */
.hero-buttons {
    animation: fadeInUp 1s ease-in-out forwards;
    animation-delay: 1.1s;
}

.hero-buttons a {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    transition: all 0.3s ease;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.cta-button:hover {
    transform: scale(1.05); /* Slight scale on hover */
 
}

.secondary-button:hover {
    text-shadow: none; /* Remove text shadow on hover for better contrast */
    transform: scale(1.05); /* Slight scale on hover */
}

/* Navigation Arrows */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 8px;
    font-weight: bold;
    cursor: pointer;
    user-select: none;
    z-index: 25; /* Above white overlay */
    transition: all 0.3s ease;
    opacity: 0; /* Start invisible */
    animation: fadeIn 1s ease-in-out forwards; /* Fade in animation */
    animation-delay: 1.4s; /* Delay after buttons */
}

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    transform: translateY(-50%) scale(1.1); /* Scale on hover */
}

/* Dots for Navigation */
.dots-container {
    z-index: 25; /* Above white overlay */
    opacity: 0; /* Start invisible */
    animation: fadeIn 1s ease-in-out forwards; /* Fade in animation */
    animation-delay: 1.7s; /* Delay after arrows */
}

.dot {
    cursor: pointer;
    height: 10px;
    width: 10px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: all 0.3s ease;
}

.dot.active, .dot:hover {
    transform: scale(1.2); /* Scale on hover/active */
}

/* Scroll Indicator */
.hero-scroll-indicator {
    z-index: 25; /* Above white overlay */
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: 'Montserrat', sans-serif;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5); /* For contrast */
    opacity: 0; /* Start invisible */
    animation: fadeIn 1s ease-in-out forwards; /* Fade in animation */
    animation-delay: 2s; /* Delay after dots */
}

.scroll-icon {
    margin-top: 0.25rem;
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

/* Keyframes for Animations */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes fadeOut {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Responsive Adjustments */
@media (max-width: 767px) {
    .hero-section {
        height: 80vh; /* Reduce height on small screens */
    }

    .prev, .next {
        padding: 4px; /* Smaller padding on mobile */
    }

    .dots-container {
        bottom: 1rem; /* Closer to bottom on mobile */
    }

    .dot {
        height: 8px;
        width: 8px; /* Smaller dots on mobile */
    }
}




/* Popular Circuits Section */
.popular-circuits-section {
    padding: 4rem 0;
    background-color: #f5f5f5;
    position: relative;
    overflow: hidden;
}

/* Subtle world map background (using a gradient for simplicity) */
.popular-circuits-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(245, 245, 245, 0.9), rgba(245, 245, 245, 0.9)), url('https://www.transparenttextures.com/patterns/45-degree-fabric-light.png');
    opacity: 0.3;
    z-index: 0;
}
/* Ensure content is above the background */
.popular-circuits-section > * {
    position: relative;
    z-index: 1;
}

.circuits-carousel {
    position: relative;
    width: 100%;
    max-width: 1224px; /* 4 cards of 288px + 3 gaps of 24px */
    margin: 0 auto;
    overflow: hidden;
}

@media (min-width: 768px) {
    .circuits-carousel {
        max-width: 1352px; /* 4 cards of 320px + 3 gaps of 24px */
    }
}

/* Circuits Grid (Horizontal Scroll) */
.circuits-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 1.5rem; /* gap-6 = 24px */
    scrollbar-width: none;
}

.circuits-grid::-webkit-scrollbar {
    display: none;
}

.circuit-card {
    position: relative;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    flex: 0 0 300px; /* w-72 = 288px */
    height: 24rem; /* h-96 = 384px */
    scroll-snap-align: start;
    transition: transform 0.3s ease;
    background-size: cover;
    background-position: center;
}

.circuit-card:hover {
    transform: translateY(-5px); /* Slight lift on hover */
}

/* Overlay for better text readability */
.circuit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Dark overlay */
    border-radius: 0.75rem;
}

/* Card Content */
.circuit-card .card-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    color: white;
    z-index: 1;
}

.circuit-card h3 {
    font-family: 'Arial', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5); /* For contrast */
}

.circuit-card a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background-color: #d4a373; /* Green background for arrow */
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.circuit-card a:hover {
    background-color: #eca156; /* Darker green on hover */
}

.circuit-card a svg {
    width: 1.25rem;
    height: 1.25rem;
    stroke: white; /* White arrow */
}

/* Container */
.container {
            position: relative;
            z-index: 1;
        }

        /* Section Header */
        .section-header {
            text-align: center;
            margin-bottom: 3rem;
        }

        .section-header span {
            display: inline-block;
            background-color: #e6f4e6; /* Light green background */
            color: #2e7d32; /* Dark green text */
            font-size: 0.875rem;
            font-weight: 600;
            padding: 0.5rem 1rem;
            border-radius: 9999px; /* Fully rounded */
            margin-bottom: 1rem;
        }

      

        /* Offer Card Image */
        .offer-card img {
            width: 100%;
            height: 12rem; /* h-48 in Tailwind = 12rem */
            object-fit: cover; /* Ensure the image covers the container */
            object-position: center; /* Center the image */
            image-rendering: auto; /* Improve rendering quality */
        }

        /* Optional: Add a subtle transition for hover effects */
        .offer-card {
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        .offer-card a {
color: #d4a373;        }
        .offer-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
        }




        .section-title {
            font-size: 1rem;
            font-weight: 600;
            color: #0d6efd; /* Bootstrap primary color */
            margin-bottom: 1rem;
        }

        /* Counter Box */
        .border {
            border: 1px solid #dee2e6 !important; /* Bootstrap border color */
        }

        .border.rounded {
            border-radius: 0.5rem !important;
        }

        .text-primary {
            color: #0d6efd !important; /* Bootstrap primary color */
        }

        .btn-primary {
            background-color: #0d6efd;
            border-color: #0d6efd;
        }

        .btn-primary:hover {
            background-color: #0056b3;
            border-color: #0056b3;
        }

        /* Image Adjustments */
        .img-fluid {
            max-width: 100%;
            height: auto;
        }

        /* Ensure WOW.js animations work */
        .wow {
            visibility: hidden;
        }

        /* Stats Section */







/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.value-card,
.team-member,
.certification,
.stat {
    animation: fadeIn 0.5s ease-out forwards;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-about .hero-content h1 {
        font-size: 3rem;
    }

    .hero-about .hero-content p {
        font-size: 1.2rem;
    }

    .story-content {
        grid-template-columns: 1fr;
    }

    .story-image {
        order: -1;
    }

    .story-image img {
        height: 300px;
    }

    .team-grid {
        gap: 2rem;
    }

    .team-member img {
        width: 150px;
        height: 150px;
    }
}

@media (max-width: 480px) {
    .hero-about .hero-content h1 {
        font-size: 2.5rem;
    }

    section h2 {
        font-size: 2rem;
    }

    .stats .number {
        font-size: 2.5rem;
    }
}

.feature-item {
    background-color: #d4a373; /* Original warm beige color */
    padding: 1rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease; /* Smooth transition for all properties */
}

.feature-item:hover {
    background-color: #b5894f; /* Slightly darker shade for contrast on hover */
    transform: translateY(-5px); /* Lift effect for interactivity */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15); /* Softer, more pronounced shadow */
}

.icon-container {
    background-color: #e7c8a1; /* Original light beige for icon */
    width: 3rem;
    height: 3rem;
    margin-left: auto;
    margin-right: auto;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
    transition: background-color 0.3s ease; /* Smooth icon background transition */
}
  
.feature-item:hover .icon-container {
    background-color: #f5d9b5; /* Lighter shade on hover for subtle effect */
}

.icon-container svg {
    width: 1.5rem;
    height: 1.5rem;
    color: #8c6b4a; /* Original icon color */
    fill: none;
    stroke: currentColor;
    transition: color 0.3s ease; /* Smooth icon color transition */
}

.feature-item:hover .icon-container svg {
    color: #6b4e31; /* Darker icon color on hover for contrast */
}
  
.feature-item h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    text-align: center;
    color: white;
    transition: color 0.3s ease; /* Smooth text color transition */
}

.feature-item:hover h3 {
    color: #f5f5f5; /* Slightly off-white for a softer hover effect */
}

.feature-item p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    transition: color 0.3s ease; /* Smooth text color transition */
}

.feature-item:hover p {
    color: rgba(255, 255, 255, 1); /* Full white for emphasis on hover */
}

  .stats {
    padding: 2rem 0;
    background-color: #d4a373;
    color: white;
    display: flex;
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    min-height: 100px; /* Adjust height as needed */
}

.stats .container {
    width: 100%;
    max-width: 1200px; /* Match your container width */
    margin: 0 auto;
    padding: 0 20px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
    justify-items: center; /* Center grid items horizontally */
}

.stat {
    opacity: 0;
    transition: opacity 0.5s ease;
    max-width: 250px; /* Limit width of stat items */
    width: 100%;
}

.stat.visible {
    opacity: 1;
}

.stat .number {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.stat p {
    font-size: 1.1rem;
    opacity: 0.9;
}




/* Gallery Section */
/* Gallery Section */
.gallery-section {
    position: relative;
    overflow: hidden;
}

.gallery-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 20rem;
    background: linear-gradient(to bottom, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
    z-index: 0;
}

.gallery-container {
    position: relative;
}

.gallery-slider {
    position: relative;
    width: 100%;
}

.gallery-slides {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 2px;
}


.gallery-slides::-webkit-scrollbar {
    display: none;
}

.gallery-slide {
    scroll-snap-align: start;
    transition: transform 0.3s ease;
}

.gallery-slide:hover {
    transform: translateY(-5px);
}

.gallery-prev, .gallery-next {
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.gallery-prev:hover, .gallery-next:hover {
    transform: translateY(-50%) scale(1.1);
    background-color: white;
}

.gallery-scrollbar {
    position: relative;
}

.gallery-scrollbar-progress {
    transition: width 0.3s ease;
}

/* Responsive Adjustments */
@media (max-width: 640px) {
    .gallery-slide {
        width: 85%;
    }
    
    .gallery-prev, .gallery-next {
        display: none;
    }
}

@media (min-width: 641px) and (max-width: 1023px) {
    .gallery-slide {
        width: 45%;
    }
}

@media (min-width: 1024px) {
    .gallery-slide {
        width: 30%;
    }
}

@media (min-width: 1280px) {
    .gallery-slide {
        width: 23%;
    }
}