/* --- 1. BASIC RESET & FONTS --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', Tahoma, Geneva, Verdana, sans-serif;
}

html {
    scroll-behavior: smooth;
}



/* --- 2. COLOR VARIABLES --- */
:root {
    --dark-navy: #050528; 
    --gold-accent: #fbbd32;
    --text-color: #050528;
}

/* --- 3. TOP BAR (Contact Info) --- */
.top-bar {
    background-color: var(--dark-navy);
    color: white;
    padding: 10px 5%;
    font-size: 0.85rem;
    display: flex;
    gap: 30px;
}

.top-bar span {
    display: flex;
    align-items: center;
}

/* --- 4. NAVIGATION BAR --- */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background-color: white;
    border-bottom: 1px solid #e0e0e0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* LOGO STYLING */
.nav-logo img {
    height: 50px; /* Adjust height as needed */
    width: auto;
    display: block;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: black;
    font-weight: 700;
    font-size: 0.9rem;
    transition: color 0.3s;
    text-transform: uppercase;
}

.nav-links a:hover {
    color: var(--gold-accent);
}

.partner-logo img {
    height: 45px;
    width: auto;
    display: block;
}

/* --- 5. HERO SECTION --- */

.hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 80vh;
    padding: 20px;
}

.main-logo-container {
    margin-bottom: 20px;
    opacity: 0; 
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.main-logo-container img {
    max-width: 300px; 
    width: 100%;
}

.hero-title {
    color: var(--dark-navy);
    font-size: 2rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 15px;
    letter-spacing: 1px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.hero-subtitle {
    color: var(--dark-navy);
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 60px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Class added by Javascript to trigger fade in */
.visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* --- 6. ARROW ANIMATION --- */
.scroll-arrow {
    font-size: 2rem;
    color: var(--dark-navy);
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.8s ease-out;
}

.scroll-arrow.visible {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* --- 7. RESPONSIVENESS (Mobile) --- */
@media (max-width: 768px) {
    .top-bar { justify-content: center; flex-direction: column; gap: 5px; align-items: center;}
    nav { flex-direction: column; gap: 15px; }
    .nav-links { gap: 15px; font-size: 0.8rem; }
    .hero-title { font-size: 1.5rem; }
    .hero-subtitle { font-size: 1.1rem; }
}

/* --- 8. ABOUT SECTION --- */
.about-section {
    display: flex;
    justify-content: center;
    align-items: flex-start; /* Align content to the top of the section */
    padding: 80px 20px; /* Increased padding for more space */
    background-color: #f8f8f800; /* A light background to distinguish it */
}

.about-container {
    max-width: 900px;
    width: 100%;
    background-color: white;
    border: 2px solid var(--gold-accent);
    border-radius: 20px; /* Rounded corners */
    padding: 40px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    line-height: 1.6;
}

.about-logo {
    margin-bottom: 25px;
}

.about-logo img {
    max-width: 250px; /* Adjust size of logo within about section */
    height: auto;
}

.about-tagline {
    font-size: 1.4rem;
    color: var(--dark-navy);
    margin-bottom: 30px;
    font-weight: 600;
    line-height: 1.4;
}

.about-description {
    font-size: 1.05rem;
    color: #555;
    margin-bottom: 30px;
}

.about-motto {
    font-size: 1.2rem;
    color: var(--dark-navy);
    font-weight: 500;
    font-style: italic; /* Matches the image */
}

/* Responsive adjustments for about section */
@media (max-width: 768px) {
    .about-container {
        padding: 30px;
        margin: 0 15px; /* Add some side margin on small screens */
    }
    .about-tagline {
        font-size: 1.1rem;
    }
    .about-description {
        font-size: 0.95rem;
    }
    .about-motto {
        font-size: 1rem;
    }
}

/* --- 9. WHY CHOOSE US? (Features Section) --- */
.features-section {
    padding: 80px 5%;
    background-color: rgba(255, 255, 255, 0);
    text-align: center;
}

.features-heading {
    color: var(--dark-navy);
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 60px;
    letter-spacing: 1px;
}

.feature-cards-container {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.feature-card {
    flex: 1;
    max-width: 350px;
    padding: 20px;
    /* Initial state for JavaScript fade-in animation */
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.feature-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-icon {
    margin-bottom: 20px;
}

.feature-icon img {
    width: 100px; /* Size of the icon graphic */
    height: auto;
}

.card-title {
    color: var(--dark-navy);
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.card-description {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .feature-cards-container {
        flex-wrap: wrap;
    }
    .feature-card {
        max-width: 45%; /* Two cards per row on tablets */
        margin-bottom: 40px;
    }
}

@media (max-width: 600px) {
    .features-heading {
        font-size: 1.5rem;
    }
    .feature-card {
        max-width: 100%; /* One card per row on phones */
    }
}

/* Add initial hidden state for new scroll-reveal elements */
.about-container {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Ensure the .feature-card also uses transition for smooth reveal */
.feature-card {
    /* Existing styles remain here... */
    /* Add the transition property */
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* The .visible class will apply to ALL animated elements */
.visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.secondary-features-section {
    padding: 80px 5%;
    background-color: rgba(255, 255, 255, 0); /* Contrast with the previous section's light gray */
    text-align: center;
}

.secondary-features-heading {
    color: var(--dark-navy);
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 60px;
    letter-spacing: 1px;
}

.secondary-features-cards-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.secondary-feature-card {
    flex: 0 0 calc(25% - 30px);
    max-width: 280px;
    padding: 20px;
    /* Initial state for JavaScript scroll-reveal animation */
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.secondary-feature-card.visible { /* This class will be added by JS */
    opacity: 1;
    transform: translateY(0);
}

.secondary-feature-icon {
    margin-bottom: 20px;
}

.secondary-feature-icon img {
    width: 100px;
    height: auto;
}

/* Responsive adjustments (reusing the same breakpoints as the previous card section) */
@media (max-width: 1200px) {
    .secondary-feature-card {
        flex: 0 0 calc(33.33% - 30px); /* 3 cards per row */
    }
}

@media (max-width: 900px) {
    .secondary-feature-card {
        flex: 0 0 calc(50% - 30px); /* 2 cards per row */
    }
}

@media (max-width: 600px) {
    .secondary-features-heading {
        font-size: 1.5rem;
    }
    .secondary-feature-card {
        flex: 0 0 90%; /* 1 card per row on small screens */
        max-width: 300px;
    }
}

/*what pantas can be used for*/
/* --- 10. WHAT PANTAS CAN BE USED FOR? (Use Cases Section) --- */
.use-cases-section {
    padding: 80px 5%;
    background-color: #f8f8f800; /* A light background to differentiate */
    text-align: center;
}

.use-cases-heading {
    color: var(--dark-navy);
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 60px;
    letter-spacing: 1px;
}

.use-cases-cards-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap; /* Allows cards to wrap to the next line */
    gap: 30px; /* Slightly less gap than previous section */
}

.use-case-card {
    flex: 0 0 calc(25% - 30px); /* Four cards per row, accounting for gap */
    max-width: 280px; /* Max width for each card */
    padding: 20px;
    /* Initial state for JavaScript scroll-reveal animation */
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.use-case-card.visible { /* This class will be added by JS */
    opacity: 1;
    transform: translateY(0);
}

.use-case-icon {
    margin-bottom: 20px;
}

.use-case-icon img {
    width: 100px; /* Size of the icon graphic */
    height: auto;
}

/* Card titles and descriptions can reuse existing styles, 
   but specific adjustments can be made if needed */
.use-case-card .card-title {
    color: var(--dark-navy);
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.use-case-card .card-description {
    color: #555;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .use-case-card {
        flex: 0 0 calc(33.33% - 30px); /* 3 cards per row */
    }
}

@media (max-width: 900px) {
    .use-case-card {
        flex: 0 0 calc(50% - 30px); /* 2 cards per row */
    }
}

@media (max-width: 600px) {
    .use-cases-heading {
        font-size: 1.5rem;
    }
    .use-case-card {
        flex: 0 0 90%; /* 1 card per row on small screens */
        max-width: 300px;
    }
}

/*FEATURES*/
.detailed-features-section {
    padding: 80px 5%;
    background-color: rgba(255, 255, 255, 0); /* Maintain white background for this section */
    text-align: center;
    margin-right: auto;
}

.detailed-features-heading {
    color: var(--dark-navy);
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 60px;
    letter-spacing: 1px;
}

.feature-list-container {
    max-width: 900px; /* Constrain width of the list */
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px; /* Space between feature items */
    text-align: left; /* Text aligns to left within each item */
}

.feature-item {
    display: flex;
    align-items: flex-start; /* Align icon and text at the top */
    gap: 25px;
    /* Initial state for JavaScript scroll-reveal animation */
    opacity: 0;
    transform: translateX(-50px); /* Animate from left */
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.feature-item.visible { /* This class will be added by JS */
    opacity: 1;
    transform: translateX(0);
}

.feature-item-icon {
    flex-shrink: 0; /* Prevent icon from shrinking */
    width: 80px; /* Fixed width for the icon container */
    height: 80px; /* Fixed height for the icon container */
    display: flex; /* For centering the image if smaller */
    justify-content: center;
    align-items: center;
}

.feature-item-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* Ensure image fits without cropping */
}

.feature-item-content {
    flex-grow: 1; /* Allow content to take remaining space */
}

.item-title {
    color: var(--dark-navy);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.item-description {
    color: #555;
    font-size: 1rem;
    line-height: 1.5;
}

/* Responsive adjustments for detailed features */
@media (max-width: 768px) {
    .detailed-features-heading {
        font-size: 1.5rem;
    }
    .feature-item {
        flex-direction: column; /* Stack icon and text on small screens */
        align-items: center;
        text-align: center;
        gap: 15px;
    }
    .feature-item-icon {
        margin-bottom: 10px;
    }
    .item-title {
        font-size: 1.1rem;
    }
    .item-description {
        font-size: 0.9rem;
    }
}


/* --- 15. TRUSTED BY (Logo Slideshow Section) --- */
.trusted-by-section {
    padding: 80px 5%;
    background-color: #f8f8f800; /* Light gray background to contrast with white sections */
    text-align: center;
}

.trusted-by-heading {
    color: var(--dark-navy);
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 60px;
    letter-spacing: 1px;
    /* Initial state for JavaScript scroll-reveal animation */
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Slideshow Container */
.logo-slideshow-container {
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden; /* Hides the duplicated logos until they slide into view */
    white-space: nowrap;
    position: relative;
    padding: 20px 0;
}

/* Slideshow Track (The moving element) */
.logo-slideshow-track {
    display: inline-block;
    animation: slide-logos 30s linear infinite; /* Animation name, duration, speed, and loop */
    will-change: transform; /* Performance optimization */
}

.partner-logo-item {
    display: inline-block;
    margin: 0 40px; /* Space between logos */
    height: 120px; /* Standardize logo size */
    width: auto;
    filter: grayscale(80%); /* Optional: Make logos less distracting */
    opacity: 0.6;
    transition: filter 0.3s, opacity 0.3s;
}

.partner-logo-item:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* Define the infinite sliding animation */
@keyframes slide-logos {
    0% {
        transform: translateX(0);
    }
    100% {
        /* Translate the length of the original set of logos */
        /* Since we have 5 logos + margins, this value depends on exact widths, but
           translating by 50% is a safe way to loop the duplicated track */
        transform: translateX(-50%);
    }
}

/* Responsive adjustments for animation speed on smaller screens */
@media (max-width: 900px) {
    .partner-logo-item {
        margin: 0 20px;
        height: 80px;
    }
}
@media (max-width: 600px) {
    .logo-slideshow-track {
        animation-duration: 20s; /* Speed up the animation on mobile */
    }
}

/* --- PREVIOUS EVENTS SECTION --- */
.previous-events-section {
    padding: 80px 5%;
    background-color: rgba(255, 255, 255, 0);
}

.events-content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr; /* Image left, Text right */
    gap: 40px;
    align-items: center;
}

.events-heading {
    color: var(--dark-navy);
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 20px;
    letter-spacing: 1px;
    /* Initial state for JavaScript scroll-reveal animation */
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.events-text-container p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
}

.events-link {
    display: inline-block;
    color: var(--orange-dark);
    font-weight: 700;
    text-decoration: none;
    transition: color 0.3s;
}

.events-link:hover {
    color: var(--dark-navy);
}

/* Slideshow Styling */
.events-slideshow-container {
    position: relative;
    width: 100%;
    /* Use a fixed aspect ratio for the container */
    padding-bottom: 56.25%; /* 16:9 aspect ratio (450/800 = 0.5625) */
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.events-slideshow-track {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.event-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0; /* Hidden by default */
    transition: opacity 1s ease-in-out; /* Fading transition */
}

.event-slide.current-slide {
    opacity: 1; /* Visible slide */
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .events-content-wrapper {
        grid-template-columns: 1fr; /* Stack on mobile */
        text-align: center;
    }
    .events-text-container {
        order: 2; /* Put text below the image on mobile */
    }
    .events-slideshow-container {
        order: 1;
    }
    .events-heading {
        font-size: 1.5rem;
    }
}

body {
    background-color: #ffffff;
    position: relative;
    overflow-x: hidden; 
    
    /* Apply a subtle dark overlay over the image */
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)), /* White overlay with 80% opacity */
        url('img/pantas3.png'); /* REPLACE with your actual image path */
        
    background-size: cover; 
    background-attachment: fixed; 
    background-repeat: no-repeat;
    background-position: center center;
}

/* --- TOP BAR STYLING --- */
.top-bar {
    /* Existing styles... */
    background-color: var(--dark-navy);
    color: white;
    padding: 8px 5%;
    /* ... */

    /* ADD STICKY PROPERTIES for the top bar (Optional, but ensures it sticks above the main nav) */
    position: sticky;
    top: 0; 
    z-index: 1010; /* High z-index to stay on top */
}


/* --- NAVIGATION BAR STYLING --- */
nav {
    /* Existing styles... */
    background-color: white; 
    border-bottom: 1px solid #ddd; 
    /* ... */

    /* ADD STICKY PROPERTIES for the main navbar */
    position: sticky;
    top: 35px; /* Stick 35px from the top (right below the top-bar) */
    z-index: 1000; /* Ensure it stays above other page content */
}

/*PROMO ANNOUNCEMENT*/

/* --- 18. PROMO PACKAGE SECTION --- */
.promo-package-section {
    padding: 80px 5%;
    background-color: rgba(255, 255, 255, 0); /* White background to stand out */
    text-align: center;
}

.promo-content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr; /* Text left, Image right */
    gap: 60px; /* More space between text and image */
    align-items: center;
    text-align: left;
}

.promo-text-block {
    /* Animation initial state */
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.promo-text-block.visible {
    opacity: 1;
    transform: translateX(0);
}

.promo-title {
    color: var(--dark-navy);
    font-size: 2.8rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.promo-description {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 25px;
    max-width: 500px; /* Constrain width */
}

.promo-special-offer {
    color: var(--dark-navy);
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 35px;
}

.promo-learn-more-button {
    display: inline-block;
    background-color: var(--gold-accent);
    color: var(--dark-navy);
    padding: 15px 35px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.3s, transform 0.3s ease-out, box-shadow 0.3s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.promo-learn-more-button:hover {
    background-color: #e0ac2e; /* Slightly darker gold */
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.promo-image-block {
    display: flex;
    justify-content: center; /* Center the image within its grid column */
    align-items: center;
    /* Animation initial state */
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease-out 0.2s, transform 0.8s ease-out 0.2s; /* Slight delay */
}

.promo-image-block.visible {
    opacity: 1;
    transform: translateX(0);
}

.promo-image-block img {
    max-width: 100%; /* Ensure image scales within its container */
    height: auto;
    border-radius: 12px; /* Rounded corners for the promo image */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15); /* Soft shadow for depth */
}

/* Responsive adjustments for Promo section */
@media (max-width: 900px) {
    .promo-content-wrapper {
        grid-template-columns: 1fr; /* Stack content on smaller screens */
        text-align: center;
        gap: 40px;
    }
    .promo-text-block, .promo-image-block {
        transform: translateX(0); /* Reset animation for stacked layout */
    }
    .promo-text-block.visible, .promo-image-block.visible {
        transform: translateX(0);
    }
    .promo-title {
        font-size: 2.2rem;
    }
    .promo-description, .promo-special-offer {
        font-size: 1rem;
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    .promo-title {
        font-size: 1.8rem;
    }
    .promo-learn-more-button {
        padding: 12px 25px;
        font-size: 1rem;
    }
}


/*CLIENT TESTIMONIALS*/
/* --- 20. CLIENT TESTIMONIALS SECTION --- */
.testimonials-section {
    padding: 100px 5%;
    background-color: #f0f4fa00; /* Light blue background for contrast */
    text-align: center;
}

.testimonials-heading {
    color: var(--dark-navy);
    font-size: 2.8rem;
    font-weight: 900;
    margin-bottom: 70px;
    letter-spacing: 1px;
    
    /* Animation initial state */
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.testimonials-heading.visible {
    opacity: 1;
    transform: translateY(0);
}

.testimonials-grid-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    
    /* Animation initial state (for staggered reveal) */
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.testimonial-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.testimonial-quote {
    color: #555;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 30px;
    font-style: italic; /* Match the provided style */
}

.client-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}

.client-avatar-placeholder {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #d4e1f4; /* Light blue background for avatar */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden; /* Ensure image fits */
}

.client-avatar-placeholder img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 50%; /* Ensure the image itself is circular if it's not already */
}

.client-name {
    color: var(--dark-navy);
    font-size: 1.1rem;
    font-weight: 700;
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .testimonials-heading {
        font-size: 2.2rem;
    }
}

@media (max-width: 600px) {
    .testimonials-heading {
        font-size: 1.8rem;
    }
}

/* --- 16. FOOTER SECTION --- */
.main-footer {
    background-color: gray; /* Dark background color */
    color: rgb(0, 0, 0); /* Light text color */
    padding: 25px 3%; /* Minimized vertical padding (as per last request) */
    
    /* Animation initial state (Fade-up animation on scroll) */
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.main-footer.visible {
    opacity: 1;
    transform: translateY(0);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap; 
}

.footer-col {
    flex-basis: 30%; 
    min-width: 200px; /* Adjusted min-width slightly for tighter columns */
}

/* Branding Column */
.footer-branding {
    display: flex;
    flex-direction: column;
}

.footer-logo-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 10px; /* Reduced margin */
}

.pantas-footer-logo, .area51-footer-logo {
    max-width: 150px;
    height: auto;
}

.copyright {
    font-size: 0.85rem;
    color: #ffffff;
    margin-top: 10px; /* Reduced margin */
}

/* Links and Contact Columns */
.footer-col h3 {
    color: rgb(255, 255, 255);
    font-size: 1.1rem; /* Slightly reduced font size for a compact look */
    font-weight: 700;
    margin-bottom: 15px; /* Reduced margin */
    letter-spacing: 0.5px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 8px; /* Reduced spacing between links */
}

.footer-links a,
.footer-contact p,
.footer-contact address,
.footer-contact a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.95rem; /* Slightly reduced font size */
    line-height: 1.4;
    transition: color 0.3s;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--gold-accent);
}

.footer-contact address {
    font-style: normal;
    margin-bottom: 10px; /* Reduced margin */
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .footer-container {
        justify-content: flex-start;
    }
    .footer-col {
        flex-basis: 45%; 
        margin-bottom: 20px;
    }
    .footer-branding {
        flex-basis: 100%; 
        align-items: center;
        text-align: center;
    }
    .footer-logo-group {
        flex-direction: row;
        gap: 30px;
    }
}

@media (max-width: 600px) {
    .footer-container {
        flex-direction: column;
        gap: 20px;
    }
    .footer-col {
        min-width: 100%;
        text-align: center;
    }
    .footer-links ul {
        text-align: center;
    }
}


/* --- 24. LOTTIE PRELOADER (LOADING ANIMATION) --- */

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Use a background color that complements the Lottie animation */
    background: #ffffff; 
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Ensure it's on top of everything */
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s ease-out, visibility 0s 0.5s; /* Fade out transition */
}

/* Class to hide the preloader */
#preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none; /* Allows clicking through once hidden */
}

/* Ensure the Lottie component itself is centered (though flex on #preloader handles this) */
dotlottie-wc {
    display: block;
}


