/* Smart Greenhouse IoT Sensors Startup - Main CSS */

:root {
  /* Pastel high-contrast color palette - 5 primary colors */
  --primary-green: #a8ddac;
  --primary-blue: #85c7ed;
  --primary-orange: #edac4c;
  --primary-purple: #e698ef;
  --primary-yellow: #dbcb7a;
  
  /* Light shades */
  --light-green: #cce3ca;
  --light-blue: #c7dde6;
  --light-orange: #fce6bf;
  --light-purple: #eaeaea;
  --light-yellow: #e2d4ac;
  
  /* Dark shades */
  --dark-green: #6ca66d;
  --dark-blue: #71a2cd;
  --dark-orange: #ea742c;
  --dark-purple: #ad6cb5;
  --dark-yellow: #c2a448;
  
  /* Neutral colors */
  --white: #ffffff;
  --light-gray: #f8f9fa;
  --gray: #82888e;
  --dark-gray: #282d32;
  --black: #000000;
  
  /* Conservative font sizes */
  --font-size-small: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-h6: 1rem;
  --font-size-h5: 1.125rem;
  --font-size-h4: 1.25rem;
  --font-size-h3: 1.375rem;
  --font-size-h2: 1.5rem;
  --font-size-h1: 1.75rem;
  --navbar-brand-size: 1.125rem;
}

/* Reset and base styles */
* {
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--dark-gray);
  background-color: var(--white);
}

/* Typography - Conservative sizes */
.navbar-brand {
    font-size: 10px !important;
  font-size: var(--navbar-brand-size) !important;
  font-weight: 600;
  color: var(--primary-green);
}

h1 {
  font-size: var(--font-size-h1);
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--dark-gray);
}

h2 {
  font-size: var(--font-size-h2);
  font-weight: 600;
  margin-bottom: 0.95rem;
  color: var(--dark-gray);
}

h3 {
  font-size: var(--font-size-h3);
  font-weight: 600;
  margin-bottom: 0.82rem;
  color: var(--dark-gray);
}

h4 {
  font-size: var(--font-size-h4);
  font-weight: 500;
  margin-bottom: 0.72rem;
  color: var(--dark-gray);
}

h5 {
  font-size: var(--font-size-h5);
  font-weight: 500;
  margin-bottom: 0.57rem;
  color: var(--dark-gray);
}

h6 {
  font-size: var(--font-size-h6);
  font-weight: 500;
  margin-bottom: 0.66rem;
  color: var(--dark-gray);
}

p {
  font-size: var(--font-size-base);
  margin-bottom: 1rem;
  line-height: 1.6;
}

/* Header & Navigation */
.navbar {
  background-color: var(--white);
  box-shadow: 0 7px 11px rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
}

.navbar-nav .nav-link {
    font-size: 10px !important;
  color: var(--dark-gray);
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-green);
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--light-green) 0%, var(--light-blue) 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  z-index: 1;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
    padding-top: 17110px;
}

/* Section spacing */
.section {
  padding: 5rem 0;
}

.section-alt {
  background-color: var(--light-gray);
}

/* Service items */
.service-card {
  background: var(--white);
  border-radius: 19px;
  padding: 2rem;
  box-shadow: 0 9px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  border: 4px solid transparent;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  border-color: var(--primary-green);
}

.service-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-green);
  margin-top: 1rem;
}

/* Feature items */
.feature-card {
  text-align: center;
  padding: 2rem;
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-icon {
  font-size: 3rem;
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

/* Team cards */
.team-card {
  background: var(--white);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.team-card:hover {
  transform: translateY(-5px);
}

.team-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  border: 4px solid var(--primary-green);
}

/* Review cards - Static Bootstrap cards only */
.review-card {
  background: var(--white);
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.06);
  height: 100%;
  border-left: 4px solid var(--primary-orange);
}

/* FAQ cards - Static cards only, NO accordion */
.faq-card {
  background: var(--white);
  border-radius: 10px;
  padding: 2rem;
  margin-bottom: 1.63rem;
  box-shadow: 0 7px 15px rgba(0, 0, 0, 0.06);
  border-left: 4px solid var(--primary-purple);
}

.faq-question {
  font-weight: 600;
  color: var(--dark-gray);
  margin-bottom: 0.92rem;
}

.faq-answer {
  color: var(--gray);
  margin-bottom: 0;
}

/* Price plan cards */
.price-card {
  background: var(--white);
  border-radius: 15px;
  padding: 2.5rem;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  height: 100%;
  position: relative;
}

.price-card:hover {
  transform: translateY(-5px);
}

.price-card.featured {
  border: 4px solid var(--primary-orange);
  transform: scale(1.05);
}

.price-amount {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-green);
  margin: 1rem 0;
}

/* Contact form */
.contact-form {
  background: var(--white);
  border-radius: 15px;
  padding: 3rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-control {
  border: 2px solid var(--light-gray);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-green);
  box-shadow: 0 0 0 0.2rem rgba(196, 250, 186, 0.25);
}

.btn-primary {
  background-color: var(--primary-green);
  border-color: var(--primary-green);
  border-radius: 8px;
  padding: 0.75rem 2rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--dark-green);
  border-color: var(--dark-green);
  transform: translateY(-2px);
}

/* Gallery */
.gallery-item {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.03);
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* Footer */
.footer {
  background-color: var(--dark-gray);
  color: var(--white);
  padding: 3rem 0 2rem;
}

.footer h5 {
  color: var(--primary-green);
  margin-bottom: 1rem;
}

.footer a {
  color: var(--light-gray);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--primary-green);
}

/* Blog cards */
.blog-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card-body {
  padding: 1.5rem;
}

/* Process/Timeline items */
.process-item, .timeline-item {
  background: var(--white);
  border-radius: 10px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
  border-left: 4px solid var(--primary-yellow);
}

/* Career items */
.career-item {
  background: var(--white);
  border-radius: 10px;
  padding: 2rem;
  margin-bottom: 1.71rem;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.06);
  border-left: 4px solid var(--primary-blue);
}

/* Core info items */
.coreinfo-item {
  background: var(--white);
  border-radius: 10px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease;
}

.coreinfo-item:hover {
  transform: translateY(-3px);
}

/* Case study cards */
.casestudy-card {
  background: var(--white);
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  height: 100%;
}

.casestudy-card:hover {
  transform: translateY(-5px);
}

/* Utility classes */
.text-primary-green {
  color: var(--primary-green);
}

.text-primary-blue {
  color: var(--primary-blue);
}

.text-primary-orange {
  color: var(--primary-orange);
}

.bg-light-green {
  background-color: var(--light-green);
}

.bg-light-blue {
  background-color: var(--light-blue);
}

/* Breadcrumb styling */
.breadcrumb {
  background: transparent;
  padding: 1rem 0;
}

.breadcrumb img {
  height: 20px;
  width: auto;
}

/* Contact feature cards (for additional_page3.html) */
.contact-feature-card {
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease;
}

.contact-feature-card:hover {
  transform: translateY(-3px);
}

/* Social links styling */
.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--primary-green);
  color: var(--white);
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1.24rem;
}

.social-links a:hover {
  background-color: var(--dark-green);
  color: var(--white);
  transform: translateY(-2px);
}

/* Navbar scroll behavior */
.navbar-scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

/* Form validation styles */
.form-control.is-invalid {
  border-color: #d22846;
  background-color: #fff5f5;
}

.form-control.is-invalid:focus {
  border-color: #e03762;
  box-shadow: 0 0 0 0.2rem rgba(240, 59, 72, 0.25);
}

.is-invalid + .invalid-feedback {
  display: block;
  width: 100%;
  margin-top: 0.30rem;
  font-size: 0.97rem;
  color: #df2d28;
}

/* Contact info styling improvements */
.contact-info {
  background: var(--light-gray);
  border-radius: 10px;
  padding: 2rem;
}

.contact-info h5 {
  color: var(--primary-green);
  margin-bottom: 1rem;
  font-weight: 600;
}

.contact-info p {
  margin-bottom: 0.57rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-info i {
  color: var(--primary-green);
  width: 20px;
  text-align: center;
}

/* Scroll to top button */
.scroll-to-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--primary-green);
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 1.30rem;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(167, 208, 158, 0.40);
  z-index: 1000;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scroll-to-top-btn.show {
  opacity: 1;
  transform: translateY(0);
}

.scroll-to-top-btn:hover {
  background-color: var(--dark-green);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(155, 238, 148, 0.60);
}

/* Loading states */
.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn .fa-spinner {
  margin-right: 0.5rem;
}

/* Enhanced focus states for accessibility */
.btn:focus,
.form-control:focus,
.nav-link:focus {
  outline: 2px solid var(--primary-green);
  outline-offset: 2px;
}

/* Skip navigation link for accessibility */
.skip-nav {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--primary-green);
  color: var(--white);
  padding: 8px;
  text-decoration: none;
  border-radius: 4px;
  z-index: 10000;
  transition: top 0.2s ease;
}

.skip-nav:focus {
  top: 6px;
  color: var(--white);
}

/* Performance optimization classes */
.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Improved button states */
.btn {
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

/* Accessibility - Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
} 


/* Team Social Links - Minimal Style */
.team-social-links {
    margin-top: 16px;
    padding: 10px 0;
}

.social-icons-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 40px;
    height: 40px;
    border-radius: 20px;
    align-items: center;
    justify-content: center;
    color: #666;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 2px solid #e0e0e0;
    background: white;
}

.social-link:hover {
    transform: translateY(-1px);
    color: white;
}

.facebook-link:hover {
    background: #1877f2;
    border-color: #1877f2;
    color: white;
}

.linkedin-link:hover {
    background: #0a66c2;
    border-color: #0a66c2;
    color: white;
}

.x-link {
    position: relative;
}

.x-link::after {
    content: '𝕏';
    font-weight: bold;
    font-size: 18px;
    color: inherit;
}

.x-link:hover {
    background: #000000;
    border-color: #000000;
    color: white;
}

.x-link:hover::after {
    color: white;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 15px;
    }
    
    .social-link {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
}
