/*
Theme Name: Ark Solutuons Custom Theme
Author: Your Name
Version: 1.0
Description: Custom-coded theme for Ark Solutions
*/

/* General Styles */
.logo {
  padding-top: 10px; /* Adjust as needed */
}

/* Navigation Background */
.navbar,
.navbar .container {
  background-color: transparent !important;
}
/* Navigation Text Color */
@media (min-width: 769px) {
  .navbar .container {
    justify-content: flex-start;
  }

  .nav-menu {
    margin-left: 0 !important;
  }
}
.nav-menu li a {
  color: #00392e;
  text-decoration: none;
  font-size: 18px;
  transition: color 0.3s ease;
  text-align:center!important;
  padding: 10px 30px; /* ADJUSTING MANUALLY  FOR  DESKTOP PADDING */
  display: block;
  text-align: left; /* Aligns text inside the dropdown to the left */
}

/* Navigation Hover */
.nav-menu li a:hover {
  color: #007a4a;
  text-decoration: underline;
  text-decoration-color: #007a4a;
  text-decoration-thickness: 2px;
}

/* Cart icon hover effect */
.cart-contents:hover svg {
  fill: #00a869 !important;
}

body {
  background-color: #f5fff5;
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  scroll-behavior: smooth;
 /* no padding-top here */
}

body:not(.home) {
  padding-top: 80px;
}
/* Cart and Checkout Pages */
.woocommerce-cart .site-main,
.woocommerce-checkout .site-main {
  padding-top: 30px; /* Adjust padding for more space between header and cart */
}
/* Mobile Cart/Checkout Padding Fix */
@media (max-width: 768px) {
  .woocommerce-cart .site-main,
  .woocommerce-checkout .site-main {
    padding-top: 30px; /* Increase padding for better spacing on mobile */
  }
}

/* Navigation Container */
.navbar .container {
  display: flex;
  justify-content:space-between;
  align-items: center;
  flex-wrap: nowrap;
  padding: 0 20px;
  overflow-x: auto;
}
@media (min-width: 769px) {
  .navbar .container {
    justify-content: flex-start; /* Align everything to the left */
  }

  .menu-toggle {
    margin-left: auto; /*If visible, push to far right (desktop precaution) */
  }
}

#main-header {
  position: absolute;
  top: 0;
  left: 0;
  padding-top: 10px; /* Adjusts logo + nav downward */
  width: 100%;
  z-index: 1000;
  background-color: transparent !important;
}
/* Nav Menu */
.nav-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 20px;
  overflow: hidden;
}

/* Fix here: Remove 'position: left' (invalid) */
.nav-menu li {
  position: relative;
  text-align: left; /* ensure alignment on <li> level too */
}

/* Dropdown */
.nav-menu .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #e6fff0;
  display: none;
  flex-direction: column;
  min-width: 180px;
  border-radius: 5px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  z-index: 99;
  list-style: none; /*removes bullet points */
}
.nav-menu .dropdown:hover .dropdown-menu {
  display: flex;
}
.nav-menu .dropdown-menu li a {
  color: #00392e;
  background-color: #ffffff;
  padding: 5px;
  text-align:left!important;
  font-size: 14px!important;
}

.nav-menu .dropdown-menu li a:hover {
  background-color: #d7fbe2;
  color: #007a4a;
}

/* HOME PAGE (default) */
body.home .nav-menu .dropdown-menu li a {
  padding: 5px;
}

/* CART + CHECKOUT PAGES */
body.page .nav-menu .dropdown-menu li,
body.single-post .nav-menu .dropdown-menu li,
body.woocommerce-cart .nav-menu .dropdown-menu li,
body.woocommerce-checkout .nav-menu .dropdown-menu li {
  margin: 0 !important;
}

body.woocommerce-cart .nav-menu .dropdown-menu li a,
body.woocommerce-checkout .nav-menu .dropdown-menu li a {
  padding: 2px 5px; /* Reduce inside padding ONLY on cart/checkout */
}

/* Hero Section */

#hero {
  background-image: image-set(
  url('/wp-content/themes/sansolutionsllc/assets/images/arksolutions-hero-optimized.webp?v=2') type("image/webp"),
  url('/wp-content/themes/sansolutionsllc/assets/images/arksolutions-hero-fallback.jpg?v=2') type("image/jpeg")
);
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
  background-color: #d7fbe2; /* fallback color */
  color: #007a4a;
  padding: 50px 20px 100px;
  min-height: 100vh;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

/* Extra fallback if image-set is not supported */
@supports not (background-image: image-set(url("test.webp") type("image/webp"))) {
  #hero {
    background-image: url('/wp-content/themes/sansolutionsllc/assets/images/arksolutions-hero-fallback.jpg?v=2');
  }
}
/* Mobile override: use fallback image directly */
@media (max-width: 768px) {
  #hero {
    background-image: url('/wp-content/themes/sansolutionsllc/assets/images/arksolutions-hero-fallback.jpg?v=2') !important;
    padding-top: 160px !important;
    padding-bottom: 80px !important;
  }
}
/* Desktop / general settings */
  #hero {
    min-height: 75vh; /* or lower */
    background-position: top;
  }
#hero img {
  max-height: 100px;
  margin-bottom: 20px;
}

/* Content Styling */
#hero .hero-content {
  max-width: 800px;
  margin: 0 auto;
}
@media (max-width: 768px) {
  #hero .hero-content {
    margin-top: -100px !important;
  }
}

#hero h1 {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  margin-bottom: 20px;
  animation: fadeIn 0.1s ease-out;
}

#hero p {
  font-size: 18px;
  margin-bottom: 30px;
  opacity: 0;
  animation: slideIn 0.2s ease-out 0.2s forwards;
}

#hero .btn {
  background-color: #cc5200;
  color: #ffffff;
  padding: 12px 25px;
  text-decoration: none;
  border-radius: 30px;
  font-size: 18px;
  transition: background-color 0.1s ease, transform 0.1s ease, box-shadow 0.1s ease;
  animation: fadeIn 0.1s ease-out;
  opacity: 0;
}

#hero .btn:hover {
  background-color: #e65c00;
  color: white;
  transform: scale(1.1);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}
.hero-sub, .hero-tagline {
  font-size: clamp(24px, 4vw, 32px)!important;
  line-height: 1.2 ;
  font-weight: 600 ;
  margin: 12px 0;
  color: #004d40 !important;
  opacity: 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.hero-tagline {
  letter-spacing: 0.4px;
}

.hero-tagline .highlight {
  font-weight: 700;
  color: #b48c3f;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}
/* Video Background Section AMEND */
.hero-section {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

#hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 20px;
  color: white;
  background: rgba(0, 0, 0, 0.4); /* optional dark overlay */
}

/* Responsive: hide video on mobile if needed */
@media (max-width: 768px) {
  #hero-video {
    display: none;
  }
}
/* Sections */
/* === Modern Card Layout for About Section === */
.about-section {
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 20px 20px;
}
.about-card {
  background: linear-gradient(to bottom right, #ffffff, #f5fff5);
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05);
  padding: 40px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 20px;
}

.about-card:hover {
  transform: translateY(-5px);
}

.about-card h2 {
  font-size: 28px;
  color: #004d40;
  margin-bottom: 20px;
}
.about-card img {
  width: 100%;
  height: auto;
  max-height: 240px;   /* keeps consistency */
  max-width: 300px; 
  object-fit: contain;   /* crops nicely if taller */
  border-radius: 10px; /* matches card style */
  margin-bottom: 15px; /* space below image */
}
/* Only target Core Areas section */
.core-areas .about-card img {
  width: 180px;
  height: 180px;
  border-radius: 100%;    /* circle */
  object-fit: contain;   /* fit full image inside */
  background: #f5fff5;   /* mint background fill */
  padding: 8px;          /* little breathing room */
  display: block;
  margin: 0 auto 15px;
}

.about-card p,
.about-card li {
  font-size: 18px;
  line-height: 1.8;
  color: #222;
  margin-bottom: 15px;
}

.about-card ul {
  list-style: none;
  padding: 8px;
  margin: 0;
}

.about-card ul li::before {
  content: "\2713"; /*Unicode checkmark */
  color: #009c5e;
  font-weight: bold;
  margin-right: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
}
/* Mobile Responsive */
@media (max-width: 768px) {
  .about-card {
    padding: 30px 20px;
  }

  .about-card h2 {
    font-size: 22px;
  }

  .about-card p,
  .about-card li {
    font-size: 16px;
    text-align: left; /*Add this */
  }
}
.about-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 156, 94, 0.2);
}
/* Center-align service cards and CTA buttons on mobile */
@media (max-width: 768px) {
   .about-card {
    text-align: center;
  }

  .about-card .btn,
  .about-card .btn-green {
    display: inline-block;
    margin: 20px auto 0 auto; /* centers the button */
    text-align: center
  }

 .about-card p {
    text-align: justify;
  }
}
/* Grid rows inside About */
.about-row {
  display: grid;
  gap: 30px;
  margin-bottom: 40px;
}

.about-row.cols-3 {
  grid-template-columns: repeat(3, minmax(320px, 1fr)); /* ensures each card is wider */
  max-width: 1200px;  /* let the row itself stretch more */
  margin-left: auto;
  margin-right: auto;
}
.about-row.cols-4{
  display:grid;
  grid-template-columns: repeat(4, minmax(260px, 1fr));
  gap:30px;
  margin-bottom:40px;
  max-width:1200px;
  margin-left:auto;
  margin-right:auto;
}


/* Centered row headings */
.about-row-title{
  text-align:center;
  margin: 10px auto 18px;
  padding: 0 12px;
  max-width: 1200px;
}
@media (max-width: 900px){
  .about-row.cols-4{ grid-template-columns: repeat(2, minmax(260px,1fr)); }
}

/* Collapse to 1 column only on small phones */
@media (max-width: 560px){
  .about-row.cols-3,
  .about-row.cols-4{ grid-template-columns: 1fr; }
}
/* Placeholder image style */
.about-card img.placeholder {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 16px;
  background: #eaeaea;
}

/* Responsive fallback */
@media (max-width: 992px) {
  .about-row.cols-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .about-row.cols-3 {
    grid-template-columns: 1fr;
  }
}

/* Shop Section */
#shop {
  padding: 80px 20px 40px;
  background-color: #f9f9f9;
  animation: fadeIn 0.2s ease-out forwards;
  margin-top: 50px;
}

/* Contact Section */
#contact {
  padding: 80px 20px;
  background-color: #f9f9f9;
  animation: fadeIn 0.2s ease-out forwards;
}

/* Checkout Section */
#checkout {
  padding: 80px 20px;
  background-color: #ffffff;
  animation: fadeIn 0.2s ease-out forwards;
}
#services {
  padding: 80px 20px;
  background-color: transparent;
  margin-top: 20px;
}
#category-business-consulting,
#category-dubai-golden-visa,
#category-individual-consulting,
#category-stock-market-courses {
  padding: 40px 20px 30px;
  background-color: #ffffff;
  margin-top: 40px;
}
#services ul {
  list-style: none;
  padding: 0;
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

#services ul li a {
  background-color: #009c5e;
  color: #fff;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

#services ul li a:hover {
  background-color: #007a4a;
}
section h2 {
  font-size: 36px;
  margin-bottom: 20px;
  text-align: center;
}
/* Anchor link offset fix */
:target {
  padding-top: 120px;
  margin-top: -120px;
}

/* Button Animations */
.btn {
  display: inline-block;
  background-color: #cc5200;
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 25px;
  font-size: 16px;
  text-decoration: none;
  font-weight: 500;
  border: 2px solid #009c5e;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #e65c00;
  color: white;
}

/* Cart Icon */
.cart-icon .cart-contents {
  position: relative;
  font-size: 20px;
  color: #ffffff !important;
  display: inline-block;
  font-weight: 600;
}

.cart-icon .cart-count {
  background-color: red;
  color: white;
  border-radius: 50%;
  padding: 2px 6px;
  font-size: 12px;
  margin-left: 4px;
  vertical-align: top;
  font-weight: bold;
}

/* Mobile Hamburger Icon */
.menu-toggle {
  display: none;
  background-color: rgba(245, 255, 245, 0.85); /* glossy mint base */
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  z-index: 10001;
  border-radius: 12px;
  padding: 10px;
  outline: none!important; /*removes default browser outline */
  border: none!important;  /* just in case it adding a default border */

}

.menu-toggle span {
  height: 3px;
  width: 25px;
  background: #006f4a;
  border-radius: 3px;
  display: block;
  transition: all 0.3s ease;
}

/* Morph to X */
.menu-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Navigation */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

.nav-menu {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 70px;
  right: 0;
  width: 200px;
  max-height: 80vh;
  background-color: #e6fff0;
  z-index: 9999;
  padding: 20px;
  opacity: 0;
  transform: translateX(100%);
  transition: transform 0.3s ease, opacity 0.3s ease;
  pointer-events: none;
  overflow-y: auto;
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
  align-items: flex-start;       /* aligns text and submenu */
/*Force right alignment of container */
    left: auto;
    margin-left: auto;
    margin-right: 0;}

.nav-menu.show {
  display: flex;
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
  .nav-menu li a {
    text-align: left !important;
    padding-left: 5px !important;
  }
  
  .nav-menu li {
    margin: 0.1px 0;
    text-align: left;
  }

  .logo img {
    height: 40px;
  }
}

/* Footer */
footer {
  background-color: #004d40;
  color: #ffffff;
  text-align: center;
  padding: 20px 10px;
  font-size: 14px;
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: none; }
  to { opacity: 1; transform: none; }
}

.fade-in {
  animation: fadeIn 0.7s ease-out forwards;
}

.fade-in-up {
  animation: fadeInUp 0.7s ease-out forwards;
}
/* Splash Hero Styling */
#intro-hero {
  background: linear-gradient(135deg, #f5fff5 0%, #eaffea 100%);
  color: #004d40;
  text-align: center;
  padding: 100px 20px;
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100vh;
  z-index: 9999;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-direction: column;
  transition: opacity 0,8s ease, visibility 0.8s ease;
  visibility: visible;
  opacity: 1;
  border-bottom: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

@media (max-width: 768px) {
  #intro-hero {
    align-items: flex-start;
    padding-top: 80px; /* adjust if needed */
  }

  #intro-hero .intro-content h1 {
    font-size: 28px;
    line-height: 1.3;
    padding: 0 20px;
  }

  #intro-hero .intro-content .btn {
    font-size: 14px;
    padding: 10px 20px;
  }
}
/* Splash Fade-Out */
#intro-hero.fade-out {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  display: none !important;
}

#intro-hero.fade-out h1 {
  opacity: 0 !important;
  transition: opacity 0.8s ease;
}

/* Intro Content Style */
.intro-content {
  max-width: 700px;
  margin: 0px auto 0; /* Splash content Style */
  padding-bottom: 300px; 
text-align: center;
}

.intro-content h1 {
  font-size: 44px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #007a4a;
  text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.6);
}

.intro-content .btn {
  background-color: #009c5e;
  color: #fff;
  padding: 12px 30px;
  border-radius: 30px;
  font-size: 18px;
  text-decoration: none;
  transition: background 0.3s ease;
  opacity: 0;
  animation: fadeIn 0.7s ease-out forwards;
}

.intro-content .btn:hover {
  background-color: #007a4a;
}
@media (max-width: 768px) {
  .intro-content {
    transform: none; /* translateY(-200px) or -80px if you want more lift */
    margin-top: 0 !important;     /* override the large negative margin */
  }
}
/* Wrapper for main sections */
.main-wrapper {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
}
/* Table styling keep if you want cart and checkout to look clean */
.woocommerce .cart-collaterals,
.woocommerce .woocommerce-checkout-review-order-table,
.woocommerce table.shop_table {
  background-color: #ffffff !important;
  border-radius: 10px;
  padding: 20px;
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 10px;
}
.woocommerce .shop_table td,
.woocommerce .shop_table th {
  padding: 16px !important;
  color: #004d40 !important;
}

.woocommerce-cart .cart_item,
.woocommerce-checkout-review-order-table tr {
  border-bottom: 1px solid #ccc;
}
/* === WooCommerce Buttons Styling === */
.woocommerce a.button,
.woocommerce button.button {
  background-color: #009c5e !important;
  color: white !important;
  padding: 12px 24px;
  border-radius: 25px;
  margin:70px;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover {
  background-color: #007a4a !important;
}
.woocommerce-cart h2,
.woocommerce-cart th,
.woocommerce-cart td,
.woocommerce-cart .woocommerce-Price-amount,
.woocommerce-cart .product-name,
.woocommerce-cart .product-price,
.woocommerce-cart .product-subtotal,
.woocommerce-checkout h3,
.woocommerce-checkout th,
.woocommerce-checkout td,
.woocommerce-checkout .woocommerce-Price-amount,
.woocommerce-checkout .product-name,
.woocommerce-checkout .product-price,
.woocommerce-checkout .product-subtotal,
.woocommerce-checkout strong {
  color: #004d40 !important;
}

/* Fix checkout summary text */
.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td,
.woocommerce-checkout .woocommerce-checkout-review-order-table strong {
  color: #004d40 !important;
}
/* Form Fields */
.woocommerce-checkout input,
.woocommerce-checkout select,
.woocommerce-checkout textarea {
  color: #004d40 !important;
  border-color: #ccc !important;
  background-color: #fff !important;
}
/* Left padding for product content layout */
.woocommerce div.product {
  padding-left: 30px;
}

.woocommerce ul.products li.product {
  padding: 20px 10px;
  margin: 10px;
}

/* Fix left padding for breadcrumb and product title */
.woocommerce .woocommerce-breadcrumb,
.woocommerce .product_title
.single-product .woocommerce-breadcrumb{
  padding-left: 20px;
}
.single-product .site-main {
  padding-top: 50px !important;
}

/* Shift both image and Sale badge to the right */
.single-product.woocommerce div.product div.images {
  position: relative; /* Required for positioning */
  padding-left: 20px;
}
@media (max-width: 768px) {
    /* === PRODUCT PAGE MOBILE FIXES === */
  .woocommerce .woocommerce-breadcrumb,
  .woocommerce .product_title,
  .single-product .woocommerce-breadcrumb,
  .woocommerce div.product,
  .single-product.woocommerce div.product div.images {
    padding-left: 10px !important;
    padding-right: 10px !important;
    box-sizing: border-box;
  }

  .woocommerce div.product div.images img {
    max-width: 100%;
    height: auto;
    display: block;
  }
  
  /* === PAYPAL BUTTON CLIPPING FIX ON VIEW CART === */
  .woocommerce-cart .paypal-buttons,
  .woocommerce-cart .paypal-button-container,
  .woocommerce-cart .ppc-button-wrapper {
    display: flex !important;
    justify-content: center !important;
    padding: 0 10px !important;
    width: 100% !important;
    box-sizing: border-box;
    overflow: visible !important;
  }

  .woocommerce-cart .paypal-button-container iframe,
  .woocommerce-cart iframe[name^="__pp_"] {
    width: 100% !important;
    max-width: 100% !important;
    display: block;
  }

  /* === CART TOTALS ALIGNMENT === */
  .woocommerce-cart .cart_totals {
    padding: 0 20px !important;
    box-sizing: border-box;
    width: 100% !important;
    overflow-x: hidden;
  }

  .woocommerce-cart .cart_totals table {
    width: 100% !important;
    table-layout: fixed !important; /*fix added here */
    box-sizing: border-box;
  }
  .woocommerce-cart .cart_totals .checkout-button,
  .woocommerce-cart .cart_totals .paypal-buttons {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }
  .woocommerce-cart .checkout-button {
    display: block !important;
    margin: 20px auto 10px;
  }
}
/* Align checkout + PayPal buttons */
.woocommerce-cart .cart_totals .checkout-button,
.woocommerce-cart .cart_totals .paypal-buttons {
  display: inline-block !important;
  margin: 20px 0 10px 0 !important; /* top/bottom spacing, no auto centering */
  text-align: center !important;
}

/* Adjust Sale badge inside the image wrapper */
.single-product.woocommerce span.onsale {
  left: 20px !important; /* Match the image padding */
}
.woocommerce ul.products li.product .onsale {
  display: inline-flex !important;
  position: absolute !important;
  top: 10px;
  left:0px!important;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.857rem !important;
  width: 3.23em;
  height: 3.23em;
  border-radius: 50%;
  text-align: center;
  z-index: 9;
  box-shadow: 0 2px 5px rgba(0,0,0,0.15);
  padding: 0 !important;
  display: inline-block !important;
  font-family: inherit !important;
}


/* Ensure relative positioning context for badge */
ul.products li.product {
  position: relative;
  overflow: hidden;
}

/* === WooCommerce Cart Buttons: Desktop Fix === */
@media (min-width: 769px) {
  .woocommerce-cart .cart_totals {
    max-width: 100%;
    margin-left:0;
    margin-right:0;
  }

  .woocommerce-cart .cart_totals .checkout-button,
  .woocommerce-cart .cart_totals .paypal-buttons {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .woocommerce-cart .paypal-buttons,
  .woocommerce-cart .paypal-button-container,
  .woocommerce-cart .ppc-button-wrapper {
    justify-content: flex-start !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}
@media (min-width: 769px) {
  /* Cart Page: Cart table + Totals bucket */
  .woocommerce-cart .woocommerce-cart-form,
  .woocommerce-cart .cart-collaterals,
  .woocommerce-cart .cart_totals {
    padding-left: 40px;
    padding-right: 40px;
    box-sizing: border-box;
  }

  /* Checkout Page: Billing, Your Order, Payment Methods */
  .woocommerce-checkout .woocommerce-billing-fields,
  .woocommerce-checkout .woocommerce-checkout-review-order-table,
  .woocommerce-checkout #order_review,
  .woocommerce-checkout .woocommerce-checkout-payment {
    padding-left: 40px;
    padding-right: 40px;
    box-sizing: border-box;
  }
}

/* Center PayPal Buttons Properly on Checkout */
body.woocommerce-checkout .ppc-button-wrapper,
body.woocommerce-checkout #payment .paypal-buttons {
  display: flex !important;
  justify-content: center !important;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}

/* Desktop: Keep padding */
@media (min-width: 769px) {
  .woocommerce .products.columns-4 {
    padding-left: 0px;
    padding-right: 20px;
    box-sizing: border-box;
    display:grid!important;
  }
}

/* Mobile: Remove padding to allow 2x2 layout */
@media (max-width: 768px) {
  .woocommerce .products.columns-4 {
    padding-left: 0;
    padding-right: 0;
  }
}

.archive.woocommerce .site-main,
.archive.woocommerce .woocommerce-products-header {
  padding-left: 20px;
  padding-right: 20px;
}

/* === Back to Top Button === */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #009c5e;
  color: white;
  padding: 10px 14px;
  border-radius: 50%;
  font-size: 20px;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 999;
  opacity: 0;ƒ√
  visibility: hidden;
  transition: all 0.4s ease;
  border: 2px solid #009c5e;
  }

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  background-color: white;
  color: #009c5e;
  border: 2px solid #009c5e;
}

/* When actively clicked */
.back-to-top.clicked {
  background-color: #009c5e; /* Green background */
  color: white;
  border: 2px solid #e6fff0; /* Mint outline */
  box-shadow: 0 0 10px #e6fff0;
}

@media (max-width: 768px) {
  .back-to-top {
    bottom: 20px;
    right: 20px;
    font-size: 18px;
    padding: 8px 12px;
  }
}

/* === Fix 6 & 7: Mobile Cart & Checkout Width + Padding Cleanup === */
@media (max-width: 768px) {
  .woocommerce-cart .entry-content,
  .woocommerce-checkout .entry-content,
  .woocommerce-cart .site-main,
  .woocommerce-checkout .site-main,
  .woocommerce-cart .cart_totals,
  .woocommerce-checkout .woocommerce-checkout-review-order-table {
    padding: 0 15px !important;
    box-sizing: border-box;
    width: 100% !important;
    overflow-x: hidden;
  }

  .woocommerce table.shop_table,
  .woocommerce-checkout-review-order-table {
    width: 100% !important;
    table-layout: fixed;
    box-sizing: border-box;
  }

  .woocommerce-cart .checkout-button,
  .woocommerce-cart .paypal-buttons {
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
    margin: 20px auto 10px;
  }
}
@media (min-width: 769px) {
  /*Cart Page: Form + Totals Wrapper */
  .woocommerce-cart .woocommerce-cart-form,
  .woocommerce-cart .cart-collaterals {
    padding-left: 40px !important;
    padding-right: 40px !important;
    box-sizing: border-box;
    width: 100%;
  }
body.woocommerce-cart #main-header,
body.woocommerce-checkout #main-header {
  position: fixed;
  top: 0;
  background-color: #f5fff5; /* Optional: give it a visible background */
  padding-top: 20px;
}

  /*Remove fixed width & alignment from Totals block */
  .woocommerce-cart .cart_totals {
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}
@media (max-width: 768px) {
  ul.products.columns-4 {
    display: grid !important;
    justify-content: flex-start;
    gap: 0;
    padding: 0 !important;
  }

  ul.products.columns-4 li.product {
    width: 50% !important;
    box-sizing: border-box;
    padding: 0 5px; /* optional: side spacing inside each product */
    margin-bottom: 20px; /* optional: spacing between rows */
  }
}
@media (max-width: 768px) {
  .nav-menu .dropdown-menu {
    position: static;
    display: none;
    background-color: transparent;
    padding-left: 10px;
    box-shadow: none;
  }

  .nav-menu .dropdown.show .dropdown-menu {
    display: flex;
    flex-direction: column;
  }

  .nav-menu .dropdown-menu li a {
    font-size: 16px;
    padding: 8px 10px;
    background-color: transparent;
  }

  .nav-menu .dropdown-menu li a:hover {
    background-color: #d7fbe2;
    border-radius: 5px;
  }
  
}
@media (min-width: 769px) {
  body.splash-done #hero .hero-content {
    margin-bottom: 0px;/* SPACE BETWEEN BOTTOM OF HERO BACKGROUND AND ABOUT US */
  }
}

/* Hide all CookieYes preference UI after splash */
body.splash-done .cky-preference-header,
body.splash-done .cky-preference-body-wrapper,
body.splash-done .cky-preference-content-wrapper,
body.splash-done .cky-accordion-wrapper,
body.splash-done .cky-accordion,
body.splash-done .cky-footer-wrapper,
body.splash-done .cky-prefrence-btn-wrapper,
body.splash-done .cookieyes-consent,
body.splash-done .cky-consent-container,
body.splash-done .cky-consent-container *,
body.splash-done .cky-preference-header *,
body.splash-done .cky-preference-body-wrapper *,
body.splash-done .cky-preference-content-wrapper *,
body.splash-done .cky-accordion-wrapper *,
body.splash-done .cky-accordion *,
body.splash-done .cky-footer-wrapper *,
body.splash-done .cky-prefrence-btn-wrapper * {
  visibility: hidden !important;
  display: none !important;
}
@media (max-width: 768px) {
  #hero {
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.2s ease;
    margin-bottom: 0px!important;/* SPACE BETWEEN BOTTOM OF HERO BACKGROUND AND ABOUT US */

  }
  }
/* === Mobile Hero Fixes === */

@media (max-width: 768px) {
  #hero {
    background-image: url('/wp-content/themes/sansolutionsllc/assets/images/arksolutions-hero-mobile.webp') !important;
    background-position: top center;
    background-size: 100% auto;
    padding: 80px 15px 60px;
    min-height: 100vh;
        /* Merged from visibility block */
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.2s ease;
  }
  body.splash-done #hero {
    visibility: visible;
    opacity: 1;
  }
  #hero h1 {
    font-size: clamp(32px, 6vw, 48px);
    line-height: 1.2;
    margin-bottom: 16px;
  }
    .logo {
    padding-left: 10px; /* adjust as needed */
  }
}

  .hero-sub,
  .hero-tagline {
    font-size: clamp(18px, 4vw, 24px) !important;
    line-height: 1.5;
    margin: 8px 0;
    padding: 0 10px;
  }

  #hero .btn {
    font-size: 16px;
    padding: 10px 22px;
    margin-top: 18px;
  }

  #hero .hero-content {
    margin-top: -20px;
  }

/* Green CTA button for product pages */
.btn-green {
  display: inline-block;
  background-color: #009c5e;
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 25px;
  font-size: 16px;
  text-decoration: none;
  font-weight: 500;
  border: none;
  transition: background-color 0.3s ease;
}

.btn-green:hover {
  background-color: #007a4a;
}
.footer-icons .icon {
  font-size: 24px;
  margin: 0 8px;
  color: #009c5e;
  transition: color 0.3s ease;
}

.footer-icons .icon:hover {
  color: #007a4a;
}

.footer-icons .gold-icon {
  color: #d4af37;
}
.recaptcha-disclaimer {
  text-align: center;
  padding: 10px 20px;
  font-size: 13px;
  color: #888;
}

.recaptcha-disclaimer a {
  color: #888;
  text-decoration: underline;
}

.footer-icons .gold-icon:hover {
  color: #b48b1a;
}

.footer-link {
  color: white;
  font-size: 14px;
  text-decoration: none;
  margin: 0 5px;
}

.footer-link:hover {
  text-decoration: underline;
  color: #c0ffd4;
}
.grecaptcha-badge {
  display: block !important;
  opacity: 0.6;
  right: 16px !important;
  bottom: 16px !important;
  z-index: 9999;
}
@media (min-width: 769px) {
  .hero-sub,
  .hero-tagline {
    font-size: 28px !important;
    line-height: 1.3;
  }
}
body.menu-open,
html.menu-open {
  overflow: hidden !important;
  height: 100% !important;
  position: fixed !important;
  width: 100% !important;
  touch-action: none !important;
}

body.menu-open * {
  overscroll-behavior: none !important;
}
/* Privacy Policy Styling */
/* Shared styling for Privacy Policy & Terms and Conditions pages */
.page h2 {
  margin-top: 30px;
  font-size: 22px;
  color: #009c5e;
}

.page ul {
  padding-left: 20px;
  margin-bottom: 20px;
}

.page ul li {
  margin-bottom: 8px;
  line-height: 1.6;
}

.page p {
  margin-bottom: 16px;
  line-height: 1.6;
  color: #004d40;
}

.page hr {
  border: none;
  border-top: 1px solid #ddd;
  margin: 30px 0;
}
/* Hide CookieYes Revisit Consent Button */
.cly-revisit-consent,
.cookieyes-revisit-btn,
.cli-tab-container {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  height: 0 !important;
  width: 0 !important;
  overflow: hidden !important;
  position: absolute !important;
  z-index: -9999 !important;
}

.archive.woocommerce .site-main {
  padding-top: 60px!important; /* Adds spacing below sticky header */
}
/*Animation for mobile to fully work including text*/

#hero h1,
#hero .hero-sub,
#hero .hero-tagline,
#hero .btn {
  opacity: 0;
  transform: none;
}

.translatepress-switcher.desktop-only {
  margin-left: auto;
  padding-left: 15px;
  display: block;
}

.translatepress-switcher.mobile-only {
  display: none;
  padding: 10px 20px;
}

@media (max-width: 768px) {
  .translatepress-switcher.desktop-only {
    display: none;
  }
}
/* HEADER LANGUAGE SWITCHER & MOBILE ORDER FIX === */
/* Ensure TranslatePress switcher shows correctly on desktop */
.translatepress-switcher.desktop-only .trp-language-switcher {
  position: relative;
  z-index: 10000; /* higher than header/bg */
}
/* Needed for dropdown z-index to stay above background */
header .container,
.navbar .container {
  overflow: visible;
  position: relative;
  z-index: 1;
}
/* Hide mobile language switcher on desktop */
.translatepress-switcher.mobile-only {
  display: none;
}
/* Mobile header alignment fix */

@media (max-width: 768px) {
  .translatepress-switcher.mobile-only {
    display: block;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .logo {
    order: 1;
  }

  .translatepress-switcher.mobile-only {
    order: 2;
    margin-left: 10px;
  }

  .menu-toggle {
    order: 3;
    margin-left: 10px;
  }
}
.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: nowrap;
  padding:  20px;
}

.header-bar .logo {
  flex-shrink: 0;
}

.header-bar .nav-menu {
  display: flex;
  justify-content: center;
  flex: 1;
  gap: 10px;
  overflow: visible!important;
  flex-wrap: nowrap;
}

.header-bar .translatepress-switcher {
  flex-shrink: 0;
}

/* Translate button minimalist flag only */
.trp-ls-shortcode-current-language {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
/* Prevent TranslatePress language dropdown from showing white box on hover */
.trp-language-switcher-container,
.trp-ls-shortcode-language,
.trp-language-switcher-container ul,
.trp-language-switcher-container li,
.trp-language-switcher-container li a {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* Optional: subtle hover color */
.trp-language-switcher-container li a:hover {
  background: linear-gradient(to right, #d7fbe2, #e6fff0) !important; /* Mint glossy green */
  color: #007a4a !important;
  border-radius: 8px;
  transition: background 0.3s ease;
}
@media (max-width: 768px) {
  body.home .trp-language-switcher-container,
  body.home .trp-ls-shortcode-language,
  body.home .trp-language-switcher-container ul,
  body.home .trp-language-switcher-container li,
  body.home .trp-language-switcher-container li a {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
  }

  body.home .trp-language-switcher-container li a:hover {
    background: linear-gradient(to right, #b2f5d6, #d7fbe2) !important;
    color: #007a4a !important;
    border-radius: 8px !important;
    box-shadow: none !important;
  }
}

  .woocommerce-cart .translatepress-switcher.mobile-only,
  .woocommerce-checkout .translatepress-switcher.mobile-only {
    padding-top: 10px;
    padding-right: 50px; /* leave space for menu toggle */
  }

  .woocommerce-cart .navbar .container,
  .woocommerce-checkout .navbar .container {
    position: relative;
  }
  
  /* Center Add to Cart buttons on mobile */
@media (max-width: 768px) {
  .woocommerce ul.products li.product {
    text-align: center;
  }

  .woocommerce ul.products li.product .button {
    display: inline-block;
    margin: 0 auto;
    float: none;
  }
}

/* === END: Hamburger Menu Cart/Checkout Fix === */


/* Rest of your existing CSS continues below */

/* General Styles */
.logo {
  padding-top: 10px; /* Adjust as needed */
}

/* Navigation Background */
.navbar,
.navbar .container {
  background-color: transparent !important;
}
/* Navigation Text Color */
@media (min-width: 769px) {
  .navbar .container {
    justify-content: flex-start;
  }

  .nav-menu {
    margin-left: 0 !important;
    overflow: visible !important;
  }
}
@media (max-width: 768px) {
  .translatepress-switcher.mobile-only {
    width: auto;
    padding: 10px;
    display: block;
    z-index: 10000;
  }

  .trp-language-switcher {
    width: 100%;
    max-width: 150px;
    margin: 0 auto;
  }

  .trp-language-switcher * {
    pointer-events: auto !important;
  }
}
.hero-lcp-mobile {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
@media (max-width: 768px) {
  .hero-lcp-mobile {
    object-fit: contain;
    object-position: top center;
  }
}  


#hero .hero-content {
  position: relative;
  z-index: 1;
}

.single-product #sidebar,
.single-product ul.pagenav,
.tax-product_cat #sidebar,
.tax-product_cat ul.pagenav {
  display: none !important;
}

/* Force Poppins font on all WooCommerce elements */

body,
.woocommerce,
.woocommerce-page,
.woocommerce-checkout,
.woocommerce-cart 
.woocommerce-loop-product__title,
.woocommerce .product_title,
.woocommerce-page .product_title 
.woocommerce,
body.single-product,
body.single-product .product_title,
body.single-product .woocommerce-breadcrumb,
body.single-product .entry-summary,
body.single-product .woocommerce-Price-amount{
  font-family: 'Poppins', sans-serif !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #004d40;
}

.wp-block-group,
.wp-block-cover,
.wp-block-columns,
.wp-block-section {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  overflow: hidden !important;
}
body,
.woocommerce,
.woocommerce-page,
.woocommerce-checkout,
.woocommerce-cart {
  font-family: 'Poppins', sans-serif !important;
}

#hero .hero-content {
  padding-top: 60px;
}

#hero h1,
#hero .hero-sub,
#hero .hero-tagline,
#hero .btn {
  transform: none !important;
  will-change: auto !important;
}

.btn:hover,
.btn-green:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

section.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 600px) {
  body {
    font-size: 16px; /* Force bigger readable font for mobile only */
  }
}

/* Counters Block */
.counters-block {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 60px;
  width: 100%;
}

.counter {
  flex: 0 0 200px;
  text-align: center;
}

.counter-number {
  font-size: 48px;
  font-weight: bold;
  color: #009c5e;
  margin-bottom: 10px;
}

/* Section Titles */
.section-title {
  font-size: 36px;
  font-weight: bold;
  color: #004d40; /* Deep green-blue color */
  margin-bottom: 40px;
  text-align: center;
}

/* Testimonials Section */
.testimonials-section {
  padding: 80px 20px;
  background: linear-gradient(to bottom right, #e6fff0 0%, #f5fff5 100%);
}

.testimonials-swiper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  overflow: visible;
  padding: 0 40px;
}

.swiper-wrapper {
  display: flex;
  align-items: center;
}

.testimonials-swiper .swiper-wrapper {
  display: flex;
  padding-left: 200px !important;
  padding-right: 200px !important; /* optional, balances the centering */
  box-sizing: border-box;
}

.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}

.testimonial-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center; /* left-align content inside */
  justify-content: center;
  min-height: 350px;
  max-width: 600px;
  width: 100%;
  text-align: left;
}

.testimonial-photo {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 20px; /* Center the photo */
}

.testimonial-text {
  font-size: 18px;
  color: #333;
  margin-bottom: 20px;
  line-height: 1.6;
  width: 100%;
  box-sizing: border-box;
  text-align: justify;
  padding: 0 20px;
}

.testimonial-author {
  font-size: 16px;
  font-weight: 600;
  color: #009c5e;
  margin-top: 8px;
  width: 100%;
  text-align: center;

}

/* Swiper Pagination Dots */
.swiper-pagination {
  text-align: center;
  margin-top: 20px;
  position: relative;
}

#testimonials-section .swiper-pagination {
  display: flex;
  justify-content: center;
  margin-top: 30px;
  position: relative;
}

.swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: #009c5e;
  opacity: 0.3;
  margin: 0 6px;
  border-radius: 50%;
  transition: opacity 0.3s;
}

.swiper-pagination-bullet-active {
  opacity: 1;
}

/* CTA Button Below Testimonials */
.cta-button {
  display: inline-block;
  background-color: #009c5e;
  color: white;
  padding: 14px 30px;
  border-radius: 30px;
  font-size: 18px;
  font-weight: 500;
  text-decoration: none;
  margin-top: 40px;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #007a4a;
}

/* CTA Subtext */
.testimonial-subtext {
  font-size: 16px;
  color: #555;
  margin-top: 15px;
}

/* Fade-in Animation */
.fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.active {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {

  /* Counters Section (Already Fixed) */
  .counters-block {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
  }

  .counter {
    flex: 0 0 45%; /* Two counters per row on mobile */
    max-width: 45%;
    text-align: center;
  }

  .counter-number {
    font-size: 36px;
  }

  /* Testimonials Section */
  .testimonials-swiper {
    padding: 0 10px; /* Add swiper side breathing room */
  }

  .swiper-slide {
    padding: 0 10px; /* Add side margin to each slide */
    display: flex;
    justify-content: center;
    align-items: center;
  }

    .testimonials-section .swiper-slide {
      display: flex !important;
      justify-content: center !important;
      align-items: center !important;
    }
    
    .testimonials-swiper .swiper-wrapper {
  padding-left: 10px !important;
  padding-right: 10px !important;
}

  .testimonial-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    max-width: 100%;
    width: 100%;
    box-sizing: border-box; /* Make padding count inside width */
    text-align: left;
    margin: 0 auto;
  }

  .testimonial-photo {
    width: 70px;
    height: 70px;
    margin: 0 auto 15px;
  }

  .testimonial-text {
    font-size: 16px;
    padding: 0 10px;
    width: 100%;
  }

  .testimonial-author {
    font-size: 14px;
    padding: 0 10px;
    width: 100%;
    text-align: center;
  }

  .section-title {
    font-size: 28px;
  }

  .cta-button {
    font-size: 16px;
    padding: 12px 24px;
  }

}

/* Content Center */
.content-center-section {
  padding: 60px 20px;
  background: #f5fff5;
  text-align: left;
  position: relative;
}

.content-center-section h2 {
  font-size: 36px;
  margin-bottom: 30px;
  color: #004d40;
  text-align: center;
}

.content-center-swiper {
  overflow: visible;
  padding: 20px 0;
  position: relative;
}

.swiper-slide.content-card {
  background: #fff;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  max-width: 340px;  
  margin: 0 10px;
}

.content-center-swiper .swiper-slide {
  flex-shrink: 0;
  width: calc(100% / 2 - 30px); /* for 2 per view with spacing */
}

.content-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #004d40;
}

.content-card p {
  font-size: 16px;
  color: #333;
  line-height: 1.5;
}

.content-prev,
.content-next {
  color: #009c5e!important;
  font-size: 32px;
  font-weight: bold;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: none;
  border: none;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.content-prev:hover,
.content-next:hover {
  transform: translateY(-50%) scale(1.1); /* Keeps it centered on hover */
}

.content-prev {
  left: -10px;
}

.content-next {
  right: -10px;
}

.content-prev::after,
.content-next::after {
  font-family: Arial, sans-serif;
  font-weight: bold;
  font-size: 32px;
}

.content-prev::after {
  content: "‹";
}

.content-next::after {
  content: "›";
}

/* Mobile Fixes */
@media (max-width: 768px) {
  .content-prev,
  .content-next {
    font-size: 26px;
  }

  .swiper-slide.content-card {
    margin: 0 5px;
  }
}

/* Testimonial Arrows */
.testimonial-prev,
.testimonial-next {
  color: #009c5e!important;
  font-size: 32px;
  font-weight: bold;
  position: absolute;
  top: 50% !important;
  transform: translateY(-50%) !important;
  z-index: 10;
  background: none;
  border: none;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.testimonial-prev { left: -10px; }
.testimonial-next { right: -10px; }

.testimonial-prev:hover,
.testimonial-next:hover {
  transform: scale(1.1);
}

.testimonial-prev::after,
.testimonial-next::after {
  font-family: Arial, sans-serif;
  font-weight: bold;
  font-size: 32px;
}

.testimonial-prev::after { content: "‹"; }
.testimonial-next::after { content: "›"; }

@media (max-width: 768px) {

  /* Arrows: positioned outside content area */
  .content-prev,
  .content-next,
  .testimonial-prev,
  .testimonial-next {
    font-size: 18px;
    top: 45%;
    transform: translateY(-50%);
    z-index: 10;
  }

  .content-prev,
  .testimonial-prev {
    left: -20px;
  }

  .content-next,
  .testimonial-next {
    right: -20px;
  }

  /* Content Center: full-width card with margin */
  .content-center-swiper .swiper-slide,
  .swiper-slide.content-card {
    width: 90vw !important;
    max-width: 90vw;
    margin: 0 auto;
    box-sizing: border-box;
  }

  /* Testimonials: same width logic */
  .testimonials-swiper .swiper-slide,
  .testimonial-card {
    width: 90vw !important;
    max-width: 90vw;
    margin: 0 auto;
    padding: 0px;
    box-sizing: border-box;
  }

  /* Remove extra side padding from swiper container */
  .testimonials-swiper,
  .content-center-swiper {
    padding: 0;
  }
  
   .testimonial-card {
    width: 80%;
    padding: 16px 18px;
    box-sizing: border-box;
    text-align: left;
  }

  .testimonial-text {
    font-size: 15px;
    line-height: 1.5;
    padding: 0;
    margin-bottom: 12px;
    text-align: justify;
  }

  .testimonial-author {
    font-size: 14px;
    text-align: center;
  }

  .testimonial-photo {
    margin-bottom: 15px;
  }
}

.site-search-form {
  display: flex;
  align-items: center;
  margin-left: 20px;
}

.site-search-form input.search-field {
  padding: 8px 14px;
  border: 1px solid #ccc;
  border-radius: 25px;
  font-size: 14px;
  width: 130px; 
  outline: none;
  transition: border 0.3s;
}

.site-search-form input.search-field:focus {
  border-color: #009c5e;
}

.desktop-search {
  display: flex;
}

.mobile-search {
  margin: 20px 0;
  width: 90%;
}

body.search main.site-main {
  padding: 40px 20px;
}

.search-results h2,
.search-results article {
  margin-bottom: 30px;
}

.single-post .main-wrapper,
.archive.category .main-wrapper,
.single-product .main-wrapper,
.page .main-wrapper {
  padding: 30px 20px !important;
  background-color: #f5fff5;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}
/* === Arksolutions – Universal Woo Product Cards (works for #shop anchor + category blocks) === */

/* Turn ALL Woo grids into CSS Grid and kill floats/widths that create gaps */
#shop ul.products,
section[id^="category-"] ul.products,
.woocommerce ul.products {
  list-style: none;
  margin: 0 auto !important;
  padding: 0 !important;
  display: grid !important;
  grid-template-columns: repeat(4, minmax(240px, 1fr));
  gap: 28px;
}

/* Remove Woo floats/widths that cause the “blank first column” */
#shop ul.products li.product,
section[id^="category-"] ul.products li.product,
.woocommerce ul.products li.product {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
}

/* Premium product card */
.woocommerce ul.products li.product {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}

/* Image */
.woocommerce ul.products li.product a img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  margin: 14px 14px 0 14px; /* inner breathing room */
}

/* Title */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: #0b4c3e;
  font-size: 1.05rem;
  line-height: 1.35;
  padding: 14px 18px 0;
  margin: 0;
}

/* Price */
.woocommerce ul.products li.product .price {
  color: #009c5e;
  font-weight: 700;
  padding: 8px 18px 0;
  margin: 0;
}

/* Sale badge – keep your circular style */
.woocommerce ul.products li.product .onsale {
  left: 14px !important;
  top: 14px !important;
  background: #a1a100; /* matches your screenshot tone */
  color: #fff !important;
  border-radius: 999px;
}

/* Add to cart button – hidden until hover */
.woocommerce ul.products li.product .button {
  background: #009c5e !important;
  color: #fff !important;
  border-radius: 28px;
  padding: 12px 22px;
  margin: 16px auto 18px; /* centered */
  transition: transform .25s ease, opacity .25s ease, box-shadow .25s ease;
  opacity: 0;
  transform: translateY(8px);
  box-shadow: 0 5px 14px rgba(0,156,94,0.18);
}

/* Lift card + reveal button on hover */
.woocommerce ul.products li.product:hover {
  transform: translateY(-6px);
  box-shadow: 0 5px 38px rgba(0,0,0,0.10);
}
.woocommerce ul.products li.product:hover .button {
  opacity: 1;
  transform: translateY(0);
}

/* Button hover */
.woocommerce ul.products li.product .button:hover {
  box-shadow: 0 10px 22px rgba(0,156,94,0.28);
}

/* Spacing under cards so the shadow never clips */
#shop ul.products,
section[id^="category-"] ul.products { margin-top: 18px !important; }

/* Responsive: 3/2/1 columns */
@media (max-width: 1200px) {
  #shop ul.products,
  section[id^="category-"] ul.products,
  .woocommerce ul.products {
    grid-template-columns: repeat(3, minmax(220px, 1fr));
  }
}
@media (max-width: 900px) {
  #shop ul.products,
  section[id^="category-"] ul.products,
  .woocommerce ul.products {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
  }
}
@media (max-width: 520px) {
  #shop ul.products,
  section[id^="category-"] ul.products,
  .woocommerce ul.products {
    grid-template-columns: 1fr;
  }
}

.woocommerce ul.products.columns-4 li.product,
.woocommerce ul.products.columns-3 li.product,
.woocommerce ul.products.columns-2 li.product {
  width: auto !important;
}
/* Standardize product thumbnail frame + ratio */
.woocommerce ul.products li.product a {
  display: block;
  margin: 14px;              /* inner breathing room so image doesn't hit card edges */
  border-radius: 12px;       /* same radius as cards */
  overflow: hidden;          /* clip image corners */
}
/* Hide the shortcode anchor ONLY on desktop */
@media (min-width: 769px) {
  .trp-shortcode-switcher__wrapper .trp-shortcode-anchor {
    display: none !important;
  }
}
/* 2) Re-enable ONLY the menu-based switcher (side-by-side) */
.navbar .trp-language-switcher:not(.trp-shortcode-switcher),
.main-nav .trp-language-switcher:not(.trp-shortcode-switcher),
.menu .trp-language-switcher:not(.trp-shortcode-switcher) {
  display: inline-flex !important;
  gap: 12px !important;
  align-items: center !important;
}
/* MOBILE ONLY */
@media (max-width: 768px) {
  /* make primary buttons stay within container and fill width */
  .woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
  .woocommerce-checkout #place_order,
  .woocommerce-cart .button,
  .woocommerce-checkout .button {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    float: none !important;
    position: static !important;
    right: auto !important; left: auto !important;
    transform: none !important;
    margin-left: 0 !important; margin-right: 0 !important;
  }

  /* ensure parents don't let buttons overflow horizontally */
  .woocommerce-cart .cart_totals,
  .woocommerce-checkout .place-order,
  .woocommerce-checkout form.checkout {
    overflow-x: hidden !important;
  }
}
/* don't remove the dropdown — only replace arrow with a single × when open */
  .trp-shortcode-overlay .trp-shortcode-arrow { display: none !important; }

/* Center product prices */
.woocommerce ul.products li.product .price {
  display: block;
  text-align: center;
  margin: 10px 0;
}

/* Standardize product thumbnail frame + ratio */
.woocommerce ul.products li.product a {
  display: block;
  margin: 14px;              /* inner breathing room so image doesn't hit card edges */
  border-radius: 12px;       /* same radius as cards */
  overflow: hidden;          /* clip image corners */
}
/* Kill Woo clearfix so Grid doesn't reserve the first cell */
#shop ul.products::before,
#shop ul.products::after,
section[id^="category-"] ul.products::before,
section[id^="category-"] ul.products::after,
.woocommerce ul.products::before,
.woocommerce ul.products::after {
  content: none !important;
  display: none !important;
}

/* Force grid to always start flush left */
.woocommerce ul.products {
  margin-bottom: 40px !important;
  justify-content: start !important;
  
}

/* --- Widen PayPal Debit/Credit Card container (desktop) --- */
div[id^="zoid-paypal-buttons-uid_"] {
  width: 200% !important;
  max-width: 480px !important;
  margin: 0 auto !important;
  display: block !important;
  transition: all 0.2s ease-in-out;
}
/* --- Center PayPal payment form on mobile --- */
@media (max-width: 768px) {
  #payment,
  .woocommerce-checkout #payment,
  .woocommerce-checkout .item-card {
    text-align: center !important;
    display: inline-block !important;
  }

  div[id^="zoid-paypal-buttons-uid_"] {
    width: 130% !important;
    max-width: 580px !important;
    display: inline-block !important;
  }
}
.woocommerce-privacy-policy-text {
  font-size: 14px !important;
  color: #1b3b2f !important;
  line-height: 1.6;
}

/* === Fix PayPal Button Overflow in Membership Section === */
div[class*="paypal-button-row"],
div[class*="paypal-button"],
div[class*="paypal-button-label-container"] {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  margin: 0 auto !important;
  overflow: hidden !important;
}

/* PayPal SVG logo and text alignment fix */
div[class*="paypal-button-label-container"] img.paypal-logo {
  max-height: 20px !important;
  width: auto !important;
  margin-right: 8px !important;
  flex: 0 0 auto !important;
}

div[class*="paypal-button-label-container"] span.paypal-button-text {
  font-size: 16px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  color: #000 !important;
}

/* Force PayPal iframe container to respect boundaries */
iframe[name^="__paypal_"],
iframe[name^="__zoid_"] {
  width: 100% !important;
  max-width: 100% !important;
  display: block !important;
  box-sizing: border-box !important;
}

/* Keep all PayPal buttons aligned inside cards */
.plan-card,
.membership-tier,
div[class*="paypal-button-container"] {
  overflow: hidden !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

/* Hide PayPal buttons on WooCommerce PRODUCT pages only */
.single-product .wc-block-components-express-payment,
.single-product .paypal-buttons,
.single-product .ppc-button-wrapper,
.single-product .ppcp-button,
.single-product .ppcp-button-wrapper {
    display: none !important;
}

/* === Responsive VdoCipher Player Fix === */
.vdocipher-wrapper {
  position: relative;
  width: 100%;
  max-width: 860px;
  margin: 0 auto 30px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.vdocipher-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 10px;
}

/* Maintain 16:9 aspect ratio */
.vdocipher-wrapper::before {
  content: "";
  display: block;
  padding-top: 56.25%;
}

/* Mobile override for small screens */
@media (max-width: 600px) {
  .vdocipher-wrapper {
    width: 100%;
    border-radius: 6px;
    box-shadow: none;
    margin-bottom: 20px;
  }
  .vdocipher-wrapper::before {
    padding-top: 62%; /* slightly taller ratio for small screens */
  }
  .vdocipher-wrapper iframe {
    height: 100% !important;
  }
}
.success-section {
  padding: 60px 20px;
  background-color: #f5fff5;
}
.success-message {
  background-color: #e6fff0;
  border: 2px solid #009c5e;
  padding: 30px 20px;
  border-radius: 8px;
  max-width: 600px;
  margin: 0 auto 40px auto;
  font-size: 18px;
  color: #006f4a;
  text-align: center;
}
.success-btn {
  background-color: #009c5e;
  color: white;
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 16px;
  display: inline-block;
  transition: background-color 0.3s ease;
}
.success-btn:hover {
  background-color: #007a4a;
}

.woocommerce-checkout input::placeholder {
  color: #888 !important;
}



