/* Base Styles & Typography */
:root {
    --primary-green: #1f6334;
    --accent-green: #2c8547;
    --light-bg: #f4f7f5;
    --dark-text: #1a1a1a;
    --muted-text: #555555;
    --card-border: #e1e6e2;
    --hero-bg: #edf3ee;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
    color: var(--dark-text);
    background-color: #ffffff;
    line-height: 1.6;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
.site-header {
    background: #ffffff;
    border-bottom: 1px solid #eaeaea;
    position: static;
    z-index: 1000;
}

.header-container {
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo img {
    max-height: 45px;
}

/* Dark Green Navigation Pill Bar */
.main-nav ul {
    list-style: none;
    display: flex;
    gap: 10px;
    background-color: #0b2e13;
    padding: 8px 20px;
    border-radius: 8px;
}

.main-nav li {
    position: relative;
    padding-bottom: 6px;
    margin-bottom: -6px;
}

.main-nav a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    font-size: 14px;
    padding: 6px 14px;
    border-radius: 4px;
    display: block;
    transition: background-color 0.2s ease;
}

.main-nav a:hover {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.15);
}

.main-nav .dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #0b2e13;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    min-width: 220px;
    flex-direction: column;
    gap: 0;
    padding: 8px 0;
    margin-top: 0;
}

.main-nav .dropdown::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 0;
    width: 100%;
    height: 10px;
    background: transparent;
}

.main-nav .dropdown li {
    padding-bottom: 0;
    margin-bottom: 0;
}

.main-nav .dropdown li a {
    padding: 8px 16px;
    display: block;
    font-weight: 400;
    font-size: 13px;
    color: #ffffff;
}

.main-nav .dropdown li a:hover {
    background: rgba(255, 255, 255, 0.2);
}

.main-nav li:hover > .dropdown {
    display: flex;
}

/* Hero Section & Stacked Layout */
.hero-section {
    background-color: #f4f8f5;
    background-image: 
        linear-gradient(135deg, rgba(244, 248, 245, 0.85) 0%, rgba(225, 235, 227, 0.85) 100%),
        url("images/sketch.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 40px 0 60px 0;
    border-bottom: 1px solid var(--card-border);
}

.hero-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column; /* Force vertical stacking */
    align-items: center;
}

/* Banner Container & Slider Rules */
.wrapper.row2 {
    width: 100%;
    display: flex;
    justify-content: center;
}

#banner {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    position: relative;
}

.sliderwrapper {
    width: 100% !important;
    height: 310px !important;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.sliderwrapper .contentdiv {
    width: 100%;
    height: 100%;
}

.sliderwrapper .contentdiv img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Pagination Dots Styling */
.pagination {
    text-align: center;
    margin-top: 12px;
}

.pagination a.toc {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin: 0 4px;
    background-color: #ccc;
    border-radius: 50%;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.pagination a.toc.selected,
.pagination a.toc:hover {
    background-color: var(--primary-green);
}

/* Text Content Below Slider */
.hero-content {
    width: 100%;
    max-width: 960px;
    margin-top: 30px;
    text-align: center;
}

.hero-content h1 {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.35;
    color: #111;
    margin-bottom: 15px;
}

.hero-content p {
    font-size: 16px;
    color: var(--muted-text);
    margin-bottom: 25px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.btn-primary {
    display: inline-block;
    background-color: var(--primary-green);
    color: #ffffff;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.btn-primary:hover {
    background-color: var(--accent-green);
}

/* Client Logo Wall */
.client-trust-section {
    padding: 50px 0;
    background: #ffffff;
    text-align: center;
}

.client-trust-section h2 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--dark-text);
}

.logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 24px;
    align-items: center;
}

.logo-item {
    padding: 15px;
    border: 1px solid #eeeeee;
    border-radius: 6px;
    background: #fafafa;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 110px;
    transition: filter 0.2s ease, transform 0.2s ease;
}

.logo-item:hover {
    transform: translateY(-2px);
    border-color: var(--card-border);
}

.logo-item img {
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
}

/* Services Section */
.services-section {
    padding: 60px 0;
    background-color: var(--light-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: #ffffff;
    border: 1px solid var(--card-border);
    border-radius: 8px;
    padding: 30px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.card-icon {
    font-size: 28px;
    color: var(--primary-green);
    margin-bottom: 15px;
}

.service-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
}

.service-card p {
    font-size: 14px;
    color: var(--muted-text);
    margin-bottom: 20px;
}

.card-link {
    color: var(--primary-green);
    font-weight: 600;
    text-decoration: none;
    font-size: 14px;
}

/* About Summary */
.about-summary-section {
    padding: 60px 0;
    text-align: center;
    background: #ffffff;
}

.about-summary-section h2 {
    font-size: 24px;
    margin-bottom: 15px;
}

.about-summary-section p {
    max-width: 750px;
    margin: 0 auto;
    color: var(--muted-text);
}

/* Footer */
.site-footer {
    background-color: #0d2113;
    color: #d0d7d2;
    padding-top: 50px;
}

.footer-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px 40px 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.footer-col h4 {
    color: #ffffff;
    margin-bottom: 15px;
    font-size: 16px;
}

.footer-col p {
    font-size: 13px;
    line-height: 1.8;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul a {
    color: #d0d7d2;
    text-decoration: none;
    font-size: 13px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: #ffffff;
    font-size: 18px;
}

.footer-bottom {
    border-top: 1px solid #1c3623;
    padding: 20px 0;
    font-size: 12px;
}

.bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ssl-badge {
    color: #4caf50;
    font-weight: 600;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .main-nav ul {
        display: none;
    }
    .sliderwrapper {
        height: 200px !important;
    }
}
/* Custom Native Slider CSS */
.sliderwrapper .contentdiv {
    display: none;
    width: 100%;
    height: 100%;
}

.pagination .toc {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin: 0 4px;
    background-color: #ccc;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.pagination .toc.active,
.pagination .toc:hover {
    background-color: var(--primary-green, #1f6334);
}
/* Ensure full banner visibility & responsiveness */
#banner, 
.sliderwrapper {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden;
}

.sliderwrapper .contentdiv {
    width: 100% !important;
}

.sliderwrapper .contentdiv img {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    display: block;
    object-fit: contain;
}
/* Center the Banner Block & Image */
#banner {
    float: none !important;
    margin: 0 auto !important;
    display: table !important; /* Force container to wrap strictly around fixed image width */
    position: relative;
}

.sliderwrapper {
    float: none !important;
    margin: 0 auto !important;
}

.sliderwrapper .contentdiv {
    text-align: center !important;
}

.sliderwrapper .contentdiv .slide1 {
    display: inline-block !important;
    float: none !important;
}

.sliderwrapper .contentdiv img {
    display: block !important;
    margin: 0 auto !important;
    float: none !important;
}
/* Container Layout */
.hero-container {
    max-width: 960px !important;
    margin: 0 auto !important;
    padding: 0 15px;
}

/* Welcome Text Styles */
.welcome-text-section {
    width: 100%;
    margin-bottom: 25px;
    text-align: left; /* Change to 'center' if you prefer centered text */
}

.welcome-text-section h2 {
    font-size: 26px;
    color: var(--primary-green, #1f6334);
    margin-bottom: 12px;
    font-weight: 700;
}

.welcome-text-section p {
    font-size: 14px;
    line-height: 1.6;
    color: #444444;
    margin-bottom: 12px;
}

/* Banner Layout Alignment */
.wrapper.row2,
#banner {
    width: 100% !important;
    margin: 0 auto !important;
    float: none !important;
}

.sliderwrapper .contentdiv img {
    width: 100% !important;
    max-width: 960px !important;
    height: auto !important;
    display: block;
    margin: 0 auto;
}
/* About Summary / Why GreenLeaf Section */
.about-summary-section {
    padding: 50px 0;
    background: #ffffff;
    text-align: left !important; /* Overrides global centering */
}

.about-summary-section .container {
    max-width: 960px !important;
    margin: 0 auto !important;
    padding: 0 15px !important;
}

.about-summary-section .about-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.about-summary-section h2 {
    font-size: 26px !important;
    color: var(--primary-green, #1f6334) !important;
    margin: 0 0 16px 0 !important;
    font-weight: 700 !important;
    text-align: left !important;
}

.about-summary-section p {
    font-size: 14px !important;
    line-height: 1.65 !important;
    color: #444444 !important;
    text-align: left !important;
    margin: 0 !important;
    padding-left: 80px !important; /* Generates the offset matching your screenshot */
    max-width: 880px !important;
}