@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600&family=Poppins:wght@500;600;700&display=swap');

:root {
  --turmeric-yellow: #fdb813;
  --chili-red: #c31711;
  --leaf-green: #2e7d32;
  --text-dark: #333333;
  --text-light: #555555;
  --bg-light: #f8f9fa;
  --white: #ffffff;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--text-light);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Poppins', sans-serif;
  color: var(--text-dark);
}

.text-turmeric {
  color: var(--turmeric-yellow) !important;
}

.text-chili {
  color: var(--chili-red) !important;
}

.text-green {
  color: var(--leaf-green) !important;
}

.bg-turmeric {
  background-color: var(--turmeric-yellow) !important;
}

.bg-chili {
  background-color: var(--chili-red) !important;
}

.bg-green {
  background-color: var(--leaf-green) !important;
}

.btn-primary {
  background-color: var(--chili-red);
  border-color: var(--chili-red);
  color: var(--white);
  border-radius: 30px;
  padding: 10px 25px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #a0100a;
  border-color: #a0100a;
  color: var(--white);
}

.btn-secondary {
  background-color: var(--turmeric-yellow);
  border-color: var(--turmeric-yellow);
  color: var(--text-dark);
  border-radius: 30px;
  padding: 10px 25px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background-color: #e5a710;
  border-color: #e5a710;
  color: var(--text-dark);
}

/* Navbar */
.navbar {
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  padding: 15px 0;
}

.navbar.fixed-top {
  padding: 10px 0;
  animation: slideDown 0.5s ease-in-out;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }

  to {
    transform: translateY(0);
  }
}

.navbar-brand img {
  height: 80px;
  /* Increased from 50px */
}

.nav-link {
  font-weight: 600;
  color: var(--text-dark) !important;
  text-transform: uppercase;
  font-size: 14px;
  margin: 0 10px;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background-color: var(--chili-red);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 80%;
}

.nav-link:hover,
.nav-link.active {
  color: var(--chili-red) !important;
}

.nav-social-icons {
  display: flex;
  align-items: center;
  margin-left: 20px;
}

.nav-social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  /* Rounded square shape */
  margin: 0 5px;
  color: var(--white);
  transition: transform 0.3s ease;
  font-size: 15px;
  /* slightly smaller icon */
  text-decoration: none;
}

.nav-social-icons a:hover {
  transform: translateY(-3px);
  color: var(--white);
}

.nav-social-icons .icon-instagram {
  background-color: var(--turmeric-yellow);
  /* Yellow */
}

.nav-social-icons .icon-youtube {
  background-color: var(--chili-red);
  /* Red */
}

.nav-social-icons .icon-twitter {
  background-color: #7b8e5c;
  /* Cardamom Green */
}

/* Hero Carousel */
.hero-carousel {
  height: 100vh;
  min-height: 600px;
}

.carousel-item {
  height: 100vh;
  min-height: 600px;
  background-size: cover;
  background-position: center;
}

.carousel-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
}

.carousel-caption {
  bottom: 50%;
  transform: translateY(50%);
  text-align: center;
}

.carousel-caption h1 {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.carousel-caption p {
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 30px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Sections */
.section-padding {
  padding: 80px 0;
}

.bg-light-gray {
  background-color: var(--bg-light);
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-weight: 700;
  font-size: 2.5rem;
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

.section-title h2::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 3px;
  background-color: var(--chili-red);
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
}

/* Features */
.feature-box {
  text-align: center;
  padding: 40px 20px;
  border-radius: 10px;
  background: var(--white);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  height: 100%;
}

.feature-box:hover {
  transform: translateY(-10px);
}

.feature-icon {
  font-size: 50px;
  color: var(--leaf-green);
  margin-bottom: 20px;
}

/* Product Card */
.product-card {
  border: none;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: var(--white);
  height: 100%;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.product-card img {
  height: auto;
  width: 100%;
}

.product-card .card-body {
  padding: 30px;
  text-align: center;
}

.product-icon {
  font-size: 30px;
  color: var(--turmeric-yellow);
  margin-bottom: 15px;
}

.product-card h4 {
  font-weight: 600;
  margin-bottom: 15px;
}

/* Marquee Scroll */
.marquee-container {
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 10px 0 40px;
}

.marquee-track {
  display: flex;
  gap: 30px;
  animation: scroll-marquee 40s linear infinite;
  width: max-content;
}

.marquee-track:hover {
  animation-play-state: paused;
}

@keyframes scroll-marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-50% - 15px));
  }
}

.marquee-item {
  width: 300px;
  flex-shrink: 0;
}

.marquee-item img {
  height: auto;
  width: 100%;
}

/* Certificates */
.cert-card {
  border: 1px solid #ddd;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 30px;
  transition: 0.3s;
}

.cert-card:hover {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  transform: scale(1.02);
}

.cert-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

/* Footer */
footer {
  background-color: var(--text-dark);
  color: var(--white);
  padding: 60px 0 20px;
}

.footer-title {
  color: var(--white);
  font-weight: 600;
  margin-bottom: 25px;
  font-size: 1.2rem;
  position: relative;
  padding-bottom: 10px;
}

.footer-title::after {
  content: '';
  position: absolute;
  width: 30px;
  height: 2px;
  background-color: var(--turmeric-yellow);
  bottom: 0px;
  left: 0;
}

footer p,
footer li {
  color: #cccccc;
  font-size: 0.95rem;
}

footer a {
  color: #cccccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: var(--turmeric-yellow);
}

footer ul {
  padding-left: 0;
  list-style: none;
}

footer ul li {
  margin-bottom: 10px;
}

.social-icons a {
  display: inline-block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  margin-right: 10px;
  color: var(--white);
  transition: background 0.3s;
}

.social-icons a:hover {
  background: var(--chili-red);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 40px;
  padding-top: 20px;
  text-align: center;
}

.footer-bottom i.fa-laptop-code {
  transition: transform 0.3s ease;
  display: inline-block;
  cursor: pointer;
}

.footer-bottom i.fa-laptop-code:hover {
  transform: translateY(-5px);
}

/* Page Header */
.page-header {
  padding: 100px 0;
  background-color: var(--bg-light);
  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1596040033229-a9821ebd058d?auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
  color: var(--white);
  text-align: center;
}

.page-header h1 {
  color: var(--white);
  font-size: 3rem;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up {
  opacity: 1;
  transform: translateY(0);
}

/* Contact Form & Career Form */
.form-control {
  padding: 12px 20px;
  border-radius: 8px;
  border: 1px solid #ddd;
}

.form-control:focus {
  border-color: var(--turmeric-yellow);
  box-shadow: 0 0 0 0.2rem rgba(253, 184, 19, 0.25);
}

/* Responsive */
@media (max-width: 768px) {
  .carousel-caption h1 {
    font-size: 2rem;
  }

  .section-title h2 {
    font-size: 2rem;
  }

  .page-header {
    padding: 60px 0;
  }

  .page-header h1 {
    font-size: 2.2rem;
  }
}