:root {
  --primary-color: #005a9c;
  --secondary-color: #343a40;
  --accent-color: #ffc107;
  --dark-color: #212529;
  --light-color: #f8f9fa;
  --white-color: #ffffff;
  --font-primary: "Inter", sans-serif;
  --font-secondary: "Poppins", sans-serif;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-secondary);
  color: var(--dark-color);
  background-color: var(--white-color);
  overflow-x: hidden;
  font-size: 0.875rem;
  line-height: 1.6;
  letter-spacing: 0.2px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-primary);
  font-weight: 600;
}

.section-padding {
  padding: 100px 0;
  position: relative;
}

.section-bg {
  background-color: var(--light-color);
}

.section-title {
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 2.5rem;
  font-weight: 600;
  position: relative;
  padding-bottom: 20px;
  text-transform: capitalize;
}

.section-title h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 100px;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  border-radius: 5px;
}

.section-title p {
  color: var(--primary-color);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
}

.btn {
  font-size: 0.875rem;
  font-family: var(--font-primary);
  padding: 14px 35px;
  border-radius: 8px;
  letter-spacing: 0.5px;
}

.btn-premium {
  /* background: linear-gradient(145deg, #0062a8, #00508c); */
  background: linear-gradient(145deg, #40a836, #5dcf78);
  color: var(--white-color);
  /* font-weight: 600; */
  transition: all 0.3s ease-in-out;
  border: none;
  box-shadow:
    0 5px 15px rgba(0, 90, 156, 0.2),
    inset 0 -2px 5px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-premium::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.6s ease;
  z-index: -1;
}

.btn-premium:hover {
  color: var(--white-color);
  box-shadow:
    0 8px 20px rgba(0, 90, 156, 0.3),
    inset 0 -2px 5px rgba(0, 0, 0, 0.2);
}

.btn-premium:hover::before {
  left: 100%;
}

.btn-premium-outline {
  background-color: transparent;
  color: var(--white-color);
  transition: all 0.3s ease-in-out;
  border: 2px solid rgba(255, 255, 255, 0.8);
}

.btn-premium-outline:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--white-color);
  color: var(--white-color);
}

.btn-secondary-premium {
  background-color: var(--white-color);
  color: var(--primary-color);
  transition: all 0.3s ease-in-out;
  border: 2px solid var(--white-color);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-secondary-premium:hover {
  background-color: transparent;
  border-color: var(--white-color);
  /* color:limegreen; */
  color: var(--white-color);
  box-shadow: none;
}

/* Shape Dividers */
.shape-divider {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: rotate(180deg);
}

.shape-divider svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 100px;
}

.shape-divider .shape-fill {
  fill: var(--light-color);
}

.shape-divider-top {
  top: -1px;
  bottom: auto;
  transform: rotate(0deg);
}

.shape-divider-top .shape-fill {
  fill: var(--white-color);
}

/* Navbar */

.navbar {
  transition: all 0.4s ease;
  padding: 1.2rem 0;
}

.navbar:not(.scrolled) {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.4), transparent);
}

.navbar.scrolled {
  background-color: rgba(255, 255, 255, 1);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.07);
  padding: 0.8rem 0;
}

/* Logo */
.navbar-brand img {
  height: 50px;
  width: auto;
}

/* nav link */
.navbar-nav .nav-link {
  font-family: var(--font-primary);
  color: var(--dark-color);
  margin: 0 12px;
  position: relative;
  transition: color 0.3s ease;
  font-size: 0.875rem;
}

/* Light links when navbar is transparent */
.navbar-dark .nav-link {
  color: var(--white-color) !important;
}

/* Underline animation */
.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  /* background-color: var(--accent-color); */
  background-color: limegreen;
  transition: width 0.4s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 60%;
}

/* 
dropdown menu */
.dropdown-item {
  font-size: 0.875rem;
  position: relative;
  color: var(--dark-color);
  transition: 0.3s ease;
}

/* Active or hover color */
.dropdown-item.active,
.dropdown-item:hover {
  background-color: limegreen;
}

/* Dropdown underline effect */
.dropdown-item::after {
  content: "";
  position: absolute;
  bottom: 3px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background-color: limegreen;
  transition: width 0.4s ease;
}

.dropdown-item:hover::after,
.dropdown-item.active::after {
  width: 60%;
}

/* Remove default arrow */
.dropdown-toggle::after {
  border: none;
}

/* mobile nav */
@media (max-width: 991.98px) {
  .navbar .navbar-collapse {
    background-color: var(--white-color);
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  }

  .navbar-nav .nav-link {
    color: var(--dark-color) !important;
    padding: 0.75rem 0;
  }
}

/* hamburger */
.navbar-toggler {
  border: none;
  padding: 0;
  width: 30px;
  height: 22px;
  position: relative;
  cursor: pointer;
  background: transparent;
}

.navbar-toggler span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: var(--white-color);
  border-radius: 3px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: 0.25s ease-in-out;
}

/* Switch color when scrolled */
.navbar.scrolled .navbar-toggler span {
  background: var(--dark-color);
}

/* Positioning */
.navbar-toggler span:nth-child(1) {
  top: 0px;
}
.navbar-toggler span:nth-child(2),
.navbar-toggler span:nth-child(3) {
  top: 9px;
}
.navbar-toggler span:nth-child(4) {
  top: 18px;
}

/* X animation */
.navbar-toggler.open span:nth-child(1),
.navbar-toggler.open span:nth-child(4) {
  top: 9px;
  width: 0%;
  left: 50%;
}

.navbar-toggler.open span:nth-child(2) {
  transform: rotate(45deg);
}

.navbar-toggler.open span:nth-child(3) {
  transform: rotate(-45deg);
}

/* Hero Section */
#hero {
  position: relative;
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white-color);
  overflow: hidden;
  background-image: url("images/e.jpeg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover; /* auto fit & responsive */
}
/*for responsive*/
@media (max-width: 768px) {
  #hero {
    background-position: top; /* adjust focus area */
  }
}

/* Gradient Overlay */
#hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    rgba(64, 160, 230, 0.5),
    rgba(6, 22, 37, 0.5)
  );
  z-index: 0;
}

/* Bring content above overlay */
.hero-content {
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.typed-cursor {
  color: limegreen; /* Cursor color */
  font-size: 4rem; /* Cursor size */
}
/*  */
/* #typed-hero {
  font-size: 3rem;
  color: transparent;   
  -webkit-text-stroke: 1px limegreen; 
  font-weight: 1px;
  -webkit-font-smoothing: antialiased;
} */

/* Fill only capital letters */
#typed-hero::first-letter {
  color: limegreen;
}

/* Optional: fill all capital letters anywhere in text using JS */

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* About Section */
.about-card {
  background: var(--white-color);
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: all 0.3s ease;
  height: 100%;
  border-bottom: 5px solid transparent;
}

.about-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
  border-bottom-color: var(--primary-color);
}

.about-card .icon {
  font-size: 3rem;
  margin-bottom: 20px;
  display: inline-block;
  background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.about-card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
}

/* Services Section */
.service-card {
  background: var(--white-color);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
  transition: all 0.4s ease;
  height: 100%;
  text-align: center;
}

.service-card .service-img-container {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.service-card .service-img {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}

.service-card:hover .service-img {
  transform: scale(1.1);
}

.service-card .service-content {
  padding: 30px;
}

.service-card h4 {
  font-size: 1.3rem;
  margin-bottom: 15px;
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 80vh;
  /* background: linear-gradient(rgba(44, 62, 80, 0.85), rgba(44, 62, 80, 0.9)),
                        url('https://images.unsplash.com/photo-1558618666-fcd25c85cd64?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center center/cover no-repeat; */
  background:
    linear-gradient(rgba(44, 62, 80, 0.85), rgba(44, 62, 80, 0.9)),
    url("images/image5.jpeg") center center/cover no-repeat;
  color: white;
  display: flex;
  align-items: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 60px 20px;
}

.hero-logo {
  width: 200px;
  margin-bottom: 30px;
  filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 40px;
  opacity: 0.9;
  line-height: 1.6;
}

/* Why Choose Us Section */
/* Why Choose Us Section - Formal Version */
.why-sakomoto {
  background-image: url("images/image3.jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 100px 0; /* Increased spacing for elegance */
  position: relative;
  min-height: 600px; /* Ensure consistent height */
}

.why-sakomoto::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(245, 245, 245, 0.85),
    rgba(245, 245, 245, 0.95)
  ); /* Soft white overlay */
  z-index: 1;
}

.why-sakomoto .container {
  position: relative;
  z-index: 2;
  max-width: 1200px; /* Professional content width */
  margin: 0 auto;
  padding: 0 20px;
}

/* Formal Section Header */
.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-badge {
  display: inline-block;
  background: #1a237e; /* Deep navy blue */
  color: #ffffff;
  padding: 10px 30px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-bottom: 25px;
  text-transform: uppercase;
  box-shadow: 0 4px 15px rgba(26, 35, 126, 0.2);
}

.section-title {
    font-size: 1.1rem;
    line-height: 1.3;
    min-height: 2.8em; /* Adjust based on your design */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* For better image control */
.section-header img {
    max-height: 120px;
    width: auto;
    object-fit: contain;
}

.section-subtitle {
  font-size: 1.3rem;
  color: #424242;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.7;
  font-family: "Helvetica Neue", Arial, sans-serif;
}

/* Formal Feature Cards */
.feature-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 45px 35px;
  height: 100%;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid #e0e0e0;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(
    to right,
    #1a237e,
    #3949ab
  ); /* Navy gradient accent */
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: left;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: 70px;
  height: 70px;
  background: #303892; /* Solid navy */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  color: white;
  font-size: 1.8rem;
  position: relative;
  z-index: 2;
}

.feature-title {
  font-size: 1.6rem;
  font-weight: 600;
  color: #212121;
  margin-bottom: 18px;
  position: relative;
  z-index: 2;
  font-family: "Georgia", serif;
}

.feature-text {
  color: #616161;
  line-height: 1.8;
  position: relative;
  z-index: 2;
  font-size: 1.05rem;
}


/* Image Showcase */
.image-showcase {
  padding: 80px 0;
  background: #f8f9fa;
}

.showcase-card {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
  transition: transform 0.4s ease;
}

.showcase-card:hover {
  transform: translateY(-10px);
}

.showcase-img {
  height: 300px;
  background-size: cover;
  background-position: center;
}

.showcase-content {
  padding: 30px;
  background: white;
}

.showcase-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--sakomoto-gray);
  margin-bottom: 15px;
}

/* CTA Section */
.cta-section {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--sakomoto-gray), #1a1a1a);
  /* color: white; */
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("images/bgsales.jpg") center center/cover no-repeat;
  opacity: 0.1;
}

.cta-title {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 25px;
  position: relative;
  z-index: 2;
}

.cta-text {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 40px;
  opacity: 0.9;
  line-height: 1.6;
  position: relative;
  z-index: 2;
}

.btn-sakomoto-primary {
  background: var(--sakomoto-green);
  color: var(--sakomoto-dark);
  border: 2px solid var(--sakomoto-green);
  padding: 15px 40px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 2;
}

.btn-sakomoto-primary:hover {
  background: transparent;
  color: var(--sakomoto-green);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(141, 242, 138, 0.3);
}

.btn-sakomoto-outline {
  background: transparent;
  color: var(--sakomoto-green);
  border: 2px solid var(--sakomoto-green);
  padding: 15px 40px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 2;
}

.btn-sakomoto-outline:hover {
  background: var(--sakomoto-green);
  color: var(--sakomoto-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(141, 242, 138, 0.3);
}

/* Responsive */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.8rem;
  }

  .section-title {
    font-size: 2.3rem;
  }

  .cta-title {
    font-size: 2.3rem;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.3rem;
  }

  .hero-section {
    min-height: 70vh;
  }

  .stat-number {
    font-size: 2.8rem;
  }

  .feature-card {
    padding: 30px 20px;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .btn-sakomoto-primary,
  .btn-sakomoto-outline {
    padding: 12px 30px;
    width: 100%;
    justify-content: center;
    margin-bottom: 15px;
  }
}

/*Product css*/

.product-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #f0f2f5 0%, #f0f2f5 100%);
  position: relative;
  overflow: hidden;
}

.product-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  pointer-events: none;
}
/* for 1 img on product */
/* .container {
            position: relative;
            z-index: 1;
        }

        .product-row {
            margin-bottom: 100px;
        }
          /*adjust image */
/* .product-img-container {
            position: relative;
            margin-top: 250px;
            height: 450px;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 30px 60px rgba(0,0,0,0.3);
        } */
/*FOR 2 IMG ON THE PRODUCT*/
.container {
  position: relative;
  z-index: 1;
}

/* Space between each product section */
.product-row {
  margin-bottom: 100px;
}

/* FIXED IMAGE CONTAINER */
.product-img-container {
  position: relative;
  height: auto; /* REMOVE FIXED HEIGHT */
  margin-top: 0; /* FIX: remove huge gap */
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(53, 53, 53, 0.15);
  display: flex;
  justify-content: center; /* center image */
  align-items: center;
  padding: 20px; /* optional aesthetic */
}

/* Make image responsive */
.product-img-container img {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: contain;
}

/* Floating animation only for images */
@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  25% {
    transform: translateY(-20px);
  }
  50% {
    transform: translateY(-10px);
  }
  75% {
    transform: translateY(-15px);
  }
}

.floating-bag {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* animation: float 6s ease-in-out infinite; */
}

.product-badge {
  position: absolute;
  top: 30px;
  left: 30px;
  background: linear-gradient(135deg, #ffffff, #a5a5a5);
  color: rgb(31, 87, 36);
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 3;
  box-shadow: 0 10px 25px rgba(121, 119, 119, 0.3);
}

.product-description {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 50px;
  /* height: 10000px; */ /*box size of description*/
  /* box-shadow: 0 25px 50px rgba(0,0,0,0.2); */
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateX(50px);
  transition: all 1s ease;
}

.product-description.animate {
  opacity: 1;
  transform: translateX(0);
}

.product-title {
  font-size: 3rem;
  font-weight: 800;
  color: #2c3e50;
  margin-bottom: 30px;
  position: relative;
  background: linear-gradient(135deg, #608f58, #5fa55d); /*product title name*/
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.product-title::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 0;
  width: 80px;
  height: 5px;
  background: linear-gradient(135deg, #a8c5b6, #89f898);
  border-radius: 3px;
}

.product-description p {
  color: #aaaaaa;
  line-height: 1.8;
  margin-bottom: 30px;
  font-size: 1.2rem;
  font-weight: 500;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease;
}

.product-description.animate p {
  opacity: 1;
  transform: translateY(0);
}

.product-features {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.product-features li {
  padding: 15px 0;
  border-bottom: 2px solid #f0f0f0;
  position: relative;
  padding-left: 40px;
  color: #444;
  font-weight: 600;
  font-size: 1.1rem;
  opacity: 0;
  transform: translateX(-20px);
  transition: all 0.5s ease;
}

.product-description.animate .product-features li {
  opacity: 1;
  transform: translateX(0);
}

.product-features li:last-child {
  border-bottom: none;
}

.product-features li::before {
  content: "✨";
  position: absolute;
  left: 0;
  top: 15px;
  font-size: 20px;
}

.product-cta {
  display: inline-block;
  background: linear-gradient(135deg, #b2f8c9, #2f5c37);
  color: white;
  padding: 18px 45px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: all 0.4s ease;
  box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease 0.3s;
}

.product-description.animate .product-cta {
  opacity: 1;
  transform: translateY(0);
}

.product-cta:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(102, 126, 234, 0.6);
  color: white;
}
/* Product Slideshow Container */
.product-slideshow-container {
  position: relative;
  height: 550px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
  background: linear-gradient(135deg, #3d7058 0%, #c9c8c8 100%);
}

.product-slideshow {
  position: relative;
  height: 100%;
  width: 100%;
}

/* Slides */
.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.slide.active {
  opacity: 1;
}

.slide img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Navigation Dots */
.slideshow-dots {
  position: absolute;
  bottom: 25px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
  z-index: 10;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #2f5c37;
  background-color: rgba(168, 168, 168, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.dot.active {
  background-color: #2f5c37;
  transform: scale(1.3);
}

.dot:hover {
  background-color: #b2f8c9;
}

/* Navigation Arrows */
.slideshow-prev,
.slideshow-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #3c6e4e, #ace2b6);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  opacity: 0.7;
  transition: all 0.3s ease;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slideshow-prev:hover,
.slideshow-next:hover {
  opacity: 1;
  transform: translateY(-50%) scale(1.1);
  background: linear-gradient(135deg, #97c5a0, #b2f8c9);
}

.slideshow-prev {
  left: 20px;
}

.slideshow-next {
  right: 20px;
}

/* Floating Animation */
@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  25% {
    transform: translateY(-15px);
  }
  50% {
    transform: translateY(-5px);
  }
  75% {
    transform: translateY(-10px);
  }
}

.floating-bag {
  animation: float 6s ease-in-out infinite;
  transform-origin: center center;
}

/* Pause floating on hover */
.product-slideshow-container:hover .floating-bag {
  animation-play-state: paused;
}

/* Responsive Design */
@media (max-width: 992px) {
  .product-slideshow-container {
    height: 450px;
    margin-bottom: 30px;
  }

  .slide {
    padding: 30px;
  }
}

@media (max-width: 768px) {
  .product-slideshow-container {
    height: 400px;
  }

  .slideshow-prev,
  .slideshow-next {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .dot {
    width: 10px;
    height: 10px;
  }
}

/* Facilities Section */
.facilities-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #f0f2f5 0%, #f0f2f5 100%);
  position: relative;
  overflow: hidden;
}

.facility-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 25px;
  margin-bottom: 30px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
  text-align: center;
  transition: all 0.4s ease;
  overflow: hidden;
}
.facility-image {
  width: 100%;
  aspect-ratio: 16 / 9; /* or 4/3, 1/1, etc. */
  object-fit: cover;
  border-radius: 15px;
  margin-bottom: 20px;
  transition: transform 0.4s ease;
}

.facility-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.2);
}

.facility-image {
  width: 100%;
  border-radius: 15px;
  margin-bottom: 20px;
  transition: transform 0.4s ease;
}

.facility-card:hover .facility-image {
  transform: scale(1.05);
}

.facility-icon {
  font-size: 3.5rem;
  margin-bottom: 15px;
  background: linear-gradient(135deg, #65c5a0, #7af87a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.facility-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #2c3e50;
}

.facility-description {
  color: #272424;
  line-height: 1.7;
  font-size: 1.1rem;
}

/* Highlight Stacotest */
/* .highlight-card {
  border: 4px solid #88a089;
  background: linear-gradient(145deg, #e0ffe0, #ccffcc);
  box-shadow: 0 0 30px rgba(99, 112, 100, 0.6);
  animation: pulse 2s infinite;
} */

.exclusive-label {
  display: inline-block;
  background: #4caf50;
  color: #fff;
  font-weight: bold;
  padding: 5px 12px;
  border-radius: 12px;
  margin-bottom: 10px;
  font-size: 0.9rem;
}

/* Pulse animation */
@keyframes pulse {
  0% {
    box-shadow: 0 0 15px rgba(76, 175, 80, 0.4);
  }
  50% {
    box-shadow: 0 0 30px rgba(76, 175, 80, 0.8);
  }
  100% {
    box-shadow: 0 0 15px rgba(76, 175, 80, 0.4);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .facility-card {
    padding: 20px;
  }
  .facility-title {
    font-size: 1.5rem;
  }
  .facility-description {
    font-size: 1rem;
  }
  .facility-image {
    margin-bottom: 15px;
  }
}

/* Ripple effect for buttons */
.product-cta {
  position: relative;
  overflow: hidden;
}

.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  transform: scale(0);
  animation: ripple-animation 0.6s ease-out;
}

@keyframes ripple-animation {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* Modal styles */
.quote-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.quote-modal.show {
  opacity: 1;
}

.modal-content {
  background: white;
  padding: 40px;
  border-radius: 20px;
  text-align: center;
  max-width: 500px;
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

.quote-modal.show .modal-content {
  transform: scale(1);
}

.close-modal {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 25px;
  cursor: pointer;
  margin-top: 20px;
  font-weight: 600;
}

/* Statistics Section */
#stats {
  background:
    linear-gradient(rgba(0, 90, 156, 0.9), rgba(0, 90, 156, 0.9)),
    url("images/a.jpeg") center center / cover no-repeat fixed;
  color: var(--white-color);
  text-align: center;
}

.counter-box .icon {
  font-size: 3rem;
  margin-bottom: 15px;
  color: var(--accent-color);
}

.counter-box .counter,
.counter-box .suffix {
  font-size: 3.5rem;
  font-weight: 700;
  font-family: var(--font-primary);
}

.counter-box p {
  font-size: 3.5rem;
  font-weight: 300;
}

/* Alerts Ticker Section */
.news-ticker-container {
  background-color: var(--dark-color);
  color: var(--white-color);
  padding: 0;
  overflow: hidden;
}

.ticker-wrap {
  display: flex;
  align-items: stretch;
}

.ticker-title {
  background-color: var(--accent-color);
  padding: 15px 25px;
  font-weight: 700;
  font-family: var(--font-primary);
  white-space: nowrap;
  color: var(--dark-color);
  display: flex;
  align-items: center;
}

.ticker-title i {
  margin-right: 10px;
}

.ticker-content {
  flex-grow: 1;
  overflow: hidden;
  align-self: center;
}

.ticker-move {
  display: inline-block;
  white-space: nowrap;
  animation: ticker 50s linear infinite;
}

.ticker-move span {
  margin: 0 40px;
}

.ticker-move .fa-bolt {
  color: var(--accent-color);
}

@keyframes ticker {
  0% {
    transform: translateX(100%);
  }

  100% {
    transform: translateX(-100%);
  }
}




/* Filter Buttons */
.filter-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 12px 28px;
  background: white;
  border: 2px solid #e2e8f0;
  border-radius: 50px;
  font-weight: 600;
  color: #4a5568;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 15px;
  flex: 0 1 auto;
  white-space: nowrap;
}

.filter-btn:hover {
  border-color: #005a9c;
  color: #005a9c;
  transform: translateY(-2px);
}

.filter-btn.active {
  background: #005a9c;
  color: white;
  border-color: #005a9c;
  box-shadow: 0 5px 15px rgba(0, 90, 156, 0.3);
}

/* Gallery Container */
.gallery-container {
  position: relative;
  min-height: 500px;
}

/* Gallery Grid */
#gallery-grid {
  position: relative;
  transition: all 0.5s ease;
}

/* Gallery Item Container */
.gallery-item-wrapper {
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* GALLERY ITEM */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
  background: #fff;
  display: flex;
  flex-direction: column;
  margin-bottom: 30px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  opacity: 0;
  transform: translateY(30px);
  animation: slideUpItem 0.7s forwards;
  animation-delay: calc(var(--item-index, 1) * 0.1s);
  height: 300px; /* Fixed height for uniform look */
}

/* Staggered animation */
.gallery-item:nth-child(1) {
  --item-index: 1;
}
.gallery-item:nth-child(2) {
  --item-index: 2;
}
.gallery-item:nth-child(3) {
  --item-index: 3;
}
.gallery-item:nth-child(4) {
  --item-index: 4;
}
.gallery-item:nth-child(5) {
  --item-index: 5;
}
.gallery-item:nth-child(6) {
  --item-index: 6;
}
.gallery-item:nth-child(7) {
  --item-index: 7;
}
.gallery-item:nth-child(8) {
  --item-index: 8;
}

/* Hover effects */
.gallery-item:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 90, 156, 0.25);
  z-index: 10;
}

/* IMAGE STYLE */
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
  position: absolute;
  top: 0;
  left: 0;
}

/* HOVER ZOOM */
.gallery-item:hover img {
  transform: scale(1.08);
}

/* OVERLAY */
.gallery-item .gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 90, 156, 0.8));
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.45s ease;
  z-index: 3;
}

/* HOVER OVERLAY EFFECT */
.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* ICON STYLE */
.gallery-overlay .icon {
  color: #ffffff;
  font-size: 2.8rem;
  transform: translateY(10px);
  opacity: 0;
  transition: 0.35s ease;
  z-index: 4;
}

/* ICON ENTRANCE */
.gallery-item:hover .icon {
  transform: translateY(0);
  opacity: 1;
}

/* TEXT DESCRIPTION OVERLAY */
.gallery-text {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 15px 20px;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  font-size: 15px;
  text-align: center;
  opacity: 0;
  transform: translateY(25px);
  transition: all 0.35s ease;
  z-index: 5;
  backdrop-filter: blur(5px);
  line-height: 1.5;
}

/* SHOW TEXT ON HOVER */
.gallery-item:hover .gallery-text {
  opacity: 1;
  transform: translateY(0);
}

/* Video specific styles */
.video-item .gallery-overlay {
  background: linear-gradient(rgba(0, 90, 156, 0.3), rgba(0, 90, 156, 0.8));
}

.video-item .icon {
  background: rgba(255, 255, 255, 0.9);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #005a9c;
  font-size: 24px;
  transform: scale(0.9);
}

.video-item:hover .icon {
  background: #ff6b35;
  color: white;
  transform: scale(1.1);
}

/* Filter states */
.gallery-item.filtered-out {
  animation: fadeOut 0.4s forwards;
}

.gallery-item.filtered-in {
  animation: fadeIn 0.4s forwards;
}

/* Masonry grid fix */
#gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

/* Ensure columns work properly */
#gallery-grid .col-lg-4,
#gallery-grid .col-md-6 {
  width: 100%;
  padding: 0;
}

/* ANIMATIONS */
@keyframes slideUpItem {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
    transform: scale(1);
  }
  to {
    opacity: 0;
    transform: scale(0.95);
  }
}

/* ========== RESPONSIVE DESIGN ========== */

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .gallery-item {
    height: 320px;
  }
}

/* Medium devices (tablets, 768px to 991px) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .gallery-item {
    height: 280px;
  }

  #gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}

/* Small devices (landscape phones, 576px to 767px) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .gallery-item {
    height: 250px;
  }

  #gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
  }

  .filter-btn {
    padding: 10px 20px;
    font-size: 14px;
  }

  .gallery-text {
    padding: 12px 15px;
    font-size: 14px;
  }
}

/* Extra small devices (phones, less than 576px) */
@media (max-width: 575.98px) {
  .gallery-item {
    height: 220px;
  }

  #gallery-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .filter-buttons {
    gap: 8px;
  }

  .filter-btn {
    padding: 8px 16px;
    font-size: 13px;
    flex: 1;
    min-width: 120px;
  }

  .gallery-text {
    padding: 10px 12px;
    font-size: 13px;
  }

  .gallery-overlay .icon {
    font-size: 2.2rem;
  }

  .video-item .icon {
    width: 60px;
    height: 60px;
    font-size: 20px;
  }

  /* Reduce hover effects on mobile */
  .gallery-item:hover {
    transform: translateY(-5px) scale(1.01);
  }
}

/* Ensure proper display of filtered items */
.gallery-item[style*="display: none"] {
  display: none !important;
}

.gallery-item:not([style*="display: none"]) {
  display: block !important;
}

/* Resources Section */
.accordion-button {
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 1.1rem;
}

.accordion-button:not(.collapsed) {
  color: var(--primary-color);
  background-color: rgba(0, 90, 156, 0.1);
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.125);
}

.accordion-item {
  border-radius: 10px !important;
  overflow: hidden;
  border: none;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

/* Testimonials Section */
.testimonial-card {
  background: var(--white-color);
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
  text-align: center;
  position: relative;
  height: 100%;
}

.testimonial-card::before {
  content: "\f10d";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  top: 20px;
  left: 30px;
  font-size: 3rem;
  color: var(--primary-color);
  opacity: 0.1;
}

.testimonial-card img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 20px;
  border: 4px solid var(--primary-color);
}

.testimonial-card .quote {
  font-size: 1.05rem;
  font-style: italic;
  color: #555;
  margin-bottom: 20px;
}

.testimonial-card .name {
  font-weight: 600;
  font-family: var(--font-primary);
  color: var(--primary-color);
}

.testimonial-card .position {
  font-size: 0.9rem;
  color: var(--secondary-color);
}

.swiper-pagination-bullet-active {
  background-color: var(--primary-color) !important;
}

/* Blog Section */
.blog-card {
  background: var(--white-color);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

.blog-card .blog-img-container {
  height: 220px;
  overflow: hidden;
}

.blog-card img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-card:hover img {
  transform: scale(1.1);
}

.blog-card .blog-content {
  padding: 30px;
}

.blog-card .blog-meta {
  font-size: 0.85rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.blog-card .blog-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--dark-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.blog-card .blog-title:hover {
  color: var(--primary-color);
}

.blog-card .read-more {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}

.map-container {
  border-radius: 15px;
  overflow: hidden;
  height: 400px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

/* footer */
footer {
  background: linear-gradient(135deg, #14591d, #1b4d1f); /* Gradient Green */
  color: rgba(255, 255, 255, 0.85); /* Brighter Text */
  padding-top: 80px;
  font-size: 18px;
}

footer h5 {
  color: #ffffff;
  font-family: var(--font-primary);
  margin-bottom: 20px;
}

footer a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: #ffffff;
}

footer .list-unstyled li {
  margin-bottom: 10px;
}

.social-icons a {
  font-size: 38px;
  margin-right: 16px;
  display: inline-block;
  background: none !important;
  transition: transform 0.3s ease;
}

/* Original brand colors */
.social-icons a .fa-facebook-f {
  color: #1877f2 !important;
}
.social-icons a .fa-envelope {
  color: #ea4335 !important;
}
.social-icons a .fa-instagram {
  color: #e4405f !important;
}
.social-icons a .fa-linkedin-in {
  color: #0a66c2 !important;
}
.social-icons a .fa-viber {
  color: #7360f2 !important;
}
.social-icons a .fa-twitter {
  color: #1da1f2 !important;
}
.social-icons a .fa-youtube {
  color: #ff0000 !important;
}
.social-icons a .fa-whatsapp {
  color: #25d366 !important;
}
.social-icons a .fa-pinterest {
  color: #e60023 !important;
}
.social-icons a .fa-tiktok {
  color: #000000 !important;
}
.social-icons a .fa-discord {
  color: #5865f2 !important;
}

/* Simple hover effect on the link */
.social-icons a:hover {
  transform: translateY(-6px);
}
/* Footer form controls */
.email-form .form-control {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  padding: 10px 12px;
  border-radius: 8px;
  width: 100%;
}

.email-form .form-control::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

/* Make form fields slightly smaller on mobile */
@media (max-width: 576px) {
  .email-form .form-control {
    font-size: 14px;
  }
}

/* Submit button */
.email-form .btn.btn-premium {
  background: #2d7a31;
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: #fff;
  border-radius: 8px;
}
.email-form .btn.btn-premium:hover {
  background: #36a63a;
  transform: translateY(-2px);
}

/* Small helper—visually hidden label (a11y) */
.visually-hidden {
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

.partners-row {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
}

.partner-logo {
  height: 75px; /* BIGGER LOGO SIZE */
  width: auto;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding: 20px 0;
  font-size: 13px;
  letter-spacing: 0.5px;
  margin-top: 60px;
  color: #ffffff;
}

/* Scroll to top button */
#scrollTopBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 99;
  border: none;
  outline: none;
  /* background-color: var(--primary-color); */
  background-color: #427138;
  color: white;
  cursor: pointer;
  padding: 10px;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 1.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

#scrollTopBtn:hover {
  background-color: var(--secondary-color);
  transform: translateY(-3px);
}

/* Mobile Responsive Fixes */
@media (max-width: 768px) {
  /* General adjustments */
  body {
    font-size: 0.9375rem;
    line-height: 1.5;
  }

  /* Section padding */
  .section-padding {
    padding: 60px 0;
  }

  .section-title {
    margin-bottom: 40px;
  }

  .section-title h2 {
    font-size: 1.8rem;
    padding-bottom: 15px;
  }

  .section-title p {
    font-size: 0.8rem;
  }

  /* Buttons */
  .btn {
    padding: 12px 25px;
    font-size: 0.9375rem;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    display: block;
  }

  .btn-premium,
  .btn-premium-outline,
  .btn-secondary-premium {
    width: 100%;
    margin-bottom: 10px;
  }

  /* Navbar */
  .navbar {
    padding: 0.8rem 0;
  }

  .navbar-brand img {
    height: 40px;
  }

  .navbar-collapse {
    background-color: var(--white-color);
    padding: 15px;
    border-radius: 10px;
    margin-top: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }

  .navbar-nav .nav-link {
    padding: 10px 0;
    margin: 0;
    text-align: center;
  }

  .dropdown-menu {
    text-align: center;
    background-color: rgba(255, 255, 255, 0.95);
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }

  /* Hero Section */
  #hero {
    height: 70vh;
    min-height: 500px;
    background-position: center;
  }

  .hero-content h1 {
    font-size: 2.2rem;
    margin-bottom: 15px;
  }

  .typed-cursor {
    font-size: 2.2rem;
  }

  .hero-content p {
    font-size: 1rem;
    padding: 0 20px;
    margin-bottom: 30px;
  }

  /* Why Choose Us Section */
  .why-sakomoto {
    padding: 60px 0;
    min-height: auto;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .section-title {
    font-size: 2rem;
  }

  .section-subtitle {
    font-size: 1.1rem;
    padding: 0 10px;
  }

  .feature-card {
    padding: 25px 20px;
    margin-bottom: 20px;
  }

  .feature-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    margin-bottom: 20px;
  }

  .feature-title {
    font-size: 1.3rem;
  }

  .feature-text {
    font-size: 0.95rem;
  }

  /* Product Section */
  .product-section {
    padding: 60px 0;
  }

  .product-row {
    margin-bottom: 60px;
  }

  .product-img-container {
    height: auto;
    min-height: 300px;
    margin-bottom: 30px;
  }

  .product-slideshow-container {
    height: 350px;
  }

  .slide {
    padding: 20px;
  }

  .slideshow-prev,
  .slideshow-next {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .product-description {
    padding: 30px 20px;
    margin-top: 20px;
  }

  .product-title {
    font-size: 2rem;
  }

  .product-description p {
    font-size: 1rem;
  }

  .product-features li {
    font-size: 0.95rem;
    padding-left: 30px;
  }

  .product-cta {
    padding: 15px 30px;
    width: 100%;
    text-align: center;
  }

  /* Facilities Section */
  .facilities-section {
    padding: 60px 0;
  }

  .facility-card {
    padding: 20px;
    margin-bottom: 20px;
  }

  .facility-title {
    font-size: 1.4rem;
  }

  .facility-description {
    font-size: 1rem;
  }

  /* Gallery Section */
  #gallery-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .gallery-item {
    height: 250px;
    margin-bottom: 20px;
  }

  .filter-buttons {
    gap: 8px;
    margin-bottom: 30px;
    overflow-x: auto;
    padding-bottom: 10px;
    -webkit-overflow-scrolling: touch;
  }

  .filter-btn {
    padding: 8px 16px;
    font-size: 0.875rem;
    white-space: nowrap;
  }
  .qc-card {
    background: #fff;
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.qc-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1) !important;
}

.qc-image-container {
    height: 220px;
    overflow: hidden;
}

.qc-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.qc-card-title {
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.qc-text {
    font-size: 0.9rem;
    color: #6c757d;
    line-height: 1.6;
}

.qc-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: #28a745;
    background: #e8f5e9;
    padding: 4px 12px;
    border-radius: 20px;
    margin-top: 10px;
}

.qc-icon-large {
    opacity: 0.8;
} 

  /* Stats Section */
  .counter-box .counter {
    font-size: 2.5rem;
  }

  .counter-box p {
    font-size: 1rem;
  }

  /* Testimonials */
  .testimonial-card {
    padding: 25px 20px;
    margin-bottom: 20px;
  }

  /* Blog Cards */
  .blog-card .blog-img-container {
    height: 180px;
  }

  .blog-card .blog-content {
    padding: 20px;
  }

  /* Footer */
  footer {
    padding-top: 50px;
    font-size: 16px;
  }

  .social-icons a {
    font-size: 28px;
    margin-right: 12px;
  }

  .partner-logo {
    height: 50px;
  }

  .footer-bottom {
    margin-top: 30px;
    padding: 15px 0;
    text-align: center;
  }

  /* Form controls */
  .email-form .form-control {
    font-size: 16px; /* Prevents zoom on iOS */
  }

  /* Scroll to top button */
  #scrollTopBtn {
    width: 45px;
    height: 45px;
    bottom: 15px;
    right: 15px;
    font-size: 1.2rem;
  }

  /* Hide shape dividers on mobile for better performance */
  .shape-divider {
    display: none;
  }
}

/* Extra small devices (phones, less than 576px) */
@media (max-width: 576px) {
  /* Hero adjustments */
  #hero {
    height: 60vh;
    min-height: 400px;
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }

  .typed-cursor {
    font-size: 1.8rem;
  }

  /* Product section */
  .product-title {
    font-size: 1.8rem;
  }

  .product-slideshow-container {
    height: 280px;
  }

  /* Gallery */
  .gallery-item {
    height: 200px;
  }

  .gallery-overlay .icon {
    font-size: 2rem;
  }

  /* Facilities */
  .facility-card {
    padding: 15px;
  }

  .facility-title {
    font-size: 1.2rem;
  }

  /* Typography */
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  /* Prevent horizontal scroll */
  body,
  .container,
  .row,
  .col {
    max-width: 100%;
    overflow-x: hidden;
  }

  /* Button groups */
  .btn-group-vertical {
    width: 100%;
  }
}

/* Tablet adjustments */
@media (min-width: 577px) and (max-width: 768px) {
  #gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-item {
    height: 220px;
  }

  .product-img-container {
    height: 350px;
  }
}

/* Landscape mode fixes */
@media (max-height: 600px) and (orientation: landscape) {
  #hero {
    height: 100vh;
    min-height: 400px;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 0.9rem;
    margin-bottom: 20px;
  }
}

/* iPhone notch/padding fixes */
@supports (padding: max(0px)) {
  .container,
  .navbar,
  footer {
    padding-left: max(15px, env(safe-area-inset-left));
    padding-right: max(15px, env(safe-area-inset-right));
  }
}

/* Fix for sticky hover states on mobile */
@media (hover: none) and (pointer: coarse) {
  .btn-premium:hover::before,
  .btn-premium-outline:hover,
  .btn-secondary-premium:hover,
  .gallery-item:hover,
  .service-card:hover,
  .facility-card:hover,
  .blog-card:hover {
    transform: none !important;
  }

  .navbar-nav .nav-link:hover::after,
  .dropdown-item:hover::after {
    width: 0 !important;
  }
}

/* Improve touch targets */
@media (max-width: 768px) {
  .nav-link,
  .dropdown-item,
  .filter-btn,
  .product-cta,
  .btn {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* Fix for iOS form zoom */
@media screen and (max-width: 768px) {
  input,
  select,
  textarea {
    font-size: 16px !important;
  }
}

/* Performance optimizations for mobile */
@media (max-width: 768px) {
  * {
    -webkit-tap-highlight-color: transparent;
  }

  .gallery-item img,
  .service-card .service-img,
  .blog-card img {
    transform: none !important;
    transition: none !important;
  }

  /* Reduce animations for better performance */
  .btn-premium::before,
  .floating-bag,
  .pulse-animation {
    animation: none !important;
  }
}
