/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Updated to use Geist fonts from Google Fonts like the previous Next.js version */
@import url("https://fonts.googleapis.com/css2?family=Geist:wght@100;200;300;400;500;600;700;800;900&family=Geist+Mono:wght@100;200;300;400;500;600;700;800;900&display=swap");

body {
  font-family: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: #333;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Navigation Styles */
.navbar {
  background: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 4rem;
}

.logo {
  height: 10rem;
  width: auto;
}

.desktop-nav {
  display: flex;
  gap: 2rem;
}

.nav-link {
  color: #4b5563;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
  padding: 0.5rem 0.75rem;
}

.nav-link.active {
  color: #1a1a80;
  font-weight: 600;
}

.nav-link:hover {
  color: #1a1a80;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.hamburger {
  width: 1.5rem;
  height: 2px;
  background: #333;
  margin: 2px 0;
  transition: 0.3s;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 1rem 0;
  border-top: 1px solid #e5e7eb;
}

.mobile-nav-link {
  color: #4b5563;
  text-decoration: none;
  padding: 0.75rem 1rem;
  font-weight: 500;
  transition: color 0.3s;
}

.mobile-nav-link:hover {
  color: #1a1a80;
}

/* Hero Slider Styles */
.hero-slider {
  position: relative;
  background: linear-gradient(135deg, #f5f7fa 0%, white 100%);
  padding: 5rem 0;
  overflow: hidden;
}

.slider-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  position: relative;
}

.slide {
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.slide.active {
  display: block;
  opacity: 1;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  min-height: 400px;
}

.hero-text h1 {
  font-size: 3rem;
  font-weight: bold;
  color: #1a1a80;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-text p {
  font-size: 1.25rem;
  color: #6b7280;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.cta-button {
  display: inline-block;
  background: #2bb594;
  color: white;
  padding: 1rem 2rem;
  text-decoration: none;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: background 0.3s;
}

.cta-button:hover {
  background: #1a1a80;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 1rem;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(26, 26, 128, 0.8);
  color: white;
  border: none;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  transition: background 0.3s;
  z-index: 10;
}

.slider-btn:hover {
  background: #1a1a80;
}

.slider-btn.prev {
  left: 1rem;
}

.slider-btn.next {
  right: 1rem;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: #d1d5db;
  cursor: pointer;
  transition: background 0.3s;
}

.dot.active {
  background: #1a1a80;
}

/* Features Section */
.features-section {
  padding: 5rem 0;
  background: white;
}

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

.section-header h2 {
  font-size: 2.5rem;
  font-weight: bold;
  color: #1a1a80;
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.125rem;
  color: #6b7280;
}

.features-slider {
  position: relative;
  overflow: hidden;
}

.features-container {
  display: flex;
  transition: transform 0.3s ease;
}

.feature-card {
  min-width: 100%;
  padding: 2rem;
  text-align: center;
  background: #f9fafb;
  border-radius: 1rem;
  margin: 0 1rem;
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.feature-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1a1a80;
  margin-bottom: 1rem;
}

.feature-card p {
  color: #6b7280;
  line-height: 1.6;
}

.features-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(26, 26, 128, 0.8);
  color: white;
  border: none;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  font-size: 1.25rem;
  cursor: pointer;
  transition: background 0.3s;
}

.features-btn:hover {
  background: #1a1a80;
}

.features-btn.prev {
  left: -1rem;
}

.features-btn.next {
  right: -1rem;
}

.features-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.feature-dot {
  width: 0.5rem;
  height: 0.5rem;
  background: #2bb594;
  border-radius: 50%;
  margin-right: 0.5rem;
  flex-shrink: 0;
}

/* News Page Specific Styles */
.news-hero {
  background: linear-gradient(135deg, #f5f7fa 0%, white 100%);
  padding: 5rem 0;
  text-align: center;
}

.news-hero-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1rem;
}

.news-hero h1 {
  font-size: 3rem;
  font-weight: bold;
  color: #1a1a80;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.news-hero p {
  font-size: 1.25rem;
  color: #6b7280;
  line-height: 1.6;
}

.articles-grid-section {
  padding: 5rem 0;
  background: white;
}

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

.article-card {
  background: white;
  border: 2px solid #f3f4f6;
  border-radius: 0.5rem;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
}

.article-card:hover {
  border-color: #2bb594;
  transform: translateY(-2px);
}

.article-image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.5rem;
}

.article-content {
  padding: 1.5rem;
}

.article-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.article-category {
  background: #48a9e6;
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  display: inline-block;
  margin-bottom: 0.5rem;
}

.article-date {
  font-size: 0.875rem;
  color: #6b7280;
}

.article-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1a1a80;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.article-excerpt {
  color: #6b7280;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.article-link {
  color: #2bb594;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.article-link:hover {
  color: #1a1a80;
}

/* Article Page Styles */
.article-header {
  background: linear-gradient(135deg, #f5f7fa 0%, white 100%);
  padding: 5rem 0;
}

.article-header-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  color: #2bb594;
  text-decoration: none;
  margin-bottom: 1.5rem;
  font-weight: 500;
  transition: color 0.3s;
}

.back-link:hover {
  color: #1a1a80;
}

.article-header h1 {
  font-size: 2.5rem;
  font-weight: bold;
  color: #1a1a80;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.article-subtitle {
  font-size: 1.25rem;
  color: #6b7280;
  line-height: 1.6;
}

.article-quote {
  font-size: 1.25rem;
  color: #2bb594;
  font-weight: 600;
  margin-bottom: 1rem;
  font-style: italic;
}

.article-content-section {
  padding: 4rem 0;
  background: white;
}

.article-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1rem;
}

.article-image-hero {
  margin-bottom: 2rem;
}

.article-image-hero img {
  width: 100%;
  height: 16rem;
  object-fit: cover;
  border-radius: 0.5rem;
}

.article-prose {
  line-height: 1.8;
}

.article-prose p {
  font-size: 1.125rem;
  color: #374151;
  margin-bottom: 1.5rem;
}

.article-prose h2 {
  font-size: 1.875rem;
  font-weight: bold;
  color: #1a1a80;
  margin: 3rem 0 1.5rem 0;
}

.article-prose blockquote {
  border-left: 4px solid #2bb594;
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background: #f9fafb;
  border-radius: 0 0.5rem 0.5rem 0;
}

.article-prose blockquote.blue-quote {
  border-left-color: #48a9e6;
  background: #eff6ff;
}

.article-prose blockquote p {
  font-size: 1.25rem;
  font-style: italic;
  color: #1a1a80;
  font-weight: 600;
  margin: 0;
}

.article-prose ul {
  margin: 1.5rem 0;
  padding-left: 1.5rem;
}

.article-prose li {
  font-size: 1.125rem;
  color: #374151;
  margin-bottom: 0.5rem;
}

.article-cta {
  background: #f5f7fa;
  padding: 2rem;
  border-radius: 0.5rem;
  margin: 3rem 0;
  text-align: center;
}

.article-cta.gradient-cta {
  background: linear-gradient(135deg, #2bb594 0%, #48a9e6 100%);
  color: white;
}

.article-cta h3 {
  font-size: 1.25rem;
  font-weight: bold;
  color: #1a1a80;
  margin-bottom: 1rem;
}

.article-cta.gradient-cta h3 {
  color: white;
}

.article-cta p {
  color: #6b7280;
  margin-bottom: 1.5rem;
}

.article-cta.gradient-cta p {
  color: white;
  font-size: 1.125rem;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.cta-button.primary {
  background: white;
  color: #1a1a80;
}

.cta-button.primary:hover {
  background: #f3f4f6;
}

.cta-button.secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.cta-button.secondary:hover {
  background: white;
  color: #1a1a80;
}

.back-to-news {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #e5e7eb;
}

/* Footer Styles */
.footer {
  background: #1a1a80;
  color: white;
  padding: 3rem 0 1rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-logo {
  height: 10rem;
  width: auto;
  margin-bottom: -2rem;
  filter: brightness(0) invert(1);
}

.footer-description {
  color: #d1d5db;
  margin-bottom: 0rem;
}

.footer-tagline {
  color: #9ca3af;
  font-size: 0.875rem;
}

.footer-links h3,
.footer-products h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0rem;
}

.footer-links ul,
.footer-products ul {
  list-style: none;
}

.footer-links li,
.footer-products li {
  margin-bottom: 0rem;
}

.footer-links a {
  color: #d1d5db;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: white;
}

.footer-products li {
  color: #d1d5db;
}

.footer-bottom {
  border-top: 1px solid #4b5563;
  padding-top: 1rem;
  text-align: center;
}

.footer-bottom p {
  color: #9ca3af;
}

/* About Page Specific Styles */
.about-hero {
  background: linear-gradient(135deg, #f5f7fa 0%, white 100%);
  padding: 5rem 0;
  text-align: center;
}

.about-hero-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1rem;
}

.about-hero h1 {
  font-size: 3rem;
  font-weight: bold;
  color: #1a1a80;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.about-hero p {
  font-size: 1.25rem;
  color: #6b7280;
  line-height: 1.6;
}

.mission-vision {
  padding: 5rem 0;
  background: white;
}

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

.mission-vision-image img {
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.mission-block,
.vision-block {
  margin-bottom: 2rem;
}

.mission-block:last-child,
.vision-block:last-child {
  margin-bottom: 0;
}

.mission-vision-text h2 {
  font-size: 1.875rem;
  font-weight: bold;
  color: #1a1a80;
  margin-bottom: 1rem;
}

.mission-vision-text p {
  font-size: 1.125rem;
  color: #6b7280;
  line-height: 1.6;
}

.values-section {
  padding: 5rem 0;
  background: #f5f7fa;
}

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

.value-card {
  background: white;
  padding: 2rem;
  border-radius: 0.5rem;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}

.value-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.value-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1a1a80;
  margin-bottom: 1rem;
}

.value-card p {
  color: #6b7280;
  line-height: 1.6;
}

/* Products Page Specific Styles */
.products-hero {
  background: linear-gradient(135deg, #f5f7fa 0%, white 100%);
  padding: 5rem 0;
  text-align: center;
}

.products-hero-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1rem;
}

.products-hero h1 {
  font-size: 3rem;
  font-weight: bold;
  color: #1a1a80;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.products-hero p {
  font-size: 1.25rem;
  color: #6b7280;
  line-height: 1.6;
}

.products-grid-section {
  padding: 5rem 0;
  background: white;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 3rem;
}

.product-card {
  background: white;
  border: 2px solid #f3f4f6;
  border-radius: 0.5rem;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
}

.product-card:hover {
  border-color: #2bb594;
  transform: translateY(-2px);
}

.product-image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-content {
  padding: 2rem;
}

.product-title-link {
  text-decoration: none;
}

.product-title-link h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1a1a80;
  margin-bottom: 1rem;
  transition: color 0.3s;
}

.product-title-link:hover h3 {
  color: #2bb594;
}

.product-description {
  color: #6b7280;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.product-badge {
  background: #48a9e6;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  display: inline-block;
  margin-bottom: 1.5rem;
}

.product-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.feature-item {
  display: flex;
  align-items: center;
  font-size: 0.875rem;
  color: #6b7280;
}

.feature-dot {
  width: 0.5rem;
  height: 0.5rem;
  background: #2bb594;
  border-radius: 50%;
  margin-right: 0.5rem;
  flex-shrink: 0;
}

/* Contact Page Specific Styles */
.contact-hero {
  background: linear-gradient(135deg, #f5f7fa 0%, white 100%);
  padding: 5rem 0;
  text-align: center;
}

.contact-hero-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1rem;
}

.contact-hero h1 {
  font-size: 3rem;
  font-weight: bold;
  color: #1a1a80;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.contact-hero p {
  font-size: 1.25rem;
  color: #6b7280;
  line-height: 1.6;
}

.contact-section {
  padding: 5rem 0;
  background: white;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-form-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.contact-form-card h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1a1a80;
  margin-bottom: 1.5rem;
}

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

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

.form-group label {
  font-weight: 500;
  color: #374151;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  font-size: 1rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #2bb594;
  box-shadow: 0 0 0 3px rgba(43, 181, 148, 0.1);
}

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

.submit-button {
  background: #2bb594;
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 0.375rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

.submit-button:hover {
  background: #1a1a80;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.info-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.info-card h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1a1a80;
  margin-bottom: 1.5rem;
}

.info-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1a1a80;
  margin-bottom: 1rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.phone-icon {
  background: #2bb594;
}

.email-icon {
  background: #48a9e6;
}

.location-icon {
  background: #1a1a80;
}

.contact-content h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #1a1a80;
  margin-bottom: 0.25rem;
}

.contact-content p {
  color: #6b7280;
}

.partnership-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.partnership-list p {
  color: #6b7280;
}

.map-card {
  padding: 0;
  overflow: hidden;
}

.map-container {
  height: 16rem;
  width: 100%;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .desktop-nav {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .mobile-nav.active {
    display: flex;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-text p {
    font-size: 1rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .slider-btn {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.25rem;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .about-hero h1 {
    font-size: 2.5rem;
  }

  .about-hero p {
    font-size: 1rem;
  }

  .mission-vision-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .mission-vision-text h2 {
    font-size: 1.5rem;
  }

  .mission-vision-text p {
    font-size: 1rem;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-form-card,
  .info-card {
    padding: 1.5rem;
  }

  .contact-item {
    flex-direction: row;
    align-items: center;
  }

  .contact-icon {
    width: 2rem;
    height: 2rem;
  }
}

@media (max-width: 768px) {
  .products-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    min-width: unset;
  }

  .articles-grid {
    grid-template-columns: 1fr;
  }

  .article-card {
    min-width: unset;
  }
}
