/* ============================================
   Shared Agrochem Sdn Bhd / Malaysia Farm
   Agricultural & Agrochemical Solutions
   ============================================ */

/* === Google Fonts === */
@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@300;400;700;900&family=Source+Sans+3:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* === CSS Variables / Design Tokens === */
:root {
    /* Earthy Agricultural Palette - Rich Greens, Soil Browns, Harvest Gold */
    --primary: #2D6A4F;
    --primary-dark: #1B4332;
    --primary-light: #52B788;
    --primary-pale: #D8F3DC;
    --accent-earth: #8B6F47;
    --accent-earth-light: #C4A87C;
    --accent-gold: #E9B741;
    --accent-gold-light: #F5D98E;
    --accent-soil: #5C4033;
    --accent-sky: #7EC8E3;
    
    /* Neutrals */
    --bg: #F7F5F0;
    --bg-alt: #EFECE4;
    --bg-card: #FFFFFF;
    --text-primary: #1A2E1F;
    --text-secondary: #4A5A4A;
    --text-muted: #8A9A8A;
    --border: #DED8CC;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #2D6A4F 0%, #1B4332 100%);
    --gradient-accent: linear-gradient(135deg, #E9B741 0%, #D4A130 100%);
    --gradient-hero: linear-gradient(160deg, #1B4332 0%, #2D6A4F 40%, #1B4332 100%);
    --gradient-warm: linear-gradient(135deg, #F7F5F0 0%, #EFECE4 100%);
    --gradient-plant: linear-gradient(135deg, #52B788 0%, #2D6A4F 100%);
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(43, 80, 50, 0.06);
    --shadow-md: 0 6px 24px rgba(43, 80, 50, 0.1);
    --shadow-lg: 0 12px 48px rgba(43, 80, 50, 0.14);
    --shadow-xl: 0 24px 64px rgba(43, 80, 50, 0.18);
    
    /* Typography */
    --font-heading: 'Merriweather', serif;
    --font-body: 'Source Sans 3', sans-serif;
    --font-accent: 'Plus Jakarta Sans', sans-serif;
    
    /* Spacing */
    --section-padding: 100px;
    --container-padding: 20px;
    --max-width: 1200px;
    
    /* Transitions */
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-slow: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* === Reset & Base === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg);
    color: var(--text-primary);
    line-height: 1.7;
    font-weight: 400;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* === Container === */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* === Typography === */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.3;
    color: var(--text-primary);
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-accent);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 14px;
}

.section-tag::before {
    content: '';
    display: inline-block;
    width: 30px;
    height: 2px;
    background: var(--gradient-plant);
    border-radius: 2px;
}

.section-title {
    font-size: clamp(1.9rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 18px;
    letter-spacing: -0.3px;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 640px;
    line-height: 1.8;
}

/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    font-family: var(--font-accent);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 4px 16px rgba(45, 106, 79, 0.35);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(45, 106, 79, 0.45);
}

.btn-gold {
    background: var(--gradient-accent);
    color: #fff;
    box-shadow: 0 4px 16px rgba(233, 183, 65, 0.35);
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(233, 183, 65, 0.45);
}

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

.btn-outline:hover {
    background: var(--primary);
    color: #fff;
}

.btn-light {
    background: rgba(255,255,255,0.12);
    color: #fff;
    border: 2px solid rgba(255,255,255,0.25);
    backdrop-filter: blur(10px);
}

.btn-light:hover {
    background: #fff;
    color: var(--text-primary);
    border-color: #fff;
}

/* === Header === */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(247,245,240,0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 30px rgba(43, 80, 50, 0.06);
    padding: 8px 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 44px;
    height: 44px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.75rem;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.logo-icon::before {
    content: '🌱';
    font-size: 0.7rem;
}

.logo-icon span {
    position: absolute;
    bottom: 2px;
    font-size: 0.45rem;
    font-weight: 400;
    opacity: 0;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    transition: var(--transition);
    line-height: 1.1;
}

.logo-text .accent {
    color: var(--accent-gold);
}

.logo-sub {
    font-family: var(--font-accent);
    font-size: 0.58rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    display: block;
    margin-top: -1px;
}

.header.scrolled .logo-text {
    color: var(--text-primary);
}

.header.scrolled .logo-sub {
    color: var(--text-muted);
}

/* Desktop Nav */
.nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-link {
    font-family: var(--font-accent);
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
    letter-spacing: 0.2px;
    position: relative;
    padding: 5px 0;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2.5px;
    background: var(--accent-gold);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-link:hover {
    color: #fff;
}

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

.nav-link.active {
    color: var(--accent-gold);
}

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

.header.scrolled .nav-link {
    color: var(--text-secondary);
}

.header.scrolled .nav-link:hover {
    color: var(--primary);
}

.header.scrolled .nav-link.active {
    color: var(--primary);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
    background: none;
    border: none;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: #fff;
    border-radius: 3px;
    transition: var(--transition);
}

.header.scrolled .menu-toggle span {
    background: var(--text-primary);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* === Hero Section === */
.hero {
    position: relative;
    min-height: 100vh;
    background: var(--gradient-hero);
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Leaf pattern overlay */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(82, 183, 136, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(233, 183, 65, 0.04) 0%, transparent 50%);
    z-index: 1;
    pointer-events: none;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15;
}

/* Hero decorative leaves */
.hero-leaf {
    position: absolute;
    z-index: 1;
    pointer-events: none;
    opacity: 0.06;
    font-size: 12rem;
}

.hero-leaf-1 {
    top: -30px;
    right: -20px;
    transform: rotate(30deg);
}

.hero-leaf-2 {
    bottom: -50px;
    left: -30px;
    transform: rotate(-20deg) scaleX(-1);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 120px var(--container-padding) 80px;
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 18px;
    background: rgba(82, 183, 136, 0.15);
    border: 1px solid rgba(82, 183, 136, 0.3);
    border-radius: 8px;
    font-family: var(--font-accent);
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--primary-light);
    letter-spacing: 0.5px;
    margin-bottom: 28px;
    backdrop-filter: blur(10px);
}

.hero-badge-icon {
    width: 6px;
    height: 6px;
    background: var(--primary-light);
    border-radius: 50%;
    animation: pulse-leaf 2s infinite;
}

@keyframes pulse-leaf {
    0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(82, 183, 136, 0.4); }
    50% { opacity: 0.6; transform: scale(1.2); box-shadow: 0 0 0 6px rgba(82, 183, 136, 0); }
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.hero-title span {
    color: var(--accent-gold);
}

.hero-description {
    font-size: 1.08rem;
    color: rgba(255,255,255,0.65);
    max-width: 580px;
    line-height: 1.8;
    margin-bottom: 36px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 50px;
    margin-top: 50px;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.07);
}

.hero-stat-value {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-gold);
    line-height: 1;
}

.hero-stat-label {
    font-family: var(--font-accent);
    font-size: 0.8rem;
    color: rgba(255,255,255,0.45);
    margin-top: 6px;
    letter-spacing: 0.5px;
}

/* === Section Base === */
.section {
    padding: var(--section-padding) 0;
    position: relative;
}

.section-alt {
    background: var(--bg-alt);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header .section-tag {
    justify-content: center;
}

.section-header .section-subtitle {
    margin: 0 auto;
}

/* === About Section === */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
}

.about-image-frame {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-image-frame::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(27, 67, 50, 0.3), transparent);
    z-index: 1;
}

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

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

.about-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--gradient-accent);
    color: #fff;
    padding: 20px 28px;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    z-index: 2;
}

.about-accent-icon {
    font-size: 1.6rem;
    margin-bottom: 2px;
}

.about-accent-text {
    font-family: var(--font-accent);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.about-content .section-tag {
    margin-bottom: 16px;
}

.about-text {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.9;
    margin-bottom: 20px;
}

.about-text strong {
    color: var(--primary);
    font-weight: 700;
}

.about-blockquote {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-style: italic;
    color: var(--primary-dark);
    padding: 18px 24px;
    border-left: 4px solid var(--accent-gold);
    background: var(--primary-pale);
    border-radius: 0 12px 12px 0;
    margin: 20px 0;
}

.about-highlights {
    display: grid;
    gap: 12px;
}

.about-highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 16px;
    background: var(--bg);
    border-radius: 10px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.about-highlight-item:hover {
    border-color: var(--primary-light);
    transform: translateX(5px);
}

.about-highlight-icon {
    width: 26px;
    height: 26px;
    min-width: 26px;
    background: var(--gradient-plant);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.7rem;
    margin-top: 2px;
}

.about-highlight-text {
    font-family: var(--font-accent);
    font-size: 0.88rem;
    font-weight: 600;
}

/* === Vision/Commitment/Why/Start Pillars === */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.pillar-card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 34px 24px;
    text-align: center;
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.pillar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-plant);
    opacity: 0;
    transition: var(--transition);
}

.pillar-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.pillar-card:hover::before {
    opacity: 1;
}

.pillar-number {
    font-family: var(--font-accent);
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--primary);
    background: var(--primary-pale);
    display: inline-block;
    padding: 4px 14px;
    border-radius: 4px;
    margin-bottom: 18px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.pillar-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 18px;
    background: var(--bg-alt);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
    transition: var(--transition);
}

.pillar-card:hover .pillar-icon {
    background: var(--primary-pale);
    transform: scale(1.05);
}

.pillar-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.pillar-card h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.pillar-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* === Features / What Makes Us Unique === */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 32px 24px;
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 0 18px;
    background: var(--bg-alt);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background: var(--primary-pale);
}

.feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.08rem;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* === Rooted Section (Features Carousel) === */
.rooted-header {
    text-align: center;
    margin-bottom: 40px;
}

.rooted-header h3 {
    font-family: var(--font-heading);
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    color: var(--text-primary);
    font-style: italic;
}

.rooted-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.rooted-card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 34px 26px;
    text-align: center;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.rooted-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-gold-light);
}

.rooted-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 18px;
    background: var(--bg-alt);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
    transition: var(--transition);
}

.rooted-card:hover .rooted-icon {
    background: rgba(233, 183, 65, 0.12);
}

.rooted-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.rooted-card h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.rooted-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* === Services Section === */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.service-card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 34px 28px;
    border: 1px solid var(--border);
    transition: var(--transition);
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.service-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    background: var(--bg-alt);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--primary-pale);
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 4px;
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    margin-bottom: 8px;
}

.service-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* === Products Gallery Section === */
.products-header {
    text-align: center;
    margin-bottom: 40px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.product-card {
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
}

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

.product-image {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--bg-alt);
}

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

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

.product-body {
    padding: 18px 20px;
}

.product-body h3 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.product-subtitle {
    font-family: var(--font-accent);
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.product-pricing {
    font-family: var(--font-accent);
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.product-pricing strong {
    color: var(--primary-dark);
}

/* === Contact Section === */
.contact-section-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.contact-info h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin-bottom: 14px;
}

.contact-info > p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 28px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: var(--transition);
}

.contact-method:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.contact-method-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: var(--primary-pale);
    border: 1px solid var(--primary-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--primary);
}

.contact-social {
    display: flex;
    gap: 12px;
    margin-top: 28px;
}

.contact-social a {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    transition: var(--transition);
}

.contact-social a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    transform: translateY(-3px);
}

.contact-form-wrapper {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-xl);
}

.contact-form h3 {
    font-size: 1.3rem;
    margin-bottom: 6px;
}

.contact-form > p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-family: var(--font-accent);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
    letter-spacing: 0.2px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border);
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-primary);
    background: var(--bg);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(45, 106, 79, 0.1);
}

.form-group textarea {
    min-height: 110px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

/* === Footer === */
.footer {
    background: #0F2A1A;
    color: rgba(255,255,255,0.65);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-brand .logo-text {
    color: #fff;
    font-size: 1.1rem;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.8;
    margin-top: 14px;
    max-width: 340px;
    color: rgba(255,255,255,0.4);
}

.footer h3 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    color: var(--accent-gold);
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.4);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: var(--accent-gold);
    transform: translateX(5px);
}

.footer-contact-item {
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.4);
}

.footer-contact-icon {
    min-width: 18px;
    color: var(--accent-gold);
    margin-top: 3px;
}

.footer-bottom {
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.25);
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: rgba(255,255,255,0.25);
    font-size: 0.8rem;
}

.footer-bottom-links a:hover {
    color: var(--accent-gold);
}

/* === Page Header === */
.page-header {
    padding: 140px 0 60px;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(82, 183, 136, 0.06) 1px, transparent 1px);
    background-size: 30px 30px;
}

.page-header-content {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: #fff;
    margin-bottom: 10px;
}

.page-header p {
    color: rgba(255,255,255,0.6);
    font-size: 1.05rem;
    max-width: 550px;
    margin: 0 auto;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-accent);
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
    margin-bottom: 16px;
}

.breadcrumb a {
    color: var(--primary-light);
}

.breadcrumb a:hover {
    color: var(--accent-gold);
}

/* === CTA Section === */
.cta-section {
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(233, 183, 65, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    color: #fff;
    font-size: clamp(1.8rem, 3vw, 2.3rem);
    margin-bottom: 14px;
}

.cta-content p {
    color: rgba(255,255,255,0.6);
    font-size: 1.02rem;
    line-height: 1.8;
    margin-bottom: 28px;
}

/* === Floating Elements === */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
    color: #fff;
}

.back-to-top {
    position: fixed;
    bottom: 90px;
    right: 24px;
    z-index: 999;
    width: 44px;
    height: 44px;
    background: var(--accent-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: #d4a130;
    transform: translateY(-3px);
    color: #fff;
}

/* === Animation Classes === */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }
.delay-500 { transition-delay: 0.5s; }

.stagger-children > * {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.stagger-children.visible > *:nth-child(1) { transition-delay: 0.05s; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.1s; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.15s; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.2s; }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.25s; }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.3s; }
.stagger-children.visible > *:nth-child(7) { transition-delay: 0.35s; }
.stagger-children.visible > *:nth-child(8) { transition-delay: 0.4s; }

.stagger-children.visible > * {
    opacity: 1;
    transform: translateY(0);
}

/* === Status Messages === */
.status-message {
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 0.85rem;
    margin-bottom: 16px;
    display: none;
}

.status-message.success {
    display: block;
    background: rgba(82, 183, 136, 0.1);
    color: #2D6A4F;
    border: 1px solid rgba(82, 183, 136, 0.2);
}

.status-message.error {
    display: block;
    background: rgba(233, 183, 65, 0.1);
    color: #b8860b;
    border: 1px solid rgba(233, 183, 65, 0.2);
}

.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
    :root {
        --section-padding: 70px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image-frame img {
        height: 400px;
    }

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

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

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

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

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

    .contact-section-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
        --container-padding: 16px;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        justify-content: center;
        gap: 24px;
        padding: 80px 36px;
        transition: var(--transition);
        box-shadow: -10px 0 40px rgba(0,0,0,0.1);
    }

    .nav.open {
        right: 0;
    }

    .nav-link {
        font-size: 1.05rem;
        color: var(--text-primary);
    }

    .header.scrolled .nav-link.active,
    .nav-link.active {
        color: var(--primary);
    }

    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(27, 67, 50, 0.4);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }

    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .menu-toggle {
        display: flex;
    }

    .nav .btn {
        padding: 12px 22px;
        font-size: 0.8rem;
        text-align: center;
        width: 100%;
    }

    /* Hero */
    .hero-content {
        padding-top: 100px;
        text-align: center;
    }

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

    .hero-description {
        margin: 0 auto 30px;
    }

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

    .hero-stats {
        justify-content: center;
        gap: 30px;
        flex-wrap: wrap;
    }

    /* About */
    .about-image-frame img {
        height: 280px;
    }

    .about-accent {
        bottom: -15px;
        right: 10px;
        padding: 16px 20px;
    }

    .about-accent-icon {
        font-size: 1.3rem;
    }

    /* Grids */
    .pillars-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

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

    .rooted-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .service-card {
        flex-direction: column;
        padding: 24px 20px;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    /* Contact */
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-form-wrapper {
        padding: 28px 20px;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .page-header {
        padding: 120px 0 50px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.9rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
        align-items: center;
    }

    .hero-stat {
        text-align: center;
    }

    .about-image-frame img {
        height: 240px;
    }
}
