/* ============================================
   AgroTech - Modern Agriculture Website
   Earth-inspired color palette and clean design
   ============================================ */

/* CSS Variables - Nature-Inspired Light Theme */
:root {
    --primary-green: #275c3a;      /* deep leaf */
    --secondary-green: #3f8f52;    /* mid leaf */
    --light-green: #8ccf7a;        /* young leaf */
    --accent-green: #cbeab5;       /* soft highlight */
    --sky-blue: #b5e3ff;           /* sky tint */
    --earth-brown: #b48b60;        /* soil */
    --light-brown: #e4c8a0;       /* dry field */
    --cream: #f9f5eb;             /* warm paper */
    --wheat: #eedfca;
    --dark-text: #263238;
    --light-text: #6c7a89;
    --white: #ffffff;
    --shadow: rgba(63, 81, 74, 0.14);
    --shadow-hover: rgba(63, 81, 74, 0.26);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--dark-text);
    line-height: 1.6;
    background: radial-gradient(circle at top, #ffffff 0%, #f3f7f1 40%, #f1f5f9 100%);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.2;
    color: var(--primary-green);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 14px;
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 14px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    gap: 14px;
}

.logo h1 {
    font-size: 1.8rem;
    margin: 0;
    color: var(--primary-green);
}

.logo {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex: 0 0 auto;
}

.brand-logo {
    height: 52px;
    width: auto;
    display: block;
    order: 2;
}

.brand-name {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: var(--primary-green);
    letter-spacing: 0.2px;
    line-height: 1;
    order: 1;
    display: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 14px 18px;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    flex: 1 1 auto;
}

.nav-more {
    position: relative;
}

.more-toggle {
    appearance: none;
    background: transparent;
    border: 0;
    font: inherit;
    color: var(--dark-text);
    font-weight: 600;
    padding: 8px 10px;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease;
}

.more-toggle:hover {
    background: rgba(203, 234, 181, 0.45);
    transform: translateY(-1px);
}

.more-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    min-width: 220px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(39, 92, 58, 0.14);
    border-radius: 14px;
    box-shadow: 0 18px 50px var(--shadow-hover);
    padding: 10px;
    display: none;
    z-index: 1500;
    backdrop-filter: blur(14px);
}

.more-menu.open {
    display: block;
    animation: popIn 0.18s ease-out;
}

@keyframes popIn {
    from { opacity: 0; transform: translateY(-6px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.more-menu a {
    display: block;
    padding: 10px 10px;
    border-radius: 10px;
    color: var(--dark-text);
    text-decoration: none;
    font-weight: 500;
}

.more-menu a:hover {
    background: rgba(140, 207, 122, 0.2);
    color: var(--primary-green);
}

.more-sep {
    height: 1px;
    margin: 8px 6px;
    background: rgba(39, 92, 58, 0.14);
}

.more-lang {
    padding: 8px 6px 2px;
}

.more-label {
    display: block;
    font-size: 0.85rem;
    color: var(--light-text);
    margin: 0 0 8px;
    font-weight: 600;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark-text);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    padding: 8px 10px;
    border-radius: 10px;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-green);
}

.nav-menu a:hover {
    background: rgba(203, 234, 181, 0.45);
}

.nav-lang {
    display: flex;
    align-items: center;
}

.lang-select {
    border: 1px solid rgba(45, 80, 22, 0.25);
    background: var(--white);
    color: var(--dark-text);
    padding: 8px 10px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
}

.lang-select:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(139, 195, 74, 0.35);
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-green);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-green);
    transition: all 0.3s ease;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    min-height: 90vh;
    background: radial-gradient(circle at 20% 0%, rgba(181, 227, 255, 0.9) 0%, transparent 60%),
                linear-gradient(145deg, #f4faef 0%, #fdfcf7 30%, #f3f7f0 70%, #f0f4ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.tree-bg {
    position: absolute;
    inset: auto -6% -12% auto;
    width: min(520px, 48vw);
    height: min(520px, 48vw);
    background: url('assets/tree-bg.svg') no-repeat center / contain;
    opacity: 0.22;
    pointer-events: none;
    z-index: 2;
    transform-origin: 50% 85%;
    animation: treeSway 10s ease-in-out infinite;
    filter: saturate(1.05);
}

.tree-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 60% 55%, rgba(255, 255, 255, 0.55) 0%, transparent 55%);
    mix-blend-mode: screen;
    opacity: 0.35;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 10% 70%, rgba(140, 207, 122, 0.45) 0%, transparent 55%),
        radial-gradient(circle at 90% 10%, rgba(197, 234, 181, 0.7) 0%, transparent 60%);
    filter: blur(6px);
    animation: leafDrift 26s ease-in-out infinite alternate;
}

.hero::after {
    content: '';
    position: absolute;
    top: -10%;
    left: 40%;
    width: 260px;
    height: 260px;
    background:
        radial-gradient(circle at 30% 10%, rgba(181, 227, 255, 0.6) 0%, transparent 60%),
        radial-gradient(circle at 80% 80%, rgba(140, 207, 122, 0.55) 0%, transparent 60%);
    opacity: 0.7;
    filter: blur(8px);
    animation: cloudFloat 32s ease-in-out infinite alternate;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--primary-green);
    padding: 2rem;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-green);
    text-shadow: 0 16px 40px rgba(145, 167, 142, 0.7);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--light-text);
}

/* Gentle nature-like background motion */
@keyframes leafDrift {
    0% {
        transform: translate3d(-10px, 10px, 0) scale(1);
    }
    50% {
        transform: translate3d(10px, -8px, 0) scale(1.03);
    }
    100% {
        transform: translate3d(20px, 12px, 0) scale(1.06);
    }
}

@keyframes cloudFloat {
    0% {
        transform: translate3d(-10px, 0, 0) scale(1);
        opacity: 0.75;
    }
    50% {
        transform: translate3d(10px, 6px, 0) scale(1.05);
        opacity: 0.9;
    }
    100% {
        transform: translate3d(18px, -4px, 0) scale(1.08);
        opacity: 0.8;
    }
}

@keyframes treeSway {
    0% { transform: rotate(-0.8deg) translateY(0); }
    50% { transform: rotate(0.9deg) translateY(-6px); }
    100% { transform: rotate(-0.8deg) translateY(0); }
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background-color: var(--secondary-green);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--shadow-hover);
}

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

.btn-secondary:hover {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* Google login button */
.btn-google {
    margin-top: 14px;
    width: 100%;
    max-width: 380px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 11px 24px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ffffff 0%, #f6f6f6 50%, #ffffff 100%);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 30px rgba(38, 50, 56, 0.12);
    color: #202124;
    font-weight: 600;
    letter-spacing: 0.02em;
    position: relative;
    overflow: hidden;
}

.btn-google::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 0% 0%, rgba(181, 227, 255, 0.65) 0, transparent 45%),
                radial-gradient(circle at 100% 100%, rgba(140, 207, 122, 0.5) 0, transparent 50%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.btn-google:hover::before {
    opacity: 1;
}

.btn-google:hover {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 16px 40px rgba(38, 50, 56, 0.22);
}

.btn-google:active {
    transform: translateY(0) scale(0.99);
    box-shadow: 0 8px 20px rgba(38, 50, 56, 0.2);
}

.btn-google-icon {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: conic-gradient(from 0deg,
        #ea4335 0 25%,
        #fbbc05 25% 50%,
        #34a853 50% 75%,
        #4285f4 75% 100%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    animation: googlePulse 2.4s ease-in-out infinite;
}

.btn-google-label {
    white-space: nowrap;
}

@keyframes googlePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    }
    50% {
        transform: scale(1.06);
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
    }
}

/* ============================================
   Mission Section
   ============================================ */
.mission {
    padding: 4rem 0;
    background: linear-gradient(180deg, var(--cream) 0%, #ffffff 60%, #f7faf5 100%);
}

.mission-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.mission-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.mission-content p {
    font-size: 1.1rem;
    color: var(--light-text);
    line-height: 1.8;
}

/* ============================================
   Features Preview
   ============================================ */
.features-preview {
    padding: 4rem 0 5rem;
    background: radial-gradient(circle at top, rgba(140, 207, 122, 0.18) 0%, transparent 55%);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 3px 15px var(--shadow);
    transition: transform 0.45s cubic-bezier(0.19, 1, 0.22, 1), box-shadow 0.45s ease, background 0.45s ease;
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.02) rotate3d(1, 0, 0, -2deg);
    box-shadow: 0 18px 45px var(--shadow-hover);
    background: radial-gradient(circle at top left, rgba(140, 207, 122, 0.16) 0, var(--white) 60%);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-green);
}

.feature-card p {
    color: var(--light-text);
}

/* ============================================
   Page Header
   ============================================ */
.page-header {
    background: linear-gradient(135deg, #e8f7e9 0%, #f3fbff 40%, #fdfaf4 100%);
    color: var(--primary-green);
    padding: 4rem 0;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    color: var(--light-text);
}

/* ============================================
   Solutions Section
   ============================================ */
.solutions-section {
    padding: 4rem 0;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.solution-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 15px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.solution-image {
    background: linear-gradient(135deg, var(--light-green) 0%, var(--accent-green) 100%);
    padding: 3rem;
    text-align: center;
}

.solution-icon {
    font-size: 4rem;
}

.solution-content {
    padding: 2rem;
}

.solution-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary-green);
}

.solution-content p {
    color: var(--light-text);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.solution-benefits {
    list-style: none;
    padding: 0;
}

.solution-benefits li {
    padding: 0.5rem 0;
    color: var(--light-text);
}

/* ============================================
   Products Section
   ============================================ */
.products-section {
    padding: 4rem 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.product-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 15px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.product-image {
    background: linear-gradient(135deg, var(--earth-brown) 0%, var(--light-brown) 100%);
    padding: 3rem;
    text-align: center;
}

.product-placeholder {
    font-size: 4rem;
}

.product-content {
    padding: 2rem;
}

.product-content h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--primary-green);
}

.product-category {
    color: var(--secondary-green);
    font-weight: 500;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.product-description {
    color: var(--light-text);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.product-specs {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.product-specs li {
    padding: 0.5rem 0;
    color: var(--light-text);
}

/* ============================================
   Resources Section
   ============================================ */
.resources-section {
    padding: 4rem 0;
}

.resources-category {
    margin-bottom: 4rem;
}

.resources-category h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.article-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 15px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.article-image {
    background: linear-gradient(135deg, var(--secondary-green) 0%, var(--light-green) 100%);
    padding: 2rem;
    text-align: center;
}

.article-placeholder {
    font-size: 3rem;
}

.article-content {
    padding: 1.5rem;
}

.article-date {
    color: var(--secondary-green);
    font-size: 0.9rem;
    font-weight: 500;
}

.article-content h3 {
    font-size: 1.5rem;
    margin: 0.5rem 0 1rem;
    color: var(--primary-green);
}

.article-content p {
    color: var(--light-text);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.article-link {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.article-link:hover {
    color: var(--secondary-green);
}

.guides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.guide-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 3px 15px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.guide-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.guide-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-green);
}

.guide-card p {
    color: var(--light-text);
    margin-bottom: 1.5rem;
}

/* ============================================
   About Section
   ============================================ */
.about-story {
    padding: 4rem 0;
    background-color: var(--cream);
}

.story-content {
    max-width: 900px;
    margin: 0 auto;
}

.story-content h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.story-content p {
    font-size: 1.1rem;
    color: var(--light-text);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.vision-section {
    padding: 4rem 0;
}

.vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.vision-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 15px var(--shadow);
}

.vision-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary-green);
}

.vision-card p {
    color: var(--light-text);
    line-height: 1.8;
}

.vision-card ul {
    list-style: none;
    padding: 0;
}

.vision-card ul li {
    padding: 0.5rem 0;
    color: var(--light-text);
}

.team-section {
    padding: 4rem 0;
    background-color: var(--cream);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.team-member {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 15px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px var(--shadow-hover);
}

.team-photo {
    margin-bottom: 1rem;
}

.team-placeholder {
    font-size: 5rem;
    margin: 0 auto;
}

.team-member h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-green);
}

.team-role {
    color: var(--secondary-green);
    font-weight: 500;
    margin-bottom: 1rem;
}

.team-bio {
    color: var(--light-text);
    font-size: 0.9rem;
}

.partners-section {
    padding: 4rem 0;
}

.partners-intro {
    text-align: center;
    color: var(--light-text);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.partner-logo {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 15px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px var(--shadow-hover);
}

.partner-placeholder {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.partner-logo p {
    color: var(--light-text);
    font-weight: 500;
}

.stats-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--secondary-green) 0%, var(--light-green) 100%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item h3 {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--cream);
    font-size: 1.2rem;
    font-weight: 500;
}

/* ============================================
   Contact Section
   ============================================ */
.contact-section {
    padding: 4rem 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
}

.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--primary-green);
}

.info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.info-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.info-item h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--primary-green);
}

.info-item p {
    color: var(--light-text);
    margin-bottom: 0.3rem;
}

.contact-social {
    margin-top: 2rem;
}

.contact-social h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-green);
}

.social-icons {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

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

.social-icons a:hover {
    color: var(--secondary-green);
}

.contact-form-wrapper {
    background-color: var(--cream);
    padding: 2rem;
    border-radius: 10px;
}

.contact-form-wrapper h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--primary-green);
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--wheat);
    border-radius: 5px;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

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

.form-group textarea {
    resize: vertical;
}

.map-section {
    padding: 4rem 0;
    background-color: var(--cream);
}

.map-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--primary-green);
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 15px var(--shadow);
}

.map-placeholder {
    background: linear-gradient(135deg, var(--light-green) 0%, var(--accent-green) 100%);
    padding: 4rem;
    text-align: center;
    color: var(--white);
    font-size: 1.2rem;
}

.map-placeholder p:first-child {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
    padding: 4rem 0;
    background: radial-gradient(circle at top, rgba(181, 227, 255, 0.7) 0%, rgba(203, 234, 181, 0.9) 35%, #fdfaf4 85%);
    text-align: center;
    color: var(--primary-green);
}

.cta-content h2 {
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    color: var(--light-text);
    margin-bottom: 2rem;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: linear-gradient(180deg, #f3fbff 0%, #f5f5f5 100%);
    color: var(--primary-green);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.footer-section p {
    color: var(--light-text);
    line-height: 1.8;
}

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

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

.footer-section ul li a {
    color: var(--dark-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    font-size: 1.5rem;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: scale(1.2);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-bottom p {
    color: var(--light-text);
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1rem 0;
    }

    /* On mobile, keep brand compact (logo + text inline) */
    .logo {
        flex-direction: row;
        align-items: center;
        gap: 10px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

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

    .solutions-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .hero {
        height: 500px;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .logo h1 {
        font-size: 1.5rem;
    }
}

/* ============================================
   Chatbot Section
   ============================================ */
.chatbot-section {
    padding: 3rem 0 4rem;
    background: linear-gradient(to bottom, var(--cream) 0%, var(--white) 100%);
    min-height: calc(100vh - 200px);
}

.chatbot-header {
    text-align: center;
    margin-bottom: 2rem;
    padding: 2rem 0;
}

.chatbot-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-green);
}

.chatbot-header p {
    font-size: 1.1rem;
    color: var(--light-text);
    max-width: 700px;
    margin: 0 auto;
}

.chatbot-container {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 600px;
}

.chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 2rem;
    background: linear-gradient(to bottom, var(--cream) 0%, var(--white) 100%);
    scroll-behavior: smooth;
}

.chatbot-messages::-webkit-scrollbar {
    width: 8px;
}

.chatbot-messages::-webkit-scrollbar-track {
    background: var(--wheat);
    border-radius: 10px;
}

.chatbot-messages::-webkit-scrollbar-thumb {
    background: var(--secondary-green);
    border-radius: 10px;
}

.chatbot-messages::-webkit-scrollbar-thumb:hover {
    background: var(--primary-green);
}

.message {
    display: flex;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.3s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.bot-message {
    align-items: flex-start;
}

.user-message {
    align-items: flex-start;
    flex-direction: row-reverse;
}

.message-avatar {
    flex-shrink: 0;
    margin: 0 1rem;
}

.avatar-circle {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary-green) 0%, var(--light-green) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 15px rgba(74, 124, 42, 0.3);
    }
}

.user-avatar {
    background: linear-gradient(135deg, var(--earth-brown) 0%, var(--light-brown) 100%);
}

.message-content {
    flex: 1;
    max-width: 75%;
}

.user-content {
    text-align: right;
}

.message-text {
    background: var(--white);
    padding: 1rem 1.25rem;
    border-radius: 18px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    line-height: 1.6;
    color: var(--dark-text);
}

.bot-message .message-text {
    background: linear-gradient(135deg, var(--white) 0%, var(--cream) 100%);
    border-top-left-radius: 4px;
}

.user-message .message-text {
    background: linear-gradient(135deg, var(--secondary-green) 0%, var(--light-green) 100%);
    color: var(--white);
    border-top-right-radius: 4px;
}

.message-text p {
    margin: 0.5rem 0;
}

.message-text p:first-child {
    margin-top: 0;
}

.message-text p:last-child {
    margin-bottom: 0;
}

.message-text ul {
    margin: 0.5rem 0;
    padding-left: 1.5rem;
}

.message-text li {
    margin: 0.25rem 0;
}

.message-text strong {
    color: var(--primary-green);
    font-weight: 600;
}

.user-message .message-text strong {
    color: var(--white);
}

.message-time {
    font-size: 0.75rem;
    color: var(--light-text);
    margin-top: 0.5rem;
    padding: 0 0.5rem;
}

.user-message .message-time {
    text-align: right;
}

.chatbot-input-container {
    border-top: 2px solid var(--wheat);
    padding: 1.5rem;
    background: var(--white);
    position: relative;
}

.voice-controls {
    position: absolute;
    top: -45px;
    right: 1.5rem;
    display: flex;
    gap: 0.5rem;
}

.voice-button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--cream);
    border: 2px solid var(--wheat);
    color: var(--primary-green);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.voice-button:hover {
    background: var(--secondary-green);
    color: var(--white);
    border-color: var(--secondary-green);
    transform: scale(1.1);
}

.voice-button.active {
    background: var(--secondary-green);
    color: var(--white);
    border-color: var(--secondary-green);
    box-shadow: 0 4px 10px rgba(74, 124, 42, 0.3);
}

.voice-button svg {
    width: 18px;
    height: 18px;
}

.mic-button {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--cream);
    border: 2px solid var(--wheat);
    color: var(--primary-green);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-right: 0.5rem;
}

.mic-button:hover {
    background: var(--light-green);
    color: var(--white);
    border-color: var(--light-green);
    transform: scale(1.05);
}

.mic-button.listening {
    background: #e74c3c;
    color: var(--white);
    border-color: #e74c3c;
    animation: pulseMic 1.5s ease-in-out infinite;
}

@keyframes pulseMic {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.7);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(231, 76, 60, 0);
    }
}

.mic-button svg {
    width: 20px;
    height: 20px;
}

.voice-status {
    position: absolute;
    top: -35px;
    left: 1.5rem;
    padding: 0.5rem 1rem;
    background: var(--white);
    border: 2px solid var(--secondary-green);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--primary-green);
    display: none;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    animation: fadeInDown 0.3s ease;
}

.voice-status.error {
    border-color: #e74c3c;
    color: #e74c3c;
    background: #ffeaea;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.typing-indicator {
    display: none;
    position: absolute;
    top: -50px;
    left: 2rem;
    padding: 0.75rem 1rem;
    background: var(--white);
    border-radius: 18px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    align-items: center;
    gap: 0.5rem;
}

.typing-circle {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--secondary-green);
    animation: typingBounce 1.4s ease-in-out infinite;
}

.typing-circle:nth-child(1) {
    animation-delay: 0s;
}

.typing-circle:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-circle:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typingBounce {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.7;
    }
    30% {
        transform: translateY(-10px);
        opacity: 1;
    }
}

.chatbot-form {
    display: flex;
    gap: 1rem;
    align-items: flex-end;
    position: relative;
}

.chat-input {
    flex: 1;
    padding: 1rem 1.25rem;
    border: 2px solid var(--wheat);
    border-radius: 25px;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    resize: none;
    max-height: 120px;
    transition: all 0.3s ease;
    background: var(--cream);
}

.chat-input:focus {
    outline: none;
    border-color: var(--secondary-green);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(74, 124, 42, 0.1);
}

.send-button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary-green) 0%, var(--light-green) 100%);
    border: none;
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(74, 124, 42, 0.3);
}

.send-button:hover:not(:disabled) {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(74, 124, 42, 0.4);
}

.send-button:active:not(:disabled) {
    transform: scale(0.95);
}

.send-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.send-button svg {
    width: 20px;
    height: 20px;
}

.chatbot-suggestions {
    max-width: 900px;
    margin: 2rem auto 0;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.chatbot-suggestions h3 {
    font-size: 1rem;
    color: var(--light-text);
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 500;
}

.suggestions-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.suggestion-chip {
    padding: 0.6rem 1.2rem;
    background: var(--cream);
    border: 2px solid var(--wheat);
    border-radius: 20px;
    font-family: 'Roboto', sans-serif;
    font-size: 0.9rem;
    color: var(--dark-text);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.suggestion-chip:hover {
    background: var(--secondary-green);
    color: var(--white);
    border-color: var(--secondary-green);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(74, 124, 42, 0.2);
}

.suggestion-chip:active {
    transform: translateY(0);
}

/* Chatbot Responsive Design */
@media (max-width: 768px) {
    .chatbot-container {
        height: 500px;
        border-radius: 15px;
    }

    .chatbot-header h1 {
        font-size: 2rem;
    }

    .chatbot-header p {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .chatbot-messages {
        padding: 1.5rem;
    }

    .message-content {
        max-width: 85%;
    }

    .message-avatar {
        margin: 0 0.75rem;
    }

    .avatar-circle {
        width: 40px;
        height: 40px;
        font-size: 1.3rem;
    }

    .chatbot-input-container {
        padding: 1rem;
    }

    .voice-controls {
        top: -40px;
        right: 1rem;
    }

    .voice-button {
        width: 35px;
        height: 35px;
    }

    .voice-button svg {
        width: 16px;
        height: 16px;
    }

    .voice-status {
        top: -30px;
        left: 1rem;
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

    .chat-input {
        font-size: 0.95rem;
        padding: 0.875rem 1rem;
    }

    .mic-button {
        width: 40px;
        height: 40px;
        margin-right: 0.4rem;
    }

    .mic-button svg {
        width: 18px;
        height: 18px;
    }

    .send-button {
        width: 45px;
        height: 45px;
    }

    .suggestions-grid {
        gap: 0.5rem;
    }

    .suggestion-chip {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
    }
}

@media (max-width: 480px) {
    .chatbot-container {
        height: 450px;
        border-radius: 10px;
    }

    .chatbot-header h1 {
        font-size: 1.75rem;
    }

    .chatbot-messages {
        padding: 1rem;
    }

    .message-content {
        max-width: 90%;
    }

    .message-text {
        padding: 0.875rem 1rem;
        font-size: 0.95rem;
    }

    .message-avatar {
        margin: 0 0.5rem;
    }

    .avatar-circle {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }

    .voice-controls {
        top: -35px;
        right: 0.5rem;
    }

    .voice-button {
        width: 32px;
        height: 32px;
    }

    .voice-button svg {
        width: 14px;
        height: 14px;
    }

    .mic-button {
        width: 38px;
        height: 38px;
        margin-right: 0.3rem;
    }

    .mic-button svg {
        width: 16px;
        height: 16px;
    }

    .voice-status {
        top: -28px;
        left: 0.5rem;
        font-size: 0.75rem;
        padding: 0.3rem 0.6rem;
    }
}

