:root {
    --primary-color: #00994d;
    /* Vibrant Green */
    --secondary-color: #004d26;
    /* Dark Green */
    --accent-color: #d4af37;
    /* Gold */
    --text-dark: #1a1a1a;
    --text-light: #f5f5f5;
    --bg-light: #f9fdfa;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--secondary-color);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Header & Nav */
header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 80%;
    /* Prevent overlapping with menu toggle */
}

.logo div {
    display: flex;
    flex-direction: column;
}

.logo span {
    color: var(--secondary-color);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-weight: 500;
    font-size: 1rem;
    color: var(--secondary-color);
    position: relative;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    bottom: -5px;
    left: 0;
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--secondary-color);
}

/* Hero Section / Slideshow */
.hero {
    height: 100vh;
    width: 100%;
    max-width: none;
    /* Override default section max-width */
    padding: 0;
    /* Remove default section padding */
    position: relative;
    overflow: hidden;
    margin-top: 0;
    /* padding-top: 80px;  Removed to let image go behind header if transparent, or just start below */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.slide-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.slide.active {
    opacity: 1;
}

/* Reduced overlay opacity */
.slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

/* Slider Controls */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 2rem;
    padding: 15px;
    cursor: pointer;
    border: none;
    border-radius: 50%;
    transition: var(--transition);
    z-index: 10;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.5);
    color: var(--primary-color);
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 0 20px;
    animation: fadeInUp 1s ease-out;
    margin-top: 60px;
    /* Offset for header */
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #f0f0f0;
}

.btn-primary {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

/* Sections */
section {
    padding: 80px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.section-title p {
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* About Us */
.about {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

.about-img {
    flex: 1 1 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-img img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.about-img:hover img {
    transform: scale(1.05);
}

.about-content {
    flex: 1 1 400px;
}

.about-content h3 {
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

/* Services / Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border-bottom: 5px solid var(--primary-color);
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 60px 5% 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-col h4 {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a {
    color: #ccc;
}

.footer-col ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
}

.copyright {
    text-align: center;
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #ccc;
    font-size: 0.9rem;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 80px;
        /* header height */
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
        box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        left: 0;
    }

    .logo {
        font-size: 1.2rem;
        /* Slightly smaller logo text on tablets */
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .logo div {
        line-height: 1.1;
    }

    .logo small {
        display: none;
        /* Hide the long subtext on very small screens if needed, or wrap it better */
    }

    /* Re-enable small text if client wants it, but let's just make it wrap */
    .logo small {
        display: block;
        font-size: 0.7rem;
        white-space: normal;
        max-width: 200px;
        /* Limit width to force wrap */
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Modal Styles */
/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s;
    overflow: auto;
    /* Allow scrolling if needed */
}

.modal-content {
    background-color: var(--white);
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: slideIn 0.3s;
    margin: 20px auto;
    /* Ensure some spacing on small screens */
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--text-dark);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--secondary-color);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 153, 77, 0.1);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Disclosure Table Styles */
.table-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 30px;
    background: transparent;
    /* Seamless blend */
}

.disclosure-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 15px;
    /* Increased spacing for better card separation */
    margin-top: 10px;
    font-size: 1rem;
}

.disclosure-table thead tr {
    box-shadow: none;
    background: transparent;
}

.disclosure-table th {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    /* Gradient Header */
    color: var(--white);
    font-weight: 600;
    padding: 18px 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.disclosure-table th:first-child {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

.disclosure-table th:last-child {
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

.disclosure-table td {
    padding: 20px;
    border: 1px solid #dee2e6;
    /* Visible borders */
    background-color: var(--white);
    color: #333;
    font-weight: 500;
}

/* 3D Row Effect - Card Style */
.disclosure-table tbody tr {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    transform: translateZ(0);
}

.disclosure-table tbody tr td:first-child {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    font-weight: 600;
    /* Emphasize label/first col */
    color: var(--secondary-color);
}

.disclosure-table tbody tr td:last-child {
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

.disclosure-table tbody tr:hover {
    transform: translateY(-5px) scale(1.01);
    /* Subtle lift and scale */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    z-index: 100;
}

.disclosure-table tbody tr:hover td:first-child {
    border-left-color: var(--accent-color);
    /* Gold accent on hover */
}

/* Center align the Links column (3rd column) */
.disclosure-table th:nth-child(3),
.disclosure-table td:nth-child(3) {
    text-align: center;
}

.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: linear-gradient(to right, var(--secondary-color), var(--primary-color));
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    /* Pill shape */
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 153, 77, 0.3);
}

.btn-link::after {
    content: '\f06e';
    /* FontAwesome eye icon code */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 0.8rem;
}

@media (max-width: 768px) {
    .disclosure-table {
        font-size: 0.9rem;
        border-spacing: 0 10px;
    }

    .disclosure-table th,
    .disclosure-table td {
        padding: 15px;
    }
}

/* 3D Row Effect */
.disclosure-table tbody tr {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-radius: 8px;
    /* Does not apply directly to tr in some browsers, but works with cells */
}

.disclosure-table tbody tr td:first-child {
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

.disclosure-table tbody tr td:last-child {
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

.disclosure-table tbody tr:hover {
    transform: translateY(-3px);
    /* Lift up */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15), 0 3px 6px rgba(0, 0, 0, 0.10);
    /* Deeper shadow */
    z-index: 10;
    position: relative;
}

.btn-link {
    display: inline-block;
    padding: 8px 16px;
    background-color: var(--secondary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9rem;
    transition: var(--transition);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.btn-link:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .disclosure-table {
        font-size: 0.9rem;
    }

    .disclosure-table th,
    .disclosure-table td {
        padding: 10px;
    }
}