@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=Bona+Nova+SC:ital,wght@0,400;0,700;1,400&display=swap');


section {
    padding: 80px 20px;
}

section h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    /*color: #2c3e50;*/
    color: #000;
    position: relative;
    padding-bottom: 15px;
    padding-top: 10px;
    background-color: orange;
    border-radius: 10px; /* Rounded corners */
}

section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background-color: #4CAF50;
}


/* Hero Section */
.hero {
    background-position: center;
    margin-top: 83px;
    height: 500px;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Carousel Styles */
.carousel {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.carousel-inner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-slide img {
    width: 100%;
    height: 500px;
    object-fit: fill; /* This will stretch the image */
}

.carousel-slide.active {
    opacity: 1;
}

/* Navigation Buttons */
.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.3);
    border: none;
    color: white;
    padding: 1rem;
    cursor: pointer;
    font-size: 1.5rem;
    border-radius: 50%;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.carousel-control:hover {
    background: rgba(255, 255, 255, 0.5);
}

.carousel-control.prev {
    left: 2rem;
}

.carousel-control.next {
    right: 2rem;
}

/* Indicators */
.carousel-indicators {
    position: absolute;
    bottom: 1rem;
    left: 100%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
}

.carousel-indicator {
    width: 0.8rem;
    height: 0.8rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.carousel-indicator.active {
    background: white;
}

/* Mobile Optimization */
@media (max-width: 768px) {
    .carousel {
        height: 150px;
    }
    
    .hero {
        margin-top: 66px;
        height: 150px;
    }

    .carousel-slide img {
        height: 150px;
    }
}

/* Updates Section */
.updates {
    text-align: center;
    background-color: white;
    border-top: 2px solid rgba(0, 0, 0, 0.747);
}
.updates h2 {
    text-transform: uppercase;
    font-family: 'Archivo Black', sans-serif;
    font-style: bold;
}

.update-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 10px;
    width: 100%;
    margin: 0 auto;
}

.update-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.update-image img {
    width: 100%;
    max-width: 500px; /* Adjust size as needed */
    height: auto;
    border-radius: 10px;
}

.update-content {
    flex: 1;
    text-align: left;
    color: black;
}

.update-content h4 {
    font-weight: bold;
}

.update-content h3 {
    font-size: 3rem;
    margin-bottom: 10px;
    font-weight: bold;
}

.update-content p {
    font-size: 1rem;
    margin-bottom: 15px;
}

.learn-more {
    display: inline-block;
    background: black;
    color: #fff;
    padding: 10px 50px;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.learn-more:hover {
    background: #e65c00;
}

/* Responsive Design */
@media (max-width: 768px) {
    .updates h2 {
        font-size: 1.5rem;
        text-transform: uppercase;
        font-family: 'Archivo Black', sans-serif;
        font-style: bold;
        margin-bottom: 10px;
        margin-top: 10px;
    }

    .update-content h3 {
        font-size: 1.5rem;
        margin-bottom: 10px;
        font-weight: bold;
    }

    .update-content h4 {
        font-weight: bold;
    }

    .update-card {
        flex-direction: column;
        text-align: center;
    }

    .update-content {
        text-align: center;
    }

    .update-image img {
        max-width: 100%;
    }

}


/* Packages Section */
.packages {
    background: transparent;
    border-top: 2px solid rgba(0, 0, 0, 0.747);
}

.packages h2 {
    text-transform: uppercase;
    font-family: 'Archivo Black', sans-serif;
    font-style: bold;
}

.package-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.package-card {
    background: white;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 400px; /* Add fixed height to ensure consistent spacing */
}

.package-card.featured::before {
    content: 'Popular';
    position: absolute;
    top: 20px;
    right: -35px;
    background: #ff4757;
    color: white;
    padding: 5px 40px;
    transform: rotate(45deg);
    font-size: 0.9rem;
    z-index: 1;
}

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.package-card img {
    width: 100%;
    min-height: 200px;
    object-fit: cover;
}

.package-card h3 {
    padding: 25px 20px;
    font-size: 1.5rem;
    color: #000000;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.package-btn {
    display: block;
    text-align: center;
    width: 80%;
    margin: 20px auto;
    padding: 15px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 1px;
}

.package-btn:hover {
    background-color: #45a049;
    transform: translateY(-2px);
}

/* 🔥 Mobile Optimization */
@media (max-width: 768px) {

    .packages h2 {
        font-size: 1.5rem;
        text-transform: uppercase;
        font-family: 'Archivo Black', sans-serif;
        font-style: bold;
    }

    .package-grid {
        grid-template-columns: repeat(1, 1fr); /* 2 columns for tablets */
        min-height: 1100px;
        max-width: 100%;
        min-width: 350px;
        gap: 5px;
    }

    .package-card {
        width: 100%;
        min-height: 350px;
    }

    .package-card h3 {
        font-size: 1.4rem;
        padding: 10px 0;
    }

    .package-btn {
        padding: 10px;
        font-size: 1rem;
        text-decoration: none;
    }
}

/* Stats Section */
/* Default Stats Section */
.stats {
    background-color: #b5e2fa;
    padding: 60px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 400px; /* Match carousel height */
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    max-width: 1200px;
    width: 100%;
    text-align: center;
}

/* Default icon size */
.stats-grid a {
    font-size: 3rem; /* Controls icon size */
    color: #000000;
    transition: all 0.3s ease;
}


/* Individual Stat Card */
.stat-card {
    padding: 40px 30px;
    background: orange;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Stat Number */
.stat-card h3 {
    font-size: 3rem;
    color: #000000;
    margin-bottom: 10px;
}

/* Stat Text */
.stat-card p {
    font-size: 1.2rem;
    color: #1c1e1f;
    font-weight: 500;
}

@media (max-width: 768px) {
    .stats {
        height: 250px; /* Ensure stats section height matches carousel */
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .stats-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr); /* 2 columns */
        grid-template-rows: repeat(2, 1fr); /* 2 rows */
        width: 372px; /* Ensures it aligns properly */
        height: 200px;
        gap: 5px; /* Small gap for spacing */
        justify-content: center;
        align-items: center;
        align-items: center;
    }

    .stats-grid a {
        font-size: 1.5rem; /* Reduce icon size for tablets */
    }
    
    .stat-card {
        height: 100px;
        width: 170px; /* Adjusted width for proper fit */
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        border-radius: 10px;
        font-size: 14px;
    }

    .stat-card h3 {
        font-size: 1.5rem;
        margin: 0; /* Reduce font size for better fit */
    }

    .stat-card p {
        font-size: 0.9rem;
        margin: 0;
    }
}

/* Plan Stats */
.plan-stats {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 20px 0;
    margin: auto 0; /* This will push the stats to the vertical center */
    flex: 1; /* This allows the container to take up available space */
    justify-content: center; /* This centers the stats vertically */
}

.plan-stat {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 20px;
    justify-content: center; /* This centers the content horizontally */
}

.plan-stat i {
    font-size: 1.2rem;
    color: #4CAF50;
    width: 25px;
    text-align: center;
}

.plan-stat span {
    font-size: 0.9rem;
    color: #333;
    min-width: 100px;
    text-align: left;
    font-weight: bold; /* Added this line to make text bold */
}

@media (max-width: 768px) {
    .package-card {
        min-height: 350px; /* Adjust for mobile */
    }

    .plan-stats {
        gap: 10px;
        padding: 15px 0;
    }

    .plan-stat {
        padding: 3px 15px;
    }
}

/* Team Section */
.team {
    background-color: white;
    border-top: 2px solid rgba(0, 0, 0, 0.747);
}

.team h2 {
    text-transform: uppercase;
    font-family: 'Archivo Black', sans-serif;
    font-style: bold;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    background: transparent;
}

.team-member {
    text-align: center;
    background: transparent;
    padding: 30px;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.team-member img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin-bottom: 20px;
    border: 5px solid black;
    transition: all 0.3s ease;
}

.team-member:hover img {
    transform: scale(1.05);
    border-color: rgb(34, 32, 32);
}

.team-member h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 10px;
}

.team-member p {
    color: #666;
    font-size: 1.1rem;
}

/* 🔥 Responsive Fix for Mobile */
@media (max-width: 768px) {
    .team h2 {
        font-size: 1.5rem;
        text-transform: uppercase;
        font-family: 'Archivo Black', sans-serif;
        margin-top: 10px;
    }
}

.social-links a {
    color: #000;
}

/* FAQ Section */
.faq {
    background-color: rgb(17, 17, 17);
}

.faq h2 {
    text-transform: uppercase;
    font-family: 'Archivo Black', sans-serif;
    font-style: bold;
    color: white !important;
    background-color: #111111;
}

.faq-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5px;
}

.faq-item {
    margin-bottom: 20px;
    background: #f8f9fa;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.faq-item h3 {
    padding: 20px;
    background: #4CAF50;
    color: white;
    cursor: pointer;
    position: relative;
    font-size: 1.2rem;
}

.faq-item p {
    padding: 20px;
    background: white;
    color: #666;
    line-height: 1.6;
}


.arrow {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 8px solid #333;  /* Down arrow */
    transition: transform 0.3s ease;  /* Smooth transition for rotation */
    cursor: pointer;  /* Makes the arrow clickable */
}

.arrow.open {
    transform: translateY(-50%) rotate(180deg);  /* Rotates the arrow when clicked */
}

/* 🔥 Responsive Fix for Mobile */
@media (max-width: 768px) {
    .faq h2 {
        font-size: 1.5rem;
        color: white;
        font-family: 'Archivo Black', sans-serif;
    }
}

/* Preloader section */

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    display: none; /* Default: hidden */
}

#preloader video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90%;
    max-height: 90%;
}

#close-preloader {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #fff;
    color: #000;
    border: none;
    padding: 10px 15px;
    font-size: 16px;
    cursor: pointer;
    z-index: 1001;
}

#share-preloader{
    position: relative;
    top: 10px;
    left: 10px;
    background: #fff;
    color: #000;
    border: none;
    padding: 10px 15px;
    font-size: 16px;
    cursor: pointer;
    z-index: 1001;
}

/* Slider Bar */
.slider {
    background: white;
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.125);
    height: 100px;
    width: 100%;
    overflow: hidden; /* Hide overflow */
    position: relative;
}

.slider::before,
.slider::after {
    content: "";
    height: 100px;
    position: absolute;
    width: 100px;
    z-index: 2;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
}

.slider::before {
    left: 0;
    top: 0;
}

.slider::after {
    right: 0;
    top: 0;
    transform: rotateZ(180deg);
}

.slide-track {
    display: flex;
    width: calc(250px * var(--total-slides) * 2); /* Adjust based on slides */
    animation: scroll 20s linear infinite; /* Speed depends on total slides */
}

.slide {
    height: 100px;
    width: 250px;
}

/* Dynamic Scrolling Animation */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-250px * var(--total-slides)));
    }
}

/* Make slider fully responsive */
@media (max-width: 768px) {
    .slider {
        height: 80px; /* Reduce height for smaller screens */
    }

    .slide {
        height: 80px;
        width: 180px; /* Reduce slide size on mobile */
    }

    .slide img {
        width: 100%;
        max-width: 160px; /* Prevent oversized images */
        height: auto;
    }

    /* Adjust scroll speed on mobile for better readability */
    @keyframes scroll {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-180px * var(--total-slides))); /* Adjusted for new size */
        }
    }
}

/* Even Smaller Screens */
@media (max-width: 480px) {
    .slider {
        height: 48px;
    }

    .slide {
        height: 48px;
        width: 140px;
    }

    .slide img {
        max-width: 120px;
    }

    /* Slower animation for readability */
    @keyframes scroll {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-140px * var(--total-slides)));
        }
    }
}

/* Video Slider */
/* Video Slider Container */
.video-slider {
    background-color: white;
    border-top: 2px solid rgba(0, 0, 0, 0.747);
    margin-bottom: 10px;
}

.video-slider h2 {
    text-transform: uppercase;
    font-family: 'Archivo Black', sans-serif;
    font-style: bold;
}

.video-slider-container {
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 170px; /* Adjust height to fit only video thumbnails */
    padding: 0;
}

/* Video Track (Animated Scrolling) */
.video-track {
    display: flex;
    gap: 1rem; /* No extra spacing */
    animation: video-scroll 5s linear infinite;
}

/* Video Card */
.video-card {
    flex: 0 0 250px; /* Fixed width */
    position: relative;
}

/* Video Thumbnails */
.video-card img {
    border-radius: 10px;
    width: 100%;
    height: 90%;
    object-fit: cover;
    display: block;
}

/* Centered Title Overlay */
.video-card h3 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.6); /* Dark overlay for readability */
    color: white;
    font-size: 14px;
    text-align: center;
    width: 80%;
    border-radius: 5px;
}

/* Keyframes for Scrolling Effect */
@keyframes video-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* 🔥 Responsive Fix for Mobile */
@media (max-width: 768px) {
    .video-slider h2 {
        font-size: 1.5rem;
        text-transform: uppercase;
        font-family: 'Archivo Black', sans-serif;
        font-style: bold;
        margin-top: 10px;
    }

    .video-slider {
        margin-bottom: 10px;
    }
}

/* Illustrations Section */

.illustrations {
    background-color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.308);
    text-align: center;
    padding: 40px 20px;
}

.illustrations h2 {
    text-transform: uppercase;
    font-family: 'Archivo Black', sans-serif;
    font-style: bold;
}

.illustration-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    justify-content: center;
}
.illustration-card {
    background: white;
    padding: 15px;
    text-align: center;
}
.illustration-card img {
    width: 100%;
    height: 250px;
    border-radius: 8px;
    margin-bottom: 20px;  /* Add margin below the image */
}
.illustration-card h3 {
    color: #2c3e50;
    margin-bottom: 15px;  /* Add margin below the heading */
    font-size: 1.5rem;
}
.illustration-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 10px;  /* Add margin below the paragraph */
}

/* 🔥 Responsive Fix for Mobile */
@media (max-width: 768px) {
    .illustrations h2 {
        font-size: 1.5rem;
        text-transform: uppercase;
        font-family: 'Archivo Black', sans-serif;
        font-style: bold;
        margin-top: 10px;
    }

    .illustrations {
        background-color: white;
        border-top: 2px solid rgba(0, 0, 0, 0.747);
        text-align: center;
    }
}
