/* css/index.css */

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  width: 100%;
}

body {
  margin: 0;
  padding: 0;
  background-color: #ffffff;
  font-family: Arial, sans-serif;
  color: #000000;
  padding-top: 50px; /* adjust to your header height */
  verflow-x: hidden;
}

header {
  width: 100%;
  background-color: #ffffff;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  padding: 5px 80px;
  height: 20px; /* or whatever height you want */
  flex-wrap: wrap;
  padding-bottom: 30px;
  z-index: 10;
}

.logo {
  position: absolute;
  left: calc(20px + 1.5cm);
  margin-bottom: 10px; /* pushes nav downward if needed */
  z-index: 11;
      }

.logo img {
  max-height: 180px;
  width: auto;
  height: auto;
  object-fit: contain;
  z-index: 11;
  display: inline-block;
}

@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  body, html {
    overflow-x: hidden;
  }

  nav {
    margin-top: 10px;
  }
}

nav {
  display: flex;
  gap: 30px;
}

#menu-toggle {
  display: none;
  background: none;
  font-size: 1.5rem;
  border: none;
}

nav a {
  text-decoration: none;
  color: #000;
  font-weight: bold;
}

.carousel {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 400px;
  z-index: 0;
}

.carousel-track {
  display: flex;
  transition: transform 0.8s ease-in-out;
}

.carousel-container {
  position: relative;
  width: 100%;
  height: 700px;
  overflow: hidden;
  z-index: 0;
}

.carousel-track-wrapper {
  display: flex;
  transition: transform 0.5s ease;
  width: 600vw; /* previously 400%, now 6 slides */
  will-change: transform;
  cursor: grab;
}

.carousel-track-wrapper:active {
  cursor: grabbing;
}

.carousel-slide {
  display: flex;
  align-items: center;
  width: 100vw;
  height: 500px;
  background-color: #fff;
  padding: 20px;
  box-sizing: border-box;
  animation: none;
  opacity: 0.95;
  transform: scale(0.97);
  transition: transform 0.5s ease, opacity 0.5s ease;
  animation: slideGrow 0.6s ease-in-out;
}

.carousel-slide.active {
  animation: slideGrow 0.6s ease-in-out;
}

.carousel-slide.grow-animate {
  animation: growSlide 0.4s ease-out forwards;
}

.carousel-slide img {
  width: 50%;
  height: 100%;
  object-fit: contain;
  background-color: #fff;
}

/* Simulate grow-in effect using nth-child and slight delay */
.carousel-slide:nth-child(1) {
  animation: growSlide 0.5s ease-in-out;
  animation-delay: 0.1s;
  animation-fill-mode: both;
}

.carousel-slide:nth-child(2) {
  animation: growSlide 0.5s ease-in-out;
  animation-delay: 5.1s;
  animation-fill-mode: both;
}

.carousel-slide:nth-child(3) {
  animation: growSlide 0.5s ease-in-out;
  animation-delay: 10.1s;
  animation-fill-mode: both;
}

.carousel-slide:nth-child(4) {
  animation: growSlide 0.5s ease-in-out;
  animation-delay: 15.1s;
  animation-fill-mode: both;
}

/* Optional if you ever loop back cleanly */
.carousel-slide:nth-child(1) {
  animation-delay: 20.1s;
}

.carousel-caption {
  width: 50%;
  padding: 20px;
  color: #000;
}

.carousel-caption h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.carousel-caption button {
  margin-right: 10px;
  padding: 10px 20px;
  font-size: 1rem;
  cursor: pointer;
}

.carousel-caption .primary {
  background-color: #007bff;
  color: #fff;
  border: none;
}

.carousel-caption .secondary {
  background-color: transparent;
  color: #007bff;
  border: 2px solid #007bff;
}

.carousel-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 2;
}

.dot {
  width: 14px;
  height: 14px;
  background-color: rgba(0, 0, 0, 0.3); /* Inactive: greyed */
  border-radius: 4px; /* Makes them square with slightly rounded edges */
  cursor: pointer;
  transition: background-color 0.3s;
}

.dot.active {
  background-color: #007bff; /* Active dot color */
}

.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255,255,255,0.7);
  border: none;
  font-size: 2rem;
  cursor: pointer;
  z-index: 1;
  padding: 10px;
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

.carousel-images {
  display: flex;
  width: calc(100vw * 5); /* 5 images */
  height: 100%;
  animation: slide 25s infinite;
}

.carousel-images img {
  width: 80%;
  height: 100%;
  object-fit: contain;
  background-color: #ffffff;
  padding: 10px;
  margin: 0 auto;
  display: block;
}

@keyframes slide {
  0%, 16% {
    transform: translateX(0%);
  }
  20%, 36% {
    transform: translateX(-100vw);
  }
  40%, 56% {
    transform: translateX(-200vw);
  }
  60%, 76% {
    transform: translateX(-300vw);
  }
  80%, 96% {
    transform: translateX(-400vw);
  }
  100% {
    transform: translateX(0%);
  }
}

.prev, .next {
  position: absolute;
  top: 50%;
  background-color: rgba(0,0,0,0.5);
  color: #fff;
  border: none;
  padding: 10px;
  cursor: pointer;
  transform: translateY(-50%);
  z-index: 1;
}

.prev { left: 10px; }
.next { right: 10px; }

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  background-color: #222;
  color: #fff;
  padding: 40px 60px;
  flex-wrap: wrap;
}

.footer-column {
  flex: 1;
  margin: 0 20px;
  min-width: 200px;
}

.footer-logo {
  max-width: 150px;
  height: auto;
}

.footer-column h4 {
  margin-bottom: 15px;
  font-size: 18px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 8px;
}

.footer-column ul li a {
  color: #fff;
  text-decoration: none;
}

.footer-column ul li a:hover {
  text-decoration: underline;
}

.footer-bottom {
  background-color: #111;
  color: #ccc;
  text-align: center;
  padding: 15px 0;
  font-size: 14px;
}

.footer-brand {
  font-family: 'Gemina', Arial, sans-serif;
  color: white;
  font-size: 1.8rem;
  margin: 0;
  padding: 0;
}

@media (max-width: 768px) {
  nav {
    display: none;
    flex-direction: column;
    background: #fff;
    position: absolute;
    top: 60px;
    right: 0;
    padding: 10px 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }

  nav.show {
    display: flex;
  }

  #menu-toggle {
    display: block;
  }
}

@keyframes slideGrow {
  from {
    transform: scale(0.95);
    opacity: 0.8;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes growSlide {
  0% {
    transform: scale(0.96);
    opacity: 0.85;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.carousel-track-wrapper, 
.carousel-slide, 
.carousel-slide * {
  user-select: none;
  -webkit-user-drag: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0; /* No space between rectangles */
  width: 100%;
  margin-bottom: 2cm;
}

.feature-card {
  position: relative;
  width: 100%; /* Let the grid system handle column width */
  height: 300px;
  overflow: hidden;
}

.feature-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-content {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: rgba(255, 255, 255, 0.8);
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 2;
  width: calc(100% - 30px); /* keep inside card with padding */
  box-sizing: border-box;
}

.feature-content h3 {
  margin: 0 0 10px 0; /* space below title */
  font-size: 1.2rem;
  font-weight: bold;
  color: #000;
}

.feature-content a {
  color: #007bff;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
}

.feature-content a:hover {
  text-decoration: underline;
}

.view-more {
  font-size: 0.9rem;
  color: #007bff;
  text-decoration: none;
}

.view-more:hover {
  text-decoration: underline;
}

@media (max-width: 1024px) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

/* Info section layout */
.info-section {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1300px; /* controls total width */
  margin-left: 90px;          /* Set your desired left margin */
  margin-right: 10px !important;         /* Set your desired right margin */
  margin-bottom: 3cm;         /* Keep the 3cm bottom margin */
  box-sizing: border-box;
  gap: 40px; /* space between columns */
}

/* Text container aligned with page title */
.info-text {
  flex: 1; /* smaller portion */
  display: flex;
  flex-direction: column;
}

/* Buttons container with margin top */
.info-buttons {
  margin-top: 20px;
}

/* Image container */
.info-image {
  flex: 1.5; /* larger portion */
}

/* Image should end aligned with text start */
.info-image img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Buttons styled like slides */
.carousel-caption button.primary,
.carousel-caption button.secondary {
  font-size: 1rem;
  padding: 10px 20px;
  cursor: pointer;
  margin-right: 10px;
  border-radius: 4px;
  border: none;
  transition: background-color 0.3s ease;
}

/* Button base style */
.info-text .primary,
.info-text .secondary {
  font-size: 1.1rem;      /* Increased from 1rem */
  padding: 14px 28px;     /* Increased padding for size */
  border-radius: 6px;     /* Optional: soften corners */
  margin-right: 10px;
  cursor: pointer;
}

.info-buttons .primary {
  background-color: #007bff;
  color: #fff;
  border: none;
}

.info-buttons .primary:hover {
  background-color: #0056b3;
}

.info-buttons .secondary {
  background-color: transparent;
  color: #007bff;
  border: 2px solid #007bff;
}

.info-buttons .secondary:hover {
  background-color: #007bff;
  color: #fff;
}

.features-section {
  max-width: 1200px;
  margin: 3cm auto 4cm auto; /* top and bottom spacing */
  padding: 0 20px;
  text-align: center;
}

.features-title {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #000;
}

.features-grid {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.feature-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px;
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 15px;
  object-fit: contain;
}

.feature-heading {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: #000;
}

.feature-description {
  font-size: 1rem;
  color: #444;
}

.second-features {
  margin-top: 3cm;
}


@font-face {
  font-family: 'Gemina';
  src: url('../fonts/gemina_0.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

.footer-logo-img {
  max-height: 180px; /* desktop size */
  width: auto;
  filter: brightness(0) invert(1);
  -webkit-filter: brightness(0) invert(1);
  display: block;
}

@media (max-width: 991px) {
  .footer .container {
    flex-direction: column;
    align-items: flex-start;  /* left align instead of center */
    text-align: left;         /* text left aligned */
  }

  .footer-logo {
    margin-bottom: 20px;
  }

  .footer-logo-img {
    max-height: 160px;
    filter: brightness(0) invert(1);
  }

  .footer-column {
    margin-top: 15px;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100%;
    text-align: left;         /* text left aligned */
  }
}
