@import url("https://fonts.googleapis.com/css2?family=Bitter&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Nova+Square&family=Roboto:wght@300&display=swap");
.hero-nav-btn {
  width: 50px;
  height: 50px;
  font-size: var(--font-size-lg);
}

.hero-prev {
  left: 15px;
}

.hero-next {
  right: 15px;
}

.hero-indicators {
  bottom: 15px;
} /* ===== CSS VARIABLES FOR EASY CUSTOMIZATION ===== */
:root {
  /* Colors */
  /* --primary-color: #2c5f7a;
    --secondary-color: #d4a853; */

  --primary-color: #6a1b9a; /* Change main color */
  --secondary-color: #e91e63; /* Change accent color */
  /* --font-family: 'Inter', sans-serif;  Change font */

  --accent-color: #ff5722;
  --dark-bg: #1a1a1a;
  --light-bg: #f8f9fa;
  --white: #ffffff;
  --text-dark: #333333;
  --text-light: #666666;
  --border-light: #e9ecef;

  /* Typography */
  --font-family: "Bitter", sans-serif;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 2rem;
  --font-size-4xl: 2.5rem;
  --font-size-5xl: 3.0rem;

  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --spacing-3xl: 4rem;

  /* Borders */
  --border-radius-sm: 0.375rem;
  --border-radius-md: 0.5rem;
  --border-radius-lg: 0.75rem;
  --border-radius-xl: 1rem;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);

  /* Company Variables (Easy to customize) */
  --company-name: "JAINAM FERRO ALLOYS";
  --company-tagline: "Stainless Steel/Steel Cold Drawn Pipes and tubes Processor";
  --company-slogan: "An ISO 9001:2015 Certified Company";
}

/* ===== GLOBAL STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-family);
  line-height: 1.6;
  color: var(--text-dark);
  overflow-x: hidden;
}

.relative {
  position: relative;
}
.absolute {
  position: absolute;
}

/* ===== ANIMATED TOP HEADER ===== */
.animated-header {
  background: linear-gradient(
    135deg,
    var(--secondary-color),
    var(--primary-color)
  );
  height: 8px;
  position: relative;
  overflow: hidden;
}

.animated-line {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.6),
    transparent
  );
  animation: slideAnimation 3s infinite;
}

@keyframes slideAnimation {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

/* ===== SOCIAL HEADER ===== */
.social-header {
  background: var(--primary-color);
  padding: var(--spacing-sm) 0;
}

.social-links {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.social-links span {
  color: var(--white);
  font-size: var(--font-size-sm);
  margin-right: var(--spacing-md);
}

.social-links a {
  color: var(--white);
  font-size: var(--font-size-lg);
  transition: all 0.3s ease;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.social-links a:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
}

/* ===== NAVIGATION ===== */
.main-nav {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  padding: var(--spacing-md) 0;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.brand-logo {
  width: 50px;
  height: 50px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  /* border-radius: var(--border-radius-md); */
  border-radius: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: var(--font-size-xl);
}

.trademark-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  /* border-radius: var(--border-radius-md); */
  border-radius: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: var(--font-size-xl);
}

.brand-text h2 {
  color: var(--primary-color);
  font-weight: 700;
  font-size: var(--font-size-xl);
  margin: 0;
}

.brand-text p {
  color: var(--secondary-color);
  font-size: var(--font-size-sm);
  margin: 0;
}

.navbar-nav .nav-link {
  color: var(--text-dark);
  font-weight: 500;
  padding: var(--spacing-sm) var(--spacing-lg);
  transition: all 0.3s ease;
  position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary-color);
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--secondary-color);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 80%;
}

/* ===== HERO SECTION ===== */
.hero-section {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url("./images/silder3.jpg") center/cover;
  min-height: 80vh;
  max-height: 900px; /* ADD this line */
  display: flex;
  align-items: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
   width: 100%;
}
.hero-section .container {
  position: relative;
  z-index: 2;
  max-width: 1320px; /* ADD this */
  width: 100%; /* ADD this */
  padding: 0 15px; /* ADD this */
  margin: 0 auto; /* ADD this */
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px; /* ADD this line */
  padding: 0px 28px 0px 65px; /* ADD this line */
  
}
.hero-title {
  font-size: var(--font-size-5xl);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--spacing-lg);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: var(--font-size-xl);
  font-weight: 400;
  margin-bottom: var(--spacing-2xl);
  line-height: 1.4;
}

.hero-buttons {
  display: flex;
  gap: var(--spacing-lg);
  flex-wrap: wrap;
  font-size: var(--font-size-base);
}

.btn-primary-custom {
  background: var(--secondary-color);
  border: 2px solid var(--secondary-color);
  color: var(--white);
  padding: var(--spacing-md) var(--spacing-2xl);
  border-radius: var(--border-radius-xl);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.btn-primary-custom:hover {
  background: transparent;
  color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--light-bg);
}

.btn-outline-custom {
  /* background: transparent; */
  background:  var(--primary-color);;
  /* border: 2px solid var(--white); */
  color: var(--white);
  padding: var(--spacing-md) var(--spacing-2xl);
  border-radius: var(--border-radius-xl);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-outline-custom:hover {
  background: var(--white);
  color: var(--primary-color);
  transform: translateY(-2px);
  /* border: 2px solid var(--light-bg); */
}

/* ===== SECTION STYLING ===== */
.section {
  padding: var(--spacing-3xl) 0;
}

.section-title {
  font-size: var(--font-size-3xl);
  font-weight: 700;
  text-align: center;
  margin-bottom: var(--spacing-xl);
  color: var(--text-dark);
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 2px;
}

/* ===== ABOUT SECTION ===== */
.about-section {
  background: var(--light-bg);
}

.about-content {
  font-size: var(--font-size-lg);
  line-height: 1.8;
  color: var(--text-light);
}

.about-image {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.about-image:hover img {
  transform: scale(1.05);
}

/* ===== SERVICES SECTION ===== */
.service-card {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-2xl);
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  height: 100%;
  border: 1px solid var(--border-light);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
  border-color: var(--secondary-color);
}

.service-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-lg);
  color: var(--white);
  font-size: var(--font-size-2xl);
}

.service-card h4 {
  font-size: var(--font-size-xl);
  font-weight: 600;
  margin-bottom: var(--spacing-md);
  color: var(--text-dark);
}

.service-card p {
  color: var(--text-light);
  line-height: 1.6;
}

/* ===== WHY CHOOSE US SECTION ===== */
.why-choose-section {
  background: var(--primary-color);
  color: var(--white);
}

.why-choose-section .section-title {
  color: var(--white);
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: var(--secondary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: var(--font-size-xl);
  flex-shrink: 0;
}

.feature-content h5 {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
}

.feature-content p {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

/* ===== GALLERY SECTION ===== */
.gallery-item {
  position: relative;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  margin-bottom: var(--spacing-lg);
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    45deg,
    rgba(44, 95, 122, 0.9),
    rgba(212, 168, 83, 0.9)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay i {
  font-size: var(--font-size-3xl);
  color: var(--white);
}

/* ===== CONTACT SECTION ===== */
.contact-section {
  background: var(--light-bg);
}

.contact-form {
  background: var(--white);
  padding: var(--spacing-2xl);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
}

.form-group {
  margin-bottom: var(--spacing-lg);
}

.form-group label {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: var(--spacing-sm);
  display: block;
}

.form-control {
  border: 2px solid var(--border-light);
  border-radius: var(--border-radius-md);
  padding: var(--spacing-md);
  transition: all 0.3s ease;
  font-size: var(--font-size-base);
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(44, 95, 122, 0.1);
  outline: none;
}

.contact-info {
  background: var(--primary-color);
  color: var(--white);
  padding: var(--spacing-2xl);
  border-radius: var(--border-radius-lg);
  height: fit-content;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
}

.contact-item i {
  width: 40px;
  height: 40px;
  /* background: var(--secondary-color); */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-lg);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--dark-bg);
  color: var(--white);
  padding: var(--spacing-3xl) 0 var(--spacing-xl) 0;
}

.footer h5 {
  color: var(--secondary-color);
  font-weight: 600;
  margin-bottom: var(--spacing-lg);
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: var(--spacing-sm);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--secondary-color);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--spacing-lg);
  margin-top: var(--spacing-xl);
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

/* Scroll animations */
.scroll-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.scroll-animate.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  :root {
    --font-size-4xl: 2rem;
    --font-size-3xl: 1.75rem;
    --spacing-3xl: 2rem;
  }

  .hero-title {
    font-size: var(--font-size-3xl);
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn-primary-custom,
  .btn-outline-custom {
    width: 100%;
    text-align: center;
    justify-content: center;
    padding: var(--spacing-md) 0;
  }

  .social-links {
    justify-content: center;
  }

  .feature-item {
    text-align: center;
    flex-direction: column;
    align-items: center;
  }

  .contact-info {
    margin-top: var(--spacing-xl);
  }

  .brand-text h2 {
    font-size: var(--font-size-lg);
  }

  .navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
  }

  .navbar-toggler:focus {
    box-shadow: 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='rgba%2844, 95, 122, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='m4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  }

  .nav-link {
    background-color: rgb(222 222 222);
  }
  .certificate-section {
    display: none;
  }
  .certificate-moblie {
    display: block;
  }
}

@media (max-width: 576px) {
  .brand-text h2 {
    font-size: var(--font-size-base);
  }

  .brand-text p {
    font-size: 0.75rem;
  }

  .social-links span {
    display: none;
  }

  .section {
    padding: var(--spacing-2xl) 0;
  }

  .contact-item {
    flex-direction: column;
    text-align: center;
  }

  .service-card {
    padding: var(--spacing-lg);
  }

  .trademark-icon{
    height: 30px;
    width: 30px;
  }
}

/* Large screens optimization */
@media (min-width: 1400px) {
  .slider {
    height: 85vh;
    max-height: 850px;
  }
  
  .hero-content {
    max-width: 900px;
  }
}

@media (min-width: 1920px) {
  .slider {
    height: 80vh;
    max-height: 900px;
  }
  
  .hero-content {
    max-width: 1000px;
  }
  
  .hero-title {
    font-size: 3.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.75rem;
  }
}



/* Large screens optimization */
@media (min-width: 1920px) {
  .slider {
    max-height: 1000px;
  }
  
  .hero-content {
    max-width: 1400px;
    margin: 0 auto;
  }
  
  .hero-title {
    font-size: 4rem;
  }
  
  .hero-subtitle {
    font-size: 2rem;
  }
}

@media (min-width: 2560px) {
  .slider {
    max-height: 1200px;
  }
  
  .hero-title {
    font-size: 5rem;
  }
  
  .hero-subtitle {
    font-size: 2.5rem;
  }
}

/* ===== UTILITY CLASSES ===== */
.text-primary {
  color: var(--primary-color) !important;
}

.text-secondary {
  color: var(--secondary-color) !important;
}

.text-white {
  color: var(--white) !important;
}

.bg-primary {
  background-color: var(--primary-color) !important;
}

.bg-secondary {
  background-color: var(--secondary-color) !important;
}

.bg-light-custom {
  background-color: var(--light-bg) !important;
}

/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--light-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--secondary-color);
}

.hero-slider-container {
  position: relative;
  height: 80vh;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slide-box {
  position: relative;
  width: 100vw;
  height: 80vh;
  overflow: hidden;
  /* border-radius: 2rem; */
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  background-size: cover;
  background-position: center;
  transition: opacity 1s cubic-bezier(0.77, 0, 0.18, 1);
  animation: slideUpDown 3s linear infinite;
  z-index: 0;
}
.hero-slide.active {
  opacity: 1;
  z-index: 1;
}
@keyframes slideUpDown {
  0% {
    transform: translateY(0px);
  }
  /* 100%  { transform: translateY(-40px);} */
}

/* Navigation Buttons */
.hero-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: linear-gradient(135deg, #e91e63 30%, #6a1b9a 60%, #ff5722 100%);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 56px;
  height: 56px;
  font-size: 2rem;
  font-weight: bold;
  box-shadow: 0 1px 10px rgba(233, 30, 99, 0.1);
  opacity: 0.92;
  cursor: pointer;
  transition: background 0.3s, box-shadow 0.3s, transform 0.18s;
}
.hero-prev {
  left: 2.5%;
}
.hero-next {
  right: 2.5%;
}
.hero-nav-btn:hover {
  background: linear-gradient(135deg, #ff5722 20%, #e91e63 80%);
  box-shadow: 0 3px 18px rgba(255, 87, 34, 0.18);
  transform: scale(1.1);
}

/* Dot indicators */
.hero-indicators {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 12;
  display: flex;
  gap: 18px;
}
.indicator {
  display: block;
  width: 14px;
  height: 14px;
  background: #fff;
  border: 2px solid #6a1b9a;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0.65;
  transition: background 0.3s, border 0.3s, transform 0.2s;
}
.indicator.active {
  background: linear-gradient(135deg, #e91e63, #6a1b9a, #ff5722);
  border-color: #ff5722;
  opacity: 1;
  transform: scale(1.2);
}

/* Responsive Button/Indicator Sizing */
@media (max-width: 768px) {
  .hero-nav-btn {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
  .hero-indicators {
    gap: 10px;
  }
  .indicator {
    width: 10px;
    height: 10px;
  }
  .mobileTextCenter {
    text-align: center;
  }
}

@media (min-width: 768px) {
  .certificate-moblie {
    display: none;
  }
}

/* Hero Section Gradient Overlay */
.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  background: linear-gradient(115deg, #6a1b9a 66%, #e91e63 93%, #ff5722 100%);
  opacity: 0.36;
}
.hero-content {
  position: relative;
  z-index: 11;
}

/* @import url('https://fonts.googleapis.com/css?family=Roboto'); */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* body {
  height: 100vh;
  width: 100vw;
  background-color: #7656d6;
  color: #333;
  font-family: 'Roboto', sans-serif;
  text-align: center;
  letter-spacing: 0.15em;
  font-size: 22px;
  overflow: hidden; 
} */

.slider {
  position: relative;
  width: 100%;
  height: 80vh;
  box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  max-width: 100vw; /* ADD यह */
}

.wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 1;
  max-width: 100%; /* ADD यह */
}

.slides {
  display: flex;
  position: relative;
  top: 0;
  left: -100%;
  width: auto; /* CHANGE from 10000px */
  height: 100%;
  flex-wrap: nowrap; /* ADD यह */
}

.slides.shifting {
  transition: left 0.4s ease-out;
}

.slide {
  width: 100%; /* CHANGE from 100vw */
  min-width: 100%; /* ADD यह */
  max-width: 100%; /* ADD यह */
  flex-shrink: 0; /* ADD यह - IMPORTANT */
  height: 100%;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: all 1s;
  position: relative;
  background: #ffcf47;
  border-radius: 0;
  font-size: 3rem;
  color: #fff;
}
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute; /* ADD this line */
  top: 0; /* ADD this line */
  left: 0; /* ADD this line */
}

.slider.loaded {
  .slide:nth-child(2),
  .slide:nth-child(7) {
    background: #ffcf47;
  }
  .slide:nth-child(1),
  .slide:nth-child(6) {
    background: #7adcef;
  }
  .slide:nth-child(3) {
    background: #3cff96;
  }
  .slide:nth-child(4) {
    background: #a78df5;
  }
  .slide:nth-child(5) {
    background: #ff8686;
  }
}

.control {
  position: absolute;
  top: 50%;
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  margin-top: -30px;
  box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.3);
  z-index: 10; /* CHANGE from z-index: 2 to 10 */
}
.prev,
.next {
  background-size: 30px;
  background-position: center;
  background-repeat: no-repeat;
  cursor: pointer;
}

.prev {
  background-image: url(https://cdn0.iconfinder.com/data/icons/navigation-set-arrows-part-one/32/ChevronLeft-512.png);
  left: 20px;
}

.next {
  background-image: url(https://cdn0.iconfinder.com/data/icons/navigation-set-arrows-part-one/32/ChevronRight-512.png);
  right: 20px;
}

.prev:active,
.next:active {
  transform: scale(0.8);
}

.indSlide {
  display: flex;
  justify-content: center;
  align-items: center;
  /* min-height: 100vh; */
  background: var(--white);
  overflow: hidden;
  margin: 0;
}

.carousel {
  position: relative;
  width: 100%;
  max-width: 900px;
  height: 60vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 12px 26px var(--white);
}

.carousel-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.42, 0, 0.58, 1);
  will-change: transform;
}

.carousel-track img {
  width: 60vw;
  max-width: 400px;
  margin: 0 8px;
  object-fit: cover;
  border-radius: 15px;
  opacity: 0.5;
  transform: scale(0.8);
  transition: transform 0.5s ease, opacity 0.5s ease, box-shadow 0.5s ease;
  box-shadow: 0 2px 10px var(--white);
}

.carousel-track img.active {
  opacity: 1;
  transform: scale(1.13);
  box-shadow: 0 18px 40px var(--white);
  z-index: 2;
  border: 2px solid var(--white);
}

@media (max-width: 950px) {
  .carousel {
    max-width: 100vw;
    height: 320px;
  }
  .carousel-track img {
    width: 65vw;
    max-width: 280px;
  }
  .carousel-track img.active {
    transform: scale(1.09);
  }
}

@media (max-width: 480px) {
  .indSlide {
    /* min-height: 80vh; */
  }
  .carousel {
    height: 220px;
    border-radius: 8px;
    box-shadow: none;
  }
  .carousel-track img {
    width: 96vw;
    max-width: 160px;
    margin: 0 2px;
    border-radius: 12px;
  }
  .carousel-track img.active {
    transform: scale(1.03);
    border: 1.5px solid var(--white);
  }
}

.certificate-section {
  background: #f8f9fa;
}

.certificate-img {
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.certificate-img:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
}

.certificate-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* .btn-primary-custom {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.3);
} */

.certificate-content {
  padding: 2rem;
}

.certificate-content h2 {
  color: #1a202c;
  margin-bottom: 1rem;
}

.certificate-content p {
  color: #4a5568;
  line-height: 1.6;
}

.check-item {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
}

.check-item i {
  color: #48bb78;
  margin-right: 0.5rem;
}

@media (max-width: 991px) {
  .certificate-img {
    height: 400px;
    margin-bottom: 2rem;
  }

  .certificate-content {
    padding: 1rem;
  }
}

@media (max-width: 576px) {
  .certificate-img {
    height: 350px;
    padding: 15px;
  }
}





.counter-section {
  background: var(--primary-color) url('./images/counter_background.PNG') no-repeat center center/cover;
  /* background: linear-gradient(135deg, #e91e63, #6a1b9a, #ff5722); */
   /* background: linear-gradient(160deg, var(--primary-color), var( --accent-color)); */
  padding: 60px 0;
  text-align: center;
  color: var(--light-bg);
  position: relative;
}

.counter-section::before {
  content: "";
  position: absolute;
  inset: 0;
  /* background: linear-gradient(160deg, var(--primary-color), var( --accent-color)); */
}

.counter-section .container {
  position: relative;
  z-index: 2;
}

.counter-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.counter-box h2 {
  font-size: 3rem;
  font-weight: 700;
  color: var(--white); /* Accent blue for numbers */
  margin-bottom: 10px;
}

.counter-box p {
  font-size: 1rem;
  letter-spacing: 1px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--border-light);
}

/* Responsive */
@media (max-width: 992px) {
  .counter-grid {
    grid-template-columns: 2fr 2fr;
    gap: 40px;
  }
}

@media (max-width: 576px) {
  .counter-grid {
    grid-template-columns: 1fr;
  }
}

/* Whatsapp intigration */
.whatsapp-wrapper {
  position: fixed;
  bottom: 20px;
  left: 20px;
  /* right: 20px; */
  z-index: 1000;
  display: flex;
  align-items: center;
}

/* WhatsApp Button */
.whatsapp-float {
  /* width: 50px; */
  /* height: 50px; */
  /* background-color: #25D366; */
  /* border-radius: 50%; */
  display: flex;
  align-items: center;
  justify-content: center;
  /* box-shadow: 2px 2px 8px rgba(0,0,0,0.3); */
  transition: transform 0.3s;
}

.whatsapp-float img {
  width: 160px;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

/* Close button */
/* .whatsapp-close {
  margin-left: 0px;
  font-size: 20px;
  color: #555;
  cursor: pointer;
  user-select: none;
  font-weight: bold;
  margin-top: -40px;
} */

/* Responsive adjustments */
@media screen and (max-width: 768px) {
  .whatsapp-float img {
    width: 145px;
  }
  .whatsapp-wrapper {
  bottom: 30px;
}
/* .whatsapp-close {
    font-size: 20px;
    margin-left: 0px;
    margin-top: -40px;
  } */
}

iframe{
  border-radius: 20px;
}