/* AI Meal Planner - Main CSS */

/* Color Palette */
:root {
  --primary-green: #3bb86d;
  --primary-green-light: #64cb96;
  --primary-green-dark: #179c3c;
  --secondary-orange: #f09826;
  --secondary-orange-light: #e9c47c;
  --secondary-orange-dark: #f39916;
  --accent-blue: #22afed;
  --accent-blue-light: #8dd1ea;
  --accent-blue-dark: #367cc5;
  --neutral-purple: #9a5cb7;
  --neutral-purple-light: #d4a5e4;
  --neutral-purple-dark: #ae4cc5;
  --warm-coral: #f24b2c;
  --warm-coral-light: #f0a699;
  --warm-coral-dark: #aa1617;
  --text-dark: #3d4c63;
  --text-light: #727b7e;
  --white: #FFFFFF;
  --gray-100: #F8F9FA;
  --gray-200: #f7f7f7;
  --gray-300: #cbd6e6;
  --gray-400: #c3c3c3;
  --gray-500: #b9bfc6;
  --gray-600: #797f86;
  --gray-700: #5a6367;
  --gray-800: #272a2c;
  --gray-900: #1f2529;
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--white);
  padding-top: 76px;
}

/* Respect motion preferences */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.52rem;
  background: linear-gradient(135deg, var(--primary-green), var(--accent-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2 {
  font-size: 2rem;
  color: var(--text-dark);
}

h3 {
  font-size: 1.56rem;
  color: var(--primary-green-dark);
}

h4 {
  font-size: 1.38rem;
  color: var(--text-dark);
}

p {
  margin-bottom: 1rem;
  color: var(--text-light);
  font-size: 1rem;
}

/* Header */
.navbar {
  background: linear-gradient(135deg, var(--white) 0%, var(--gray-100) 100%);
  box-shadow: 0 12px 12px rgba(0,0,0,0.1);
  padding: 1rem 0;
}

.navbar-brand {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary-green) !important;
}

.navbar-nav .nav-link {
  color: var(--text-dark) !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-green) !important;
}

/* Hero Section */
.hero-section h1 {
    padding-top: 150px !important;
}

.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary-green-light) 0%, var(--accent-blue-light) 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 100px;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../NIH_images/hero-bg.webp') center/cover;
  opacity: 0.1;
  z-index: 1;
}

.hero-content h1 {
  padding-top: 100px !important;
}

.hero-content {
  padding-top: 50px !important;
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 3rem;
  margin-bottom: 1.55rem;
}

.hero-subtitle {
  font-size: 1.38rem;
  margin-bottom: 2rem;
  color: var(--text-dark);
}

.hero-image {
  text-align: center;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 22px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Section Styles */
.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2rem;
  color: var(--text-dark);
}

/* Service Items */
.service-item {
  background: var(--white);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  margin-bottom: 2rem;
  box-shadow: 0 11px 30px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.service-item:hover {
  transform: translateY(-10px);
}

.service-item img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-bottom: 1.59rem;
}

/* Form Styles */
.form-control {
  border: 2px solid var(--gray-100);
  border-radius: 9px;
  padding: 1rem;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-green);
  box-shadow: 0 0 0 0.2rem rgba(28, 206, 106, 0.25);
}

.form-control.is-invalid {
  border-color: var(--warm-coral);
  box-shadow: 0 0 0 0.2rem rgba(209, 90, 58, 0.25);
}

.btn-primary {
  background: var(--primary-green);
  border: none;
  padding: 1rem 2rem;
  border-radius: 9px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: var(--primary-green-dark);
  transform: translateY(-2px);
}

/* Footer */
.footer {
  background: var(--text-dark);
  color: var(--white);
  padding: 3rem 0 1rem;
}

.footer a {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--primary-green);
}

.section-subtitle {
  text-align: center;
  font-size: 1.27rem;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.section-desc {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
  color: var(--text-light);
}

/* About Section */
.about-section {
  background: var(--gray-100);
}

.about-feature {
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.08);
  text-align: center;
  margin-bottom: 2rem;
  transition: transform 0.3s ease;
}

.about-feature:hover {
  transform: translateY(-5px);
}

.about-feature i {
  font-size: 3rem;
  color: var(--primary-green);
  margin-bottom: 1rem;
}

/* Services Section */
.services-section {
  background: var(--white);
}

.service-item {
  background: linear-gradient(135deg, var(--white) 0%, var(--gray-100) 100%);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  margin-bottom: 2rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.service-item:hover {
  transform: translateY(-10px);
  border-color: var(--primary-green);
}

.service-item img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-bottom: 1.68rem;
}

.service-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-green);
  margin-bottom: 1rem;
}

.service-features {
  list-style: none;
  padding: 0;
}

.service-features li {
  padding: 0.5rem 0;
  color: var(--text-light);
}

.service-features li i {
  color: var(--primary-green);
  margin-right: 0.5rem;
}

/* Features Section */
.features-section {
  background: linear-gradient(135deg, var(--primary-green-light) 0%, var(--secondary-orange-light) 100%);
}

.feature-item {
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  margin-bottom: 2rem;
  box-shadow: 0 13px 25px rgba(0,0,0,0.1);
}

.feature-item i {
  font-size: 3rem;
  color: var(--secondary-orange);
  margin-bottom: 1rem;
}

/* Price Plan Section */
.priceplan-section {
  background: var(--gray-100);
}

.price-item {
  background: var(--white);
  border-radius: 15px;
  padding: 2.5rem;
  text-align: center;
  margin-bottom: 2rem;
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  position: relative;
}

.price-item:nth-child(2) {
  border: 3px solid var(--primary-green);
  transform: scale(1.05);
}

.price-item:nth-child(2)::before {
  content: 'POPULAR';
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-green);
  color: var(--white);
  padding: 0.5rem 1.5rem;
  border-radius: 20px;
  font-size: 0.90rem;
  font-weight: 600;
}

.price-item:hover {
  transform: translateY(-5px);
}

.price-item:nth-child(2):hover {
  transform: scale(1.05) translateY(-5px);
}

.price-value {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-green);
  margin-bottom: 1rem;
}

.price-features {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.price-features li {
  padding: 0.75rem 0;
  color: var(--text-light);
  border-bottom: 1px solid var(--gray-200);
}

.price-features li:last-child {
  border-bottom: none;
}

.price-features li i {
  color: var(--primary-green);
  margin-right: 0.5rem;
}

/* Team Section */
.team-section {
  background: var(--white);
}

.team-member {
  text-align: center;
  margin-bottom: 2rem;
}

.team-member img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  margin-bottom: 1.64rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.team-member:hover img {
  transform: scale(1.05);
}

.team-member-name {
  font-size: 1.28rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.58rem;
}

.team-member-role {
  color: var(--primary-green);
  font-weight: 500;
}

/* Reviews Section */
.reviews-section {
  background: linear-gradient(135deg, var(--accent-blue-light) 0%, var(--neutral-purple-light) 100%);
}

.review-item {
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  margin-bottom: 2rem;
  box-shadow: 0 13px 25px rgba(0,0,0,0.1);
  position: relative;
}

.review-item::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 4rem;
  color: var(--accent-blue);
  font-weight: bold;
}

.review-text {
  font-style: italic;
  margin-bottom: 1.67rem;
  color: var(--text-light);
}

.review-author {
  font-weight: 600;
  color: var(--text-dark);
}

/* Case Studies Section */
.casestudy-section {
  background: var(--gray-100);
}

.casestudy-item {
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  margin-bottom: 2rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.casestudy-item:hover {
  transform: translateY(-5px);
}

.casestudy-title {
  color: var(--primary-green);
  margin-bottom: 1rem;
  font-size: 1.38rem;
}

/* Process Section */
.process-section {
  background: var(--white);
}

.process-item {
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
}

.process-item::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-green);
  color: var(--white);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.process-timeline {
  counter-reset: step-counter;
}

.process-title {
  margin-top: 2rem;
  color: var(--text-dark);
}

/* Timeline Section */
.timeline-section {
  background: linear-gradient(135deg, var(--secondary-orange-light) 0%, var(--warm-coral-light) 100%);
}

.timeline-item {
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  margin-bottom: 2rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  position: relative;
  margin-left: 3rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -15px;
  top: 2rem;
  width: 20px;
  height: 20px;
  background: var(--secondary-orange);
  border-radius: 50%;
}

.timeline-item::after {
  content: '';
  position: absolute;
  left: -5px;
  top: 0;
  bottom: -2rem;
  width: 2px;
  background: var(--secondary-orange);
}

.timeline-item:last-child::after {
  display: none;
}

.timeline-title {
  color: var(--secondary-orange-dark);
  margin-bottom: 1rem;
}

/* Career Section */
.career-section {
  background: var(--gray-100);
}

.career-item {
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  margin-bottom: 2rem;
  box-shadow: 0 12px 25px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.career-item:hover {
  transform: translateY(-5px);
}

.career-title {
  color: var(--primary-green);
  margin-bottom: 0.66rem;
}

.career-role {
  color: var(--text-light);
  font-weight: 500;
  margin-bottom: 1rem;
}

/* Core Info Section */
.coreinfo-section {
  background: var(--white);
}

.coreinfo-item {
  background: linear-gradient(135deg, var(--white) 0%, var(--gray-100) 100%);
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  margin-bottom: 2rem;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.coreinfo-item:hover {
  transform: translateY(-5px);
}

.coreinfo-item i {
  font-size: 3rem;
  color: var(--neutral-purple);
  margin-bottom: 1rem;
}

.coreinfo-title {
  color: var(--text-dark);
  margin-bottom: 1rem;
}

/* Contact Section */
.contact-section {
  background: linear-gradient(135deg, var(--primary-green-light) 0%, var(--accent-blue-light) 100%);
}

.contact-form {
  background: var(--white);
  padding: 3rem;
  border-radius: 15px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.form-control {
  border: 2px solid var(--gray-300);
  border-radius: 8px;
  padding: 1rem;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-green);
  box-shadow: 0 0 0 0.2rem rgba(49, 199, 89, 0.25);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-green), var(--primary-green-dark));
  border: none;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(37, 228, 89, 0.40);
}

.contact-info {
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  margin-top: 2rem;
}

.contact-info i {
  color: var(--primary-green);
  margin-right: 1rem;
  font-size: 1.31rem;
}

/* Blog Section */
.blog-section {
  background: var(--gray-100);
}

.blog-item {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 2rem;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.blog-item:hover {
  transform: translateY(-5px);
}

.blog-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-content {
  padding: 2rem;
}

.blog-title {
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.blog-excerpt {
  color: var(--text-light);
  margin-bottom: 1.71rem;
}

.blog-link {
  color: var(--primary-green);
  text-decoration: none;
  font-weight: 600;
}

.blog-link:hover {
  text-decoration: underline;
}

/* FAQ Section */
.faq-section {
  background: var(--white);
}

.faq-item {
  background: var(--gray-100);
  margin-bottom: 1rem;
  border-radius: 8px;
  overflow: hidden;
}

.faq-question {
  background: var(--primary-green);
  color: var(--white);
  padding: 1.5rem;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background: var(--primary-green-dark);
}

.faq-answer {
  padding: 1.5rem;
  color: var(--text-light);
  background: var(--white);
  display: none;
}

/* Space Section */
#space {
  min-height: 80vh;
  background: linear-gradient(135deg, var(--primary-green-light) 0%, var(--accent-blue-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 0;
}

/* Gallery Section */
.gallery-section {
  background: var(--gray-100);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.gallery-item a {
  display: block;
  position: relative;
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item a::after {
  content: '\f00e';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--white);
  font-size: 2rem;
  opacity: 0;
  transition: opacity 0.3s ease;
  background: rgba(0,0,0,0.7);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-item:hover a::after {
  opacity: 1;
}

/* Footer */
.footer {
  background: linear-gradient(135deg, var(--text-dark) 0%, var(--gray-800) 100%);
  color: var(--white);
  padding: 3rem 0 1rem;
}

.footer h5 {
  color: var(--primary-green);
  margin-bottom: 1.60rem;
}

.footer p {
  color: var(--gray-400);
}

.footer a {
  color: var(--gray-400);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--primary-green);
}

.footer-bottom {
  border-top: 1px solid var(--gray-700);
  padding-top: 2rem;
  margin-top: 2rem;
  text-align: center;
}

/* Breadcrumb */
.breadcrumb-section {
  background: var(--gray-100);
  padding: 2rem 0;
}

.breadcrumb-img {
  text-align: center;
}

.breadcrumb-img img {
  max-width: 100%;
  height: auto;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.56rem;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .hero-section h1 {
    padding-top: 150px !important;
}

.hero-section {
    min-height: 80vh;
  }
  
  .price-item:nth-child(2) {
    transform: none;
  }
  
  .price-item:nth-child(2):hover {
    transform: translateY(-5px);
  }
  
  .timeline-item {
    margin-left: 1rem;
  }
  
  .contact-form {
    padding: 2rem;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 1.58rem;
  }
  
  .section {
    padding: 40px 0;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
}

/* Smooth scroll offset */
section[id] {
  scroll-margin-top: 76px;
} 


/* 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;
    }
}
