/* ===============================================
   CROP NUTRITION MONITORING PAGE
   Premium Glassmorphic Design
   =============================================== */

   :root {
    --primary-blue: #2471ff;
    --dark-blue: #0e2041;
    --light-blue: #6984b6;
    --glass-light: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --text-white: #ffffff;
    --text-light: rgba(255, 255, 255, 0.85);
    --shadow-soft: 0 15px 45px rgba(0, 0, 0, 0.25);
    --shadow-strong: 0 25px 60px rgba(0, 0, 0, 0.4);
  }
  
  /* ================= GLOBAL STYLES ================= */
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Sora', sans-serif;
    color: var(--text-white);
    overflow-x: hidden;
    background: linear-gradient(135deg, #000000, #0e2041);
  }
  
  /* ================= HERO SECTION ================= */
  
  .nutrition-hero-section {
    position: relative;
    min-height: 60vh;
    padding-top: 160px;
    padding-bottom: 80px;
    background: 
      linear-gradient(to right, rgba(5,10,7,0.85), rgba(5,10,7,0.25)),
      url('https://images.unsplash.com/photo-1625246333195-78d9c38ad449?w=1600') 
      center/cover no-repeat;
    background-attachment: fixed;
    display: flex;
    align-items: center;
  }
  
  .nutrition-hero-content h1 {
    font-size: 64px;
    font-weight: 600;
    letter-spacing: 2px;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-white);
  }
  
  .hero-subtitle {
    font-size: 32px;
    font-weight: 300;
    color: var(--primary-blue);
    letter-spacing: 1px;
  }
  
  /* ================= INTRO SECTION ================= */
  
  .nutrition-intro-section {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, #000000, #0e2041);
    border-top: 4px solid #2471ff;
    border-bottom: 4px solid #2471ff;
  }
  
  .intro-title {
    font-size: 42px;
    font-weight: 600;
    color: #2471ff;
    margin-bottom: 30px;
    text-align: center;
  }
  
  .intro-description {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-light);
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
  }
  
  /* ================= FEATURES GRID SECTION ================= */
  
  .nutrition-features-grid-section {
    position: relative;
    padding: 120px 0;
    background-image: url('https://images.unsplash.com/photo-1574943320219-553eb213f72d?w=1600');
    background-position: center;
    background-size: cover;
    overflow: hidden;
    border-bottom: 3px solid #3370dc;
  }
  
  /* Overlay */
  .nutrition-features-grid-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
      135deg,
      rgba(0, 0, 0, 0.85),
      rgba(14, 32, 65, 0.85)
    );
    z-index: 1;
  }
  
  /* Content above overlay */
  .nutrition-features-grid-section > * {
    position: relative;
    z-index: 2;
  }
  
  /* Feature Cards */
  .feature-card-nutrition {
    height: 100%;
    padding: 50px 35px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06));
    backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s ease;
    text-align: center;
  }
  
  .feature-card-nutrition:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-strong);
    background: linear-gradient(135deg, rgba(36, 113, 255, 0.25), rgba(36, 113, 255, 0.15));
    border-color: rgba(36, 113, 255, 0.4);
  }
  
  .feature-icon-box {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(36, 113, 255, 0.3), rgba(36, 113, 255, 0.15));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    border: 1px solid rgba(36, 113, 255, 0.4);
  }
  
  .feature-icon-box i {
    font-size: 36px;
    color: var(--primary-blue);
  }
  
  .feature-card-nutrition h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 18px;
  }
  
  .feature-card-nutrition p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 0;
  }
  
  /* ================= BENEFITS SECTION (SIDE-BY-SIDE LAYOUT) ================= */
  .nutrition-benefits-section {
    width: 100%;
  }

  .benefit-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #fff;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    margin-bottom: 20px;
  }
  
  .benefit-tag i {
    color: #4DD0E1;
  }
  
  /* Hover effect on tags */
  .benefit-tag:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
  }
  
  /* Buttons */
  .benefit-btn {
    display: inline-block;
    padding: 10px 25px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 50px;
    background: #4DD0E1;
    color: #0e2041;
    text-decoration: none;
    transition: all 0.3s ease;
  }
  
  .benefit-btn:hover {
    background: #2171ff;
    color: #fff;
    transform: translateY(-2px);
  }
  
  
  /* Image Column */
  .benefit-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  /* Content Column */
  .benefit-content {
    background-color: #152845;
    color: #fff;
    display: flex;
    align-items: center;
  }
  
  .benefit-inner {
    padding: 4rem;
    max-width: 600px;
  }
  
  .benefit-inner h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
  }
  
  .benefit-inner p {
    font-size: 1rem;
    color: #CFD8E3;
    line-height: 1.6;
  }
  
  /* Alternate rows */
  .benefit-row.reverse .benefit-image {
    order: 2;
  }
  .benefit-row.reverse .benefit-content {
    order: 1;
  }
  
  /* Responsive */
  @media (max-width: 991px) {
    .benefit-inner {
      padding: 2.5rem;
    }
    .benefit-inner h2 {
      font-size: 1.8rem;
    }
  }
  
  
  /* ================= RESEARCH SECTION ================= */
  
  .nutrition-research-section {
    position: relative;
    padding: 140px 0;
    background-image: url('https://images.unsplash.com/photo-1530836369250-ef72a3f5cda8?w=1600');
    background-size: cover;
    background-position: center;
    overflow: hidden;
    border-top: 4px solid #2471ff;
    border-bottom: 4px solid #2471ff;
  }
  
  /* Overlay */
  .research-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
      135deg,
      rgba(3, 7, 18, 0.9),
      rgba(14, 32, 65, 0.9)
    );
    z-index: 1;
  }
  
  /* Content */
  .research-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    text-align: left;
  }
  
  .research-content h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 24px;
    color: #ffffff;
  }
  
  .research-content p {
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 18px;
  }
  
  .research-content strong {
    color: #2471ff;
    font-weight: 600;
  }
  
  /* ================= CONTACT SECTION ================= */
  
  .nutrition-contact-section {
    padding: 140px 0;
    background: linear-gradient(135deg, #000000, #0e2041);
  }
  
  .section-title {
    font-size: 42px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-white);
    margin-bottom: 30px;
  }
  
  .section-description {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 60px;
  }
  
  /* Contact Form */
  .contact-form-container {
    padding: 50px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06));
    backdrop-filter: blur(22px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 24px;
    box-shadow: var(--shadow-strong);
  }
  
  .form-group-custom {
    margin-bottom: 25px;
  }
  
  .form-group-custom label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-light);
    margin-bottom: 10px;
    letter-spacing: 0.5px;
  }
  
  .form-control-custom {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: var(--text-white);
    font-size: 14px;
    transition: all 0.3s ease;
    font-family: 'Sora', sans-serif;
  }
  
  .form-control-custom:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(36, 113, 255, 0.15);
  }
  
  .form-control-custom::placeholder {
    color: rgba(255, 255, 255, 0.4);
  }
  
  textarea.form-control-custom {
    resize: vertical;
    min-height: 120px;
  }
  
  select.form-control-custom {
    cursor: pointer;
  }
  
  .nutrition-btn-submit {
    width: 100%;
    padding: 16px;
    border-radius: 12px;
    background: linear-gradient(135deg, #2471ff, #6984b6);
    color: var(--text-white);
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.8px;
    border: none;
    transition: all 0.35s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
  }
  
  .nutrition-btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(36, 113, 255, 0.5);
  }
  
  /* ================= FOOTER ================= */
  
  .nutrition-footer {
    background: rgba(0, 0, 0, 0.9);
    padding: 80px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .footer-section {
    margin-bottom: 30px;
  }
  
  .footer-brand {
    font-size: 26px;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
  }
  
  .footer-brand i {
    color: var(--primary-blue);
  }
  
  .footer-social {
    display: flex;
    gap: 12px;
  }
  
  .footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    transition: all 0.3s ease;
    text-decoration: none;
  }
  
  .footer-social a:hover {
    background: linear-gradient(135deg, rgba(36, 113, 255, 0.4), rgba(36, 113, 255, 0.2));
    border-color: var(--primary-blue);
    transform: translateY(-3px);
  }
  
  .footer-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 25px;
  }
  
  .footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .footer-links li {
    margin-bottom: 12px;
  }
  
  .footer-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 14px;
    display: inline-block;
    transition: all 0.3s ease;
  }
  
  .footer-links a:hover {
    color: var(--primary-blue);
    transform: translateX(5px);
  }
  
  .footer-bottom {
    margin-top: 60px;
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .footer-copyright {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0;
  }
  
  .footer-links-inline {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0;
  }
  
  .footer-links-inline a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: all 0.3s ease;
  }
  
  .footer-links-inline a:hover {
    color: var(--primary-blue);
  }
  
  .footer-links-inline .separator {
    margin: 0 10px;
  }
  
  /* ================= RESPONSIVE DESIGN ================= */
  
  @media (max-width: 991px) {
    .nutrition-hero-content h1 {
      font-size: 48px;
    }
  
    .hero-subtitle {
      font-size: 26px;
    }
  
    .intro-title {
      font-size: 36px;
    }
  
    .intro-description {
      font-size: 16px;
    }
  
    .section-title {
      font-size: 36px;
    }
  
    /* Stack benefit rows on tablet */
    .benefit-row,
    .benefit-row.reverse {
      flex-direction: column;
      min-height: auto;
    }
  
    .benefit-image-wrapper {
      min-height: 400px;
    }
  
    .benefit-text-wrapper {
      padding: 60px 40px;
    }
  
    .benefit-content-box h2 {
      font-size: 32px;
    }
  
    .contact-form-container {
      padding: 40px 30px;
    }
  }
  
  @media (max-width: 767px) {
    .nutrition-hero-section {
      min-height: auto;
      padding-top: 140px;
      padding-bottom: 60px;
    }
  
    .nutrition-hero-content h1 {
      font-size: 36px;
    }
  
    .hero-subtitle {
      font-size: 22px;
    }
  
    .intro-title {
      font-size: 28px;
    }
  
    .intro-description {
      font-size: 15px;
    }
  
    .section-title {
      font-size: 28px;
    }
  
    .section-description {
      font-size: 15px;
    }
  
    .benefit-image-wrapper {
      min-height: 300px;
    }
  
    .benefit-text-wrapper {
      padding: 50px 30px;
    }
  
    .benefit-content-box h2 {
      font-size: 26px;
    }
  
    .benefit-content-box p {
      font-size: 15px;
    }
  
    .contact-form-container {
      padding: 30px 20px;
    }
  
    .nutrition-features-grid-section,
    .nutrition-benefits-section,
    .nutrition-intro-section,
    .nutrition-contact-section,
    .nutrition-research-section {
      padding: 80px 0;
    }
  }
  
  @media (max-width: 575px) {
    .nutrition-hero-content h1 {
      font-size: 32px;
      letter-spacing: 1px;
    }
  
    .hero-subtitle {
      font-size: 20px;
    }
  
    .intro-title {
      font-size: 24px;
    }
  
    .section-title {
      font-size: 24px;
    }
  
    .feature-card-nutrition {
      padding: 40px 25px;
    }
  
    .benefit-text-wrapper {
      padding: 40px 20px;
    }
  
    .benefit-content-box h2 {
      font-size: 22px;
    }
  
    .footer-bottom {
      text-align: center;
    }
  
    .footer-links-inline {
      text-align: center;
      margin-top: 10px;
    }
  }