/*
Theme Name: AHD Custom Theme
Theme URI: https://example.com/
Author: Safa Yousaf
Author URI: https://example.com/
Description: A custom WordPress theme.
Version: 1.0
License: GNU GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ahd
Tags: custom, responsive
*/
html, body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}
/* ---------- HEADER ---------- */
.ahd-header {
    background: #ffffff;
    color: #000000;
    padding: 10px 15px;
    width: 100%;
    box-sizing: border-box;
    border-bottom: 1px solid #ddd;
    font-family: 'Segoe UI', Tahoma, sans-serif;
    position: relative;
}

.ahd-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
}

/* ---------- HAMBURGER MENU ---------- */
.ahd-hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #000000;
    padding: 5px 10px;
}

/* ---------- LOGO ---------- */
.ahd-logo img {
    height: 45px;
    max-width: 100%;
    display: block;
}

/* ---------- LOCATION ---------- */
.ahd-location {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    color: #333;
}

.ahd-location .dashicons {
    font-size: 18px;
    color: #011950;
}

/* ---------- SEARCH ---------- */
.ahd-search {
    display: flex;
    flex: 1;
    background: #ffffff;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid #000000;
    min-width: 250px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.ahd-search select,
.ahd-search input {
    border: none;
    padding: 8px 10px;
    font-size: 14px;
    outline: none;
}

.ahd-search select {
    background: #f3f3f3;
    color: #000;
    border-right: 1px solid #ccc;
    min-width: 100px;
}

.ahd-search input {
    flex: 1;
    background: transparent;
    color: #000;
}

.ahd-search input::placeholder {
    color: #888;
}

.ahd-search button {
    background: #011950;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.ahd-search button:hover {
    background: #022a80;
}

.ahd-search button .dashicons {
    color: #ffffff;
    font-size: 18px;
}

/* ---------- LANGUAGE SELECTOR ---------- */
.ahd-lang select {
    padding: 6px 10px;
    border: 1px solid #000000;
    border-radius: 4px;
    background: #f3f3f3;
    font-size: 14px;
    color: #000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* ---------- RIGHT SECTION (Hidden on Mobile, shown on Laptop) ---------- */
.ahd-right {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.ahd-account,
.ahd-orders,
.ahd-cart {
    text-align: center;
    min-width: 60px;
}

.ahd-account .small-text {
    display: block;
    font-size: 12px;
    color: #000000;
}

.ahd-account a,
.ahd-orders a,
.ahd-cart a {
    color: #000000;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease;
}

.ahd-account a:hover,
.ahd-orders a:hover,
.ahd-cart a:hover {
    color: #011950;
}

.ahd-cart .cart-count {
    color: orange;
    font-weight: bold;
    margin: 0 3px;
    font-size: 13px;
}

/* ---------- SIDEBAR ---------- */
.ahd-sidebar {
    position: fixed;
    top: 0;
    left: -100%;
    width: 280px;
    height: 100%;
    background: #ffffff;
    box-shadow: 2px 0 8px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: left 0.3s ease;
    overflow-y: auto;
}

.ahd-sidebar.active {
    left: 0;
}

.ahd-sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #011950;
    color: #ffffff;
    font-size: 18px;
    font-weight: bold;
}

.ahd-sidebar-close {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 20px;
    cursor: pointer;
}

.ahd-sidebar-nav {
    padding: 20px;
}

.ahd-sidebar-nav h3 {
    font-size: 16px;
    color: #000000;
    margin: 20px 0 10px;
}

.ahd-sidebar-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ahd-sidebar-nav ul li {
    margin: 10px 0;
}

.ahd-sidebar-nav ul li a {
    color: #000000;
    text-decoration: none;
    font-size: 14px;
    padding: 10px;
    display: block;
    transition: background 0.3s ease;
}

.ahd-sidebar-nav ul li a:hover {
    background: #f0f0f0;
    border-radius: 4px;
}

.ahd-sidebar-nav .ahd-account .small-text {
    display: block;
    font-size: 12px;
    color: #000000;
}

.ahd-sidebar-nav .ahd-cart .cart-count {
    color: orange;
    font-weight: bold;
    margin: 0 3px;
    font-size: 13px;
}

/* ---------- SUB HEADER ---------- */
.ahd-sub-header {
    background: #021c53;
    color: #fff;
    padding: 6px 15px;
}

.ahd-sub-inner {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

/* Dropdown */
.ahd-all-dropdown {
    position: relative;
}

.ahd-all-dropdown .dropdown-toggle {
    background: none;
    border: none;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 4px;
    transition: background 0.3s ease;
    font-weight: bold;
}

.ahd-all-dropdown .dropdown-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.ahd-all-dropdown .dropdown-menu {
    display: none;
    position: absolute;
    background: #fff;
    color: #000;
    top: 100%;
    left: 0;
    list-style: none;
    padding: 5px 0;
    min-width: 160px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    z-index: 999;
    border-radius: 4px;
}

.ahd-all-dropdown:hover .dropdown-menu {
    display: block;
}

.ahd-all-dropdown .dropdown-menu li {
    padding: 10px 20px;
    transition: background 0.3s ease;
}

.ahd-all-dropdown .dropdown-menu li:hover {
    background: #f0f0f0;
}

.ahd-all-dropdown .dropdown-menu li a {
    color: #000;
    font-size: 14px;
    text-decoration: none;
}

/* Navigation */
.ahd-main-nav ul {
    display: flex;
    gap: 5px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.ahd-main-nav ul li a {
    color: #fff;
    font-size: 14px;
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.ahd-main-nav ul li a:hover {
    background: rgba(255, 255, 255, 0.1);
}

.ahd-main-nav ul li:last-child a {
    font-size: 18px;
    font-weight: bold;
    gap: 10px;
    margin-left: 20px;
}

/* ---------- TOP HEADER ---------- */
.ahd-top-header {
    background: #f8f8f8;
    padding: 10px 5%;
    font-size: 1.125rem;
    font-weight: bold;
    text-align: center;
    border-bottom: 1px solid #ddd;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.ahd-top-header a {
    font-size: inherit;
    font-weight: bold;
    text-decoration: none;
    color: inherit;
    white-space: nowrap;
}

.ahd-top-header a span.click-here {
    font-size: 1.2em;
    color: rgb(19, 69, 1);
    animation: blink 1s infinite;
    font-weight: bold;
}

@keyframes blink {
    0%, 50%, 100% { opacity: 1; }
    25%, 75% { opacity: 0; }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 992px) {
    .ahd-hamburger {
        display: block;
    }

    .ahd-header-inner {
        flex-wrap: wrap;
        gap: 10px;
        align-items: center;
    }

    .ahd-search {
        width: 100%;
        order: 1;
    }

    .ahd-logo {
        flex: 1;
    }

    .ahd-location {
        display: none;
    }

    .ahd-lang {
        order: 2;
    }

    .ahd-right {
        display: none; /* Hide right section on mobile */
    }

    .ahd-sub-header {
        display: none;
    }
}

@media (max-width: 480px) {
    .ahd-logo img {
        height: 35px;
    }

    .ahd-top-header {
        font-size: 0.95rem;
        padding: 6px 3%;
    }

    .ahd-top-header a {
        display: block;
        margin: 4px 0;
    }
}
/* 📱 Mobile - Reduce Search Bar Size */
@media (max-width: 480px) {
    .ahd-search {
        transform: scale(0.9);   /* Shrinks the whole search bar */
        transform-origin: left center; /* Align shrink effect */
        min-width: unset;       /* Override desktop min-width */
    }

    .ahd-search select,
    .ahd-search input,
    .ahd-search button {
        padding: 6px 8px;       /* Smaller padding */
        font-size: 12px;        /* Smaller text */
    }

    .ahd-search button .dashicons {
        font-size: 16px;        /* Slightly smaller icon */
    }
}

/* ---------- SLIDER BACKGROUND ---------- */
.promo-slider-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9; /* keeps proper proportions */
    max-height: 500px; /* prevents it from getting too tall */
    overflow: hidden;
    z-index: 1;
}

.promo-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
}

.promo-slider .slide.active {
    display: block;
}

.promo-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ---------- SLIDER NAV BUTTONS (Hero Slider) ---------- */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    padding: 12px 18px;
    cursor: pointer;
    font-size: 20px;
    border-radius: 50%;
    z-index: 3;
    transition: background 0.3s ease;
}
.slider-btn:hover { background: rgba(0, 0, 0, 0.8); }
.slider-btn.prev { left: 20px; }
.slider-btn.next { right: 20px; }

/* ---------- RESPONSIVE MEDIA QUERIES ---------- */
@media (max-width: 1024px) {
    .promo-slider-container {
        aspect-ratio: 16 / 10;
    }
    .slider-btn {
        padding: 10px 14px;
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .promo-slider-container {
        aspect-ratio: 4 / 3;
    }
    .slider-btn {
        padding: 8px 12px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .promo-slider-container {
        aspect-ratio: 1 / 1; /* square style for mobile */
    }
    .slider-btn {
        padding: 6px 10px;
        font-size: 14px;
    }
}

/* ==================================================
   🔹 PROMO BOX SLIDER (Always 4 Across, Square Boxes)
   ================================================== */
.promo-boxes-container {
    position: relative;
    margin-top: -150px; /* overlap slider */
    overflow: hidden;
    width: 100%;
    z-index: 2;
}

.promo-boxes-wrapper {
    overflow: hidden;
    width: 100%;
}

.promo-boxes {
    display: flex;
    gap: 15px;
    transition: transform 0.5s ease;
    flex-wrap: nowrap; /* keep all in one row */
}

/* Always 4 boxes, each square */
.promo-box {
    flex: 0 0 25%;              /* 4 across */
    aspect-ratio: 1 / 1;        /* force square */
    background: #fff;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.12);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-width: 0; /* prevent overflow */
}
.promo-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.18);
}

/* Title inside box */
.promo-box h3 {
    font-size: clamp(0.7rem, 2vw, 1rem);
    line-height: 1.2;
    margin: 5px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;  /* limit lines */
    -webkit-box-orient: vertical;
}

/* Promo items grid */
.promo-items {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin: 8px 0;
}
.promo-items img {
    width: 100%;
    height: 100%;
    object-fit: cover;  /* prevent distortion */
    border-radius: 6px;
}

/* Button */
.promo-box a {
    margin-top: auto;
    display: inline-block;
    padding: 5px 8px;
    background: #021c53;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-size: clamp(0.65rem, 1.5vw, 0.85rem);
    transition: background-color 0.3s ease;
}
.promo-box a:hover { background-color: #01448b; }

/* ---------- PROMO SLIDER BUTTONS ---------- */
.promo-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: #fff;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    font-size: 18px;
    border-radius: 50%;
    z-index: 10;
    transition: background 0.3s ease;
}
.promo-slider-btn:hover { background: rgba(0,0,0,0.8); }
.promo-prev { left: 0; }
.promo-next { right: 0; }

/* ---------- RESPONSIVE ADJUSTMENTS ---------- */
@media (max-width: 768px) {
    .promo-box { padding: 8px; }
    .promo-box h3 { font-size: clamp(0.6rem, 2vw, 0.9rem); }
    .promo-box a { font-size: clamp(0.6rem, 1.5vw, 0.8rem); padding: 4px 6px; }
    .promo-slider-btn { font-size: 16px; padding: 6px 10px; }
}

@media (max-width: 480px) {
    .promo-box { padding: 6px; border-radius: 8px; }
    .promo-box h3 { font-size: clamp(0.55rem, 2vw, 0.8rem); }
    .promo-box a { font-size: 0.7rem; padding: 3px 5px; }
    .promo-slider-btn { font-size: 14px; padding: 5px 8px; }
}

/* ==================================================
   🔹 CONTACT US PAGE (Responsive White / Cream / Blue / Green Theme)
   ================================================== */
.contact-page {
    font-family: 'Segoe UI', sans-serif;
    padding: 40px 20px;
    background: #ffffff; /* white main background */
    color: #333;
}

/* --------- Main Container --------- */
.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1200px;
    margin: auto;
    background: #fdf8f2; /* cream background */
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    animation: fadeIn 1s ease-in-out;
}

/* --------- Contact Info --------- */
.contact-info {
    flex: 1 1 40%;
    min-width: 280px;
}

.contact-info h1 {
    font-size: 32px;
    margin-bottom: 15px;
    color: #0a3d91; /* blue heading */
}

.contact-info p {
    margin-bottom: 20px;
    line-height: 1.6;
    color: #555;
}

.info-box {
    margin-bottom: 20px;
    padding: 12px 18px;
    border-left: 4px solid #3ac569;
    background: #fff; /* white info boxes */
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-box:hover {
    transform: translateX(5px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

.info-box h3 {
    margin: 0 0 5px;
    color: #011950; /* blue subheading */
}

/* --------- Contact Form --------- */
.contact-form {
    flex: 1 1 55%;
    min-width: 280px;
    background: #fff; /* white form box */
    padding: 25px;
    border-radius: 10px;
    animation: slideUp 1s ease-in-out;
    box-shadow: 0 6px 15px rgba(0,0,0,0.05);
}

.contact-form h2 {
    margin-bottom: 20px;
    color: #011950; /* blue heading */
}

.form-group {
    margin-bottom: 15px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    background: #fff;
    color: #333;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #3ac569; /* green focus */
}

/* --------- Button --------- */
.btn-submit {
    background: #3ac569; /* green button */
    color: #fff;
    border: none;
    padding: 12px 20px;
    font-size: 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    width: 100%;
    text-align: center;
}

.btn-submit:hover {
    background: #2da956;
    transform: scale(1.05);
}

/* --------- Map --------- */
.contact-map {
    margin-top: 40px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

/* --------- Social Icons --------- */
.contact-social {
    margin-top: 20px;
    text-align: center;
}

.contact-social a {
    display: inline-block;
    margin: 6px;
    color: #fff;
    font-size: 20px;
    background: #012882; 
    padding: 10px 12px;
    border-radius: 50%;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-social a:hover {
    background: #011950;
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

/* --------- Responsive --------- */
@media (max-width: 1024px) {
    .contact-info h1 {
        font-size: 28px;
    }
    .contact-form h2 {
        font-size: 22px;
    }
}

@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
        padding: 25px;
    }
    .contact-info, 
    .contact-form {
        flex: 1 1 100%;
    }
    .btn-submit {
        font-size: 15px;
        padding: 12px;
    }
}

@media (max-width: 480px) {
    .contact-page {
        padding: 20px 10px;
    }
    .contact-container {
        padding: 20px;
        gap: 20px;
    }
    .contact-info h1 {
        font-size: 24px;
    }
    .contact-form h2 {
        font-size: 20px;
    }
    .contact-form input,
    .contact-form textarea {
        font-size: 13px;
        padding: 10px;
    }
    .btn-submit {
        font-size: 14px;
    }
}

/* --------- Animations --------- */
@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
/* About Us */
.about-page {
  font-family: 'Segoe UI', sans-serif;
  background: #fff;
  color: #333;
  padding: 50px 20px;
}

.about-container {
  max-width: 1000px;
  margin: auto;
  background: #fdf8f2; /* Cream background */
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.05);
  animation: fadeIn 1s ease-in-out;
}

.about-intro h1 {
  color: #0a3d91;
  font-size: 36px;
  margin-bottom: 15px;
}

.about-intro p {
  line-height: 1.6;
  margin-bottom: 20px;
  color: #555;
}

.about-leadership h2,
.about-values h2,
.about-global h2 {
  color: #0a3d91;
  margin-top: 30px;
  margin-bottom: 15px;
}

.team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.team-member {
  background: #fff;
  flex: 1 1 calc(33.33% - 20px);
  padding: 20px;
  border-radius: 8px;
  border-left: 4px solid #3ac569;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}

.team-member h3 {
  margin-top: 0;
  color: #0a3d91;
}

.team-member p {
  color: #555;
  margin-top: 10px;
}

.about-values p,
.about-global p {
  color: #555;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

/* ===========================
   🔹 RESPONSIVE BREAKPOINTS
   =========================== */

/* Tablets */
@media (max-width: 992px) {
  .about-intro h1 { font-size: 28px; }
  .team-member { flex: 1 1 calc(50% - 20px); }
}

/* Mobile */
@media (max-width: 600px) {
  .about-container { padding: 20px; }
  .about-intro h1 { font-size: 24px; }

  .team-member { flex: 1 1 100%; }

}

/* Blog Section */
.blog-section {
  padding: 60px 20px;
  background: #fff;
  border-radius: 16px;
  margin: 40px auto;
  max-width: 1200px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  animation: fadeInUp 0.8s ease;
}

.blog-section h2 {
  text-align: center;
  color: #1e3a8a;
  font-size: 2rem;
  margin-bottom: 10px;
  position: relative;
}

.blog-section h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: #ff2e63;
  margin: 10px auto 20px;
  border-radius: 2px;
}

.blog-section p {
  text-align: center;
  color: #555;
  font-size: 1rem;
  margin-bottom: 40px;
}

.blog-posts {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.blog-post {
  flex: 1 1 calc(33.33% - 30px);
  min-width: 280px;
  background: #f9fafb;
  border-radius: 12px;
  overflow: hidden;
  text-align: left;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: fadeInUp 0.8s ease forwards;
}

.blog-post:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
}

.blog-post img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-post:hover img {
  transform: scale(1.05);
}

.blog-meta {
  font-size: 0.85rem;
  color: #999;
  padding: 12px 20px 0;
}

.blog-title {
  font-size: 1.2rem;
  color: #1e293b;
  padding: 10px 20px 0;
  font-weight: 600;
}

.blog-excerpt {
  color: #555;
  font-size: 0.95rem;
  padding: 10px 20px;
  line-height: 1.5;
}

.blog-post .btn-read {
  display: inline-block;
  margin: 15px 20px 20px;
  padding: 8px 18px;
  background: #ff2e63;
  color: #fff;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.3s ease;
}

.blog-post .btn-read:hover {
  background: #e11d48;
  transform: scale(1.05);
}

/* Customer Reviews Section */
.customer-reviews-section {
  padding: 60px 20px;
  background: linear-gradient(135deg, #1e3a8a, #1e40af);
  border-radius: 16px;
  margin: 40px auto;
  max-width: 1200px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  color: #fff;
  animation: fadeInUp 0.8s ease;
}

.customer-reviews-section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 10px;
}

.customer-reviews-section .section-subtitle {
  text-align: center;
  margin-bottom: 40px;
  font-size: 1rem;
  opacity: 0.9;
}

.reviews {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.review {
  flex: 1 1 calc(45% - 30px);
  min-width: 300px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 25px;
  position: relative;
  text-align: center;
  backdrop-filter: blur(6px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: fadeInUp 0.8s ease forwards;
}

.review:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
}

.review-content p {
  margin: 10px 0;
  font-size: 1rem;
  line-height: 1.6;
}

.review-content .author {
  font-weight: bold;
  margin-top: 15px;
  font-size: 0.95rem;
  color: #fbbf24;
}

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
/* =========================
   RESPONSIVE ADJUSTMENTS
========================= */

/* Tablets (≤ 992px) */
@media (max-width: 992px) {
  .blog-post {
    flex: 1 1 calc(50% - 30px); /* 2 columns instead of 3 */
  }

  .review {
    flex: 1 1 calc(100% - 30px); /* Single column for reviews */
  }

  .blog-section h2,
  .customer-reviews-section h2 {
    font-size: 1.75rem;
  }
}

/* Mobiles (≤ 600px) */
@media (max-width: 600px) {
  .blog-post {
    flex: 1 1 100%; /* Full width for blog posts */
    min-width: auto;
  }

  .review {
    flex: 1 1 100%; /* Full width for reviews */
    min-width: auto;
  }

  .blog-section h2,
  .customer-reviews-section h2 {
    font-size: 1.5rem;
  }

  .blog-section p,
  .customer-reviews-section .section-subtitle {
    font-size: 0.9rem;
  }

  .blog-title {
    font-size: 1.1rem;
  }

  .blog-excerpt {
    font-size: 0.9rem;
  }

  .blog-post img {
    height: 180px; /* shrink images proportionally */
  }
}


/* ================================
   Custom Product Slider
   ================================ */
.custom-product-slider {
  margin: 40px auto;
  max-width: 100%;
  overflow: hidden;
  position: relative;
  padding: 10px 0;
}

.custom-product-slider h2 {
  font-size: 24px;
  margin: 0 0 20px;
  text-align: left;
  font-weight: 600;
  color: #222;
}

/* arrows */
.slider-container {
  position: relative;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.6);
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  z-index: 10;
  padding: 10px;
  border-radius: 50%;
  transition: background 0.3s;
}

.slider-btn:hover {
  background: rgba(0,0,0,0.8);
}

.slider-btn.prev { left: 10px; }
.slider-btn.next { right: 10px; }

/* wrapper with two tracks */
.slider-wrapper {
  display: flex;
  width: 200%;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none; /* hide scrollbar Firefox */
}
.slider-wrapper::-webkit-scrollbar { display: none; }

/* each track auto scrolls */
.slider-track {
  display: flex;
  gap: 20px;
  flex: 0 0 50%;
  animation: scroll-left 30s linear infinite;
}

.product-card {
  min-width: 250px;
  flex: 0 0 auto;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  text-align: center;
  padding: 15px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  transition: transform 0.2s;
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-card img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  margin-bottom: 10px;
}

.product-card h3 {
  font-size: 14px;
  font-weight: 600;
  margin: 8px 0;
  color: #111;
  text-transform: uppercase;
}

.product-card .price {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 12px;
  color: #000;
}

.product-card .buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.product-card .add-to-cart {
  background: #e0dce2;
  color: #333;
  font-size: 14px;
  border: none;
  padding: 8px 14px;
  border-radius: 4px;
  cursor: pointer;
}

.product-card .view-btn {
  background: #fff;
  border: 1px solid #ccc;
  font-size: 14px;
  padding: 8px 14px;
  border-radius: 4px;
  cursor: pointer;
}

.product-card .add-to-cart:hover {
  background: #ccc;
}

.product-card .view-btn:hover {
  background: #f8f8f8;
}

/* infinite scroll keyframes */
@keyframes scroll-left {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* pause on hover */
.slider-track:hover {
  animation-play-state: paused;
}

/* ================================
   🔹 Responsive Breakpoints
   ================================ */

/* Large desktops */
@media (min-width: 1200px) {
  .product-card { min-width: 280px; }
}

/* Tablets */
@media (max-width: 992px) {
  .custom-product-slider h2 { font-size: 20px; }
  .product-card { min-width: 220px; padding: 12px; }
  .product-card h3 { font-size: 13px; }
  .product-card .price { font-size: 15px; }
}

/* Mobiles */
@media (max-width: 600px) {
  .custom-product-slider h2 { font-size: 18px; text-align: center; }
  .slider-track { gap: 15px; }
  .product-card { min-width: 180px; padding: 10px; }
  .product-card img { height: 140px; object-fit: cover; }
  .product-card h3 { font-size: 12px; }
  .product-card .price { font-size: 14px; }
  .slider-btn { font-size: 20px; padding: 8px; }
}


