/* IoT Plant Care - Main CSS */
/* Color Palette - 5 Primary Colors + Shades */
:root {
    /* Primary Colors */
    --primary-green: #1c3c12;
    --secondary-mint: #c7efc4;
    --accent-sage: #86b671;
    --neutral-earth: #a37c57;
    --highlight-sky: #c0d1f4;
    
    /* Light Shades */
    --light-green: #fbfdfb;
    --light-mint: #F0FFF0;
    --light-sage: #F5F8F0;
    --light-earth: #F8F6F3;
    --light-sky: #F0F8FF;
    
    /* Dark Shades */
    --dark-green: #0e1c05;
    --dark-mint: #97d195;
    --dark-sage: #6d9252;
    --dark-earth: #776453;
    --dark-sky: #9eb5cf;
    
    /* Conservative Font Sizes */
    --font-size-base: 16px;
    --font-size-small: 14px;
    --font-size-large: 18px;
    --font-size-h1: 2.2rem;
    --font-size-h2: 1.8rem;
    --font-size-h3: 1.5rem;
    --font-size-h4: 1.3rem;
    --font-size-h5: 1.1rem;
    --font-size-h6: 1rem;
    --font-brand: 1.4rem;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 120px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--dark-green);
    background-color: var(--light-mint);
    overflow-x: hidden;
}

/* Additional body styling for better layout */
body.loaded {
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}

body.loading {
    opacity: 0.9;
}

/* Prefers Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Typography */
h1 { font-size: var(--font-size-h1); font-weight: 700; color: var(--primary-green); }
h2 { font-size: var(--font-size-h2); font-weight: 600; color: var(--primary-green); }
h3 { font-size: var(--font-size-h3); font-weight: 500; color: var(--accent-sage); }
h4 { font-size: var(--font-size-h4); font-weight: 500; color: var(--primary-green); }
h5 { font-size: var(--font-size-h5); font-weight: 500; color: var(--primary-green); }
h6 { font-size: var(--font-size-h6); font-weight: 500; color: var(--primary-green); }

p {
    margin-bottom: 1rem;
    color: var(--neutral-earth);
}

/* Header */
.header-section {
    background: linear-gradient(135deg, var(--primary-green), var(--accent-sage));
    box-shadow: 0 3px 14px rgba(31, 64, 13, 0.10);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: transform 0.3s ease-in-out, background 0.3s ease;
}

.header-section.hidden {
    transform: translateY(-100%);
}

/* Navbar improvements */
.navbar {
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar.scrolled {
    padding: 0.5rem 0;
    background: rgba(28, 60, 18, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(28, 60, 18, 0.3);
}

.navbar-brand {
    font-size: var(--font-brand) !important;
    font-weight: 700;
    color: var(--light-mint) !important;
    transition: all 0.3s ease;
}

/* Navigation link improvements */
.navbar-nav .nav-link {
    color: var(--light-mint) !important;
    font-weight: 500;
    margin: 0 13px;
    padding: 0.5rem 1rem !important;
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: var(--secondary-mint) !important;
    background: rgba(199, 239, 196, 0.1);
    transform: translateY(-1px);
}

.navbar-nav .nav-link.active {
    background: rgba(199, 239, 196, 0.2);
    color: var(--secondary-mint) !important;
}

/* Mobile navbar improvements */
.navbar-toggler {
    border: none;
    padding: 0.5rem;
    transition: all 0.3s ease;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(199, 239, 196, 0.25);
}

.navbar-collapse {
    transition: all 0.3s ease;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--light-sage), var(--light-sky));
    padding-top: 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content h1 {
    padding-top: 50px !important;
    margin-bottom: 1rem;
    color: var(--primary-green);
}

.hero-content h2 {
    color: var(--accent-sage);
    margin-bottom: 1.56rem;
}

.hero-content p {
    font-size: var(--font-size-large);
    color: var(--neutral-earth);
    max-width: 500px;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 17px;
    box-shadow: 0 12px 30px rgba(26, 68, 12, 0.15);
}

/* Section Styling */
section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    z-index: -1;
}

.about-section {
    background: var(--light-mint);
}

.feature-box {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 17px;
    box-shadow: 0 7px 20px rgba(30, 68, 17, 0.10);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.feature-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(38, 91, 18, 0.15);
}

.feature-icon {
    font-size: 3rem;
    color: var(--accent-sage);
    margin-bottom: 20px;
}

/* Services Section */
.services-section {
    background: var(--light-earth);
}

.service-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 9px 20px rgba(132, 107, 82, 0.10);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-14px);
    box-shadow: 0 10px 30px rgba(135, 111, 80, 0.15);
}

.service-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
}

.price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-top: 20px;
}

/* Features Section */
.features-section {
    background: var(--light-sky);
}

.feature-item {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 9px 20px rgba(215, 239, 255, 0.10);
    transition: transform 0.3s ease;
    height: 100%;
}

.feature-item:hover {
    transform: translateY(-9px);
}

/* Price Plan Section */
.priceplan-section {
    background: var(--light-sage);
}

.price-card {
    background: white;
    border-radius: 110px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 9px 20px rgba(120, 173, 93, 0.10);
    transition: transform 0.3s ease;
    height: 100%;
}

.price-card.featured {
    border: 3px solid var(--accent-sage);
    transform: scale(1.05);
}

.price-card:hover {
    transform: translateY(-7px);
}

.price-card.featured:hover {
    transform: scale(1.05) translateY(-9px);
}

.price-card ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.price-card li {
    padding: 8px 0;
    color: var(--neutral-earth);
}

/* Team Section */
.team-section {
    background: var(--light-mint);
}

.team-member {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 110px;
    box-shadow: 0 5px 20px rgba(176, 234, 169, 0.10);
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
}

.team-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 4px solid var(--secondary-mint);
}

/* Reviews Section */
.reviews-section {
    background: var(--light-earth);
}

.review-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(139, 119, 80, 0.10);
    transition: transform 0.3s ease;
    height: 100%;
}

.review-card:hover {
    transform: translateY(-5px);
}

.review-card p {
    font-style: italic;
    margin-bottom: 15px;
    color: var(--neutral-earth);
}

.review-card h5 {
    color: var(--primary-green);
    font-weight: 600;
}

/* Case Study Section */
.casestudy-section {
    background: var(--light-sky);
}

.case-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(165, 216, 243, 0.10);
    transition: transform 0.3s ease;
    height: 100%;
}

.case-card:hover {
    transform: translateY(-5px);
}

/* Process Section */
.process-section {
    background: var(--light-sage);
}

.process-step {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(124, 160, 95, 0.10);
    transition: transform 0.3s ease;
    height: 100%;
}

.process-step:hover {
    transform: translateY(-5px);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--accent-sage);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.60rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

/* Timeline Section */
.timeline-section {
    background: var(--light-mint);
}

.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--accent-sage);
    transform: translateX(-50%);
}

.timeline-item {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin: 20px 0;
    box-shadow: 0 5px 20px rgba(182, 219, 176, 0.10);
    position: relative;
    width: 45%;
}

.timeline-item:nth-child(odd) {
    margin-left: 0;
}

.timeline-item:nth-child(even) {
    margin-left: 55%;
}

.timeline-item::before {
    content: '';
    position: absolute;
    width: 15px;
    height: 15px;
    background: var(--accent-sage);
    border-radius: 50%;
    top: 30px;
}

.timeline-item:nth-child(odd)::before {
    right: -35px;
}

.timeline-item:nth-child(even)::before {
    left: -35px;
}

/* Career Section */
.career-section {
    background: var(--light-earth);
}

.job-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(143, 102, 74, 0.10);
    transition: transform 0.3s ease;
    height: 100%;
}

.job-card:hover {
    transform: translateY(-5px);
}

.job-card span {
    background: var(--accent-sage);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: var(--font-size-small);
    display: inline-block;
    margin-top: 15px;
}

/* Core Info Section */
.coreinfo-section {
    background: var(--light-sky);
}

.info-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(172, 203, 251, 0.10);
    transition: transform 0.3s ease;
    height: 100%;
}

.info-card:hover {
    transform: translateY(-5px);
}

/* Blog Section */
.blog-section {
    background: var(--light-sage);
}

.blog-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(121, 160, 95, 0.10);
    transition: transform 0.3s ease;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-card a {
    color: var(--accent-sage);
    text-decoration: none;
    font-weight: 600;
}

.blog-card a:hover {
    color: var(--primary-green);
}

/* FAQ Section */
.faq-section {
    background: var(--light-mint);
}

.faq-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 5px 20px rgba(151, 223, 158, 0.10);
    transition: transform 0.3s ease;
}

.faq-card:hover {
    transform: translateY(-2px);
}

.faq-card h5 {
    color: var(--primary-green);
    margin-bottom: 10px;
}

/* Gallery Section */
.gallery-section {
    background: var(--light-earth);
    padding: 60px 0;
}

.gallery-image {
    border-radius: 10px;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.gallery-image:hover {
    transform: scale(1.05);
}

/* Contact Section */
.contact-section {
    background: var(--light-sky);
}

.contact-form {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(210, 233, 255, 0.15);
}

.form-control {
    border: 2px solid var(--secondary-mint);
    border-radius: 10px;
    padding: 12px 15px;
    font-size: var(--font-size-base);
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
    background-color: var(--light-mint);
}

.form-control:focus {
    border-color: var(--accent-sage);
    box-shadow: 0 0 0 0.2rem rgba(142, 170, 110, 0.25);
    transform: translateY(-1px);
    background-color: white;
}

.form-control::placeholder {
    color: var(--neutral-earth);
    opacity: 0.7;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-green), var(--accent-sage));
    border: none;
    border-radius: 25px;
    padding: 12px 30px;
    font-weight: 600;
    font-size: var(--font-size-base);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(47, 97, 31, 0.30);
    background: linear-gradient(135deg, var(--dark-green), var(--primary-green));
}

.contact-info {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(188, 211, 241, 0.10);
}

.contact-info p {
    margin-bottom: 10px;
    color: var(--neutral-earth);
    font-weight: 500;
}

/* Footer */
.footer-section {
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    color: var(--light-mint);
    padding: 60px 0 30px;
}

.footer-section h5,
.footer-section h6 {
    color: var(--secondary-mint);
    margin-bottom: 20px;
}

.footer-section p {
    color: var(--light-sage);
    margin-bottom: 10px;
}

.footer-section a {
    color: var(--light-sage);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--secondary-mint);
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 8px;
}

/* Utility Classes */
.text-center { text-align: center; }
.mb-5 { margin-bottom: 3rem; }
.mb-4 { margin-bottom: 1.68rem; }
.mb-3 { margin-bottom: 1rem; }
.mt-5 { margin-top: 3rem; }

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Gradients */
.gradient-bg-1 {
    background: linear-gradient(135deg, var(--primary-green), var(--accent-sage));
}

.gradient-bg-2 {
    background: linear-gradient(135deg, var(--secondary-mint), var(--highlight-sky));
}

.gradient-bg-3 {
    background: linear-gradient(135deg, var(--light-sage), var(--light-sky));
}

/* Breadcrumb Navigation */
.breadcrumb-nav {
    background: var(--light-sage);
    padding: 10px 0;
    position: fixed;
    top: 80px;
    width: 100%;
    z-index: 999;
    box-shadow: 0 4px 3px rgba(0,0,0,0.1);
}

.breadcrumb {
    background: none;
    margin: 0;
    padding: 0;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-item img {
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.breadcrumb-item img:hover {
    opacity: 1;
}

/* Additional Page Styling */
.page-section {
    padding: 80px 0;
}

.tech-item, .connectivity-item, .analytics-item, .app-feature, .cloud-feature,
.solution-item, .greenhouse-item, .hydro-item, .outdoor-item, .research-item {
    background: white;
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(34, 59, 16, 0.10);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    margin-bottom: 20px;
}

.tech-item:hover, .connectivity-item:hover, .analytics-item:hover, 
.app-feature:hover, .cloud-feature:hover, .solution-item:hover, 
.greenhouse-item:hover, .hydro-item:hover, .outdoor-item:hover, 
.research-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(51, 101, 27, 0.15);
}

.tech-item h5, .connectivity-item h5, .analytics-item h5, 
.app-feature h5, .cloud-feature h5, .solution-item h5, 
.greenhouse-item h5, .hydro-item h5, .outdoor-item h5, 
.research-item h5 {
    color: var(--primary-green);
    margin-bottom: 15px;
    font-size: var(--font-size-h5);
}

.tech-item p, .connectivity-item p, .analytics-item p, 
.app-feature p, .cloud-feature p, .solution-item p, 
.greenhouse-item p, .hydro-item p, .outdoor-item p, 
.research-item p {
    color: var(--neutral-earth);
    font-size: var(--font-size-small);
}

/* Focus states for accessibility */
button:focus, input:focus, textarea:focus, select:focus, a:focus {
    outline: 2px solid var(--accent-sage);
    outline-offset: 2px;
}

/* Loading states */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid var(--accent-sage);
    border-top-color: transparent;
    border-radius: 50%;
    animation: loading-spin 1s linear infinite;
}

@keyframes loading-spin {
    to {
        transform: rotate(360deg);
    }
}

/* High Contrast Text */
.high-contrast {
    color: var(--dark-green);
    font-weight: 600;
}

.high-contrast-light {
    color: var(--light-mint);
    font-weight: 600;
} 


/* Team Social Links - Elegant Style */
.team-social-links {
    margin-top: 24px;
    padding: 18px 0;
}

.social-icons-grid {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 17px;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
    color: white;
}

.facebook-link {
    background: rgba(24, 119, 242, 0.9);
}

.facebook-link:hover {
    background: rgba(24, 119, 242, 1);
    box-shadow: 0 8px 30px rgba(24, 119, 242, 0.4);
}

.linkedin-link {
    background: rgba(10, 102, 194, 0.9);
}

.linkedin-link:hover {
    background: rgba(10, 102, 194, 1);
    box-shadow: 0 8px 30px rgba(10, 102, 194, 0.4);
}

.x-link {
    background: rgba(0, 0, 0, 0.9);
    position: relative;
}

.x-link::after {
    content: '𝕏';
    font-weight: bold;
    font-size: 19px;
    z-index: 2;
    position: relative;
}

.x-link:hover {
    background: rgba(0, 0, 0, 1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 12px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 15px;
    }
}

/* Enhanced link and button styling */
a {
    color: var(--accent-sage);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-green);
}

/* Enhanced button styles */
.btn {
    border-radius: 25px;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

/* Enhanced form styling */
.form-control {
    border: 2px solid var(--secondary-mint);
    border-radius: 10px;
    padding: 12px 15px;
    font-size: var(--font-size-base);
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
    background-color: var(--light-mint);
}

.form-control:focus {
    border-color: var(--accent-sage);
    box-shadow: 0 0 0 0.2rem rgba(142, 170, 110, 0.25);
    transform: translateY(-1px);
    background-color: white;
}

.form-control::placeholder {
    color: var(--neutral-earth);
    opacity: 0.7;
}

/* Enhanced animations */
.updated {
    animation: pulse 0.5s ease-in-out;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Improved focus states */
.form-check-input:focus {
    border-color: var(--accent-sage);
    box-shadow: 0 0 0 0.2rem rgba(142, 170, 110, 0.25);
}

/* Enhanced card hover effects */
.feature-box, .service-card, .review-card, .case-card, 
.process-step, .job-card, .info-card, .faq-card,
.price-card, .team-member {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Loading state improvements */
.contact-form.loading {
    pointer-events: none;
    opacity: 0.7;
}

.contact-form.loading .btn-primary {
    background: var(--neutral-earth);
    cursor: not-allowed;
}

/* Responsive improvements */
@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    
    .hero-section {
        min-height: 80vh;
    }
}
