/* styles.css - Light Theme with Red Accent */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap');

:root {
  --primary: #d32f2f;
  /* Red */
  --primary-dark: #b71c1c;
  --bg-light: #fafafa;
  --bg-card: #ffffff;
  --text: #212121;
  --text-muted: #555555;
  --border: #e0e0e0;
  --radius: 12px;
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  --transition: all 0.3s ease;
  --text-white: #E0E0E0;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-light);
  color: var(--text);
  line-height: 1.7;
}

/* Navbar - Bootstrap overrides */
.navbar {
  background: var(--bg-card) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.navbar-brand img {
  height: 50px;
  transition: var(--transition);
}

.navbar-brand img:hover {
  opacity: 0.8;
}

.nav-link {
  color: var(--text) !important;
  font-weight: 500;
  margin: 0 0.5rem;
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  background: var(--primary);
  color: #fff !important;
  border-radius: 8px;
  padding: 0.5rem 1rem !important;
}

.nav-link.nav-home,
.nav-link.nav-usecases,
.nav-link.nav-about {
  padding: 0.5rem 1rem;
}

/* Hamburger menu toggle */
.navbar-toggler {
  border: none;
  padding: 0.5rem;
}

.navbar-toggler:focus {
  box-shadow: none;
  outline: none;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23333' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  /* darker overlay for text readability */
  z-index: -1;
}

.hero-content h1 {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  margin-left: 1rem;
  margin-right: 1rem;
  color: var(--primary);
}

.hero-content p {
  font-size: 1.3rem;
  max-width: 700px;
  margin: 0 1rem 2rem;
  color: var(--text-white);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(211, 47, 47, 0.25);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(211, 47, 47, 0.35);
}

/* Sections */
.section {
  padding: 5rem 5%;
  max-width: 1400px;
  margin: 0 auto;
  text-align: center;
}

.section h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
}

.section p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 800px;
  margin: 0 auto 2rem;
}

/* Page Hero */
.page-hero {
  background: var(--bg-card);
  padding: 4rem 5%;
  text-align: center;
  margin-bottom: 3rem;
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  font-size: 3rem;
  color: var(--primary);
}

/* Solution Steps */
.step {
  background: var(--bg-card);
  padding: 2rem;
  margin: 1.5rem 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: left;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.step:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(211, 47, 47, 0.15);
}

.step h3 {
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

/* Video */
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin: 2rem 0;
  border: 1px solid var(--border);
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Use Case Cards */
.use-case-card {
  background: var(--bg-card);
  padding: 2.5rem;
  margin: 2rem 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: left;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.use-case-card:hover {
  transform: scale(1.02);
  box-shadow: 0 15px 35px rgba(211, 47, 47, 0.2);
}

.use-case-card h3 {
  color: var(--primary);
  margin-bottom: 1rem;
}

.use-case-card ul {
  margin-top: 1rem;
  padding-left: 1.5rem;
}

.use-case-card li {
  margin: 0.5rem 0;
  color: var(--text-muted);
}

/* Image Gallery */
.image-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.gallery-placeholder {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.gallery-placeholder img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.gallery-placeholder video {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.gallery-placeholder div {
  margin: 0 0.5rem;
  color: var(--text-muted);
}

.gallery-placeholder:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 32px rgba(211, 47, 47, 0.2);
}

/* Contact Section */
.contact {
  text-align: center;
}

.contact h2 {
  margin-bottom: 3rem;
  font-size: 2.5rem;
  color: var(--text);
}

/* Contact Info */
.contact-info {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-info p {
  font-size: 1.1rem;
  margin: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 1.5rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.contact-info i {
  color: var(--primary);
  font-size: 1.5rem;
  min-width: 24px;
  text-align: center;
  flex-shrink: 0;
  margin-top: 0.2rem;
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem;
  background: #f5f5f5;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 4rem;
  border-top: 1px solid var(--border);
}

/* Team Section */
.team {
  background: var(--bg-light);
}

.team h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2rem;
  color: var(--text);
}

.team-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.team-member {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.team-member:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.member-image {
  width: 120px;
  height: 120px;
  margin-bottom: 1.5rem;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--primary);
}

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

.member-info h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.member-info .role {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.member-info .education {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.member-info p:last-child {
  line-height: 1.6;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Wide screen - team becomes 1 row */
@media (min-width: 2300px) {
  .team-container {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

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

  .contact h2 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
  }

  .contact-info p {
    font-size: 1rem;
    gap: 1rem;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .contact-info i {
    font-size: 1.3rem;
    margin-top: 0;
  }

  .section {
    padding: 3rem 1rem;
  }

  .step,
  .use-case-card {
    text-align: center;
  }

  .team-container {
    grid-template-columns: 1fr;
  }

  .team h2 {
    font-size: 1.5rem;
  }

  .image-gallery {
    grid-template-columns: 1fr;
  }
}
