@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

:root {
  --dark-blue: #002244;
  --sky-blue: #00BFFF;
  --white: #ffffff;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}




body {
  font-family: 'Roboto', sans-serif;
  background-color: #f4f4f4;
  
}


/* Full page background and loader placement */
html, body {
  height: 100%;
  margin: 0;
}

/* Loader styling */
#page-loader {
  position: fixed;
  top: calc(50% - 32px);
  left: calc(50% - 32px);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  perspective: 800px;
  z-index: 9999;
  background: transparent;
  transition: all 0.6s ease;
}

/* Fade-out effect */
#page-loader.fade-out {
  opacity: 0;
  visibility: hidden;
}

/* Spinner layers */
#page-loader .inner {
  position: absolute;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

.inner.one {
  animation: rotate-one 1s linear infinite;
  border-bottom: 3px solid #EFEFFA;
}

.inner.two {
  animation: rotate-two 1s linear infinite;
  border-right: 3px solid #EFEFFA;
}

.inner.three {
  animation: rotate-three 1s linear infinite;
  border-top: 3px solid #EFEFFA;
}

@keyframes rotate-one {
  0% { transform: rotateX(35deg) rotateY(-45deg) rotateZ(0deg); }
  100% { transform: rotateX(35deg) rotateY(-45deg) rotateZ(360deg); }
}

@keyframes rotate-two {
  0% { transform: rotateX(50deg) rotateY(10deg) rotateZ(0deg); }
  100% { transform: rotateX(50deg) rotateY(10deg) rotateZ(360deg); }
}

@keyframes rotate-three {
  0% { transform: rotateX(35deg) rotateY(55deg) rotateZ(0deg); }
  100% { transform: rotateX(35deg) rotateY(55deg) rotateZ(360deg); }
}




/* Base Layout */
.container {
  max-width: 1170px;
  margin: auto;
  padding: 0 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--dark-blue);
  color: var(--white);
  z-index: 1000;
  padding: 5px 0;
  border-bottom: 1px solid hsla(0, 0%, 100%, 0.2);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.header .container {
  height: 60px;
}

.logo img {
  width: 120px;
}

.menu {
  flex-grow: 1;
  display: flex;
  justify-content: center;
  transition: var(--transition);
}

.menu ul {
  list-style: none;
}

.main-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
}

.main-menu > li {
  position: relative;
}

.main-menu > li > a,
.submenu-toggle > a {
  text-decoration: none;
  color: var(--white);
  font-weight: 500;
  font-size: 15px;
  padding: 8px 10px;
  transition: var(--transition);
}

.submenu-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  gap: 10px;
}

.submenu-btn {
  background: none;
  border: none;
  color: var(--white);
  font-size: 14px;
  cursor: pointer;
}

.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  padding: 10px 0;
  display: none;
  min-width: 180px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  z-index: 110;
  border-radius: 4px;
  margin-top: 15px;
}

.submenu.open {
  display: block;
  margin-top: 10px;
}

.submenu li a {
  display: block;
  padding: 10px;
  color: var(--dark-blue);
  text-decoration: none;
  font-size: 14px;
  transition: var(--transition);
}

.submenu li a:hover {
  color: var(--dark-blue);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

.icon-btn {
  background: none;
  border: none;
  color: var(--white);
  font-size: 18px;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}
.icon-btn-cart {
  display: flex;
}

.icon-btn:hover {
  color: var(--sky-blue);
}

.open-menu-btn {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.open-menu-btn span {
  display: block;
  height: 2px;
  width: 20px;
  background-color: var(--white);
  margin: 3px 0;
  border-radius: 2px;
}

/* Responsive */
@media (max-width: 991px) {
  .menu {
    position: fixed;
    top: 60px;
    left: -100%;
    width: 240px;
    max-height: 80vh;
    background-color: var(--dark-blue);
    flex-direction: column;
    padding: 25px 20px;
    transition: left 0.3s ease-in-out;
    z-index: 999;
    border-radius: 0 12px 12px 0;
    overflow-y: auto;
  }

  .menu.active {
    left: 0;
  }

  .main-menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .main-menu li {
    width: 100%;
  }

  .submenu-toggle {
    width: 100%;
  }

  .main-menu li a {
    font-size: 16px;
    padding: 10px 0;
    width: 100%;
  }

  .submenu {
    position: static;
    background-color: var(--white);
    padding-left: 3px;
    margin-top: 20px;
  }

  .submenu li a {
    padding: 8px 15px;
    font-size: 14px;
    margin-left: 3px;
  }

  .submenu li a:hover {
    color: var(--dark-blue);
  }

  .open-menu-btn {
    display: flex;
  }

  .menu::-webkit-scrollbar {
    width: 8px;
  }

  .menu::-webkit-scrollbar-thumb {
    background-color: var(--sky-blue);
    border-radius: 4px;
  }
}

/* ========= ACTIVE LINK STYLES ========= */

/* .active: general highlight (e.g., Home, About) */
.main-menu > li > a.active,
.submenu li a.active {
  color: var(--sky-blue);
  font-weight: bold;
  position: relative;
}
.main-menu > li > a.active::after,
.submenu li a.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 10px;
  width: 60%;
  height: 2px;
  background-color: var(--sky-blue);
  border-radius: 1px;
}

/* Ensure .active2 works inside .submenu-toggle */
.submenu-toggle > a.active2 {
  color: orange;
  font-weight: bold;
  position: relative;
}

.submenu-toggle > a.active2::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: orange;
  border-radius: 1px;
}


/* Search Bar (Below Navbar, Right Top) */
.search-bar-wrapper {
  position: fixed;
  top: 60px;
  right: 20px;
  z-index: 1200;
  display: none;
  width: 100%;
  max-width: 400px;
  justify-content: flex-end;
}

.search-bar-wrapper.active {
  display: flex;
}

.search-bar {
  display: flex;
  gap: 5px;
  background-color: #fff;
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  width: 100%;
}

.search-bar input {
  flex: 1;
  padding: 8px 10px;
  font-size: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.search-bar button {
  background: var(--dark-blue);
  border: none;
  color: white;
  padding: 8px 10px;
  border-radius: 4px;
  cursor: pointer;
}

.search-bar button:hover {
  background: var(--sky-blue);
}



.cart-sidebar {
  position: fixed;
  top: 0;
  right: -100%;
  width: 360px;
  height: 100%;
  background: #ffffff;
  box-shadow: -4px 0 12px rgba(0, 0, 0, 0.15);
  z-index: 1500;
  display: none;
  flex-direction: column;
  transition: right 0.35s ease;
  font-family: 'Roboto', sans-serif;
  border-left: 1px solid #e0e0e0;
}

.cart-sidebar.active {
  right: 0;
}

.cart-header {
  padding: 20px;
  background: var(--dark-blue);
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-header h3 {
  margin: 0;
  font-size: 18px;
}

.close-cart {
  background: none;
  border: none;
  color: white;
  font-size: 20px;
  cursor: pointer;
}

.cart-content {
  padding: 20px;
  flex: 1;
  overflow-y: auto;
}

.cart-item {
  display: flex;
  flex-direction: column;
  padding: 15px;
  margin-bottom: 15px;
  border: 1px solid #eee;
  border-radius: 8px;
  background: #f9f9f9;
  transition: box-shadow 0.2s;
}

.cart-item:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
}

.cart-item p {
  margin: 3px 0;
  color: #333;
}

.cart-item strong {
  font-size: 16px;
}

.cart-total {
  border-top: 1px solid #ddd;
  padding-top: 15px;
  font-size: 16px;
  font-weight: 500;
  text-align: right;
  color: #222;
}

/* Optional Scrollbar styling */
.cart-content::-webkit-scrollbar {
  width: 8px;
}

.cart-content::-webkit-scrollbar-thumb {
  background-color: var(--sky-blue);
  border-radius: 4px;
}


/* Responsive Adjustments */
@media (max-width: 768px) {
  .search-bar-wrapper {
    top: 55px;
    right: 10px;
    max-width: 90%;
  }

  .cart-sidebar {
    width: 90%;
  }
}







.home_section {
   max-width: 1500px;
   margin: 5rem auto;
   padding: 50px 1rem;
  
  background: url('./images/bg/choose-us-bg.jpg') no-repeat center center;
  background-size: cover;
  color: var(--white);
  text-align: center;
  margin-bottom: 10px;
}

.home-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.welcome-text h1 {
  font-size: 36px;
  font-weight: 700;
  color: #020202;
}

.welcome-text p {
  font-size: 18px;
  margin-top: 10px;
  color: #020202;
}

/* Carousel styling */
.carousel {
  width: 100%;
  max-width: 900px;
  overflow: hidden;
  position: relative;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  background-color: #151d78;
}

.carousel-track {
  display: flex;
  transition: transform 1s ease-in-out;
}

.carousel-slide {
  min-width: 100%;
  position: relative;
}

.carousel-slide img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  display: block;
}

/* Slide overlay content */
.slide-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  padding: 24px 32px;
  border-radius: 12px;
  max-width: 85%;
  text-align: center;
  z-index: 2;
  backdrop-filter: blur(4px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
}

.slide-overlay h3 {
  font-size: 24px;
  margin-bottom: 12px;
  color: #aad4ff;
}

.slide-overlay p {
  font-size: 16px;
  line-height: 1.6;
  color: #e6f1ff;
  margin: 0;
}

/* Carousel controls */
.carousel-controls {
  text-align: center;
  margin-top: 15px;
}

.carousel-controls button {
  background-color: #0078d4;
  color: #fff;
  border: none;
  padding: 10px 24px;
  margin: 5px;
  font-size: 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.carousel-controls button:hover {
  background-color: #005fa3;
  transform: scale(1.05);
}

.carousel-controls button:disabled {
  background-color: #777;
  cursor: not-allowed;
  box-shadow: none;
}

@media (max-width: 768px) {
  .slide-overlay {
    padding: 10px 14px;
    max-width: 96%;
    width: 96%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 10px;
    max-height: 200px;
    overflow-y: auto; /* Enable scroll if content exceeds */
    line-height: 1.4;
  }

  .slide-overlay h3 {
    font-size: 16px;
    margin-bottom: 6px;
  }

  .slide-overlay p {
    font-size: 13px;
    line-height: 1.35;
    margin: 0;
  }

  .carousel-slide img {
    height: 220px;
  }

  .carousel-controls button {
    font-size: 13px;
    padding: 7px 16px;
  }
}


/* Add these styles to your CSS */
.slide-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  padding: 24px 32px;
  border-radius: 12px;
  max-width: 85%;
  text-align: center;
  backdrop-filter: blur(4px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 80%;
}

.slide-content {
  flex-grow: 1;
  padding: 0 15px;
}

.slide-nav-btn {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.slide-nav-btn:hover {
  background: rgba(0, 120, 212, 0.8);
  transform: scale(1.1);
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .slide-overlay {
    width: 80%;
    padding: 10px 14px;
  }
  
  .slide-nav-btn {
    width: 28px;
    height: 28px;
    font-size: 14px;
  }
}



/* ================================
   Section Base Styles
================================ */


.about_us {

  max-width: 1500px;
   margin: 1rem auto;
  padding: 50px 1rem;
  margin-top: 0;
  background: url('./images/bg/skill-bg.jpg') no-repeat center center;
  background-size: cover;
  color: var(--white);
}

/* ================================
   Heading Styles
================================ */
.styled-about-heading {
  text-align: center;
  font-size: 48px;
  font-weight: 800;
  letter-spacing: 6px;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4);
  margin-bottom: 60px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.letter-a { color: #ff3300; }
.letter-b { color: #000; }
.letter-o { color: #ff3300; }
.letter-u { color: #000; }
.letter-t { color: #ff3300; }
.letter-u2 { color: #000; }
.letter-s { color: #ff3300; }

.space {
  display: inline-block;
  width: 20px;
}

/* ================================
   Container and Card Layout
================================ */
.about-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 30px;
   background: url('./images/bg/counter-bg2.jpg') no-repeat center center;
  background-size: cover;
 padding: 40px;
 border-radius: 10px;
}

/* Text Card */
.about-card {
  flex: 1 1 500px;
  border-radius: 12px;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  padding: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  display: block;
}

/* Image Card (Slider container) */
.about-image {
  flex: 1 1 500px;
  border-radius: 12px;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  padding: 0;
  display: flex;
  align-items: stretch;
}

/* ================================
   About Text Content
================================ */
.about-text h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: #aad4ff;
}


.about-text p {
  font-size: 16px;
  line-height: 1.6;
  color: #e6f1ff;
  margin-bottom: 20px;
}

.about-more-btn {
  display: inline-block;
  background-color: #1b0686;
  color: #fff;
  padding: 10px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 14px;
  transition: background-color 0.3s ease;
  margin-bottom: 0;
}

.about-more-btn:hover {
  background-color: #005fa3;
}

/* ================================
   Image Slider Styles
================================ */
.about-image .slider {
  position: relative;
  width: 100%;
  height: 350px; /* Fixed height for uniform size */
  overflow: hidden;
  border-radius: 12px;
}

.about-image .slider img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;         /* Force full height */
  object-fit: cover;    /* Crop and cover uniformly */
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.about-image .slider img.active-slide {
  opacity: 1;
  position: relative;
}


/* ================================
   Responsive Design
================================ */
@media (max-width: 768px) {
  .about-container {
    flex-direction: column;
    padding: 0 15px;
    padding-top: 20px;
    
  }
  .about-image .slider {
    height: 500px; /* consistent with mobile size */
  }
  .about-card,
  .about-image {
    margin-bottom: 10px;
    padding: 20px;
  }

  .about-image {
    padding: 0;
  }

  .about-image .slider {
    min-height: 220px;
  }

  .about-text {
    padding-top: 15%;
    padding-bottom: 5px;
  }

  .styled-about-heading {
    font-size: 30px;
    font-weight: 600;
    letter-spacing: 4px;
    margin-bottom: 40px;
  }

  .about-text h2 {
    font-size: 24px;
  }

  .about-text p {
    font-size: 14px;
  }

  .about-more-btn {
    margin-top: 10px;
  }

  .space {
    width: 14px;
  }
}





.services-section {
  max-width: 1500px;
  position: relative;
  padding: 50px 1rem;
  background-image:
    linear-gradient(to top right, rgba(77, 90, 207, 0.177), rgba(255, 255, 255, 0) 60%),
    url('./images/bg/testi-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed; /* Optional for parallax effect */
  color: #1dd8cc;
  z-index: 1;
  margin: 2rem auto;
  border-radius: 10px;

}

/* Ensure all child content appears above the overlay */
.services-section > * {
  position: relative;
  z-index: 1;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 40px;
  color:#000;
}

.services-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.service-card {
  position: relative;
  background-size: cover;
  background-position: center;
  height: 280px;
  border-radius: 15px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
}

.service-card:hover {
  transform: scale(1.03);
}

/* Service name styling */
.service-name {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  font-size: 1.4rem;
  font-weight: bold;
  background-color: rgba(0, 0, 0, 0.67);
  color: #ffff;
  padding: 8px 16px;
  border-radius: 8px;
  max-width: 90%;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Short paragraph below service name */
.service-description-top {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: #fff;
  font-size: 18px;
  padding: 2px 4px;
  background-color: rgba(0, 0, 0, 0.67);
  border-radius: 6px;
  text-align: center;
  
  transition: opacity 0.3s ease-in-out;
}

/* Hide the short description on hover */
.service-card:hover .service-description-top {
  opacity: 0;
}

/* Description and stars overlay */
.overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  opacity: 0;
  padding: 20px;
  box-sizing: border-box;
  border-radius: 0 0 15px 15px;
  transition: opacity 0.4s ease-in-out;
  color: #fff;
  z-index: 2;
  pointer-events: none;
}

.service-card:hover .overlay {
  opacity: 1;
  pointer-events: auto;
}

.overlay p {
  margin: 0 0 12px 0;
  font-size: 1rem;
  line-height: 1.4;
}

.stars {
  font-size: 1.4rem;
  color: #ffd700;
  letter-spacing: 2px;
}

.learn-more-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 16px;
  background-color: #ffffffcc;
  color: #000;
  font-weight: bold;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.learn-more-btn:hover {
  background-color: #241d74;
  color: #222;
}

/* Responsive tweaks */
@media (max-width: 600px) {
  .services-container {
    grid-template-columns: 1fr;
  }

  .service-card {
    height: 320px;
  }

  .service-name {
    font-size: 1.2rem;
    padding: 6px 12px;
  }

  .service-description-top {
    top: 30%;
    font-size: 1rem;
    padding: 3px 8px;
  }
}


.products {
  max-width: 1500px;
  margin: 2rem auto;
  border-radius: 10px;
  padding: 50px 1rem;
  background-image: url('./images/bg/counter-bg2.jpg'); /* Replace with your actual image path */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed; /* Optional for parallax effect */
}

/* Section title */
.products h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2.5rem;
  color: #000;
  font-weight: bold;
}

/* Grid layout for product cards */
.product-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

/* Individual product card */
.product-card {
  position: relative;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding: 0; /* Remove all padding */
  display: flex;
  flex-direction: column;
}

/* Hover effect */
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Product image */
.product-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-bottom: 1px solid #eee;
}

/* Product name/title */
.product-card h3 {
  margin: 1rem 1rem 0.3rem;
  font-size: 1.25rem;
  color: #002244;
  font-weight: 600;
}

/* Price and like section */
.price-likes {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1rem 0.5rem;
  font-size: 1rem;
  color: #333;
  font-weight: 600;
  margin-bottom: 0;
}

.price {
  color: #007bff;
}

.likes {
  color: #e25555;
  user-select: none;
}

/* Star ratings */
.stars {
  margin: 0 1rem 0.5rem;
  color: #f4c150;
  font-size: 1.1rem;
}

/* Product info section */
.product-info {
  background: rgba(0, 34, 68, 0.85);
  color: white;
  padding: 0.5rem 1rem;
  transition: background 0.3s ease;
  margin-top: auto; /* Push to bottom */
}

/* Description */
.product-info p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.4;
}

/* Learn more button initially hidden */
.learn-more {
  display: none;
  color: #ffcc00;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, color 0.3s ease;
  margin-top: 0.5rem;
}

/* Show learn more on hover */
.product-card:hover .learn-more {
  display: inline-block;
}

/* Learn more hover effect */
.learn-more:hover {
  border-color: #ffcc00;
  color: #ffd633;
}

/* Responsive tweaks */
@media (max-width: 600px) {
  .products h2 {
    font-size: 2rem;
  }

  .product-card h3 {
    font-size: 1.1rem;
  }

  .price-likes {
    font-size: 0.95rem;
  }

  .product-info p {
    font-size: 0.85rem;
  }
}



.partners-logos-section {
  text-align: center;
  padding: 50px 20px;
  background-color: #f9f9f9;
}

.partners-logos-section .section-title {
  font-size: 2rem;
  margin-bottom: 30px;
  color: #222;
}

.partners-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.partner-logo {
  flex: 1 1 160px;
  max-width: 180px;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.partner-logo img {
  width: 100%;
  height: 100%;
  max-width: 150px;
  max-height: 80px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.partner-logo img:hover {
  transform: scale(1.05);
}

/* Tablet responsiveness */
@media (max-width: 768px) {
  .partners-logos-section {
    padding: 40px 15px;
  }

  .partners-grid {
    gap: 20px;
  }

  .partner-logo {
    flex: 1 1 45%;
    max-width: 45%;
    height: 90px;
  }
}

/* Mobile responsiveness */
@media (max-width: 480px) {
  .partner-logo {
    flex: 1 1 80%;
    max-width: 80%;
    height: 80px;
  }

  .partners-logos-section .section-title {
    font-size: 1.5rem;
  }
}



.partners-section {
  text-align: center;
  max-width: 1500px;
  margin: 2rem auto;
  border-radius: 10px;
  padding: 50px 20px;
  background-image: url('./images/bg/testi-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.partners-section .section-title {
  font-size: 2rem;
  margin-bottom: 30px;
  color: #000;
}

.slider {
  overflow: hidden;
  position: relative;
  background: #0e045ef3;
  padding: 20px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 20px; /* space between rows */
}

.slide-track {
  display: flex;
  width: max-content;
  animation: scrollLeft 30s linear infinite;
}

.slide {
  width: 160px;
  flex-shrink: 0;
  text-align: center;
  padding: 10px;
  box-sizing: border-box;
  background: #fff;
  border-radius: 80px;
  margin: 0 10px; /* fixed spacing */
}

.slide img {
  max-width: 70px;
  height: auto;
  display: block;
  margin: 0 auto;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.slide img:hover {
  filter: grayscale(0%);
}

@keyframes scrollLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .slide {
    width: 130px;
    margin: 0 8px; /* adjusted spacing */
  }

  .slide img {
    max-width: 60px;
  }
}

@media (max-width: 768px) {
  .partners-section {
    padding: 30px 15px;
  }

  .slide {
    width: 100px;
    margin: 0 6px; /* adjusted spacing */
  }

  .slide img {
    max-width: 50px;
  }

  .partners-section .section-title {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .slide {
    width: 80px;
    margin: 0 4px; /* tighter but consistent */
  }

  .slide img {
    max-width: 40px;
  }
}




.contact {
  padding: 60px 20px;
  background: url('./images/bg/counter-bg2.jpg') no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
  color: #fff;
  position: relative;
  z-index: 1;
}

/* Optional overlay for better readability */
.contact::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Dark overlay */
  z-index: -1;
}


.contact-container {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: auto;
  gap: 30px;
}

.contact-form, .contact-info {
  flex: 1 1 45%;
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.08);
}

.contact-form h2,
.contact-info h3 {
  margin-bottom: 20px;
  color: #333;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 15px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  resize: none;
}
.contact-form textarea {
  width: 100%;
  padding: 15px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  resize: vertical; /* Let user resize if needed */
  height: 150px; /* Increased height */
}


.contact-form button {
  padding: 12px 25px;
  background-color: #0066cc;
  color: #fff;
  border: none;
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
}

.contact-form button:hover {
  background-color: #004c99;
}

.info-card p {
  margin: 10px 0;
  color: #444;
}

.map-card {
  margin-top: 20px;

}

@media (max-width: 768px) {
  .contact-form, .contact-info {
    flex: 1 1 100%;
  }
}


.success {
  background-color: #d4edda;
  color: #155724;
  padding: 12px;
  margin-bottom: 15px;
  border-left: 5px solid #28a745;
  border-radius: 6px;
}

.error {
  background-color: #f8d7da;
  color: #721c24;
  padding: 12px;
  margin-bottom: 15px;
  border-left: 5px solid #dc3545;
  border-radius: 6px;
}



.footer {

  padding: 60px 20px;
  background: url('./images/bg/cta-bg4.jpg') no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
  color: #fff;
  position: relative;
  z-index: 1;
  font-size: 1.2rem;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
  gap: 30px;
}

.footer-col {
  flex: 1 1 45%;
  min-width: 250px;
}

.footer-col h3 {
  margin-bottom: 20px;
  color: #fff;
}

.footer-col p,
.footer-col a {
  color: #ddd;
  text-decoration: none;
}

.footer-col a:hover {
  color: #fff;
}

.social-icons a {
  display: inline-block;
  margin-right: 10px;
  font-size: 14px;
  color: #ddd;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #fff;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #ddd;
  text-decoration: none;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  border-top: 1px solid #444;
  padding-top: 20px;
  font-size: 0.85rem;
  color: #aaa;
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: flex-start;
  }
}
