/* ==========================================================================
   KEKELI SEEDS - VISUAL DESIGN SYSTEM
   ========================================================================== */

/* Importing Google Fonts for premium agricultural branding: 
   Syne for bold, characterful headings; Inter for highly legible reading */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Syne:wght@600;700;800&display=swap');

:root {
    /* Color Palette: Organic, professional agricultural theme */
    --primary: #5ac58e;
    /* Fresh sprout green for actions, highlights, and borders */
    --primary-dark: #143a27;
    /* Deep forest green for main brand representation and headers */
    --secondary: #e0b200;
    /* Warm harvest gold for secondary actions and rating badges */
    --background: #f5f8f6;
    /* Clean, soft linen cream background for modern readability */
    --text: #0b1612;
    /* Dark navy-spruce color to ensure optimal text contrast */
    --text-light: #445951;
    /* Muted sage-grey for supporting sentences and descriptive text */
    --white: #ffffff;

    /* Elevation: Soft shadows based on organic primary-dark hue */
    --shadow: rgba(20, 58, 39, 0.06) 0px 10px 30px 0px;
    --shadow-hover: rgba(20, 58, 39, 0.12) 0px 20px 40px 0px;

    /* Layout Spacing Constants */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2.5rem;
    --spacing-xl: 4rem;
    --spacing-2xl: 6rem;

    /* Transition Timings for smooth 60fps animations */
    --transition-fast: 0.2s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-normal: 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-slow: 0.7s cubic-bezier(0.25, 1, 0.5, 1);
}

/* ==========================================================================
   BASE & RESET STYLES
   ========================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background-color: var(--background);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
    background-color: var(--background);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    line-height: 1.25;
    color: var(--primary-dark);
}

h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -0.01em;
}

h3 {
    font-size: clamp(1.3rem, 2vw, 1.75rem);
}

p {
    color: var(--secondary);
    font-size: 1.05rem;
}

/* Custom Highlight styles for titles */
.highlight {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--primary);
    opacity: 0.2;
    border-radius: 2px;
    z-index: -1;
}

/* Standard design system container to ensure content is aligned, has responsive side margins, and does not exceed maximum width */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    width: 100%;
}

/* ==========================================================================
   NAVBAR (DYNAMIC GLASSMORPHISM)
   ========================================================================== */

#header-placeholder {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all var(--transition-normal);
}

.navbar {
    width: 100%;
    background: rgba(245, 248, 246, 0.85);
    /* Semi-transparent background */
    backdrop-filter: blur(16px) saturate(120%);
    /* High-end frosted glass */
    -webkit-backdrop-filter: blur(16px) saturate(120%);
    border-bottom: 1px solid rgba(90, 197, 142, 0.15);
    transition: all var(--transition-normal);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.2rem var(--spacing-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: padding var(--transition-normal);
}

/* Shrink navbar padding on scroll to maximize viewport real estate */
#header-placeholder.scrolled .nav-container {
    padding: 0.7rem var(--spacing-lg);
}

#header-placeholder.scrolled .navbar {
    box-shadow: var(--shadow);
    background: rgba(245, 248, 246, 0.95);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-img {
    height: 45px;
    width: auto;
    object-fit: contain;
    transition: transform var(--transition-normal);
}

.logo:hover .logo-img {
    transform: scale(1.05) rotate(-2deg);
}

.logo-text {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 1.35rem;
    color: var(--primary-dark);
    letter-spacing: -0.01em;
}

.logo-highlight {
    color: var(--primary);
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    position: relative;
    padding: 0.25rem 0;
    transition: color var(--transition-fast);
}

.nav-links a:hover {
    color: var(--primary-dark);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width var(--transition-normal);
}

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

.nav-links a.active {
    color: var(--primary-dark);
    font-weight: 600;
}

/* Call to Action Navigation Button */
.nav-cta {
    background-color: var(--primary-dark);
    color: var(--white) !important;
    padding: 0.6rem 1.4rem !important;
    border-radius: 30px;
    transition: all var(--transition-fast) !important;
    border: 1px solid var(--primary-dark);
}

.nav-cta::after {
    display: none !important;
    /* Hide underline indicator for button */
}

.nav-cta:hover {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: var(--primary-dark) !important;
    transform: translateY(-2px);
}

/* Mobile Toggle Hamburger button styling */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--primary-dark);
    border-radius: 4px;
    transition: all var(--transition-normal);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn-premium {
    display: inline-block;
    padding: 1rem 2.2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background-color: var(--primary-dark);
    color: var(--white);
    border: 2px solid var(--primary-dark);
}

.btn-primary:hover {
    color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: var(--primary);
    transition: left var(--transition-normal);
    z-index: -1;
}

.btn-primary:hover::before {
    left: 0;
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-dark);
    border: 2px solid var(--primary-dark);
}

.btn-outline:hover {
    background-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-3px);
}

/* ==========================================================================
   HERO SECTIONS
   ========================================================================== */

/* Main landing split hero */
.hero {
    min-height: 100vh;
    padding-top: 130px;
    padding-bottom: var(--spacing-xl);
    background: linear-gradient(135deg, rgba(11, 22, 18, 0.88) 0%, rgba(20, 58, 39, 0.85) 100%),
        url('../images/kekeli-seeds-farmers.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

#hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    width: 100%;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: var(--spacing-lg);
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text h1 {
    color: var(--white);
    margin-bottom: var(--spacing-md);
    line-height: 1.1;
}

.hero-text .highlight {
    color: var(--primary);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: var(--spacing-lg);
    max-width: 600px;
}

.hero .btn-outline {
    color: var(--white);
    border-color: var(--white);
}

.hero .btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-dark);
}

.hero-buttons {
    display: flex;
    gap: 1.25rem;
}

/* Hero Collage container */
.hero-collage {
    position: relative;
    height: 480px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.collage-img {
    position: absolute;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: var(--shadow-hover);
    transition: transform var(--transition-normal), filter var(--transition-normal);
}

.collage-img.img-1 {
    width: 75%;
    height: 65%;
    top: 5%;
    left: 5%;
    z-index: 2;
    border: 4px solid var(--white);
    transform: rotate(-3deg);
}

.collage-img.img-2 {
    width: 60%;
    height: 55%;
    bottom: 5%;
    right: 5%;
    z-index: 3;
    border: 4px solid var(--white);
    transform: rotate(4deg);
}

.hero-collage:hover .collage-img.img-1 {
    transform: scale(1.03) rotate(-1deg);
    z-index: 4;
}

.hero-collage:hover .collage-img.img-2 {
    transform: scale(1.05) rotate(2deg);
}

/* Inner Page Hero layout with high-impact background images */
.hero-page {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    padding-top: 150px;
    padding-bottom: var(--spacing-lg);
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    color: var(--white);
}

/* Background overlay to ensure text is highly legible */
.hero-page::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(11, 22, 18, 0.85) 30%, rgba(11, 22, 18, 0.5) 100%);
    z-index: 1;
}

.hero-page-content {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    width: 100%;
}

.hero-page h1 {
    color: var(--white);
    margin-bottom: var(--spacing-sm);
}

.hero-page .hero-subtitle {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0;
}

/* ==========================================================================
   INTERACTIVE PILLAR ACCORDION (REPLACING CUBE)
   ========================================================================== */

.pillar-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--white);
}

.pillar-accordion {
    display: flex;
    gap: var(--spacing-md);
    min-height: 480px;
    margin-top: var(--spacing-lg);
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 var(--spacing-lg);
}

.pillar-pane {
    flex: 1;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background-position: center !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    transition: all var(--transition-slow);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    color: var(--white);
}

/* Dark overlay inside each accordion panel to ensure text contrast */
.pillar-pane::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(11, 22, 18, 0.9) 15%, rgba(11, 22, 18, 0.25) 80%);
    z-index: 1;
    transition: opacity var(--transition-normal);
}

.pillar-pane.active {
    flex: 2.8;
    /* Clicked pillar expands */
}

.pillar-content {
    position: relative;
    z-index: 2;
}

.pillar-pane h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 0;
    transition: transform var(--transition-normal);
}

.pillar-pane.active h3 {
    font-size: 1.85rem;
    margin-bottom: var(--spacing-xs);
    color: var(--primary);
}

.pillar-pane p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--transition-normal);
    max-height: 0;
    overflow: hidden;
}

.pillar-pane.active p {
    opacity: 1;
    transform: translateY(0);
    max-height: 150px;
    margin-top: var(--spacing-sm);
}

/* Decorative visual numbers on panes */
.pillar-number {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-family: 'Syne', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.3);
    z-index: 2;
    transition: color var(--transition-normal);
}

.pillar-pane.active .pillar-number {
    color: var(--primary);
}

/* ==========================================================================
   ABOUT PREVIEW & SECTION GRID TEMPLATES
   ========================================================================== */

.section-padding {
    padding: var(--spacing-xl) 0;
}

.about-preview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.about-content-left h2 {
    margin-bottom: var(--spacing-md);
}

.about-content-left p {
    margin-bottom: var(--spacing-md);
}

.feature-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.feature-box {
    background-color: var(--white);
    padding: var(--spacing-md);
    border-radius: 12px;
    border-left: 4px solid var(--primary);
    box-shadow: var(--shadow);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.feature-box:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.feature-box-icon {
    font-size: 1.8rem;
    margin-bottom: var(--spacing-xs);
    display: block;
    color: var(--primary);
}

.feature-box h4 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

/* Premium frame with decorative borders for photos */
.about-image-right {
    position: relative;
    padding: 1.5rem;
}

.image-frame {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: var(--shadow-hover);
}

.image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.about-image-right::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 80px;
    height: 80px;
    border-top: 5px solid var(--primary);
    border-left: 5px solid var(--primary);
    border-top-left-radius: 20px;
    z-index: -1;
}

.about-image-right::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 80px;
    height: 80px;
    border-bottom: 5px solid var(--secondary);
    border-right: 5px solid var(--secondary);
    border-bottom-right-radius: 20px;
    z-index: -1;
}

.about-image-right:hover .image-frame img {
    transform: scale(1.05);
}

/* Team & Leadership layout: prominent founder bio + 3-column grid for other members */
.team-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.founder-block {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--spacing-lg);
    align-items: center;
    background-color: var(--white);
    border-radius: 20px;
    padding: var(--spacing-lg);
    box-shadow: var(--shadow);
    margin-bottom: var(--spacing-xl);
    border-left: 5px solid var(--primary);
    transition: transform var(--transition-normal);
}

.founder-block:hover {
    transform: translateY(-5px);
}

.founder-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 1;
    max-width: 380px;
    width: 100%;
    margin: 0 auto;
    box-shadow: var(--shadow-hover);
}

.founder-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.founder-block:hover .founder-image-wrapper img {
    transform: scale(1.05);
}

.founder-info h3 {
    font-size: 2rem;
    margin-bottom: 0.25rem;
    color: var(--primary-dark);
}

.founder-info .founder-role {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.founder-info p {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.team-card {
    background-color: var(--white);
    border-radius: 20px;
    padding: 2.5rem 1.5rem;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all var(--transition-normal);
    border: 1px solid rgba(90, 197, 142, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}

.team-image-wrapper {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: var(--spacing-md);
    border: 4px solid var(--white);
    box-shadow: var(--shadow);
}

.team-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.team-card:hover .team-image-wrapper img {
    transform: scale(1.08);
}

.team-card h4 {
    font-size: 1.35rem;
    margin-bottom: 0.25rem;
    color: var(--primary-dark);
}

.team-card .team-role {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.team-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* Mobile responsive fixes for founder layout */
@media (max-width: 768px) {
    .founder-block {
        grid-template-columns: 1fr;
        padding: var(--spacing-md);
        text-align: center;
    }
}

/* ==========================================================================
   PRODUCTS DISPLAY SYSTEM
   ========================================================================== */

.products-showcase {
    background: linear-gradient(180deg, var(--white) 0%, var(--background) 100%);
    padding: var(--spacing-xl) 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--spacing-lg);
    padding: 0 var(--spacing-lg);
}

.section-header h2 {
    margin-bottom: var(--spacing-xs);
}

.products-grid {
    display: grid;
    /* Uses min(280px, 100%) to prevent horizontal overflow on small mobile screens */
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    gap: var(--spacing-md);
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.product-card {
    background-color: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid rgba(90, 197, 142, 0.1);
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}

.product-card-img {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.product-card:hover .product-card-img img {
    transform: scale(1.08);
}

.product-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 0.35rem 0.9rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 2;
}

.product-card-info {
    padding: var(--spacing-md);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-card-info h3 {
    margin-bottom: var(--spacing-xs);
    font-size: 1.35rem;
}

.product-card-info p {
    font-size: 0.95rem;
    margin-bottom: var(--spacing-md);
    flex-grow: 1;
}

/* Bullet list design inside product details page */
.product-features-list {
    list-style: none;
    margin-bottom: var(--spacing-md);
}

.product-features-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    color: var(--text-light);
}

.product-features-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.product-card-link {
    font-weight: 600;
    color: var(--primary-dark);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color var(--transition-fast);
}

.product-card-link:hover {
    color: var(--primary);
}

/* ==========================================================================
   WOMEN EMPOWERMENT (FULL WIDTH IMAGE FOCUS)
   ========================================================================== */

.empowerment-section {
    position: relative;
    padding: var(--spacing-2xl) 0;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    color: var(--white);
}

.empowerment-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(20, 58, 39, 0.92) 40%, rgba(20, 58, 39, 0.6) 100%);
    z-index: 1;
}

.empowerment-container {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: var(--spacing-lg);
}

.empowerment-content h2 {
    color: var(--white);
    margin-bottom: var(--spacing-md);
}

.empowerment-content p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: var(--spacing-lg);
    font-size: 1.1rem;
}

.empowerment-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
}

.empowerment-small-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    padding: 1.5rem;
    border-radius: 12px;
    transition: transform var(--transition-normal), background var(--transition-normal);
}

.empowerment-small-card:hover {
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.15);
}

.empowerment-small-card h4 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.empowerment-small-card p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* ==========================================================================
   SERVICES CARDS & DETAIL ROWS
   ========================================================================== */

.services-grid {
    display: grid;
    /* Uses min(280px, 100%) to prevent columns from forcing a width larger than the mobile device viewport */
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    gap: var(--spacing-md);
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.service-card {
    background-color: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border-top: 4px solid var(--primary);
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.service-card .product-card-img {
    height: 260px;
}

.service-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-number {
    font-family: 'Syne', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
    opacity: 0.4;
    line-height: 1;
    margin-bottom: var(--spacing-xs);
}

.service-card h3 {
    margin-bottom: var(--spacing-xs);
    font-size: 1.25rem;
}

.service-card p {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    flex-grow: 1;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-top-color: var(--secondary);
}

/* Detail services split layouts */
.service-detail-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
    margin-bottom: var(--spacing-2xl);
}

.service-detail-row:nth-child(even) {
    direction: rtl;
    /* Flip columns for alternate layouts */
}

.service-detail-row:nth-child(even) .service-detail-content {
    direction: ltr;
    /* Reset text direction to standard left-to-right */
}

.service-detail-content h3 {
    margin-bottom: var(--spacing-sm);
}

.service-detail-content ul {
    list-style: none;
    margin-top: var(--spacing-md);
}

.service-detail-content ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.service-detail-content ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
}

/* ==========================================================================
   VALUE ADDITION (PROCESSED PRODUCTS & SUCCESS GRID)
   ========================================================================== */

.value-grid {
    display: grid;
    /* Prevents horizontal overflow on mobile by adapting the minimum size to the total available width if it is under 280px */
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    gap: var(--spacing-md);
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.value-card {
    background-color: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all var(--transition-normal);
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.value-card-img {
    height: 200px;
    overflow: hidden;
}

.value-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.value-card-info {
    padding: 1.5rem;
}

.value-card-info h3 {
    margin-bottom: var(--spacing-xs);
    font-size: 1.25rem;
}

.value-card-info p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Testimonial block styling */
.testimonial-card {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    border-left: 6px solid var(--primary);
    position: relative;
}

.testimonial-quote {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: var(--spacing-md);
    color: var(--text);
}

.testimonial-author {
    font-weight: 700;
    color: var(--primary-dark);
}

.testimonial-role {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* ==========================================================================
   CONTACT PAGE DETAILS & CONTACT FORM
   ========================================================================== */

.contact-split-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: var(--spacing-lg);
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg) var(--spacing-xl);
}

.contact-form-container {
    background-color: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.contact-form-container h2 {
    margin-bottom: var(--spacing-md);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
}

.form-control {
    width: 100%;
    padding: 1rem;
    border: 2px solid rgba(20, 58, 39, 0.1);
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all var(--transition-fast);
    background-color: var(--background);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background-color: var(--white);
    box-shadow: 0 0 0 4px rgba(90, 197, 142, 0.15);
}

textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

/* Form submission action button styling overlay */
.btn-submit {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 10px;
    background-color: var(--primary-dark);
    color: var(--white);
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-submit:hover {
    background-color: var(--primary);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

.contact-info-panel {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    transition: transform var(--transition-fast);
}

.info-card:hover {
    transform: translateY(-3px);
}

.info-card-icon {
    font-size: 2.2rem;
    line-height: 1;
    color: var(--primary);
}

.info-card-text h4 {
    margin-bottom: 0.35rem;
    font-size: 1.15rem;
}

.info-card-text p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.office-image-box {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-top: 1.5rem;
    aspect-ratio: 16/9;
}

.office-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */

.footer {
    background-color: var(--text);
    color: var(--white);
    padding: var(--spacing-xl) 0 var(--spacing-md);
    position: relative;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    display: grid;
    /* Reduced from 5 to 4 columns because the Hours section was removed, optimizing space distribution */
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.footer-brand-section {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.footer-logo-img {
    height: 55px;
    width: auto;
    align-self: flex-start;
}

.footer-brand-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    max-width: 300px;
}

.footer-section h4 {
    color: var(--primary);
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: all var(--transition-fast);
    font-size: 0.95rem;
}

.footer-section ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-section a:hover {
    color: var(--primary);
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--spacing-md) var(--spacing-lg) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-bottom a:hover {
    color: var(--primary);
}

/* ==========================================================================
   SCROLL REVEAL TRIGGERS & KEYFRAME ANIMATIONS
   ========================================================================== */

/* Items starting hidden for scrolling triggers */
.reveal {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1),
        transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Stagger transitions helper classes */
.reveal.delay-1 {
    transition-delay: 0.15s;
}

.reveal.delay-2 {
    transition-delay: 0.3s;
}

.reveal.delay-3 {
    transition-delay: 0.45s;
}

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

/* Cursor Glow Aura */
.cursor-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(90, 197, 142, 0.08) 0%, rgba(224, 178, 0, 0.02) 50%, transparent 70%);
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: screen;
    will-change: transform;
}

/* Floating animations for background components */
.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.4;
    z-index: 0;
    pointer-events: none;
    animation: floatOrb 10s ease-in-out infinite alternate;
}

.gradient-orb.orb-1 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, var(--primary), transparent);
    top: 15%;
    right: 5%;
}

.gradient-orb.orb-2 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, var(--secondary), transparent);
    bottom: 10%;
    left: 5%;
    animation-delay: -3s;
}

@keyframes floatOrb {
    0% {
        transform: translateY(0px) scale(1);
    }

    100% {
        transform: translateY(-30px) scale(1.1);
    }
}

/* ==========================================================================
   CTA SECTION STYLING (PREMIUM HOVER ACCENTS & GRADIENTS)
   ========================================================================== */

/* Full-width call to action section with forest green gradient and glow elements */
.cta-section {
    padding: var(--spacing-2xl) 0;
    position: relative;
    background: linear-gradient(135deg, var(--primary-dark) 0%, #0e291c 100%);
    color: var(--white);
    text-align: center;
    overflow: hidden;
    z-index: 1;
}

/* Background decorative orbs for visual depth */
.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(90, 197, 142, 0.12) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(224, 178, 0, 0.08) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-md);
}

.cta-section h2 {
    color: var(--white);
    font-size: clamp(2rem, 4vw, 3.25rem);
    margin-bottom: 0.5rem;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.15rem;
    margin-bottom: var(--spacing-md);
    max-width: 650px;
    line-height: 1.6;
}

/* Primary white/sprout button variant */
.btn-cta-light {
    background-color: var(--primary);
    color: var(--primary-dark);
    border: 2px solid var(--primary);
}

.btn-cta-light:hover {
    background-color: transparent;
    color: var(--primary);
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(90, 197, 142, 0.2);
}

/* Outline light button variant */
.btn-cta-outline {
    background-color: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-cta-outline:hover {
    background-color: var(--white);
    color: var(--primary-dark);
    border-color: var(--white);
    transform: translateY(-3px);
}

/* ==========================================================================
   RESPONSIVE DESIGN (BREAKPOINTS)
   ========================================================================== */

@media (max-width: 1200px) {
    .footer-content {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-md);
    }

    .footer-brand-section {
        grid-column: span 3;
        align-items: center;
        text-align: center;
    }

    .footer-brand-description {
        max-width: 500px;
    }

    .footer-logo-img {
        align-self: center;
    }
}

@media (max-width: 1024px) {
    :root {
        --spacing-lg: 2rem;
        --spacing-xl: 3.5rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--spacing-lg);
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-collage {
        height: 380px;
    }

    .pillar-accordion {
        min-height: 350px;
    }

    .contact-split-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    /* Transition navigation links into mobile dropdown menu overlay */
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background-color: var(--white);
        /* Reduce vertical padding to 0 when closed to prevent the 'Home' text from being visible due to padding */
        padding: 0 var(--spacing-lg);
        gap: 1.5rem;
        border-bottom: 2px solid rgba(90, 197, 142, 0.15);
        box-shadow: var(--shadow);
        max-height: 0;
        overflow: hidden;
        /* Visually hidden and keyboard interaction is disabled when collapsed for accessibility */
        opacity: 0;
        visibility: hidden;
        transition: max-height var(--transition-normal), padding var(--transition-normal), opacity var(--transition-normal), visibility var(--transition-normal);
        z-index: 1000;
    }

    .nav-links.active {
        max-height: 400px;
        /* Apply vertical padding only when the menu is open for a smooth transition */
        padding: var(--spacing-md) var(--spacing-lg);
        opacity: 1;
        visibility: visible;
    }

    .nav-links a {
        font-size: 1.1rem;
        width: 100%;
        text-align: center;
        padding: 0.5rem 0;
    }

    .nav-links a::after {
        display: none;
        /* Deactivate line transitions on mobile dropdown */
    }

    /* Hamburger to 'X' close visual transition animations */
    .nav-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .about-preview-grid,
    .empowerment-container,
    .service-detail-row {
        grid-template-columns: 1fr;
    }

    .service-detail-row {
        gap: var(--spacing-md);
        margin-bottom: var(--spacing-xl);
    }

    .service-detail-row:nth-child(even) {
        direction: ltr;
        /* Reset alternate alignment ordering on mobile sizes */
    }

    /* Redesign pillar accordion to vertical block layout on mobile screen viewports */
    .pillar-accordion {
        flex-direction: column;
        min-height: auto;
    }

    .pillar-pane {
        width: 100%;
        min-height: 120px;
        flex: auto;
    }

    .pillar-pane.active {
        flex: auto;
        min-height: 220px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand-section,
    .footer-section {
        grid-column: span 1;
        align-items: center;
    }

    .footer-section h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--spacing-sm);
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }

    .feature-cards-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-container {
        padding: 2rem 1.5rem;
    }
}