
body {
  font-family: Arial, sans-serif;
  color: #333;
  line-height: 1.6;
}
/* HERO SECTION - responsive, image crops from both sides, title on top */
.hero {
  position: relative;
  width: 100%;
  height: 85vh; /* increased height */
  display: flex;
  justify-content: center;
  align-items: flex-end; /* keep content at the bottom */
  text-align: center;
  color: #000;
  background-image: url("./hero.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  overflow: hidden;
  margin-bottom: 4rem; /* decreased margin */
}


/* Animation text improvements for large screens */
.console-container {
  font-size: 2rem; /* Increased size for large screens */
  z-index: 2;
  display: inline-block;
  font-family: "Silkscreen", sans-serif;
  text-transform: uppercase;
  color: #000000;
}

.console-underscore {
  display: inline-block;
  margin-left: 8px;
  position: relative;
  top: 0;
  font-size: 2rem; /* Match the text size */
  color: #000000;
  font-family: "Silkscreen", sans-serif;
}


/* optional overlay */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.0); /* adjust if you want dim overlay */
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  max-height: 1400px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}

.hero h1 {
  font-weight: 700;
  color: #000;
  line-height: 1.1;
  font-size: clamp(1.4rem, 4vw + 1rem, 3.4rem);
}

.btn-primary {
  background: #007bff;
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 1.25rem;
  transition: background 0.3s ease, transform 0.2s ease;
}

.btn-primary:hover {
  background: #0056b3;
  transform: scale(1.05);
}


.section-title {
  font-size: 2rem;
  margin-bottom: 1rem;
  text-align: center;
}

/* Animation text tweaks */
/* .console-container {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
  z-index: 2;
  display: inline-block;
} */
/* 
.console-underscore {
  display: inline-block;
  margin-left: 8px;
  position: relative;
  top: 0;
  font-size: 1.2rem;
  color: #fff;
} */

/* fix white gap below hero */

.hero img {
  display: none;
}

.btn-primary {
  background: black;
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  cursor: pointer;
  margin-top: 1rem;
  font-size: 1rem;
  border-radius: 5px;
}

.divider {
  background: #eee;
  margin-top: 8rem;
}

.divider-two {
  background: #eee;
  margin-top: 1rem;
}

/* General section styling */
.pathways,
.projects,
.store,
.capstone,
.why-choose,
.success,
.contact {
  padding: 3rem 2rem;
  text-align: center;
}

/* Grid layouts */
.cards,
.store-items,
.gallery,
.capstone-imgs {
  display: grid;
  gap: 1rem;
}
.cards {
  grid-template-columns: repeat(4, minmax(200px, 1fr));
}

/* Card styles */
.card,
.item {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 0.5rem;
  text-align: center;
}
.card p {
  color: #595959;
}

/* Pathways images */
.card img {
  width: 100%;
  height: 200px;
  object-fit: cover; /* keeps ratio & crops nicely */
  border-radius: 6px;
}
.card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
/* Store images (smaller kits in store) */
.item img {
  width: 200px;
  height: 200px;
  object-fit: contain; /* keeps full image visible */
  margin: 0 auto;
  display: block;
}

.btn-secondary {
  background: #007bff;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  margin-top: 0.5rem;
  cursor: pointer;
}
.project-columns {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  text-align: left;
}

.project-col {
  flex: 1;
  min-width: 280px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 1rem;
}

.project-col h3 {
  text-align: center;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  color: #007bff;
}

.project-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.project-col li {
  margin-bottom: 1rem;
  padding: 0.5rem;
  border-left: 3px solid #007bff;
  border-right: 3px solid #007bff;
  background: #f9f9f9;
  border-radius: 4px;
  height: 100px;
}
.project-col li:hover {
  background: #d7e5ff;
}

.whychooseus-grid ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 columns */
  gap: 2rem; /* spacing between items */
  max-width: 900px; /* increased width */
  margin: 1.5rem auto 0; /* center grid horizontally */
  padding: 0;
  list-style: none;
}

.whychooseus-grid li {
  background: #f9f9f9;
  border-radius: 6px;
  padding: 1rem;
  transition: background 0.3s;
}

.whychooseus-grid li:hover {
  background: #d7e5ff;
}

.whychooseus-grid h4 {
  margin: 0 0 0.5rem 0;
}

.whychooseus-grid p {
  margin: 0;
  color: #555;
}

.contact-col li {
  margin-bottom: 1rem;
  padding: 0.5rem;
  background: #f9f9f9;
  border-radius: 4px;
  margin-left: auto;
  margin-right: auto;
  max-width: 900px; /* adjust width as needed */
}

.contact-col li:hover {
  background: #d7e5ff;
}

.project-col h4 {
  margin: 0 0 0.3rem 0;
  font-size: 1.1rem;
}

/* Store grid */
.store-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  justify-items: center;
}

/* Store item card */
.item {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  max-width: 250px;
}

.item:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Store images */
.item img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  margin-bottom: 0.5rem;
  border-radius: 6px;
}

/* Slider container */
.item-image-slider {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-radius: 6px;
}

/* Slides wrapper */
.slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 300%; /* for 3 images */
}

/* Each image */
.slides img {
  width: 100%;
  flex-shrink: 0;
  object-fit: contain;
  background: #f9f9f9;
}

/* Navigation buttons */
.item-image-slider button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  border-radius: 50%;
}

.item-image-slider .prev {
  left: 10px;
}
.item-image-slider .next {
  right: 10px;
}
.capstone {
  position: relative;
  width: 100%;
  padding: 4rem 2rem;
  background: linear-gradient(to right, #f8fbff, #eef3fa);
  overflow: hidden;
}

.capstone-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
  z-index: 2;
  position: relative;
}

.capstone-text {
  flex: 1 1 480px;
  text-align: left;
  color: #222;
}

.capstone-text h2 {
  font-size: 2.4rem;
  color: #007bff;
  margin-bottom: 1rem;
  line-height: 1.2;
}
.section-title {
  font-size: 2.4rem;
  color: #007bff;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.capstone-text span b {
  color: #000;
}

.capstone-text p {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1rem;
  color: #333;
  max-width: 90%;
}

.capstone-imgs {
  flex: 1 1 480px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.capstone-imgs img {
  width: 100%;
  max-width: 500px;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.capstone-imgs img:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.btn-primary {
  background: #007bff;
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 1.5rem;
  transition: background 0.3s ease, transform 0.2s ease;
}

.btn-primary:hover {
  background: #0056b3;
  transform: scale(1.05);
}

/* ---------- TABLET ---------- */
@media (max-width: 1024px) {

  .capstone-content {
    flex-direction: column;
    text-align: center;
  }

  .capstone-text {
    text-align: center;
  }

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

  .capstone-text p {
    margin: 0 auto 1rem auto;
    max-width: 95%;
  }

  .capstone-imgs img {
    max-width: 400px;
  }
}

/* ---------- LARGE MOBILE ---------- */
@media (max-width: 768px) {
  .capstone {
    padding: 3rem 1.5rem;
  }

  .capstone-text h2 {
    font-size: 1.7rem;
    line-height: 1.8rem;
  }

  .section-title {
    font-size: 1.7rem;
    line-height: 1.8rem;
  }

  .capstone-text p {
    font-size: 0.95rem;
    line-height: 1.7;
  }

  .capstone-imgs img {
    max-width: 350px;
  }

  .btn-primary {
    width: 100%;
    max-width: 380px;
    display: block;
    margin: 1.5rem auto 0;
  }
}

/* ---------- SMALL MOBILE ---------- */
@media (max-width: 480px) {
  .capstone {
    padding: 2.5rem 1rem;
  }

  .capstone-text h2 {
    font-size: 1.4rem;
  }

  .section-title {
    font-size: 1.4rem;
  }

  .capstone-text p {
    font-size: 0.9rem;
  }

  .capstone-imgs img {
    max-width: 280px;
  }

  .btn-primary {
    width: calc(100% - 2rem);
    margin: 1rem auto 0;
  }
}
.why-choose ul {
  list-style: none;
  padding: 0;
}
.gallery img {
  width: 100px;
  border-radius: 8px;
  margin: 0.5rem;
}
.faq details {
  margin: 0.5rem 0;
}
.footer {
  background: #111;
  color: #fff;
  text-align: center;
  padding: 1rem;
}

:root {
  --slide-height: 220px;
  --transition: 600ms cubic-bezier(0.4, 0, 0.2, 1);
}

.store {
  padding: 3rem 2rem;
  text-align: center;
  margin-top: 2rem;
}
.store-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  align-items: start;
}
.item {
  background: #fff;
  border-radius: 10px;
  padding: 1rem;
  box-shadow: 0 1px 6px rgba(12, 20, 30, 0.06);
  max-width: 360px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.item:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.item-image-slider {
  position: relative;
  width: 100%;
  height: var(--slide-height);
  overflow: hidden;
  border-radius: 8px;
  background: #f4f6f8;
}

.slides {
  display: flex; /* slides in a row */
  width: 100%; /* full width of container */
  height: 100%;
  transition: transform var(--transition);
}

.slide {
  min-width: 100%; /* each slide takes full container width */
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.item-image-slider .btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 10;
}
.item-image-slider:hover .btn,
.item-image-slider:focus-within .btn {
  opacity: 1;
}
.item-image-slider .prev {
  left: 10px;
}
.item-image-slider .next {
  right: 10px;
}

.carousel-thumbs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
}
.carousel-thumbs .thumb {
  width: 50px;
  height: 40px;
  object-fit: cover;
  border: 2px solid transparent;
  border-radius: 5px;
  cursor: pointer;
  transition: border 0.3s ease, transform 0.2s ease;
}
.carousel-thumbs .thumb:hover {
  transform: scale(1.05);
}
.carousel-thumbs .thumb.active {
  border-color: #007bff;
}

.item h3 {
  margin: 0;
  font-size: 1.1rem;
}
.item p {
  margin: 0;
  color: #556;
  font-size: 0.95rem;
  flex-grow: 1;
}
.btn-secondary {
  margin-top: auto;
  background: #007bff;
  color: #fff;
  border: none;
  padding: 0.6rem 1rem;
  border-radius: 7px;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.btn-secondary:hover {
  background-color: #0056b3;
  transform: scale(1.05);
}

@media (max-width: 420px) {
  :root {
    --slide-height: 180px;
  }
  .item {
    padding: 0.75rem;
  }
}
/* Animation speed */
:root {
  --animation-speed: 40s;
}

/* Carousel container */
.infinite-carousel {
  position: relative;
  width: 100%;
  height: 180px; /* fixed height for uniform slides */
  overflow: hidden;
  background: #fff;
  margin: auto;
}

/* Slide track */
.carousel-track {
  display: flex;
  animation: carousel-scroll var(--animation-speed) linear infinite;
}

/* Individual slides */
.carousel-item {
  flex: 0 0 auto; /* don't shrink slides */
  height: 100%;
  aspect-ratio: 16 / 9; /* uniform ratio */
  overflow: hidden;
  margin-right: 10px; /* optional spacing */
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* fill the slide area consistently */
  display: block;
  border-radius: 6px; /* optional rounded corners */
}

/* Keyframes for infinite scroll */
@keyframes carousel-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  } /* scroll half of duplicated slides */
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .infinite-carousel {
    height: 180px;
  }
}

@media (max-width: 768px) {
  .infinite-carousel {
    height: 150px;
  }
}

@media (max-width: 480px) {
  .infinite-carousel {
    height: 120px;
  }
}
/* Specialization Section */
.specialization {
  padding: 3rem 2rem;
  margin-top: 2rem;
  text-align: center;
}

.specialization-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.spec-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 1rem;
  text-align: left;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.spec-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.spec-card h3 {
  color: #007bff;
  margin-bottom: 0.5rem;
}

.spec-card p {
  font-size: 0.95rem;
  color: #555;
  margin: 0.3rem 0;
}

/* Specialization images */
.spec-card .spec-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 0.8rem;
}

@import url("https://fonts.googleapis.com/css2?family=Silkscreen:wght@400;700&display=swap");

.silkscreen-regular {
  font-family: "Silkscreen", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.silkscreen-bold {
  font-family: "Silkscreen", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.hidden {
  opacity: 0;
}

.console-underscore {
  font-family: "Silkscreen", sans-serif;
  text-transform: uppercase;
  font-size: 4em;
  margin-top: 550px;
  color: white;
}

.console-underscore {
  display: inline-block;
  position: relative;
  top: -0.14em;
  left: 10px;
}
/* Scroll Animation Base */
.reveal {
  opacity: 0;
  transform: translateY(60px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}


/* ===========================
   RESPONSIVE DESIGN STYLES (from robot_mobile.css)
   =========================== */

/* ===========================
   RESPONSIVE DESIGN STYLES
   =========================== */

/* ---------- TABLET (max-width: 1024px) ---------- */
@media (max-width: 1024px) {
  .navbar {
    padding: 1rem;
  }

  .nav-links {
    gap: 0.5rem;
  }

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

  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .project-columns {
    flex-direction: column;
    align-items: center;
  }

  .project-col {
    width: 90%;
  }

  .capstone-content {
    flex-direction: column;
  }

  .capstone-text,
  .capstone-imgs {
    width: 100%;
    text-align: center;
    margin-left: 0;
  }

  .capstone-text h2 {
    margin-left: 0;
  }
  .section-title {
    margin-left: 0;
  }
}

/* ---------- LARGE MOBILE (max-width: 768px) ---------- */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  nav {
    display: none;
  }

  nav.active {
    display: block;
    background: #fff;
    position: absolute;
    top: 70px;
    right: 0;
    width: 100%;
  }

  .nav-links {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
  }

  /* Hero adjustments */
  .hero {
    max-height: 40vh;
    background-position: center center;
    background-size: cover;
    padding: 1rem 0;
  }

  .hero h1 {
    font-size: 1.8rem;
    line-height: 2.2rem;
    color: #000;
    margin: 0 1rem;
  }

  .btn-primary {
    font-size: 0.95rem;
    padding: 0.7rem 1.1rem;
    width: auto;
    min-width: 160px;
  }

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

  .whychooseus-grid ul {
    grid-template-columns: 1fr;
  }

  .store-items {
    grid-template-columns: repeat(2, 1fr);
  }

  .spec-card {
    text-align: center;
  }

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

  .contact-col li {
    max-width: 100%;
  }

  p {
    padding: 0 1rem;
  }
}

/* ---------- SMALL MOBILE (max-width: 480px) ---------- */
@media (max-width: 480px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .logo {
    font-size: 1.1rem;
  }

  .hero {
    min-height: 55vh;
    background-position: center center;
  }

  .hero h1 {
    font-size: 1.25rem;
    line-height: 1.6rem;
  }

  .btn-primary,
  .btn-secondary {
    display: block;
    width: calc(100% - 2rem);
    max-width: 420px;
    margin: 1rem auto 0;
  }

  .console-container {
    font-size: 1rem !important;
    margin-bottom: 0.4rem;
  }

  .cards,
  .store-items,
  .specialization-grid {
    grid-template-columns: 1fr;
  }

  .item img,
  .card img {
    height: 160px;
  }

  .capstone-text h2 {
    font-size: 1.4rem;
  }
  .section-title {
    font-size: 1.4rem;
  }

  .capstone-text p {
    font-size: 0.9rem;
  }

  .infinite-carousel {
    height: 100px;
  }

  .project-col li {
    height: auto;
  }

  .contact p {
    padding: 0 1rem;
  }

  footer,
  .footer {
    font-size: 0.8rem;
  }
}

/* ---------- CAPSTONE RESPONSIVE FIX ---------- */
@media (max-width: 1024px) {
  .capstone-content {
    flex-direction: column;
    text-align: center;
  }

  .capstone-text {
    text-align: center;
  }

  .capstone-text h2 {
    font-size: 1.8rem;
  }
  .section-title {
    font-size: 1.8rem;
  }

  .capstone-text p {
    max-width: 90%;
    margin: 0 auto;
  }

  .capstone-imgs img {
    max-width: 420px;
  }
}

@media (max-width: 600px) {
  .capstone {
    padding: 1.5rem 1rem;
  }

  .capstone-text h2 {
    font-size: 1.4rem;
    line-height: 1.8rem;
  }
  .section-title {
    font-size: 1.4rem;
    line-height: 1.8rem;
  }

  .capstone-text p {
    font-size: 0.9rem;
  }

  .capstone-imgs img {
    max-width: 300px;
  }
}

/* ---------- CONTACT SECTION TEXT ---------- */
.contact-text {
  font-size: 1rem;
  color: #444;
  line-height: 1.8;
  max-width: 900px;
  margin: 3rem auto 0 auto;
  text-align: center;
  padding: 0 2rem;
}

.contact-link {
  color: #007bff;
  text-decoration: none;
  font-weight: 600;
}

.contact-link:hover {
  text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .contact-text {
    padding: 0 1.2rem;
    font-size: 0.95rem;
    line-height: 1.7;
  }
}

@media (max-width: 480px) {
  .contact-text {
    padding: 0 1rem;
    font-size: 0.9rem;
  }
}
/* Store Header Styles */
.store-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn-orders {
  background: #28a745;
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s ease, transform 0.2s ease;
  white-space: nowrap;
}

.btn-orders:hover {
  background: #218838;
  transform: scale(1.05);
}

/* Responsive adjustments for store header */
@media (max-width: 768px) {
  .store-header {
    flex-direction: column;
    text-align: center;
  }
  
  .btn-orders {
    align-self: center;
  }
}

/* HERO SECTION - Improved for large screens */

/* Responsive adjustments for hero section */
@media (max-width: 1024px) {
  .hero {
    height: 70vh;
  }
  
  .console-container,
  .console-underscore {
    font-size: 1.5rem;
  }
}

@media (max-width: 768px) {
  .hero {
    height: 60vh;
  }
  
  .console-container,
  .console-underscore {
    font-size: 1.2rem;
  }
}