/* General Styling and Variables */
:root {
    --dark-green: #384e36;
    --light-green: #446243;
    --white: #fff;
    --black: #000;
    --yellow: #f5f5dc;
}

/* ADDED: Smooth scroll behavior for anchor links */
html {
    scroll-behavior: smooth; 
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: var(--white);
    color: var(--dark-green);
}

/* Header Section */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px; 
    
    background-color: rgba(78, 88, 65, 0.5); 
    backdrop-filter: blur(15px);
    border-radius: 40px; 
    
    position: fixed;
    top: 20px; 
    left: 50%; 
    transform: translateX(-50%);
    
    width: 90%; 
    max-width: 1200px;
    box-sizing: border-box;
    z-index: 100;
    
    transition: all 0.4s ease-in-out; 
}

/* Corrected shrink class for the header to match the image */
.header.shrink {
    padding: 10px 15px;
    top: 10px;
    border-radius: 40px;
    width: auto;
    max-width: fit-content;
    justify-content: center;
}

.logo {
    font-weight: bold;
    font-size: 1.5em;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white); 
    transition: all 0.4s ease-in-out;
}

/* Add margin to the logo when the header shrinks */
.header.shrink .logo {
    font-size: 1.2em;
    margin-right: 15px;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    margin-right: 25px;
    font-weight: 500;
    transition: transform 0.2s ease-in-out; 
}

.nav-links a:hover {
    transform: scale(1.05); 
}

.contact-button {
    background-color: var(--light-green);
    color: var(--white);
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.4s ease-in-out; 
}

.contact-button:hover {
    transform: scale(1.05); 
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
    color: var(--white);
    box-sizing: border-box;
    background-image: url('assets/images/running_marathon.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); 
}

.hero-content {
    position: absolute; 
    bottom: 100px; /* Increased from 50px to 100px to move content up */
    left: 100px; 
    z-index: 1;
    max-width: 600px;
}

.tags {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.tag {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8em;
    text-transform: uppercase;
    font-weight: bold;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

/* withHover animation */
.with-hover {
    transition: transform 0.2s ease-in-out;
}

.with-hover:hover {
    transform: scale(1.05); 
}

/* withRandomColor setup */
.with-random-color {
    transition: background-color 0.5s ease;
}

h1 {
    font-size: 2.5em; /* Increased font size for h1 */
    font-weight: bold;
    line-height: 1.1;
    margin: 0;
    text-transform: uppercase;
}

.hero-content p {
    font-size: 1.2em; /* Increased font size for paragraph */
    line-height: 1.5;
    max-width: 800px;
}

.cta-button {
    background-color: var(--yellow);
    color: var(--black);
    border: none;
    padding: 15px 30px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
}

/* New Combined Section Styles */
.about-features-section {
    padding: 80px 100px;
    background-color: #EAF0E9;
}

.about-features-container {
    display: flex;
    gap: 50px;
    align-items: center;
    background-color: var(--light-green); /* Background color for the inner container */
    border-radius: 20px;
    padding: 80px 100px;
    color: var(--white);
}

.about-features-list-column {
    flex: 1;
}

.about-features-highlights-column {
    flex: 1;
}

/* Old about section styles - kept for reference if needed */
.about-section {
    display: none; /* Hides the old about section */
}

.stats-container {
    display: flex;
    gap: 30px;
    justify-content: flex-start;
}

.stat-circle {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-color: var(--dark-green);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 5px solid var(--dark-green);
}

.stat-circle:first-child {
    border-color: var(--white);
}

.percentage {
    font-size: 3em;
    font-weight: bold;
}

.description {
    font-size: 1em;
    font-weight: 500;
}

/* New transparent button style */
.cta-button-transparent {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.4s ease-in-out;
    text-transform: uppercase;
    font-size: 1em; /* Ensures text is readable */
    display: flex; /* Centers icon and text */
    align-items: center;
    gap: 8px; /* Space between icon and text */
}

.cta-button-transparent:hover {
    background-color: var(--white);
    color: var(--dark-green);
}

.cta-button-transparent:hover .fas {
    color: var(--dark-green); /* Ensures icon color also changes on hover */
}

.highlights-title {
    font-size: 2.5em;
    font-weight: bold;
    color: var(--white);
    margin-bottom: 20px;
}

.highlights-list {
    list-style: none;
    padding: 0;
}

.highlights-list li {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 20px;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: flex-start;
}

.highlights-list li i {
    font-size: 1.5em;
    color: var(--yellow);
}

/* Features Section */
.features-section {
    padding: 100px 100px; /* Increased padding-top and padding-bottom for more vertical space */
    background-color: #EAF0E9;
}

.features-container {
    display: flex;
    gap: 50px;
    align-items: center;
}

.features-list-column {
    flex: 1;
}

.features-list-column h2 {
    font-size: 4.5em; /* Updated font size */
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #2E4A2C;
}

.features-list-column h3 {
    font-size: 2em; /* Adjusted heading size for clarity */
    font-weight: bold;
    color: #2E4A2C;
    margin-top: 40px;
    margin-bottom: 10px;
}

.features-list-column p {
    font-size: 1.1em; /* Adjusted paragraph size */
    line-height: 1.6;
    margin: 0;
    color: #486E46;
}
.features-list-column p + h3 {
    margin-top: 2em;
}

.features-image-column {
    flex: 1;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    border: 5px solid #ADD8E6;
}

.features-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    filter: brightness(0.9);
}

.features-description-box {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background-color: var(--white);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.features-description-box .fas {
    position: absolute;
    top: 15px;
    right: 15px;
    color: #a3a3a3;
}

.features-description-box p {
    font-size: 0.9em;
    line-height: 1.6;
    margin: 0;
    color: #2E4A2C;
}

/* Why Choose Us Section */
.why-choose-us-section {
    padding: 80px 100px;
    text-align: center;
}

.why-choose-us-title {
    font-size: 3em;
    font-weight: bold;
    color: var(--dark-green);
    margin: 0;
}

.why-choose-us-subtitle {
    font-size: 1.1em;
    color: #486E46;
    max-width: 800px;
    margin: 10px auto 50px;
    line-height: 1.5;
}

.three-column-layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.features-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 40px;
    text-align: left;
}

.feature-block {
    background-color: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out; 
}

.feature-block:hover {
    transform: scale(1.05);
}

.feature-block i {
    font-size: 2.5em;
    color: #2E4A2C;
    margin-bottom: 15px;
}

.feature-block h3 {
    font-size: 1.5em;
    font-weight: bold;
    margin: 0 0 10px;
    color: var(--dark-green);
}

.feature-block p {
    font-size: 1em;
    color: #486E46;
    line-height: 1.6;
}

.main-image-column {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease-in-out;
}

.main-image-column:hover {
    transform: scale(1.05);
}

.main-image {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* --- Generic Section Header Styling --- */
.section-header-block {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}
.section-title {
    font-size: 3em;
    font-weight: bold;
    color: var(--dark-green);
    margin: 0;
}
.section-subtitle {
    font-size: 1.1em;
    color: #486E46;
    max-width: 800px;
    margin: 10px auto 0;
    line-height: 1.5;
}
/* ------------------------------------------- */

/* Services Section */
.services-section {
    display: flex;
    flex-direction: column;
    gap: 80px;
    padding: 80px 100px;
    background-color: #EAF0E9;
}

.service-block.hidden {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.service-block.show {
    opacity: 1;
    transform: translateY(0);
}

.service-content {
    display: flex;
    align-items: center;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-content h2 {
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 10px;
    color: #2E4A2C;
}

.service-content p {
    font-size: 1.1em;
    color: #486E46;
    line-height: 1.6;
}

.service-text {
    flex: 1;
}

/* FIX: Set fixed height for service image containers to prevent excessive vertical stretching */
.service-image-container {
    flex: 1;
    height: 300px; 
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.service-image-container:hover {
    transform: scale(1.05);
}

.service-image-container img {
    width: 100%;
    height: 100%; 
    object-fit: cover; /* Ensures image covers the fixed container area */
    display: block;
    border-radius: 10px;
}

.service-block.reverse .service-content {
    flex-direction: row-reverse;
}

.service-block .tags {
    margin-top: 20px;
}

.service-block .tag {
    background-color: #c2d8c3;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8em;
    text-transform: uppercase;
    font-weight: bold;
    color: #2E4A2C;
    margin-right: 10px;
}

.service-block .cta-button {
    margin-top: 20px;
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 100px;
    text-align: center;
}

.testimonials-title {
    font-size: 3em;
    font-weight: bold;
    color: var(--dark-green);
    margin: 0;
}

.testimonials-subtitle {
    font-size: 1.1em;
    color: #486E46;
    max-width: 800px;
    margin: 10px auto 50px;
    line-height: 1.5;
}

.testimonials-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.testimonial-card {
    flex: 1 1 calc(50% - 15px);
    background-color: #F8F9FA;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: left;
    transition: transform 0.3s ease-in-out;
}

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

.testimonial-card h3 {
    font-size: 1.2em;
    font-weight: bold;
    color: var(--dark-green);
    margin-bottom: 10px;
}

.testimonial-card p {
    font-size: 1em;
    color: #486E46;
    line-height: 1.6;
    margin: 0 0 20px;
}

.testimonial-footer {
    display: flex;
    align-items: center;
    gap: 15px;
}

.profile-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.profile-text h4 {
    font-size: 1em;
    font-weight: bold;
    margin: 0;
    color: var(--dark-green);
}

.profile-text p {
    font-size: 0.9em;
    color: #486E46;
    margin: 0;
}

/* --- RESULTS & PAST EVENTS SECTION STYLES --- */
.results-section,
#past-events { /* Added #past-events selector */
    padding: 80px 100px;
    text-align: center;
    background-color: #F8F9FA; 
}
/* Style for Past Events to use a slightly different background for contrast */
#past-events {
    background-color: var(--white);
}


/* Limit the results section card to a single column in the center */
.results-section .events-grid {
    justify-content: center;
}

.result-card {
    /* Set max-width for better display of a single poster */
    max-width: 400px; 
    flex: 0 1 400px; /* Ensures it stays centered and doesn't stretch too wide */
}

/* Style for the button container in the results card to allow proper alignment */
.event-result-button-container {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
}

/* Custom styling for the results button based on cta-button-transparent */
.result-button {
    /* Override cta-button-transparent styles for solid color button */
    background-color: var(--dark-green); 
    color: var(--white);
    border: none;
    padding: 12px 25px;
    font-size: 1em;
    border-radius: 30px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    text-transform: uppercase;
    text-decoration: none; /* Ensure link looks like a button */
}

.result-button:hover {
    background-color: var(--light-green); 
    color: var(--white);
    transform: translateY(-2px);
}

.result-button i {
    color: var(--white); /* Ensure icon is white in the button */
}

.result-button:hover i {
    color: var(--white); /* Ensure icon stays white on hover */
}

/* Adjust image height for the poster */
.result-image {
    height: 300px; /* Taller height for a full poster look */
    object-fit: cover;
}
/* -------------------------------------- */


/* Upcoming Events Section */
.upcoming-events-section {
    padding: 80px 100px;
    text-align: center;
    background-color: var(--white);
}

.events-title {
    font-size: 3em;
    font-weight: bold;
    color: var(--dark-green);
    margin: 0;
}

.events-subtitle {
    font-size: 1.1em;
    color: #486E46;
    max-width: 800px;
    margin: 10px auto 50px;
    line-height: 1.5;
}

/* UPDATED: Events Grid for Equal Height and Image Fill */
.events-grid {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    /* KEY CHANGE 1: Makes flex items (event-card) stretch to the height of the tallest item in the row */
    align-items: stretch; 
}

.event-card {
    /* Set flex basis to allow three cards per row with gap */
    flex: 1 1 calc(33.333% - 20px); 
    background-color: #F8F9FA;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: left;
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
    /* Ensure the card itself is a flex container for content, allowing content to fill height if needed */
    display: flex; 
    flex-direction: column; 
}

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

/* KEY CHANGE 2: Ensure image covers the entire space of its container */
.event-image {
    width: 100%;
    height: 200px; /* Fixed height for consistent image size */
    object-fit: cover; /* Ensures image fills the area without being stretched, cropping as needed */
    display: block;
}

.event-card-content {
    padding: 20px;
    /* Optional: Use flex-grow to push content to the bottom if needed, but not strictly necessary for equal height */
    flex-grow: 1; 
}

.event-card-content h3 {
    font-size: 1.2em;
    font-weight: bold;
    color: var(--dark-green);
    margin: 0 0 10px;
}

.event-card-content .event-info {
    font-size: 0.9em;
    color: #486E46;
    margin: 5px 0;
}

.event-card-content .event-info i {
    margin-right: 8px;
    color: #2E4A2C;
}

/* Styling for bold price text in event cards */
.event-card-content .event-info b {
    color: var(--dark-green); /* Highlights the bold text using your primary color */
    font-weight: 700; /* Ensures strong boldness */
    font-size: 1.1em; /* Makes the price slightly larger */
}

/* On-scroll animation and image hover */
.hidden {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.show {
    opacity: 1;
    transform: translateY(0);
}

.service-image-container img, .main-image {
    transition: transform 0.3s ease-in-out;
}

.service-image-container:hover img, .main-image-column:hover .main-image {
    transform: scale(1.05);
}

/* FAQ Section */
.faq-section {
    padding: 80px 100px;
    text-align: center;
}

.faq-header {
    max-width: 800px;
    margin: 0 auto 50px;
}

.faq-header h2 {
    font-size: 3em;
    font-weight: bold;
    color: var(--dark-green);
    margin: 0;
}

.faq-header p {
    font-size: 1.1em;
    color: #486E46;
    line-height: 1.5;
}

.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: #F8F9FA;
    padding: 20px 30px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: left;
    cursor: pointer;
    overflow: hidden;
    transition: background-color 0.3s ease-in-out;
}

.faq-item:hover {
    background-color: #f0f0f0;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--dark-green);
}

.faq-question i {
    color: #486E46;
}

.faq-answer {
    max-height: 0;
    opacity: 0;
    padding-top: 0;
    transition: max-height 0.4s ease-in-out, opacity 0.4s ease-in-out, padding 0.4s ease-in-out;
}

.faq-item.open .faq-answer {
    max-height: 200px; /* Adjust as needed */
    opacity: 1;
    padding-top: 20px;
}

/* Contact Section (Quotation Form) */
.contact-section {
    padding: 80px 100px;
    background-color: #EAF0E9;
}

.contact-container {
    display: flex;
    gap: 50px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-form-column {
    flex: 1;
}

.contact-title {
    font-size: 3em;
    font-weight: bold;
    color: var(--dark-green);
    margin: 0;
}

.contact-subtitle {
    font-size: 1.1em;
    color: #486E46;
    margin: 10px 0 30px;
    line-height: 1.5;
}

/* Ensure contact links inside the contact section are styled correctly */
.contact-form-column p a {
    color: #486E46; /* Set the link color to match the surrounding text color */
    text-decoration: none; /* Remove underline */
}

.contact-form-column p a:hover {
    text-decoration: underline;
    color: var(--dark-green);
}

.contact-form-column form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Target all form inputs, select, and textarea */
.contact-form-column input,
.contact-form-column textarea,
.contact-form-column select {
    padding: 15px;
    border: 1px solid #c2d8c3;
    border-radius: 10px;
    font-size: 1em;
    background-color: #F8F9FA;
    transition: border-color 0.3s ease-in-out;
    color: #486E46; /* Ensure text color is readable */
    /* Add default styling for select dropdown to match input height */
    appearance: none; /* Removes default browser styling for the select field */
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%2212%22%20height%2212%22%20viewBox%3D%220%200%2012%2012%22%3E%3Cpath%20fill%3D%22%23486E46%22%20d%3D%22M10.293%203.293L6%207.586%201.707%203.293A1%201%200%2000.293%204.707l5%205A1%201%200%20006%2010.707a1%201%200%2000.707-.293l5-5A1%201%200%200010.293%203.293z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 10px;
}

.contact-form-column input:focus,
.contact-form-column textarea:focus,
.contact-form-column select:focus {
    outline: none;
    border-color: var(--light-green);
}

.contact-form-column textarea {
    min-height: 150px;
    resize: vertical;
}
/* End Form Styling */

.contact-image-column {
    flex: 1;
    background-color: var(--white);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.contact-image-column img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
}

/* New CTA Section */
.cta-section {
    padding: 80px 100px;
    background-color: #EAF0E9;
    text-align: center;
}

.cta-section .cta-icon {
    font-size: 3em;
    color: #F8C349;
    margin-bottom: 20px;
}

.cta-section h2 {
    font-size: 2.5em;
    font-weight: bold;
    color: var(--dark-green);
    margin: 0 auto 30px;
    line-height: 1.2;
    max-width: 600px;
}

.cta-proposal-button {
    background-color: var(--dark-green);
    color: var(--white);
    border: none;
    padding: 15px 30px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.cta-proposal-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Footer */
.footer {
    padding: 50px 100px;
    background-color: var(--white);
    text-align: center;
}

/* Footer - New Column-Based Layout */
.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
}

.footer-logo i {
    font-size: 2em;
    color: var(--dark-green);
}

.footer-logo span {
    font-size: 2em;
    font-weight: bold;
    color: var(--dark-green);
}

.footer-columns {
    display: flex;
    justify-content: space-between;
    text-align: left;
    margin-bottom: 40px;
}

.footer-column {
    flex: 1;
    margin-right: 20px;
}

.footer-column:last-child {
    margin-right: 0;
}

.footer-column h3 {
    font-size: 1.2em;
    color: var(--dark-green);
    margin-bottom: 15px;
}

/* UPDATED: Ensure contact links in footer are styled like surrounding text */
.footer-column p, .footer-column a {
    font-size: 0.9em;
    line-height: 1.6;
    color: #486E46;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

.footer-column p a:hover {
    text-decoration: underline;
    color: var(--dark-green);
}
/* END UPDATED STYLE */

.footer-column p {
    margin: 0 0 10px;
}

.footer-column a:hover {
    color: var(--dark-green);
}

.quick-links ul, .social ul {
    list-style: none;
    padding: 0;
}

.quick-links li {
    margin-bottom: 8px;
}

.social .social-icons {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.social .social-icons i {
    font-size: 1.5em;
    color: #486E46;
    transition: color 0.3s ease-in-out;
}

.social .social-icons i:hover {
    color: var(--dark-green);
}

.footer-bottom {
    border-top: 1px solid #c2d8c3;
    padding-top: 20px;
}

.footer-slogan {
    font-size: 1.1em;
    color: #486E46;
    margin-bottom: 10px;
    text-align: center;
}

.footer-copyright {
    font-size: 0.9em;
    color: #a3a3a3;
    margin: 0;
    text-align: center;
}

/* New styles for the combined section */
.tech-events-section {
    padding: 80px 100px;
    background-color: #EAF0E9;
}

.tech-events-container {
    display: flex;
    gap: 40px;
    background-color: var(--white);
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.tech-content-column,
.events-content-column {
    flex: 1;
    text-align: left;
}

.tech-subtitle,
.events-we-time-title {
    font-size: 2em;
    font-weight: bold;
    color: var(--dark-green);
    margin-bottom: 15px;
}

.tech-description,
.events-we-time-subtitle {
    font-size: 1.1em;
    color: #486E46;
    line-height: 1.5;
    margin-bottom: 20px;
}

.tech-list,
.events-we-time-list {
    list-style: none;
    padding: 0;
}

.tech-list li,
.events-we-time-list li {
    font-size: 1em;
    color: #486E46;
    line-height: 1.6;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tech-list li i,
.events-we-time-list li i {
    color: var(--dark-green);
}

.tech-last-line,
.events-we-time-last-line {
    font-size: 1em;
    font-style: italic;
    color: #486E46;
    margin-top: 30px;
}

/* ==================================== */
/* FLOATING CHAT BOT STYLES */
/* ==================================== */

.floating-chat-container {
    position: fixed;
    bottom: 30px; /* Distance from the bottom of the viewport */
    right: 30px; /* Distance from the right of the viewport */
    display: flex;
    flex-direction: column; 
    align-items: flex-end; /* Align all items to the right */
    z-index: 9999; 
}

/* --- Main Floating Button --- */
.main-chat-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    background-color: var(--dark-green); /* Using your primary brand color */
    color: var(--white);
    font-size: 1.8em;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, background-color 0.3s ease;
    position: relative;
    z-index: 100; /* Ensure it stays above the menu when open */
}

.main-chat-btn:hover {
    transform: scale(1.05);
}

/* --- Options Menu Container --- */
.chat-options-menu {
    display: flex;
    flex-direction: column;
    gap: 15px;
    position: absolute;
    bottom: 75px; /* Position above the main button (60px height + 15px gap) */
    right: 0;
    
    /* Initial state: Hidden and moved down */
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px); 
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}

/* State when menu is open (controlled by JS) */
.chat-options-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* --- Individual Option Buttons --- */
.chat-option-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white);
    font-size: 1.5em;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.chat-option-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* Specific styling for WhatsApp */
.whatsapp-option {
    background-color: #25d366; /* WhatsApp brand green */
}

/* Specific styling for Call/Phone */
.call-option {
    background-color: #28a745; /* A slightly different green for contrast/attraction */
}

/* ==================================== */
/* MEDIA QUERIES (Adjusted positioning for mobile) */
/* ==================================== */

/* Tablet and Smaller Desktop (Max 1024px) */
@media (max-width: 1024px) {
    /* General Padding Adjustments */
    .features-section,
    .why-choose-us-section,
    .services-section,
    .tech-events-section,
    .testimonials-section,
    .upcoming-events-section,
    .contact-section,
    .footer,
    .faq-section,
    .results-section,
    #past-events { /* Added #past-events selector */
        padding: 50px 40px; /* Reduced horizontal padding */
    }

    /* Header */
    .header {
        width: 95%; /* Use more width on tablet */
        max-width: none;
    }
    .nav-links {
        display: none; /* Hide main links to simplify header on tablet */
    }
    .header .logo {
        font-size: 1.3em;
    }

    /* Hero Section */
    .hero-content {
        bottom: 50px;
        left: 40px;
        max-width: 90%;
    }
    h1 {
        font-size: 2em;
    }
    .hero-content p {
        font-size: 1em;
    }

    /* Features Section (About Us) */
    .features-container {
        flex-direction: column; /* Stack columns vertically */
        gap: 40px;
    }
    .features-list-column h2 {
        font-size: 3em;
    }

    /* Why Choose Us Section */
    .three-column-layout {
        flex-direction: column; /* Stack columns vertically */
        gap: 50px;
    }
    .main-image-column {
        order: -1; /* Move image to the top */
    }

    /* Services Section */
    .service-content, 
    .service-block.reverse .service-content {
        flex-direction: column; /* Stack image and text */
        gap: 30px;
        text-align: center;
    }
    .service-text {
        order: 2;
    }
    .service-image-container {
        order: 1;
        height: 250px; /* Reduced height for better fit on tablets */
    }

    /* Tech & Events Section */
    .tech-events-container {
        flex-direction: column; /* Stack columns */
    }

    /* Testimonials Section */
    .testimonials-grid {
        flex-direction: column;
    }
    .testimonial-card {
        flex: 1 1 100%; /* Full width */
    }

    /* Upcoming Events Section & Results Section */
    .events-grid {
        /* Remove align-items: stretch here for smaller screens to allow cards to collapse naturally */
        align-items: flex-start;
        flex-direction: column;
        align-items: center;
    }
    .event-card {
        flex: 1 1 100%;
        max-width: 400px; /* Constrain card width for better look */
        /* Reset flex-direction to default or keep column */
        flex-direction: column;
    }
    /* Enforce single column for results page on tablet/mobile */
    .results-section .events-grid {
        flex-direction: column;
        align-items: center;
    }

    /* Contact Section */
    .contact-container {
        flex-direction: column;
    }
    .contact-image-column {
        order: -1; /* Move image above the form */
    }

    /* Floating Buttons on Tablet */
    .floating-chat-container {
        bottom: 20px;
        right: 20px;
    }
}


/* Mobile Phone (Max 768px) */
@media (max-width: 768px) {
    /* Header */
    .header {
        padding: 10px 15px;
        top: 10px;
        border-radius: 10px;
        width: 90%;
    }
    .header.shrink {
        padding: 8px 10px;
        top: 10px;
    }
    .contact-button {
        padding: 8px 15px;
    }
    
    /* Hero Section */
    .hero-section {
        height: 80vh; /* Reduced height on smaller screens */
        background-position: 70% center; /* Adjust background position */
    }
    .hero-content {
        bottom: 40px;
        left: 20px;
    }
    h1 {
        font-size: 1.8em;
    }
    .hero-content p {
        font-size: 0.9em;
    }
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }
    .cta-button {
        padding: 12px 20px;
        font-size: 0.9em;
    }
    
    /* General Padding and Titles */
    .features-section,
    .why-choose-us-section,
    .services-section,
    .tech-events-section,
    .testimonials-section,
    .upcoming-events-section,
    .contact-section,
    .footer,
    .faq-section,
    .results-section,
    #past-events { /* Added #past-events selector */
        padding: 40px 20px;
    }
    .features-list-column h2,
    .why-choose-us-title,
    .testimonials-title,
    .events-title,
    .contact-title,
    .faq-header h2,
    .results-section .section-title { /* Added results-section title */
        font-size: 2.5em;
    }

    /* Features Section (About Us) */
    .features-image-column {
        border: none;
    }
    .features-description-box {
        position: static;
        margin-top: 20px;
    }
    
    /* Footer */
    .footer-columns {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    .social .social-icons {
        justify-content: center;
    }

    /* Floating Buttons on Mobile */
    .floating-chat-container {
        bottom: 15px;
        right: 15px;
        gap: 10px;
    }
    .main-chat-btn {
        width: 50px;
        height: 50px;
        font-size: 1.4em;
    }
    .chat-options-menu {
        bottom: 65px; /* Adjusted position for smaller button */
        gap: 10px;
    }
    .chat-option-btn {
        width: 45px;
        height: 45px;
        font-size: 1.2em;
    }
}