#farm-hero {
  background-image: url('/images/hero-bg.png');
  background-size: cover;
  background-position: center center;
  position: relative;
}
#farm-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 100, 0, 0.4);
  z-index: 1;
}
#farm-hero > * {
  position: relative;
  z-index: 2;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f1f3f4 100%);
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 10px;
}

/* Header Styles */
header {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 20%, #5d6d7e 40%, #34495e 60%, #2c3e50 100%);
    color: white;
    padding: 1.2rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 25px rgba(0,0,0,0.4);
    border-bottom: 4px solid #8b4513;
    backdrop-filter: blur(10px);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.logo img {
    height: 70px;
    width: auto;
    max-width: 80px;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

.logo h1 {
    font-size: 2.4rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    letter-spacing: 1px;
    position: relative;
    margin: 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 50%, #ecf0f1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo h1::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #e74c3c, #f39c12, #e74c3c);
    border-radius: 2px;
}

/* Alternative logo styles for text-only logos */
.logo-text-only h1 {
    font-size: 2.2rem;
    background: linear-gradient(135deg, #e74c3c, #f39c12, #27ae60);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.nav-links a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
    position: relative;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    white-space: nowrap;
}

.nav-links a::before {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #e74c3c, #f39c12);
    transition: width 0.3s ease;
}

.nav-links a:hover::before {
    width: 80%;
}

.nav-links a:hover {
    color: #f39c12;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Main Content */
main {
    margin-top: 180px;
}

/* Responsive main content margin */
@media (max-width: 1200px) {
    main {
        margin-top: 220px;
    }
}

@media (max-width: 900px) {
    main {
        margin-top: 260px;
    }
}

@media (max-width: 700px) {
    main {
        margin-top: 380px;
    }
}

@media (max-width: 600px) {
    main {
        margin-top: 360px;
    }
}

/* Hero Section - Mount Kenya & Mwea Landscape View */
#farm-hero {
    background:
        linear-gradient(180deg, #6ec6ff 0%, #90caf9 40%, #e3f2fd 100%), /* Clear blue sky */
        url('/public/images/hero-bg.png') center bottom/cover no-repeat; /* Custom hero image */
    height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 6px solid #8b4513;
    /* Enhanced depth and atmosphere */
    box-shadow: inset 0 0 100px rgba(0,0,0,0.3);
}

#farm-hero::before {
    content: "🏔️";
    position: absolute;
    top: 12%;
    left: 20%;
    font-size: 4rem;
    opacity: 0.6;
    animation: mountainFloat 12s ease-in-out infinite;
    color: #e8f4f8;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.3));
}

#farm-hero::after {
    content: "🌾";
    position: absolute;
    bottom: 20%;
    right: 25%;
    font-size: 3rem;
    opacity: 0.5;
    animation: grassFloat 8s ease-in-out infinite reverse;
    color: #90EE90;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.4);
}

/* Additional Mount Kenya peak elements */
.hero::after {
    content: "🏔️";
    position: absolute;
    top: 8%;
    left: 10%;
    font-size: 2.5rem;
    opacity: 0.4;
    animation: mountainFloat 15s ease-in-out infinite;
    color: #f0f8ff;
    filter: blur(1px);
}

@keyframes mountainFloat {
    0%, 100% { 
        transform: translateY(0px) scale(1); 
        opacity: 0.6;
    }
    50% { 
        transform: translateY(-15px) scale(1.05); 
        opacity: 0.8;
    }
}

@keyframes grassFloat {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
        opacity: 0.5;
    }
    50% { 
        transform: translateY(-10px) rotate(2deg); 
        opacity: 0.7;
    }
}

/* Mount Kenya Atmospheric Effects */
.hero {
    position: relative;
}

#farm-hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        /* Morning mist layers */
        radial-gradient(ellipse at 30% 30%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 40%, rgba(240,248,255,0.08) 0%, transparent 60%),
        /* Cloud formations */
        radial-gradient(ellipse at 15% 25%, rgba(255,255,255,0.12) 0%, transparent 40%),
        radial-gradient(ellipse at 85% 35%, rgba(248,250,252,0.1) 0%, transparent 45%);
    pointer-events: none;
    animation: mistDrift 20s ease-in-out infinite;
}

/* Floating landscape particles */
#farm-hero:after {
    content: '🌤️';
    position: absolute;
    top: 15%;
    right: 20%;
    font-size: 2rem;
    opacity: 0.4;
    animation: cloudDrift 25s linear infinite;
    color: #ffffff;
    text-shadow: 0 0 8px rgba(255,255,255,0.5);
}

/* Additional Mount Kenya elements */
#farm-hero .mountain-layer {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(transparent 0%, transparent 20%, rgba(139,69,19,0.1) 50%, rgba(34,139,34,0.2) 100%);
    pointer-events: none;
}

@keyframes mistDrift {
    0%, 100% { 
        transform: translateX(0px) scale(1);
        opacity: 1;
    }
    50% { 
        transform: translateX(20px) scale(1.05);
        opacity: 0.8;
    }
}

@keyframes cloudDrift {
    0% { 
        transform: translateX(-100px);
        opacity: 0;
    }
    50% { 
        opacity: 0.6;
    }
    100% { 
        transform: translateX(calc(100vw + 100px));
        opacity: 0;
    }
}

/* Mwea Plains Enhancement */
#farm-hero .plains-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: 
        linear-gradient(to top, 
            rgba(34,139,34,0.3) 0%, 
            rgba(46,125,50,0.2) 30%, 
            transparent 100%);
    pointer-events: none;
}

/* Enhanced text readability against Mount Kenya backdrop */
#farm-hero-content {
    position: relative;
    z-index: 10;
    background: rgba(0,0,0,0.3);
    padding: 40px;
    border-radius: 15px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

/* Mount Kenya Highland Mist Effects */
.highland-mist {
    display: none;
}

.mist-particle {
    display: none;
}

.mist-1 {
    width: 200px;
    height: 100px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.mist-2 {
    width: 300px;
    height: 150px;
    top: 25%;
    left: 60%;
    animation-delay: 5s;
}

.mist-3 {
    width: 250px;
    height: 120px;
    top: 15%;
    left: 35%;
    animation-delay: 10s;
}

@keyframes mistFlow {
    0%, 100% {
        transform: translateX(0px) translateY(0px) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translateX(30px) translateY(-10px) scale(1.2);
        opacity: 0.6;
    }
}

/* Mwea Plains Grass Animation */
.mwea-grass {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30%;
    pointer-events: none;
    z-index: 3;
}

.grass-blade {
    position: absolute;
    font-size: 2rem;
    opacity: 0.4;
    animation: grassSway 8s ease-in-out infinite;
    color: #90EE90;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.grass-1 {
    bottom: 15%;
    left: 20%;
    animation-delay: 0s;
}

.grass-2 {
    bottom: 20%;
    left: 40%;
    animation-delay: 2s;
    font-size: 1.8rem;
}

.grass-3 {
    bottom: 18%;
    left: 65%;
    animation-delay: 4s;
}

.grass-4 {
    bottom: 22%;
    left: 80%;
    animation-delay: 6s;
    font-size: 1.5rem;
}

@keyframes grassSway {
    0%, 100% {
        transform: rotate(-2deg) scale(1);
        opacity: 0.4;
    }
    50% {
        transform: rotate(3deg) scale(1.1);
        opacity: 0.7;
    }
}

/* Mount Kenya Parallax Enhancement */
.mount-kenya-silhouette {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to bottom, 
        rgba(100,120,140,0.3) 0%,
        rgba(80,100,120,0.2) 50%,
        transparent 100%);
    clip-path: polygon(0 100%, 15% 60%, 25% 40%, 35% 45%, 45% 30%, 55% 35%, 65% 20%, 75% 25%, 85% 15%, 100% 20%, 100% 100%);
}

/* Weather overlay for authentic Kirinyaga atmosphere */
.hero::before {
    background: 
        /* Altitude-based temperature gradient */
        linear-gradient(to bottom, 
            rgba(200,220,240,0.1) 0%,    /* Snow caps */
            rgba(180,200,220,0.08) 30%,  /* Alpine zone */
            rgba(160,180,200,0.06) 60%,  /* Highland forest */
            rgba(100,150,100,0.04) 100%  /* Agricultural plains */
        ),
        /* Seasonal weather patterns */
        radial-gradient(ellipse at 40% 30%, rgba(255,255,255,0.12) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 50%, rgba(240,248,255,0.08) 0%, transparent 50%);
}

.hero-content h2 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.7);
    font-weight: bold;
    position: relative;
    text-align: center;
}

.hero-content h2::before,
.hero-content h2::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #e74c3c, #f39c12);
    border-radius: 2px;
}

.hero-content h2::before {
    left: -80px;
    transform: translateY(-50%);
}

.hero-content h2::after {
    right: -80px;
    transform: translateY(-50%);
}

.hero-content p {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    font-weight: 300;
    letter-spacing: 1px;
}

.cta-button {
    background: linear-gradient(135deg, #8b4513 0%, #a0522d 50%, #8b4513 100%);
    color: white;
    padding: 18px 45px;
    border: none;
    border-radius: 50px;
    font-size: 1.3rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 10px 20px rgba(139, 69, 19, 0.4);
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.cta-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    background: linear-gradient(135deg, #a0522d 0%, #8b4513 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(139, 69, 19, 0.5);
}

/* Section Styles */
section {
    padding: 3rem 0;
    position: relative;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.goats-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.goats-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #8b4513, #d4af37, #228b22, #6a5acd, #8b4513);
    background-size: 200% 100%;
    animation: gradientShift 4s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.goats-section h2,
.products-section h2,
.about-section h2,
.contact-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 3rem;
    color: #2c3e50;
    position: relative;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.15);
    font-weight: bold;
}

.goats-section h2::before,
.products-section h2::before,
.about-section h2::before,
.contact-section h2::before {
    content: "";
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 5px;
    background: linear-gradient(90deg, #8b4513, #d4af37, #228b22);
    border-radius: 3px;
    box-shadow: 0 2px 8px rgba(139, 69, 19, 0.3);
}

.products-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-bottom: 3px solid #228b22;
}

.about-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 3px solid #d4af37;
}

.contact-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-bottom: 3px solid #6a5acd;
}

/* Goat Grid */
.goat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.goat-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.goat-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #8b4513, #d4af37, #228b22);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.goat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    border-color: #8b4513;
}

.goat-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

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

.goat-card h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
    position: relative;
    padding-right: 30px;
}

.goat-card h3::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #e74c3c, #f39c12);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.3);
}

.goat-info {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
}

.goat-info span {
    background: linear-gradient(135deg, #228b22, #32cd32);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(34, 139, 34, 0.3);
}

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

/* Product Card Enhancements */
.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid transparent;
}

.product-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #8b4513, #d4af37, #228b22);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover::after {
    opacity: 1;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    border-color: #8b4513;
}

.product-card.featured {
    border: 3px solid #d4af37;
    background: linear-gradient(135deg, #ffffff 0%, #fffacd 100%);
}

.product-card.featured::before {
    content: "⭐ FEATURED";
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #d4af37, #b8860b);
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: bold;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.4);
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.product-card h3 {
    padding: 15px 20px 10px;
    color: #2c3e50;
    font-size: 1.3rem;
    margin: 0;
    position: relative;
    padding-right: 50px;
}

.product-card h3::after {
    content: "";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #8b4513, #d4af37);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(139, 69, 19, 0.3);
}

.product-card p {
    padding: 0 20px;
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

.product-card .price {
    display: block;
    padding: 15px 20px;
    color: #27ae60;
    font-size: 1.4rem;
    font-weight: bold;
    background: linear-gradient(135deg, #d5f4e6 0%, #ffeaa7 100%);
    margin: 10px 20px 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(39, 174, 96, 0.2);
}

/* About Section */
.about-section {
    background: #f8f9fa;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.farm-stats {
    display: grid;
    gap: 1.5rem;
}

.stat {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.stat::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #8b4513, #d4af37, #228b22);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat:hover::before {
    opacity: 1;
}

.stat:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    border-color: #8b4513;
}

.stat h3 {
    font-size: 2.5rem;
    background: linear-gradient(135deg, #8b4513, #d4af37);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.stat p {
    color: #2c3e50;
    font-weight: 600;
    font-size: 1.1rem;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info h3 {
    margin-bottom: 1rem;
    color: #2c3e50;
}

.contact-info p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.contact-form button {
    background: #2c3e50;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s;
}

.contact-form button:hover {
    background: #34495e;
}

/* Product Showcase Styles */
.admin-btn {
    background-color: #e74c3c;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    margin-bottom: 20px;
}

.admin-btn:hover {
    background-color: #c0392b;
}

.product-filters {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.filter-btn {
    background-color: #ecf0f1;
    color: #2c3e50;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: #3498db;
    color: white;
}

.featured-products {
    margin-bottom: 40px;
}

.featured-products h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 24px;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.product-card.featured {
    border: 3px solid #f39c12;
}

.product-card.featured::before {
    content: "★ FEATURED";
    position: absolute;
    top: 10px;
    right: 10px;
    background: #f39c12;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
    z-index: 2;
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-card h3 {
    padding: 15px 20px 10px;
    color: #2c3e50;
    font-size: 20px;
    margin: 0;
}

.product-card p {
    padding: 0 20px;
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

.product-card .price {
    display: block;
    padding: 10px 20px;
    color: #27ae60;
    font-size: 18px;
    font-weight: bold;
}

.product-card .stock-status {
    padding: 0 20px 15px;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: bold;
}

.product-card .stock-status.in-stock {
    color: #27ae60;
}

.product-card .stock-status.limited {
    color: #f39c12;
}

.product-card .stock-status.out-of-stock {
    color: #e74c3c;
}

.product-card .unavailable {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
}

/* Enhanced Mobile Navigation */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

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

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

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

/* Navigation Search */
.nav-search {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.1);
    border-radius: 25px;
    padding: 5px 15px;
    margin: 0 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.nav-search input {
    background: none;
    border: none;
    color: white;
    padding: 8px 12px;
    width: 200px;
    outline: none;
    font-size: 14px;
}

.nav-search input::placeholder {
    color: rgba(255,255,255,0.7);
}

.nav-search button {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 5px;
    font-size: 16px;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.nav-search button:hover {
    background: rgba(255,255,255,0.2);
}

/* Enhanced Farm Records Button */
.farm-records-btn {
    background: linear-gradient(135deg, #e74c3c, #c0392b) !important;
    padding: 12px 20px !important;
    border-radius: 25px !important;
    color: white !important;
    text-decoration: none !important;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
    border: 2px solid rgba(255,255,255,0.2);
}

.farm-records-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
    background: linear-gradient(135deg, #c0392b, #a93226) !important;
}

/* Hero Section Enhancements */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
    margin: 30px 0;
    max-width: 600px;
}

.stat-card {
    background: rgba(255,255,255,0.95);
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: #7f8c8d;
    font-weight: 500;
}

.hero-actions {
    display: flex;
    gap: 15px;
    margin: 30px 0;
    flex-wrap: wrap;
    justify-content: center;
}

.cta-button.primary {
    background: linear-gradient(135deg, #27ae60, #229954);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(39, 174, 96, 0.3);
}

.cta-button.secondary {
    background: rgba(255,255,255,0.9);
    color: #2c3e50;
    border: 2px solid #27ae60;
    padding: 15px 30px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

/* Weather Widget */
.weather-widget {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255,255,255,0.95);
    padding: 18px 24px;
    border-radius: 18px;
    backdrop-filter: blur(15px);
    border: 2px solid rgba(39, 174, 96, 0.2);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    min-width: 180px;
}

.weather-widget:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    border-color: rgba(39, 174, 96, 0.4);
}

.weather-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
}

#weather-temp {
    font-size: 1.6rem;
    font-weight: 800;
    color: #2c3e50;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

#weather-desc {
    font-size: 0.9rem;
    color: #27ae60;
    margin: 5px 0;
    font-weight: 600;
    text-align: center;
    line-height: 1.3;
}

#weather-location {
    font-size: 0.75rem;
    color: #7f8c8d;
    font-weight: 500;
    position: relative;
    padding-left: 16px;
}

#weather-location::before {
    content: "📍";
    position: absolute;
    left: 0;
    top: 0;
    font-size: 0.8rem;
}

/* Goat Filtering */
.goat-filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.filter-btn {
    background: rgba(255,255,255,0.9);
    border: 2px solid #27ae60;
    color: #2c3e50;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn.active,
.filter-btn:hover {
    background: #27ae60;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
}

/* Goat Care Tips */
.goat-care-tips {
    margin-top: 50px;
    padding: 40px 0;
    background: rgba(255,255,255,0.5);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.tip-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    border: 1px solid rgba(39, 174, 96, 0.1);
}

.tip-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.tip-card h4 {
    color: #27ae60;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.tip-card p {
    color: #7f8c8d;
    line-height: 1.6;
}

/* Newsletter Section */
.newsletter-section {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 40px;
    border-radius: 20px;
    margin: 40px 0;
    text-align: center;
}

.newsletter-section h3 {
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 25px 0;
    flex-wrap: wrap;
}

.newsletter-form input {
    padding: 15px 20px;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    min-width: 250px;
    outline: none;
}

.newsletter-form button {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 15px 25px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background: #c0392b;
    transform: translateY(-2px);
}

.newsletter-benefits {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.benefit {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 100px;
}

.benefit span {
    font-size: 2rem;
    margin-bottom: 10px;
    display: block;
}

.benefit p {
    font-size: 0.9rem;
    margin: 0;
    opacity: 0.9;
}

/* Quick Actions */
.quick-actions {
    background: rgba(255,255,255,0.9);
    padding: 30px;
    border-radius: 15px;
    margin: 30px 0;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
}

.quick-actions h3 {
    text-align: center;
    margin-bottom: 25px;
    color: #2c3e50;
}

.actions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.action-btn {
    background: white;
    border: 2px solid #27ae60;
    border-radius: 15px;
    padding: 18px 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #2c3e50;
    min-height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.action-btn:hover {
    background: #27ae60;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(39, 174, 96, 0.3);
}

.action-btn span {
    font-size: 2.2rem;
    display: block;
    margin-bottom: 8px;
    line-height: 1;
}

.action-btn p {
    margin: 0;
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.2;
    color: inherit;
}

/* Modal Enhancements */
.modal {
    display: flex !important;
}

.modal form {
    display: flex;
    flex-direction: column;
}

.modal label {
    margin-bottom: 15px;
    font-weight: 600;
    color: #2c3e50;
}

.modal input,
.modal select,
.modal textarea {
    border: 2px solid #ecf0f1;
    transition: border-color 0.3s ease;
}

.modal input:focus,
.modal select:focus,
.modal textarea:focus {
    border-color: #3498db;
    outline: none;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

/* Success/Error Messages */
.message {
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
    text-align: center;
    font-weight: 600;
}

.message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Tablet Responsive - Medium screens */
@media (max-width: 1024px) {
    .actions-grid {
        max-width: 700px;
        gap: 18px;
    }
    
    .action-btn {
        padding: 16px 10px;
        min-height: 90px;
    }
    
    .action-btn span {
        font-size: 2rem;
    }
    
    .action-btn p {
        font-size: 0.9rem;
    }
}

/* Mobile Enhancements for New Features */
@media (max-width: 768px) {
    .newsletter-section {
        padding: 25px 20px;
        margin: 30px 0;
    }
    
    .newsletter-section h3 {
        font-size: 1.5rem;
    }
    
    .newsletter-form {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .newsletter-form input {
        min-width: 100%;
        max-width: 300px;
    }
    
    .newsletter-benefits {
        gap: 20px;
    }
    
    .actions-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 12px;
        max-width: 100%;
    }
    
    .action-btn {
        padding: 15px 8px;
        min-height: 80px;
    }
    
    .action-btn span {
        font-size: 1.4rem;
        margin-bottom: 6px;
    }
    
    .action-btn p {
        font-size: 0.85rem;
        margin: 0;
        line-height: 1.1;
    }
    
    /* Modal Mobile */
    .modal > div {
        min-width: 320px !important;
        max-width: 95vw !important;
        margin: 20px;
        max-height: 85vh;
        overflow-y: auto;
    }
}

/* Responsive Navigation */
@media (max-width: 1200px) {
    nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .logo {
        margin-bottom: 0.5rem;
        align-self: center;
    }
    
    .nav-links {
        flex-wrap: wrap;
        width: 100%;
        justify-content: flex-start;
        gap: 0.5rem;
    }
    
    .nav-links a {
        padding: 6px 12px;
        font-size: 0.85rem;
    }
}

@media (max-width: 900px) {
    header {
        padding: 1rem;
    }
    
    nav {
        gap: 0.75rem;
    }
    
    .logo h1 {
        font-size: 1.6rem;
        text-align: center;
    }
    
    .nav-links {
        gap: 0.4rem;
        justify-content: center;
    }
    
    .nav-links a {
        padding: 8px 12px;
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 100px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 100px);
        background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
        flex-direction: column;
        align-items: center;
        padding: 50px 0;
        transition: left 0.3s ease;
        z-index: 999;
        overflow-y: auto;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        margin: 15px 0;
        width: 80%;
        text-align: center;
    }
    
    .nav-links a {
        display: block;
        padding: 15px 20px;
        background: rgba(255,255,255,0.1);
        border-radius: 10px;
        transition: all 0.3s ease;
        width: 100%;
    }
    
    .nav-search {
        width: 80%;
        margin: 20px 0;
    }
    
    .nav-search input {
        width: 100%;
    }
    
    .logo h1 {
        font-size: 1.8rem;
    }
    
    .logo img {
        height: 50px;
    }
    
    /* Hero Section Mobile */
    .hero-content {
        padding: 20px;
        text-align: center;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        margin: 20px 0;
    }
    
    .stat-card {
        padding: 15px;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .cta-button {
        width: 100%;
        max-width: 250px;
    }
    
    .weather-widget {
        position: relative;
        top: 0;
        right: 0;
        margin: 20px auto;
        width: fit-content;
    }
    
    /* Goat Filters Mobile */
    .goat-filters {
        flex-wrap: wrap;
        gap: 8px;
        padding: 0 10px;
    }
    
    .filter-btn {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
    
    /* Tips Grid Mobile */
    .tips-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .tip-card {
        padding: 20px;
    }
    
    /* Goat Cards Mobile */
    .goat-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .goat-card {
        max-width: 100%;
    }
    
    /* Products Mobile */
    .product-filters {
        flex-wrap: wrap;
        gap: 8px;
        justify-content: center;
        padding: 0 10px;
    }
    
    .product-grid,
    .featured-grid,
    .new-grid,
    .sale-grid,
    .seasonal-grid,
    .bundles-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Contact Section Mobile */
    .contact-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .contact-form {
        width: 100%;
    }
    
    /* Container Mobile */
    .container {
        padding: 0 15px;
    }
    
    /* Navigation Mobile */
    nav {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 1.5rem;
    }
    
    .logo img {
        height: 40px;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
    }
    
    .stat-card {
        padding: 12px;
    }
    
    .stat-number {
        font-size: 1.6rem;
    }
    
    .filter-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    
    .weather-widget {
        padding: 10px 15px;
    }
    
    #weather-temp {
        font-size: 1.3rem;
    }
    
    /* Actions grid for very small screens */
    .actions-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        max-width: 100%;
    }
    
    .action-btn {
        padding: 16px 12px;
        border-radius: 12px;
        min-height: 90px;
    }
    
    .action-btn span {
        font-size: 1.6rem;
        margin-bottom: 8px;
    }
    
    .action-btn p {
        font-size: 0.9rem;
        margin: 0;
        line-height: 1.2;
    }
}

/* ===============================================
   PREMIUM PARALLAX & ANIMATION ENHANCEMENTS
   =============================================== */

/* Enhanced Hero with Parallax Effects */
.hero.parallax-container {
    height: 100vh;
    perspective: 1px;
    transform-style: preserve-3d;
}

.parallax-layer {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

/* Mount Kenya Silhouette */
.mount-kenya-silhouette {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, #263238 90%, transparent 100%);
    clip-path: polygon(0 100%, 12% 70%, 22% 60%, 32% 55%, 42% 50%, 52% 25%, 62% 40%, 72% 35%, 82% 60%, 92% 80%, 100% 100%);
    z-index: 10;
    box-shadow: 0 8px 32px rgba(38,50,56,0.3);
    /* ...existing code... */
}

@keyframes mountainGlow {
    0%, 100% { filter: brightness(1) contrast(1); }
    50% { filter: brightness(1.2) contrast(1.1); }
}

/* Animated Clouds */
.cloud {
    position: absolute;
    background: radial-gradient(ellipse, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.3) 50%, transparent 70%);
    border-radius: 50px;
    opacity: 0.7;
}

.cloud-1 {
    width: 100px;
    height: 40px;
    top: 20%;
    left: 10%;
    animation: cloudFloat1 25s linear infinite;
}

.cloud-2 {
    width: 80px;
    height: 30px;
    top: 15%;
    right: 20%;
    animation: cloudFloat2 30s linear infinite reverse;
}

.cloud-3 {
    width: 120px;
    height: 45px;
    top: 25%;
    left: 70%;
    animation: cloudFloat3 35s linear infinite;
}

@keyframes cloudFloat1 {
    0% { transform: translateX(-100px); }
    100% { transform: translateX(calc(100vw + 100px)); }
}

@keyframes cloudFloat2 {
    0% { transform: translateX(100px); }
    100% { transform: translateX(calc(-100vw - 100px)); }
}

@keyframes cloudFloat3 {
    0% { transform: translateX(-120px); }
    100% { transform: translateX(calc(100vw + 120px)); }
}

/* Acacia Trees */
.acacia-tree {
    position: absolute;
    bottom: 15%;
    width: 60px;
    height: 80px;
    background: linear-gradient(to top, #8B4513 0%, #A0522D 30%, transparent 30%);
    background-size: 8px 100%;
    background-repeat: no-repeat;
    background-position: center bottom;
}

.acacia-tree::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 35px;
    background: radial-gradient(ellipse, rgba(34, 139, 34, 0.8) 0%, rgba(46, 125, 50, 0.6) 60%, transparent 80%);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
}

.tree-1 {
    left: 20%;
    animation: treeWave1 8s ease-in-out infinite;
}

.tree-2 {
    right: 25%;
    animation: treeWave2 10s ease-in-out infinite;
}

@keyframes treeWave1 {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(2deg); }
}

@keyframes treeWave2 {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(-1.5deg); }
}

/* Sunrise Animation */
.sunrise-animation {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.sun {
    position: absolute;
    top: 30%;
    right: 20%;
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, #FFD700 0%, #FFA500 50%, rgba(255, 215, 0, 0.3) 80%, transparent 100%);
    border-radius: 50%;
    animation: sunRise 20s ease-in-out infinite;
}

.sun-rays {
    position: absolute;
    top: 30%;
    right: 20%;
    width: 60px;
    height: 60px;
    animation: sunRotate 15s linear infinite;
}

.sun-rays::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: 
        linear-gradient(0deg, transparent 45%, rgba(255, 215, 0, 0.4) 48%, rgba(255, 215, 0, 0.4) 52%, transparent 55%),
        linear-gradient(45deg, transparent 45%, rgba(255, 215, 0, 0.3) 48%, rgba(255, 215, 0, 0.3) 52%, transparent 55%),
        linear-gradient(90deg, transparent 45%, rgba(255, 215, 0, 0.4) 48%, rgba(255, 215, 0, 0.4) 52%, transparent 55%),
        linear-gradient(135deg, transparent 45%, rgba(255, 215, 0, 0.3) 48%, rgba(255, 215, 0, 0.3) 52%, transparent 55%);
}

@keyframes sunRise {
    0%, 100% { transform: translateY(10px) scale(0.9); opacity: 0.8; }
    50% { transform: translateY(-5px) scale(1.1); opacity: 1; }
}

@keyframes sunRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Enhanced Hero Branding */
.hero-branding {
    margin-bottom: 2rem;
    z-index: 10;
    position: relative;
}

.farm-title {
    font-size: 4rem;
    margin-bottom: 1rem;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.7);
    font-weight: 800;
    font-family: 'Playfair Display', serif;
    background: linear-gradient(135deg, #FFD700, #FFA500, #FF6B35);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.farm-slogan {
    font-size: 1.4rem;
    font-style: italic;
    color: #F8F4EA;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.6);
    font-family: 'Playfair Display', serif;
}

.farm-location {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

/* Live Weather Widget */
.weather-widget {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: white;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    z-index: 20;
}

.weather-icon {
    font-size: 2rem;
    animation: weatherPulse 3s ease-in-out infinite;
}

@keyframes weatherPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.weather-info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.weather-temp {
    font-size: 1.2rem;
    font-weight: 600;
}

.weather-desc {
    font-size: 0.9rem;
    opacity: 0.9;
}

.weather-location {
    font-size: 0.8rem;
    opacity: 0.7;
}

/* Premium Animation Classes */
.animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s ease-out forwards;
}

.animate-slide-right {
    opacity: 0;
    transform: translateX(50px);
    animation: slideRight 1s ease-out forwards;
}

.delay-1 { animation-delay: 0.3s; }
.delay-2 { animation-delay: 0.6s; }
.delay-3 { animation-delay: 0.9s; }

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Parallax Scroll Effect */
@media (prefers-reduced-motion: no-preference) {
    .parallax-mountains { transform: translateZ(-0.5px) scale(1.5); }
    .parallax-clouds { transform: translateZ(-0.3px) scale(1.3); }
    .parallax-trees { transform: translateZ(-0.1px) scale(1.1); }
}

/* Mobile Parallax Adjustments */
@media (max-width: 768px) {
    .hero.parallax-container {
        height: 80vh;
    }
    
    .weather-widget {
        position: relative;
        top: auto;
        right: auto;
        margin-bottom: 1rem;
        backdrop-filter: blur(5px);
    }
    
    .farm-title {
        font-size: 2.5rem;
    }
    
    .farm-slogan {
        font-size: 1.1rem;
    }
    
    .mount-kenya-silhouette {
        height: 30%;
    }
    
    .cloud {
        display: none; /* Simplify on mobile */
    }
    
    .acacia-tree {
        width: 40px;
        height: 60px;
    }
}

/* ===============================================
   NOTIFICATION PANEL & INTERACTIVE FEATURES
   =============================================== */

/* Notification Panel */
.notification-panel {
    position: relative;
    display: inline-block;
}

.notification-bell {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    position: relative;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.notification-bell:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

.notification-count {
    position: absolute;
    top: 0;
    right: 0;
    background: #e74c3c;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.notification-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    width: 350px;
    max-height: 400px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.notification-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.notification-header {
    padding: 1rem;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.notification-header h3 {
    margin: 0;
    color: #38643A;
    font-size: 1.1rem;
}

.mark-all-read {
    background: none;
    border: none;
    color: #635240;
    font-size: 0.9rem;
    cursor: pointer;
    text-decoration: underline;
}

.notification-item {
    padding: 1rem;
    border-bottom: 1px solid #f5f5f5;
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    transition: background-color 0.2s ease;
}

.notification-item:hover {
    background: #f8f9fa;
}

.notification-item.urgent {
    border-left: 4px solid #e74c3c;
}

.notification-item.warning {
    border-left: 4px solid #f39c12;
}

.notification-item.info {
    border-left: 4px solid #3498db;
}

.notification-icon {
    font-size: 1.2rem;
    margin-top: 0.2rem;
}

.notification-content {
    flex: 1;
}

.notification-title {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.3rem;
}

.notification-message {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.notification-time {
    color: #bdc3c7;
    font-size: 0.8rem;
}

/* Personalized Greeting */
.personalized-greeting {
    background: linear-gradient(135deg, rgba(56, 100, 58, 0.9), rgba(99, 82, 64, 0.8));
    color: white;
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
}

.greeting-message h2 {
    margin: 0 0 0.5rem 0;
    font-size: 1.8rem;
    font-weight: 700;
}

.greeting-message p {
    margin: 0 0 1.5rem 0;
    opacity: 0.9;
}

.daily-kpis {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
}

.kpi-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    backdrop-filter: blur(10px);
}

.kpi-icon {
    font-size: 1.5rem;
    display: block;
    margin-bottom: 0.5rem;
}

.kpi-value {
    font-size: 1.2rem;
    font-weight: 600;
    display: block;
    margin-bottom: 0.3rem;
}

.kpi-label {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* Mount Kenya Watermark */
.mount-kenya-watermark {
    opacity: 0.03;
    transition: opacity 0.3s ease;
}

.mount-kenya-watermark .mountain-silhouette {
    width: 100%;
    height: 100%;
}

/* Interactive Farm Map */
.farm-map-container {
    position: relative;
    background: #f8f9fa;
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
}

.map-section {
    cursor: pointer;
    transition: all 0.3s ease;
}

.map-section:hover {
    filter: brightness(1.1);
    transform: scale(1.02);
}

.map-tooltip {
    font-size: 0.9rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* WhatsApp Integration Button */
.whatsapp-contact {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25D366;
    color: white;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    font-size: 1.8rem;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    z-index: 1000;
    animation: whatsappBounce 3s infinite;
}

.whatsapp-contact:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

@keyframes whatsappBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* Dark Mode Toggle */
.dark-mode-toggle {
    background: none;
    border: 2px solid currentColor;
    color: inherit;
    border-radius: 20px;
    padding: 0.5rem 1rem;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    margin-left: 1rem;
}

.dark-mode-toggle:hover {
    background: currentColor;
    color: white;
}

/* PWA Install Button */
.install-pwa-btn {
    position: fixed;
    top: 100px;
    right: 20px;
    background: linear-gradient(135deg, var(--logo-green), #28a745);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    animation: slideInRight 0.5s ease;
}

.install-pwa-btn:hover {
    background: linear-gradient(135deg, var(--logo-green-dark), #218838);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Dark Mode Styles */
body.dark-mode {
    background: #1a1a1a;
    color: #e0e0e0;
}

body.dark-mode .notification-dropdown {
    background: #2c2c2c;
    color: #e0e0e0;
}

body.dark-mode .notification-item {
    border-bottom-color: #444;
}

body.dark-mode .notification-item:hover {
    background: #333;
}

/* Micro-animations */
.btn:hover,
.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.hero-stats .stat-card {
    animation: cardBounceIn 0.6s ease-out forwards;
    opacity: 0;
    transform: translateY(30px);
}

.hero-stats .stat-card:nth-child(1) { animation-delay: 0.1s; }
.hero-stats .stat-card:nth-child(2) { animation-delay: 0.2s; }
.hero-stats .stat-card:nth-child(3) { animation-delay: 0.3s; }
.hero-stats .stat-card:nth-child(4) { animation-delay: 0.4s; }

@keyframes cardBounceIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile adjustments for new features */
@media (max-width: 768px) {
    .notification-dropdown {
        width: 280px;
        right: -100px;
    }
    
    .daily-kpis {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .personalized-greeting {
        padding: 1.5rem;
    }
    
    .greeting-message h2 {
        font-size: 1.4rem;
    }
    
    .whatsapp-contact {
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
        bottom: 15px;
        right: 15px;
    }
}

/* ===============================================
   MEET THE HERD GALLERY SECTION
   =============================================== */

.meet-the-herd {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.meet-the-herd::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #38643A, #F8F4EA, #635240);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    color: #38643A;
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #635240;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Herd Carousel */
.herd-carousel {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.carousel-container {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
    gap: 2rem;
    padding: 2rem;
}

.champion-card {
    min-width: 300px;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
}

.champion-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.champion-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.champion-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.champion-card:hover .champion-image img {
    transform: scale(1.1);
}

.champion-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #8B4513;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(255, 215, 0, 0.3);
}

.champion-info {
    padding: 1.5rem;
}

.champion-info h3 {
    font-size: 1.4rem;
    color: #38643A;
    margin-bottom: 0.5rem;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.breed {
    color: #635240;
    font-weight: 600;
    margin-bottom: 0.8rem;
    font-size: 1rem;
}

.genetics {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.stats span {
    background: #f8f9fa;
    padding: 0.3rem 0.6rem;
    border-radius: 15px;
    font-size: 0.8rem;
    color: #495057;
    border: 1px solid #dee2e6;
}

.view-details-btn {
    width: 100%;
    background: linear-gradient(135deg, #38643A, #2d4f2d);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.view-details-btn:hover {
    background: linear-gradient(135deg, #2d4f2d, #1e3521);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(56, 100, 58, 0.3);
}

/* Team Card Special Styling */
.team-card {
    background: linear-gradient(135deg, rgba(56, 100, 58, 0.05), rgba(99, 82, 64, 0.05));
    border: 2px solid #38643A;
}

.team-card .champion-badge {
    background: linear-gradient(135deg, #38643A, #2d4f2d);
    color: white;
}

/* Carousel Controls */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(56, 100, 58, 0.9);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-btn:hover {
    background: #38643A;
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
    left: -25px;
}

.carousel-btn.next {
    right: -25px;
}

/* Carousel Indicators */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #dee2e6;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: #38643A;
    transform: scale(1.2);
}

.indicator:hover {
    background: #635240;
}

/* Mobile Herd Gallery */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .carousel-track {
        padding: 1rem;
        gap: 1rem;
    }
    
    .champion-card {
        min-width: 280px;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .carousel-btn.prev {
        left: -20px;
    }
    
    .carousel-btn.next {
        right: -20px;
    }
    
    .champion-image {
        height: 200px;
    }
}

/* ===============================================
   INVESTOR & PARTNER SECTION
   =============================================== */

.investor-section {
    background: linear-gradient(135deg, #38643A, #2d4f2d);
    color: white;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.investor-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M0,50 Q25,30 50,50 T100,50 L100,100 L0,100 Z" fill="rgba(255,255,255,0.05)"/></svg>') no-repeat;
    background-size: cover;
    pointer-events: none;
}

.investor-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.investor-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-family: 'Playfair Display', serif;
    color: #F8F4EA;
}

.investor-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.investor-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

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

.investor-stat .stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #FFD700;
    margin-bottom: 0.5rem;
}

.investor-stat .stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.investor-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
}

.investor-btn {
    padding: 1rem 2rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 200px;
    justify-content: center;
}

.btn-primary.investor-btn {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #8B4513;
    border: none;
}

.btn-primary.investor-btn:hover {
    background: linear-gradient(135deg, #FFA500, #FF8C00);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.btn-secondary.investor-btn {
    background: transparent;
    color: white;
    border: 2px solid #F8F4EA;
}

.btn-secondary.investor-btn:hover {
    background: #F8F4EA;
    color: #38643A;
    transform: translateY(-2px);
}

.btn-tertiary.investor-btn {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-tertiary.investor-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Enhanced WhatsApp & Dark Mode Buttons */
.whatsapp-contact {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25D366;
    color: white;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    font-size: 1.8rem;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    z-index: 1000;
    animation: whatsappBounce 3s infinite;
}

.whatsapp-contact:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

.dark-mode-toggle {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: 2px solid #666;
    border-radius: 25px;
    padding: 0.7rem 1.2rem;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.dark-mode-toggle:hover {
    background: rgba(0, 0, 0, 0.9);
    border-color: white;
    transform: scale(1.05);
}

/* Mobile Investor Section */
@media (max-width: 768px) {
    .investor-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .investor-text h2 {
        font-size: 2rem;
    }
    
    .investor-stats {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1.5rem;
    }
    
    .investor-actions {
        align-items: center;
    }
    
    .investor-btn {
        width: 100%;
        max-width: 250px;
    }
    
    .whatsapp-contact {
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
        bottom: 15px;
        right: 15px;
    }
    
    .dark-mode-toggle {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
        bottom: 15px;
        left: 15px;
    }
}

/* ===============================================
   ENTERPRISE FEATURES STYLING
   =============================================== */

/* Farm Activity Feed */
.activity-feed-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(56, 100, 58, 0.05), rgba(99, 82, 64, 0.03));
}

.activity-feed-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.activity-feed-header h2 {
    color: var(--logo-green);
    margin: 0;
    font-size: 2rem;
}

.activity-controls {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.activity-controls select {
    padding: 0.6rem 1rem;
    border: 2px solid var(--logo-green);
    border-radius: 8px;
    background: white;
    color: var(--text-color);
    font-weight: 500;
}

.btn-secondary {
    padding: 0.6rem 1.2rem;
    background: white;
    color: var(--logo-green);
    border: 2px solid var(--logo-green);
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--logo-green);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(56, 100, 58, 0.3);
}

.activity-feed-container {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    min-height: 400px;
}

.activity-feed {
    max-height: 500px;
    overflow-y: auto;
}

.activity-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

.activity-item:hover {
    background: rgba(56, 100, 58, 0.05);
    transform: translateX(5px);
}

.activity-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.activity-icon.livestock { background: linear-gradient(135deg, #4CAF50, #66BB6A); color: white; }
.activity-icon.health { background: linear-gradient(135deg, #2196F3, #42A5F5); color: white; }
.activity-icon.breeding { background: linear-gradient(135deg, #FF9800, #FFB74D); color: white; }
.activity-icon.sales { background: linear-gradient(135deg, #9C27B0, #BA68C8); color: white; }
.activity-icon.feed { background: linear-gradient(135deg, #FF5722, #FF7043); color: white; }
.activity-icon.maintenance { background: linear-gradient(135deg, #607D8B, #78909C); color: white; }

.activity-content {
    flex: 1;
}

.activity-title {
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.2rem;
}

.activity-description {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.activity-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: #999;
}

.activity-feed-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: #666;
}

.activity-feed-empty .empty-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Financial Dashboard */
.financial-dashboard-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    color: white;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.dashboard-header h2 {
    margin: 0;
    font-size: 2rem;
}

.dashboard-period select {
    padding: 0.6rem 1rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-weight: 500;
}

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

.financial-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.financial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.financial-card .card-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.financial-card h3 {
    margin: 0 0 1rem 0;
    font-size: 1rem;
    opacity: 0.9;
}

.financial-card .amount {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.financial-card .trend {
    font-size: 0.9rem;
    font-weight: 500;
}

.trend.positive { color: #4CAF50; }
.trend.negative { color: #F44336; }

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

.chart-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.chart-container h3 {
    margin: 0 0 1rem 0;
    text-align: center;
}

.chart-container canvas {
    width: 100% !important;
    height: 250px !important;
}

/* Smart Alerts & Recommendations */
.alerts-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(244, 67, 54, 0.05), rgba(255, 193, 7, 0.05));
}

.alerts-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.alerts-header h2 {
    color: var(--logo-green);
    margin: 0;
    font-size: 2rem;
}

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

.alerts-column h3 {
    margin: 0 0 1rem 0;
    padding: 1rem;
    border-radius: 8px 8px 0 0;
    text-align: center;
    color: white;
    font-weight: 600;
}

.alerts-column.urgent h3 { background: linear-gradient(135deg, #F44336, #E53935); }
.alerts-column.upcoming h3 { background: linear-gradient(135deg, #FF9800, #FB8C00); }
.alerts-column.recommendations h3 { background: linear-gradient(135deg, #2196F3, #1976D2); }

.alerts-list {
    background: white;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    min-height: 300px;
    max-height: 400px;
    overflow-y: auto;
}

.alert-item {
    padding: 1rem;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
}

.alert-item:hover {
    background: rgba(0, 0, 0, 0.02);
}

.alert-item:last-child {
    border-bottom: none;
}

.alert-title {
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: var(--text-color);
}

.alert-description {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.alert-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: #999;
}

.alert-priority {
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
    font-weight: 500;
    font-size: 0.7rem;
}

.alert-priority.high { background: #ffebee; color: #c62828; }
.alert-priority.medium { background: #fff3e0; color: #ef6c00; }
.alert-priority.low { background: #e8f5e8; color: #2e7d32; }

/* Digital Notice Board */
.notice-board-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(156, 39, 176, 0.05), rgba(63, 81, 181, 0.05));
}

.notice-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.notice-header h2 {
    color: var(--logo-green);
    margin: 0;
    font-size: 2rem;
}

.notice-filters {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.6rem 1rem;
    border: 2px solid var(--logo-green);
    background: white;
    color: var(--logo-green);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.9rem;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--logo-green);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(56, 100, 58, 0.3);
}

.notices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.notice-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-top: 4px solid;
}

.notice-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.notice-card.announcement { border-top-color: #4CAF50; }
.notice-card.task { border-top-color: #2196F3; }
.notice-card.event { border-top-color: #FF9800; }
.notice-card.alert { border-top-color: #F44336; }

.notice-header-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.notice-title {
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
    flex: 1;
}

.notice-type {
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 500;
    margin-left: 1rem;
}

.notice-type.announcement { background: #e8f5e8; color: #2e7d32; }
.notice-type.task { background: #e3f2fd; color: #1565c0; }
.notice-type.event { background: #fff3e0; color: #ef6c00; }
.notice-type.alert { background: #ffebee; color: #c62828; }

.notice-content {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.notice-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: #999;
    border-top: 1px solid #eee;
    padding-top: 1rem;
}

.notice-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.notice-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--logo-green);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 600;
}

/* Responsive Design for Enterprise Features */
@media (max-width: 768px) {
    .activity-feed-header,
    .dashboard-header,
    .alerts-header,
    .notice-header {
        flex-direction: column;
        text-align: center;
    }
    
    .activity-controls {
        flex-direction: column;
        width: 100%;
    }
    
    .activity-controls select {
        width: 100%;
    }
    
    .financial-grid {
        grid-template-columns: 1fr;
    }
    
    .financial-charts {
        grid-template-columns: 1fr;
    }
    
    .chart-container canvas {
        height: 200px !important;
    }
    
    .alerts-grid {
        grid-template-columns: 1fr;
    }
    
    .notice-filters {
        justify-content: center;
    }
    
    .notices-grid {
        grid-template-columns: 1fr;
    }
    
    .notice-header-content {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .notice-type {
        margin-left: 0;
        align-self: flex-start;
    }
}

/* =============================================
   CUSTOMER TESTIMONIALS SECTION
   ============================================= */

.testimonials-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #e8f4f8 100%);
    padding: 80px 0;
    margin: 40px 0;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1" fill="%23e0e0e0" opacity="0.3"/><circle cx="80" cy="40" r="1" fill="%23e0e0e0" opacity="0.2"/><circle cx="40" cy="80" r="1" fill="%23e0e0e0" opacity="0.25"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.1;
    pointer-events: none;
}

.testimonials-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
}

.testimonials-header h2 {
    font-size: 2.5rem;
    color: #2c5530;
    margin-bottom: 15px;
    font-weight: 700;
}

.testimonials-header p {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.testimonials-carousel {
    position: relative;
    overflow: hidden;
    margin-bottom: 40px;
}

.testimonials-grid {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 20px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.testimonials-grid::-webkit-scrollbar {
    display: none;
}

.testimonial-card {
    flex: 0 0 300px;
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border-color: #2c5530;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 60px;
    color: #2c5530;
    font-family: serif;
    opacity: 0.3;
}

.customer-info {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.customer-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    border: 3px solid #2c5530;
}

.customer-details h4 {
    color: #2c5530;
    font-weight: 600;
    margin-bottom: 5px;
}

.customer-location {
    color: #666;
    font-size: 0.9rem;
}

.testimonial-rating {
    display: flex;
    gap: 3px;
    margin-bottom: 15px;
}

.star {
    color: #ffc107;
    font-size: 18px;
}

.testimonial-text {
    color: #444;
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.purchase-info {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 15px;
}

.purchase-info small {
    color: #666;
    display: block;
    margin-bottom: 5px;
}

.purchase-info strong {
    color: #2c5530;
}

.business-impact {
    background: linear-gradient(135deg, #e8f5e8 0%, #f0f8f0 100%);
    padding: 15px;
    border-radius: 10px;
    border-left: 4px solid #2c5530;
}

.business-impact strong {
    color: #2c5530;
    display: block;
    margin-bottom: 5px;
}

.video-testimonial-btn {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
}

.video-testimonial-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(238, 90, 36, 0.4);
}

.testimonials-navigation {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.nav-btn {
    background: #2c5530;
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-btn:hover {
    background: #1e3a21;
    transform: scale(1.1);
}

.testimonials-cta {
    text-align: center;
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
    z-index: 2;
}

.testimonials-cta h3 {
    color: #2c5530;
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.testimonials-cta p {
    color: #666;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.write-review-btn {
    background: linear-gradient(135deg, #2c5530 0%, #3d7349 100%);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.write-review-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(44, 85, 48, 0.3);
}

/* Review Modal Styles */
.review-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    overflow-y: auto;
}

.review-modal-content {
    background: white;
    margin: 2% auto;
    padding: 40px;
    width: 90%;
    max-width: 700px;
    border-radius: 15px;
    position: relative;
    max-height: 95vh;
    overflow-y: auto;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 30px;
    color: #999;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
}

.close-modal:hover {
    color: #2c5530;
}

.modal-header {
    text-align: center;
    margin-bottom: 30px;
}

.modal-header h3 {
    color: #2c5530;
    margin-bottom: 10px;
    font-size: 2rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

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

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    color: #2c5530;
    font-weight: 600;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #2c5530;
    box-shadow: 0 0 0 3px rgba(44, 85, 48, 0.1);
}

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

.rating-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.rating-section h4 {
    color: #2c5530;
    margin-bottom: 15px;
}

.rating-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.rating-group:last-child {
    margin-bottom: 0;
}

.star-rating {
    display: flex;
    gap: 5px;
}

.star-rating .star {
    font-size: 24px;
    color: #ddd;
    cursor: pointer;
    transition: color 0.2s ease;
}

.star-rating .star:hover,
.star-rating .star.hover {
    color: #ffc107;
}

.star-rating .star.active {
    color: #ffc107;
}

.checkbox-group {
    background: #f0f8f0;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.checkbox-group h4 {
    color: #2c5530;
    margin-bottom: 15px;
}

.checkbox-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
}

.checkbox-item input[type="checkbox"] {
    margin-right: 10px;
    margin-top: 3px;
}

.submit-review-btn {
    background: linear-gradient(135deg, #2c5530 0%, #3d7349 100%);
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
}

.submit-review-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(44, 85, 48, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .testimonials-header h2 {
        font-size: 2rem;
    }
    
    .testimonial-card {
        flex: 0 0 280px;
        padding: 20px;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .review-modal-content {
        margin: 5% auto;
        padding: 20px;
        width: 95%;
    }
    
    .rating-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .testimonials-section {
        padding: 40px 0;
        margin: 20px 0;
    }
    
    .testimonial-card {
        flex: 0 0 260px;
        padding: 15px;
    }
    
    .customer-photo {
        width: 50px;
        height: 50px;
    }
    
    .testimonials-header h2 {
        font-size: 1.8rem;
    }
    
    .testimonials-header p {
        font-size: 1rem;
    }
}
