:root {
  --primary: hsl(242 62% 19%);
  --background: hsl(0 0% 100%);
  --foreground: hsl(215 25% 15%);
  --secondary: #301a91d3;
  --accent: #0099cc;
  --light: #f8f9fa;
  --dark: #333333;
  --gray: rgb(85, 85, 85);
  --shadow-soft: 0 2px 8px hsl(242 62% 19% / 0.08);
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --muted-foreground: hsl(215 15% 45%);
  --gradient-secondary: linear-gradient(
    135deg,
    hsl(251 67% 34%),
    hsl(251 67% 44%)
  );
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}
a {
  text-decoration: none;
}
body {
  line-height: 1.6;
  color: var(--dark);
  overflow-x: hidden;
  background-color: 210 20% 96%;
}
section, #contact_us {
  scroll-margin-top: 80px; 
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: "";
  position: absolute;
  width: 70px;
  height: 3px;
  background: var(--secondary);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

.section-title p {
  color: var(--gray);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
}

/* === Header === */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: transparent;
  transition: var(--transition-smooth);
}

header.scrolled {
  background: white;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-soft);
}
.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 50px;
}

/* === Navbar === */
.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

/* === Logo === */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: var(--gradient-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-icon span {
  font-size: 1.5rem;
  color: white;
  font-weight: bold;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-text .main {
  font-weight: bold;
  font-size: 1.25rem;
  color: var(--primary);
}

.logo-text .sub {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

/* === Desktop Nav Links === */
.nav-links {
  display: flex;
  align-items: center;
  gap: 55px;
}

.nav-links a {
  font-size: 1rem;
  font-weight: 500;
  position: relative;
  color: white;
  transition: var(--transition-smooth);
}
.scrolled .nav-bar .nav-links a {
  color: var(--foreground) !important;
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary);
  transition: var(--transition-smooth);
}

.nav-links a:hover::after {
  width: 100%;
}

/* === Mobile === */
.menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}
.scrolled .mobile-menu {
  position: fixed;
  top: 80px;
  left: 0;
  width: 70%;
  max-width: 320px;
  height: calc(100vh - 80px);
  background: white;
  border-top: 1px solid hsl(215 20% 88%);
  padding: 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
  /* hidden by default */
  transform: translateX(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s ease, opacity 0.3s ease;
  z-index: 999;
}
.mobile-menu {
  position: fixed;
  top: 80px;
  left: 0;
  width: 70%;
  max-width: 320px;
  height: calc(100vh - 80px);
  background: #0e1c40;
  border-top: 1px solid hsl(215 20% 88%);
  padding: 1rem 1.5rem;
  color: white;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);

  /* hidden by default */
  transform: translateX(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s ease, opacity 0.3s ease;
  z-index: 999;
}

/* When open */
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

/* Links styling */
.scrolled .mobile-menu a {
  padding: 10px 0;
  font-size: 0.9rem;
  color: var(--foreground);
  transition: var(--transition-smooth);
}
.mobile-menu a {
  padding: 10px 0;
  font-size: 0.9rem;
  color: white;
  transition: var(--transition-smooth);
}
.menu-btn {
  color: white;
}
.scrolled .menu-btn {
  color: black;
}
.mobile-menu a:hover {
  color: var(--secondary);
}

/* === Responsive === */
@media (max-width: 992px) {
  .nav-links {
    display: none;
  }
  .menu-btn {
    display: block;
  }
}

/* === Animations === */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Section Layout */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  font-family: "Poppins", sans-serif;
}

/* Background */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    var(--primary),
    rgba(12, 32, 62, 0.9),
    rgba(12, 32, 62, 0.7)
  );
}

/* Container */
.hero-container {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1200px;
  margin: auto;
  padding: 6rem 0;
}

/* Badge */
.hero-badge {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.5rem 1rem;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  backdrop-filter: blur(5px);
}
.hero-badge span {
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
}

/* Headings */
.hero-content h1 {
  font-size: 3rem;
  color: white;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}
.hero-content h1 .highlight {
  display: block;
  color: #ffffff40;
  margin-top: 0.5rem;
}

/* Paragraph */
.hero-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 600px;
}

/* Buttons */
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.hero-buttons a {
  padding: 0.6rem 1.4rem;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
  text-decoration: none;
  background-color: white;
  color: black;
  width: 12.5rem;
  border: 0.1px solid white;
  transition: all 0.5s ease;
}
.hero-buttons a:hover {
  background-color: transparent;
  border: 0.1px solid white;
  color: white;
  transform: scale(1.05);
}

.arrow {
  margin-left: 8px;
  transition: transform 0.3s;
}

/* Stats */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.3rem;
}
.stat-label {
  color: white;
  font-size: 0.9rem;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  animation: bounce 2s infinite;
}
.mouse {
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 16px;
  display: flex;
  align-items: start;
  justify-content: center;
  padding: 6px;
}
.wheel {
  width: 4px;
  height: 10px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 8px;
}

/* Animations */
@keyframes bounce {
  0%,
  100% {
    transform: translate(-50%, 0);
  }
  50% {
    transform: translate(-50%, -10px);
  }
}

/* About Section */
.about {
  background: var(--light);
}

.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-content h2 {
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.about-content p {
  margin-bottom: 20px;
  color: var(--gray);
}

.about-image {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  height: 90%;
}

.about-image img {
  width: 100%;
  height: 100%;
  display: block;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.stat-item {
  text-align: center;
  padding: 20px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-item:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
.counter {
  font-size: 2rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 10px;
}

.stat-text {
  font-size: 1rem;
  color: var(--primary);
  font-weight: 600;
}

/* History Section */
.history {
  background: white;
}
.timeline-item p {
  margin-bottom: 0 !important;
}

.history-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.history-content h2 {
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.history-content p {
  margin-bottom: 20px;
  color: var(--gray);
}

.history-image {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  height: 80%;
}

.history-image img {
  width: 100%;
  height: 100%;
  display: block;
}

/* ======= Timeline ======= */
.timeline {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  background: white;
  padding: 0.5rem;
  border-radius: 12px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.timeline-item:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}
.icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
}

.icon.bg-primary {
  background: var(--primary);
}

.info {
  margin-left: 15px;
}

.info h3 {
  color: var(--foreground);
  margin-bottom: 4px;
  font-weight: 700;
  font-size: 16px;
}

.info p {
  color: #666;
  font-size: 0.9rem;
}

/* ======= Animation ======= */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* MD Section */
.md-section {
  background: var(--light);
}

.md-container {
  display: grid;
  gap: 50px;
  align-items: center;
  width: 80%;
  margin: auto;
}

.md-image {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.md-image img {
  width: 100%;
  height: auto;
  display: block;
}

.md-content h2 {
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.md-content h3 {
  font-size: 1.5rem;
  color: var(--secondary);
  margin-bottom: 15px;
}

.md-content p {
  margin-bottom: 20px;
  color: var(--gray);
}

.quote {
  font-style: italic;
  border-left: 4px solid var(--secondary);
  padding-left: 20px;
  margin: 30px 0;
  color: var(--primary);
  font-size: 1.1rem;
  background-color: #f1f0f8;
  padding: 2rem 1rem;
  border-radius: 1rem;
}

/* Certifications Section */
.certifications-section {
  background: white;
  text-align: center;
}

.certificate-container {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.certificate-image {
  width: 100%;
  height: 500px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #eee;
}
.certificate-image img {
  height: 100%;
  width: 100%;
}

.certificate-placeholder {
  text-align: center;
  color: var(--primary);
}

.certificate-placeholder i {
  font-size: 4rem;
  margin-bottom: 20px;
  color: var(--secondary);
}

.certificate-placeholder h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.certificate-placeholder p {
  color: var(--gray);
  font-size: 1.1rem;
}

.certificate-details {
  padding: 40px;
}

.certificate-details h3 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 15px;
}

.certificate-details p {
  margin-bottom: 20px;
  line-height: 1.7;
}

.certificate-badge {
  display: inline-flex;
  align-items: center;
  background: var(--light);
  padding: 10px 20px;
  border-radius: 50px;
  margin-top: 20px;
}

.certificate-badge i {
  color: var(--secondary);
  margin-right: 10px;
  font-size: 1.2rem;
}

/* Product Categories */
.products {
  background: var(--light);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.product-card {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  transition: all 0.8s ease;
  cursor: pointer;
}

.product-card:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.product-img {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 20px;
}
.product-card:hover .product-img img {
  transform: scale(1.1);
}
.product-img img {
  width: 100%;
  height: 200px;
  transition: transform 0.4s ease;
}

.product-content h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: var(--primary);
}
.product-content.expanded p {
  max-height: 1000px;
}

.product-content p {
  color: var(--gray);
  margin-bottom: 20px;
  max-height: 100px;
  overflow: hidden;
  transition: max-height 0.5s ease;
}

/* Technical Table */
.technical-table {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  margin-top: 40px;
}

.table-title {
  background: var(--primary);
  color: white;
  padding: 20px;
  text-align: center;
}

.table-title h3 {
  font-size: 1.2rem;
  margin: 0;
  font-weight: 500;
}

.table-container {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 15px;
  text-align: center;
  border-bottom: 1px solid #eee;
}

th {
  background: var(--light);
  font-weight: 600;
  color: var(--primary);
}

tr:hover {
  background: #f9f9f9;
}

.table-note {
  padding: 15px;
  font-size: 0.9rem;
  color: var(--gray);
  text-align: center;
  background: #f8f9fa;
}

/* Why Choose Us */

/* Industries */
.industries {
  background: var(--light);
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.industry-card {
  position: relative;
  padding: 25px;
  background: #f9fafb;
  border-radius: 20px;
  overflow: hidden;
  transition: transform 1s ease;
}

.industry-card::before {
  content: "";
  position: absolute;
  top: -10px;
  right: -10px;
  width: 130px;
  height: 130px;
  background: radial-gradient(circle at top right, #14124e4e, transparent 60%);
  pointer-events: none;
}

.industry-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  background-color: white;
}

.industry-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.industry-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--primary);
}

/* Contact Info */
.contact-info {
  background: white;
}

.contact-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.contact-card {
  text-align: center;
  padding: 40px 20px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.contact-icon {
  font-size: 3rem;
  color: var(--secondary);
  margin-bottom: 20px;
}

.contact-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--primary);
}

/* Footer */
footer {
  background: var(--primary);
  color: white;
  padding: 70px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 50px;
}

.footer-column h3 {
  font-size: 1.3rem;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.footer-column h3::after {
  content: "";
  position: absolute;
  width: 40px;
  height: 2px;
  background: var(--light);
  bottom: 0;
  left: 0;
}

.footer-column p {
  margin-bottom: 20px;
  opacity: 0.8;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: white;
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
}

.footer-links a i {
  margin-right: 8px;
  font-size: 0.9rem;
}

.footer-links a:hover {
  opacity: 1;
}

.contact-details {
  list-style: none;
}

.contact-details li {
  display: flex;
  align-items: flex-start;
}
.contact-details p a {
  color: white;
  text-decoration: none;
}

.contact-details i {
  margin-right: 10px;
  color: var(--light);
  margin-top: 5px;
}

.certifications {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  opacity: 0.7;
}
.social-links {
  display: flex;
  gap: 1.5rem;
}

.social-links a {
  background-color: rgb(255 255 255 / 0.1);
  color: white;
  border-radius: 4px;
  padding: 4px 10px;
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.social-links a:hover {
  transform: scale(1.1);
  color: #ffffff;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .about-container,
  .history-container,
  .md-container {
    grid-template-columns: 1fr;
  }

  .contact-container {
    grid-template-columns: 1fr;
  }

  .certificate-image {
    height: 400px;
  }

  .slide-text p {
    font-size: 1.3rem;
    width: 85%;
  }
}

@media (max-width: 768px) {
  .section-title h2 {
    font-size: 2rem;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .table-container {
    font-size: 0.9rem;
  }

  th,
  td {
    padding: 10px 8px;
  }

  .certificate-image {
    height: 300px;
  }

  .certificate-details {
    padding: 30px 20px;
  }

  .hero-slider {
    height: 50vh;
    min-height: 400px;
  }

  .slide-text p {
    font-size: 1.1rem;
    width: 90%;
  }
}

@media (max-width: 576px) {
  section {
    padding: 60px 0;
  }

  .product-grid,
  .features-grid,
  .industries-grid {
    grid-template-columns: 1fr;
  }

  .table-container {
    font-size: 0.8rem;
  }

  th,
  td {
    padding: 8px 5px;
  }

  .certificate-image {
    height: 250px;
  }

  .hero-slider {
    height: 40vh;
    min-height: 300px;
  }

  .slide-text p {
    font-size: 1rem;
    width: 95%;
  }
}

.map-icon {
  cursor: pointer;
  transition: transform 0.2s;
}

.map-icon:hover {
  transform: scale(1.2);
}

/* Customize this color as per your brand */

@media  (max-width: 768px) {
  .history-image {

  height: 100% !important;
}

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
  }
}

@media screen and (max-width: 1200px) {
  .container {
    padding: 0 2rem;
  }
  .hero-container {
    padding: 6rem 2rem;
  }
}
/* Responsive */
@media (max-width: 768px) {
  .hero-badge {
    font-size: 10px;
    padding: 4px 14px;
  }

  .stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
  }
  .stat-label {
    font-size: 0.7rem;
  }
  .hero-container {
    padding: 3rem 2rem;
  }
  .md-container {
    width: 100% !important
    ;
  }
  h2 {
    font-size: 1.8rem !important;
  }
  /* h3 {
    font-size: 1.4rem !important;
  } */
  .hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left;
    background-repeat: no-repeat;
  }
  .about-image,
  .history-image {
    order: 2;
  }

  .about-content,
  .history-content {
    order: 1;
  }
}
/* =======================
   Mistel Gallery - Small Grid Version
======================= */

.gallery-section {
  background-color: #f8f9fa;
  padding: 60px 15px;
}

.gallery-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.gallery-heading {
  font-size: 2rem;
  font-weight: 700;
  color: #14124e;
  margin-bottom: 40px;
  position: relative;
}

.gallery-heading::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background-color: #e57d00;
  margin: 12px auto 0;
  border-radius: 3px;
}

/* =======================
   Small Grid - CSS Columns
======================= */
.gallery-grid {
  column-count: 4;
  column-gap: 30px;
}

.gallery-item {
  display: inline-block;
  width: 100%;
  margin-bottom: 10px;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 4/4;
  display: block;
  object-fit: cover;
  transition: transform 0.3s ease;
  object-position: top left;
}

/* Hover Zoom */
.gallery-item:hover img {
  transform: scale(1.05);
}

/* Overlay Text */
.overlay-text {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(20, 18, 78, 0.6);
  color: #fff;
  font-size: 0.9rem;
  text-align: center;
  padding: 5px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .overlay-text {
  opacity: 1;
}

/* =======================
   Responsive
======================= */
@media (max-width: 992px) {
  .gallery-grid {
    column-count: 3;
  }
}

@media (max-width: 576px) {
  .gallery-grid {
    column-count: 1;
  }

  .gallery-item img {
    aspect-ratio: 4/4;
  }
}

.reviews-service .cards > p {
  margin-top: 15px;
  font-style: italic;
  color: #e0e0e0;
  line-height: 1.5;
  text-align: center;
  position: relative;
}

.reviews-service {
  background-color: #f9fafb;
  border-bottom: 1px solid white;
}

.reviews-service .cards {
  transition: all 0.3s ease;
  position: relative;
  border-radius: 16px;
  background-color: #f1f0f8;
  padding: 25px 30px;
  overflow: hidden;
  animation: shadowRotate 4s linear infinite;
  color: black;
  box-shadow: 0 1px 5px #14124e;
}
.reviews-service .cards:hover {
  transform: translateY(-6px) scale(1);
}
.reviews-service .cards p:first-child {
  color: #a2a8b1;
  font-weight: 300;
}
.reviews-service .container h1 {
  display: flex;
  justify-content: center;
  margin-top: 0;
  margin-bottom: 3rem;
}

/* SWIPER  */
.img-grid {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.img-grid img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}
.img-grid {
  display: flex;
  gap: 30px;
  align-items: center;
}
.img-grid div:first-child {
  height: 4rem;
  width: 4rem;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.15);
}
.img-grid > div img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: 50%;
  transition: transform 0.3s ease;
}
.img-grid > div img:hover {
  transform: scale(1.1);
}

.img-grid h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
}
.swiper-slide .cards p {
  margin: 0;
  font-size: 1rem;
  color: #14124e;
}

.swiper {
  padding-bottom: 50px;
}
.swiper-button-next,
.swiper-button-prev {
  color: white !important;
  height: 10px !important;
}
.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 16px !important;
  color: #14124e;
}
.swiper-pagination-bullet {
  color: white !important;
  background: #14124e !important;
  width: 14px !important; 
  height: 14px !important;
  margin: 7px !important;
  transition: background 0.3s !important;
}

.swiper-wrapper {
  top: 27px !important;
}
.swiper.mySwiper.swiper-initialized.swiper-horizontal.swiper-backface-hidden {
  height: 24rem;
}

.swiper-slide {
  transition: transform 1.1s ease, opacity 0.5s ease;
  opacity: 0.6;
}

.swiper-slide-active {
  opacity: 1;
  z-index: 10;
  color: white;
}

.swiper-slide-next,
.swiper-slide-prev {
  opacity: 0.7;
}
.swiper-slide-active {
  transform: scale(0.91) !important;
  opacity: 1;
  z-index: 10;
  color: white;
}
@media (min-width: 768px) {
  
.info h3 {
  color: var(--foreground);
  margin-bottom: 4px;
  font-weight: 700;
  font-size: 16px;
}
  .swiper-pagination-bullet {
    width: 12px !important; 
    height: 12px !important;
    margin: 6px !important; 
    cursor: pointer !important;
    
  }

  .swiper-slide-active {
    transform: translateZ(60px) scale(1.1) !important;
    opacity: 1;
    z-index: 10;
    color: white;
  }
  .swiper-slide-next,
  .swiper-slide-prev {
    transform: scale(0.9) !important;
    opacity: 0.7;
  }
}
@media (min-width: 567px) {
  .swiper.mySwiper.swiper-initialized.swiper-horizontal.swiper-backface-hidden {
    height: 22rem;
  }
}
.product-content .btn {
  display: inline-block;
  padding: 6px 20px;
  background: var(--secondary);
  border: 1px solid var(--secondary);
  color: white;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.5s ease;
  text-decoration: none;
}

.product-content .btn:hover {
  background-color: transparent;
  border: 1px solid var(--primary);
  color: var(--primary);
  transform: scale(1.05);
}