/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

/* Global Reset and Typography */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Common Section Styles */
.our-story-section {
  background: white;
  padding: 100px 0;
}

.our-story-section h2 {
  font-size: 3rem;
  text-align: center;
  margin-bottom: 30px;
  color: #000000;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.our-story-section h3 {
  font-size: 1.8rem;
  text-align: center;
  color: #000000;
  margin: 40px auto 20px auto;
  font-weight: 600;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

.our-story-section p {
  font-size: 1.2rem;
  text-align: center;
  color: #555;
  max-width: 800px;
  margin: 0 auto 30px auto;
  line-height: 1.7;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

.our-story-section p:last-child {
  margin-bottom: 0;
}

.our-story-section a {
  color: #3b82f6;
  text-decoration: none;
  font-weight: 600;
}

.our-story-section a:hover {
  text-decoration: underline;
}

/* CTA Button */
.cta-button {
  display: inline-block;
  background: #3b82f6;
  color: white;
  padding: 15px 40px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
  background: #2563eb;
}

/* Products Section */
.products-section {
  padding: 100px 0;
}

.products-section .container {
  max-width: none;
  margin: 0;
  padding: 0 20px;
  width: 100%;
}

.products-section h2,
.products-section p {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.products-section h2 {
  font-size: 3rem;
  text-align: center;
  margin-bottom: 60px;
  color: #000000;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  width: 100%;
  margin: 0;
  padding: 0;
}

.product-card {
  background: #1e3a8a;
  color: white;
  padding: 5px;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  margin: 0;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(30, 58, 138, 0.3);
}

.product-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  font-weight: 700;
  text-align: center;
}

.product-card p {
  font-size: 1rem;
  opacity: 0.9;
  line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .product-card {
    padding: 30px;
  }
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .our-story-section h2,
  .products-section h2 {
    font-size: 2.5rem;
  }

  .our-story-section p {
    font-size: 1.1rem;
  }

  .our-story-section,
  .products-section {
    padding: 80px 0;
  }

  .team-member {
    flex-direction: column;
    text-align: center;
    gap: 30px;
    padding: 30px;
  }

  .team-member-image {
    width: 150px;
    height: 150px;
    margin: 0 auto;
  }

  .team-member-content {
    text-align: center;
  }

  .team-member-content h3,
  .team-member-content h4 {
    text-align: center;
  }

  .team-member-content p {
    text-align: center;
  }
}

/* In‑Page Video Modal */
.video-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 1000;
}
.video-modal.is-open { display: block; }
.video-modal__overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
}
.video-modal__dialog {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(960px, 92vw);
  background: #000;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  overflow: hidden;
}
.video-modal__body { position: relative; background: #000; }
.video-modal__video { width: 100%; height: auto; display: block; background: #000; }
.video-modal__close {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.video-modal__close:hover { background: rgba(255,255,255,0.2); }
.video-modal__close svg { stroke: #fff; }

@media (max-width: 640px) {
  .video-modal__dialog { width: 96vw; }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .cta-button {
    padding: 12px 30px;
    font-size: 1rem;
  }

  .our-story-section h2,
  .products-section h2 {
    font-size: 2rem;
  }

  .our-story-section,
  .products-section {
    padding: 60px 0;
  }

  .product-card {
    padding: 25px;
  }

  .team-member {
    padding: 20px;
    gap: 20px;
  }

  .team-member-image {
    width: 120px;
    height: 120px;
  }

  .team-member-content h3 {
    font-size: 1.5rem;
  }

  .team-member-content h4 {
    font-size: 1.3rem;
  }

  .team-member-content p {
    font-size: 1rem;
  }
}

/* Hero Section */
.hero-section {
  background: linear-gradient(126deg, #142365 0%, #142365 40%, #582b84 100%);
  color: white;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  background-image: url(/dna-pattern.png);
  background-size: 150px 150px;
  background-repeat: repeat;
  background-position: 0 0;
  opacity: 0.15;
  animation: dnaFloat1 25s ease-in-out infinite;
}

.hero-background::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url(/dna-pattern.png);
  background-size: 120px 120px;
  background-repeat: repeat;
  background-position: 75px 75px;
  opacity: 0.12;
  animation: dnaFloat2 30s ease-in-out infinite;
}

.hero-background::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url(/dna-pattern.png);
  background-size: 180px 180px;
  background-repeat: repeat;
  background-position: 30px 30px;
  opacity: 0.1;
  animation: dnaFloat3 35s ease-in-out infinite;
}


@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(2deg); }
}

@keyframes dnaFloat1 {
  0%, 100% { transform: translateX(0px) translateY(0px); }
  50% { transform: translateX(5px) translateY(-3px); }
}

@keyframes dnaFloat2 {
  0%, 100% { transform: translateX(0px) translateY(0px); }
  50% { transform: translateX(-3px) translateY(4px); }
}

@keyframes dnaFloat3 {
  0%, 100% { transform: translateX(0px) translateY(0px); }
  50% { transform: translateX(2px) translateY(-2px); }
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 20px;
}

.hero-content h1 {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 30px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 40px;
  opacity: 0.9;
  font-weight: 400;
  font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

.cta-button {
  display: inline-block;
  background: #3b82f6;
  color: white;
  padding: 15px 40px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
  background: #2563eb;
}

/* Section Styles */
.section {
  padding: 100px 0;
}

.section-white {
  background: white;
}

.section-gray {
  background: #f8fafc;
}

.section h2 {
  font-size: 3rem;
  text-align: center;
  margin-bottom: 30px;
  color: #000000;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section p {
  font-size: 1.2rem;
  text-align: center;
  color: #555;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  width: 100%;
  margin: 0;
  padding: 0;
}

.product-card {
  background: #1e3a8a;
  color: white;
  padding: 5px;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  margin: 0;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(30, 58, 138, 0.3);
}

.product-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  font-weight: 700;
  text-align: center;
}

.product-card p {
  font-size: 1rem;
  opacity: 0.9;
  line-height: 1.6;
  margin: 0;
  text-align: center;
}

/* Team Member Layout */
.team-member {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 60px;
  padding: 40px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.team-member-image {
  flex-shrink: 0;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.team-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.team-member-content {
  flex: 1;
  text-align: left;
}

.team-member-content h3,
.team-member-content h4 {
  text-align: left;
  margin-bottom: 20px;
  color: #000000;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.team-member-content h3 {
  font-size: 1.8rem;
  margin-top: 0;
}

.team-member-content h4 {
  font-size: 1.5rem;
  margin-top: 0;
}

.team-member-content p {
  text-align: left;
  margin-bottom: 20px;
  font-size: 1.1rem;
  line-height: 1.7;
  color: #555;
  max-width: none;
}

.team-member-content p:last-child {
  margin-bottom: 0;
}

/* Content Cards */
.content-card {
  background: white;
  padding: 50px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin-bottom: 40px;
}

.content-card h2 {
  color: #000000;
  margin-bottom: 25px;
  font-size: 2rem;
  font-weight: 700;
  text-align: left;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  letter-spacing: -0.02em;
}

.content-card p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #555;
  margin-bottom: 20px;
  text-align: left;
}

/* Footer */
.footer {
  background: #1e3a8a;
  color: white;
  padding: 60px 0 20px;
  margin-top: 0;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  padding: 0 20px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 15px;
}

.footer-logo h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-social {
  display: flex;
  gap: 20px;
  justify-content: flex-end;
}

.social-link {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link:hover {
  background: #3b82f6;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(59, 130, 246, 0.3);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .product-card {
    padding: 30px 20px;
  }

  .content-card {
    padding: 40px 30px;
  }
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .section h2 {
    font-size: 2.5rem;
  }

  .section p {
    font-size: 1.1rem;
  }

  .section {
    padding: 80px 0;
  }

  .content-card {
    padding: 30px 20px;
  }

  .footer {
    padding: 50px 0 20px;
  }

  .footer-content {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .cta-button {
    padding: 12px 30px;
    font-size: 1rem;
  }

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

  .section {
    padding: 60px 0;
  }

  .product-card {
    padding: 25px;
  }

  .footer {
    padding: 40px 0 20px;
  }

  .footer-logo h3 {
    font-size: 1.5rem;
  }

  .social-link {
    width: 40px;
    height: 40px;
  }
}
