/* General Styles */
:root {
    --primary-green: #8BC34A; /* Light Green */
    --accent-green: #689F38; /* Darker Green */
    --light-bg: #F0F4C3; /* Pale Green/Cream */
    --dark-text: #333333;
    --light-text: #FFFFFF;
    --secondary-text: #6c757d;
    --hover-color: #7CB342; /* Slightly darker primary for hover */
    --shadow-light: rgba(0, 0, 0, 0.08);
    --shadow-medium: rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark-text);
    line-height: 1.6;
    background-color: #f8f9fa; /* A very light neutral background */
    scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--accent-green);
}

p {
    color: var(--secondary-text);
}

a {
    color: var(--primary-green);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--hover-color);
}

.btn {
    border-radius: 0.5rem;
    padding: 0.8rem 1.8rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
}

.btn-primary:hover {
    background-color: var(--hover-color);
    border-color: var(--hover-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px var(--shadow-medium);
}

.btn-outline-light {
    border-color: var(--light-text);
    color: var(--light-text);
}

.btn-outline-light:hover {
    background-color: var(--light-text);
    color: var(--primary-green);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--primary-green);
    border-radius: 2px;
}

.bg-light-green {
    background-color: var(--light-bg);
}

/* Cookie Banner */
.cookie-banner {
    position: sticky;
    top: 0;
    width: 100%;
    background-color: var(--accent-green); /* Darker green for visibility */
    color: var(--light-text);
    z-index: 1050;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    font-size: 0.9rem;
}

.cookie-banner .btn-success {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
}

.cookie-banner .btn-success:hover {
    background-color: var(--hover-color);
    border-color: var(--hover-color);
}

/* Header */
.main-header {
    box-shadow: 0 2px 10px var(--shadow-light);
    position: sticky;
    top: 0;
    z-index: 1040;
    background-color: var(--light-text);
}

.navbar-brand .logo-img {
    height: 40px;
    width: auto;
}

.navbar-brand .brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-green);
}

.nav-link {
    font-weight: 600;
    color: var(--dark-text) !important;
    margin: 0 10px;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background-color: var(--primary-green);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Hero Section */
.hero-main {
    height: fit-content;
    background-size: cover;
    background-position: center;
    position: relative;
    color: var(--light-text);
    display: flex;
    align-items: center;
    justify-content: center;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}
.hero-main .container {
    margin: 80px 0;
}
.hero-main .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Dark overlay */
    z-index: 0;
}

.hero-main h1 {
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--light-text);
    position: relative; /* For emoji positioning */
}

.hero-main p {
    font-size: 1.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.9);
}

.cta-button {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
    font-size: 1.25rem;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: var(--hover-color);
    border-color: var(--hover-color);
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
}

/* Emoji Highlights */
.emoji-highlight-wrapper {
    position: relative;
    display: inline-block;
}

.emoji-highlight {
    position: absolute;
    font-size: 0.8em; /* Relative to parent text */
    opacity: 0;
    animation: floatAndFade 6s infinite ease-in-out;
}

.emoji-1 {
    top: -20px; 
    left: -30px;
    animation-delay: 0s;
}

.emoji-2 {
    bottom: -15px;
    right: -25px;
    animation-delay: 2s;
}

@keyframes floatAndFade {
    0% { transform: translate(0, 0) scale(0.8); opacity: 0; }
    20% { transform: translate(5px, -5px) scale(1); opacity: 1; }
    80% { transform: translate(-5px, 5px) scale(1); opacity: 1; }
    100% { transform: translate(0, 0) scale(0.8); opacity: 0; }
}

/* About Section */
.about-us .feature-icon {
    color: var(--primary-green);
    font-size: 1.2rem;
}

.about-us img {
    max-height: 500px;
    object-fit: cover;
}

/* Services Section */
.service-card {
    background-color: var(--light-text);
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px var(--shadow-medium) !important;
}

.service-card .service-video {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background-color: #eee; /* Placeholder for video loading */
}

.service-card .card-title {
    color: var(--accent-green);
    font-weight: 600;
    font-size: 1.5rem;
}

/* Features Section */
.features-spotlight .feature-item {
    background-color: var(--light-text);
    border: 1px solid #e0e0e0;
    transition: all 0.5s ease;
    cursor: pointer;
    position: relative;
    z-index: 1;
    box-shadow: 0 5px 15px var(--shadow-light);
}

.features-spotlight .feature-item:hover {
    transform: scale(1.08) translateY(-15px);
    box-shadow: 0 20px 40px var(--shadow-medium);
    background-color: var(--primary-green);
    color: var(--light-text);
    z-index: 2;
}

.features-spotlight .feature-item:hover h4, .features-spotlight .feature-item:hover p {
    color: var(--light-text);
}

.features-spotlight .feature-item:hover .feature-icon-lg {
    color: var(--light-text);
}

.features-spotlight .feature-icon-lg {
    font-size: 3rem;
    color: var(--primary-green);
    transition: color 0.5s ease;
}

/* Team Section */
.team-member-card {
    background-color: var(--light-text);
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px var(--shadow-medium) !important;
}

.team-avatar {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border: 4px solid var(--primary-green);
}

.team-member-card h5 {
    color: var(--accent-green);
}

/* Stats Section */
.stats-timeline {
    position: relative;
    padding-bottom: 80px;
}

.timeline-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 20px 0;
}

.timeline-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 4px;
    background-color: #e0e0e0;
    z-index: 0;
}

.timeline-item {
    flex: 1;
    text-align: center;
    position: relative;
    padding-top: 60px;
    z-index: 1;
}

.timeline-dot {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background-color: var(--primary-green);
    border-radius: 50%;
    border: 4px solid var(--light-text);
    box-shadow: 0 0 0 2px var(--primary-green);
}

.timeline-date {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-green);
    margin-bottom: 5px;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
}

.timeline-metric {
    font-size: 1rem;
    color: var(--secondary-text);
    margin-top: 10px; /* Adjust as needed */
}

/* How It Works Section */
.infographic-flow-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 1rem;
    position: relative;
}

.step-item {
    flex-basis: calc(25% - 2rem); /* 4 items per row */
    max-width: 250px;
    background-color: var(--light-text);
    padding: 2.5rem 1.5rem;
    border-radius: 0.8rem;
    box-shadow: 0 8px 20px var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px var(--shadow-medium);
}

.badge-icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary-green);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--light-text);
    margin-bottom: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.step-item h4 {
    font-size: 18px !important;
    color: var(--accent-green);
}

.flow-arrow {
    position: relative;
    width: 20px !important;
    height: 4px;
    background-color: var(--primary-green);
    margin-top: 60px; /* Align with step item center */
    align-self: flex-start;
    flex-shrink: 0;
    animation: drawLine 1.5s forwards ease-out;
    animation-play-state: paused; /* Controlled by JS */
    animation-timeline: view();
    animation-range: entry 0% cover 50%;
}

.flow-arrow::after {
    content: '\f061'; /* Font Awesome arrow-right */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-green);
    font-size: 1.5rem;
}

@keyframes drawLine {
    from { width: 0; opacity: 0; }
    to { width: 100px; opacity: 1; }
}

/* Testimonials Section */
.testimonials-grid {
    /* Using CSS Grid for masonry-like effect */
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-gap: 1.5rem;
    grid-auto-rows: minmax(min-content, max-content); /* For masonry */
}

.testimonial-card {
    height: 300px;
    background-color: var(--light-text);
    border: 1px solid #e0e0e0;
    position: relative;
    padding-top: 3rem; /* Space for quote icon */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px var(--shadow-medium);
}

.quote-icon {
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-size: 2.5rem;
    color: var(--primary-green);
    opacity: 0.2;
}

.client-avatar {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border: 2px solid var(--primary-green);
}

.client-name {
    color: var(--accent-green);
}

/* Contact Section */
.contact-form,
.contact-info {
    background-color: var(--light-text);
    border: none;
    box-shadow: 0 8px 25px var(--shadow-light);
}

.contact-form .form-label {
    font-weight: 600;
    color: var(--dark-text);
}

.contact-form .form-control,
.contact-form .form-control:focus {
    border-color: #ced4da;
    box-shadow: none;
    transition: border-color 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: var(--primary-green);
}

.contact-form .form-control.is-invalid {
    border-color: #dc3545;
}

.contact-form .submit-button {
    background-color: var(--accent-green);
    border-color: var(--accent-green);
}

.contact-form .submit-button:hover {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
}

.contact-info i {
    color: var(--primary-green);
    font-size: 1.1rem;
}

.google-map {
    border: 1px solid #e0e0e0;
}

/* Footer Section */
.main-footer {
    background-color: var(--accent-green); /* Darker green for footer */
    color: var(--light-text);
}

.main-footer .footer-logo .logo-img {
    filter: brightness(0) invert(1); /* Make logo white */
    height: 40px;
}

.main-footer .footer-logo .brand-name {
    color: var(--light-text);
    font-size: 1.6rem;
}

.main-footer .social-icons a {
    font-size: 1.5rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.main-footer .social-icons a:hover {
    color: var(--light-text);
    transform: translateY(-3px);
}

.main-footer .footer-links a {
    color: var(--light-text);
    opacity: 0.7;
    transition: opacity 0.3s ease;
    display: block;
    padding: 0.2rem 0;
}

.main-footer .footer-links a:hover {
    opacity: 1;
}

/* Responsive Adjustments */
@media (max-width:1200px) {
 
}
@media (max-width: 991.98px) {
       .infographic-flow-wrapper {
        flex-direction: column;
        align-items: center;
    }
    .hero-main h1 {
        font-size: 3.5rem;
    }
    .hero-main p {
        font-size: 1.2rem;
    }
    .section-title {
        font-size: 2rem;
    }
    .timeline-container {
        flex-direction: column;
        align-items: flex-start;
    }
    .timeline-container::before {
        top: 0;
        left: 20px;
        bottom: 0;
        width: 4px;
        height: 100%;
    }
    .timeline-item {
        width: 100%;
        text-align: left;
        padding-left: 60px;
        padding-top: 0;
        margin-bottom: 40px;
    }
    .timeline-dot {
        left: 20px;
        top: 10px;
        transform: translateY(0);
    }
    .timeline-date {
        position: static;
        transform: none;
        margin-bottom: 0;
        font-size: 1.5rem;
    }

    .step-item {
        flex-basis: 100%;
        max-width: 400px;
    }
    .flow-arrow {
        width: 4px;
        height: 80px;
        margin-top: 0;
        margin-left: 0;
        animation: drawLineVertical 1.5s forwards ease-out;
        animation-play-state: paused;
        animation-timeline: view();
        animation-range: entry 0% cover 50%;
    }
    .flow-arrow::after {
        content: '\f063'; /* Font Awesome arrow-down */
        top: auto;
        bottom: -10px;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
    }
    @keyframes drawLineVertical {
        from { height: 0; opacity: 0; }
        to { height: 80px; opacity: 1; }
    }
}

@media (max-width: 767.98px) {
    .hero-main h1 {
        font-size: 2.5rem;
    }
    .hero-main p {
        font-size: 1rem;
    }
    .cta-button {
        font-size: 1rem;
        padding: 0.8rem 2rem;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .navbar-brand .brand-name {
        font-size: 1.2rem;
    }
    .navbar-toggler {
        font-size: 1rem;
    }
    .cookie-banner .d-flex {
        width: 100%;
        justify-content: center;
        margin-top: 10px;
    }
    .cookie-banner p {
        text-align: center;
        width: 100%;
    }
    .main-footer .footer-logo, .main-footer .social-icons, .main-footer .footer-links {
        text-align: center !important;
        justify-content: center !important;
    }
    .main-footer .footer-links li {
        display: inline-block;
        margin: 0 5px;
    }
    .main-footer .footer-links a {
        display: inline;
    }
}
/* Styles for content within policyScopeWrap */
.policyScopeWrap {
    padding: 2rem 1.5rem; /* Top/bottom and side padding */
    max-width: 960px; /* Optional: Limit content width for readability */
    margin-left: auto; /* Center the content if max-width is used */
    margin-right: auto;
    background-color: var(--light-text); /* Ensure a consistent background for the content block */
    box-shadow: 0 4px 15px var(--shadow-light); /* Subtle shadow for the content block */
    border-radius: 0.8rem; /* Slightly rounded corners for the content block */
}

.policyScopeWrap h1 {
    font-size: 2rem; /* Moderate size for main headings within content */
    margin-top: 2rem; /* Spacing above the heading */
    margin-bottom: 1rem; /* Spacing below the heading */
    line-height: 1.2; /* Line height for readability */
    color: var(--dark-text); /* Use dark text color for content headings */
    font-weight: 700; /* Bold font weight */
}

.policyScopeWrap h2 {
    font-size: 1.75rem; /* Slightly smaller than h1 */
    margin-top: 1.8rem;
    margin-bottom: 0.9rem;
    line-height: 1.3;
    color: var(--dark-text);
    font-weight: 600;
}

.policyScopeWrap h3 {
    font-size: 1.5rem; /* Further reduced size */
    margin-top: 1.6rem;
    margin-bottom: 0.8rem;
    line-height: 1.4;
    color: var(--dark-text);
    font-weight: 600;
}

.policyScopeWrap h4 {
    font-size: 1.25rem; /* Smaller heading */
    margin-top: 1.4rem;
    margin-bottom: 0.7rem;
    line-height: 1.5;
    color: var(--dark-text);
    font-weight: 500;
}

.policyScopeWrap h5 {
    font-size: 1rem; /* Smallest heading, often used for sub-titles */
    margin-top: 1.2rem;
    margin-bottom: 0.6rem;
    line-height: 1.6;
    color: var(--dark-text);
    font-weight: 500;
}

.policyScopeWrap p {
    font-size: 1rem; /* Standard body text size */
    margin-bottom: 1rem; /* Spacing between paragraphs */
    line-height: 1.6; /* Optimal line height for readability */
    color: var(--secondary-text); /* Secondary text color for body content */
}

.policyScopeWrap ul,
.policyScopeWrap ol {
    margin-top: 1rem; /* Spacing above the list */
    margin-bottom: 1rem; /* Spacing below the list */
    padding-left: 1.5rem; /* Indentation for list items */
    color: var(--secondary-text); /* Inherit text color */
}

.policyScopeWrap ul {
    list-style-type: disc; /* Default disc for unordered lists */
}

.policyScopeWrap ol {
    list-style-type: decimal; /* Default decimal for ordered lists */
}

.policyScopeWrap li {
    margin-bottom: 0.5rem; /* Spacing between list items */
    line-height: 1.5; /* Line height for list item text */
}
.navbar-expand-lg .navbar-nav .nav-link {
    padding: 0 !important;
}
.navbar-expand-lg .navbar-nav {
    flex-wrap: wrap !important;
    gap: 15px;
    justify-content: center;
}
section {
    overflow: hidden;
}

/* Responsive adjustments for policyScopeWrap padding */
@media (max-width: 767.98px) {
    .policyScopeWrap {
        padding: 1.5rem 1rem; /* Reduced padding on smaller screens */
    }
}
