@charset "utf-8"; 
/*
Author: Omar Naser
Date: 10/10/25
Filename: Ritamins.css 
*/  
 
/* HTML and Body Styles */ 
*, 
*::before,
*::after {
  box-sizing: border-box;
}
 
html {
  font-size: 16px; 
} 
 
html {
  background-color: #F5FAFF; 
} 
/* Here I set the background color.*/
body {
  font-family: courier-new, monaco;
  color: white;
  margin: 0;
  padding: 0;
}

.logo-link {
  display: block;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: -26px; /* move up by 10px; use negative value to go higher */
  z-index: 5000;
}

.logo-link img {
  display: block;
  width: 180px;
  height: auto;
}

 

.top { 
  width: 100%;
  height: clamp(40px, 4vw, 100px);
  display: flex;
  align-items: center;       /* vertical center */
  justify-content: center;   /* horizontal center */
  padding: 0 2rem;
  background-color: #1E90FF;
  box-sizing: border-box;

  position: sticky;
  top: 0;

  z-index: 200;
}


.top p {
  margin: 0;
}

.logo-bumies {
  margin-bottom: 99px;
}

.logo-img {
  display: block;
  height: auto;
  width: 180px;
  height: auto;

  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5000;
}


/* Logo wrapper */
.logo-wrapper {
  position: relative;
  width: 100%;
  z-index: 1; /* behind header */
}

/* Full-width logo image */
.logo {
  width: 100%;
  height: clamp(580px, 73vw, 840px); /* shorter than before */
  object-fit: cover;
  object-position: bottom;           /* keeps bottom aligned */
  display: block;
  position: relative;
   margin-top: calc(-6.5vw);                   /* slightly more overlap */
  z-index: 1;                        /* behind header */
}











/* Text over logo */
.logo-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  
  color: #FFFFFF;
  text-align: center;
  font-family: Arial, sans-serif;
  font-size: clamp(0.8rem, 1.5vw, 1.5rem);
  line-height: 1.4;
  font-weight: 500;
  
  padding: 1rem 2rem;
  background: none;
  border-radius: 6px;
  max-width: 90%;
  text-shadow: 0 2px 6px rgba(0,0,0,0.6);
  z-index: 2; /* ensures text is above the logo */
}

.logo-text h1 {
  margin-top: 100px;
  font-size: 3.5em;
}

.header {
  position: sticky;
  top: calc(clamp(40px, 4vw, 100px) - 4px);
  z-index: 10;
  width: 100%;
  height: clamp(60px, 6vw, 80px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2vw;
  background: transparent;
  color: #fff;
}



.header.scrolled {
  background-color: #ffffff;
  color: #000;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

body:has(.header:is(:sticky)) .header {
  background-color: #ffffff;
  color: #000;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

/* When header background is white (scroll state), make icons blue */
.header.scrolled .icon-group,
.header.scrolled .icon-group ion-icon {
    color: #155E9A;
}

/* Keep hover effect consistent */
.header:hover .icon-group,
.header:hover .icon-group ion-icon {
    color: #155E9A;
}

/* Optional: force hover + scroll combo, just in case */
.header.scrolled:hover .icon-group,
.header.scrolled:hover .icon-group ion-icon {
    color: #155E9A;
}

/* Menu button color when header is white (scroll or hover) */
.header.scrolled .menu-btn,
.header:hover .menu-btn {
    color: #155E9A;
}

/* Optional: scroll + hover combo */
.header.scrolled:hover .menu-btn {
    color: #155E9A;
}



.one {
font-size: 35px;
background: none;
}

.two {
  background: none;
  font-size: 20px;
}

.three {
  background: none;
  font-size: 15px;
}

/* Centered overlay text */



/* On hover: header turns white and text/icons turn #155E9A */
.header:hover {
  background-color: #FFFFFF;
  color: #155E9A;
}

/* Make menu button follow header color on hover */
.header .menu-btn {
  font-size: 24px;
  background: none;
  color: #FFFFFF;
  border: none;
  cursor: pointer;
  margin-right: 15px;
  margin-bottom: 8px;
}

.header:hover .menu-btn {
  color: #155E9A;
}

/* Any header text (logo text) follows header color on hover */
.header h1,
.header h2,
.header p,
.header span {
  color: inherit;
}

.header:hover h1,
.header:hover h2,
.header:hover p,
.header:hover span {
  color: #155E9A;
}

/* AUTH PAGES: header always in hover state */
/* FORCE header hover styles on auth pages */
.auth-page .header,
.auth-page .header:hover {
  background-color: #FFFFFF;
  color: #155E9A;
}

/* Force ALL header text */
.auth-page .header h2,
.auth-page .header p,
.auth-page .header span {
  color: #155E9A;
}

/* Force menu button */
.auth-page .header .menu-btn {
  color: #155E9A;
}

/* Force right-side icons (this is the missing part) */
.auth-page .header .icon-group,
.auth-page .header .icon-group ion-icon,
.auth-page .header .icon-group a ion-icon {
  color: #155E9A;
}


/* Side Navigation */
.side-nav {
  position: fixed;
  top: 0;
  left: -250px; /* hidden */
  width: 250px;
  height: 100%;
  background-color: #FFFFFF;
  padding-top: 60px;
  transition: left 0.3s ease;
  z-index: 2000;
}

.side-nav a {
  display: block;
  padding: 15px;
  color: #155E9A;
  text-decoration: none;
}

.side-nav a:hover {
  background-color: #E3F2FF;
}

/* Close button */
.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 28px;
  background: none;
  border: none;
  color: #155E9A;
  cursor: pointer;
}

/* Active state */
.side-nav.active {
  left: 0;
}

/* Image Styling */

/* Container for the row */  
.image-container {
  max-width: 900px;       /* limit the row width */
  margin: 0 auto;         /* center it */
}

.image-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;       /* smaller gap between images */
  padding: 50px;   /* smaller space from edges */
  box-sizing: border-box;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.item {
  min-width: 250px;
}

.image-row .item img {
  width: 100%;
  height: 250px;        /* locks size */
  object-fit: cover;   /* crops instead of resizing */
  display: block;
}

.image-row,
.below-area-imgs {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.item p {
  text-align: center;
  color: #445a56;   /* text under images */
}

@media (max-width: 768px) {
  .image-row {
    flex-direction: column;
    gap: 16px;
  }
}

.image-1:hover {
  content: url("blue-2.jpg");
}

.image-2:hover {
  content: url("blue-2.jpg");
}

.image-3:hover {
  content: url("blue-2.jpg");
}

.below-area {
  margin-top: 5vw;
  min-height: auto;    
  background-color: #E3F2FF;
  margin-bottom: 5vw;
  text-align: center;
  padding-top: 30px;
  padding-bottom: 40px;
  box-sizing: border-box;
}

.below-area p {
  margin: 0;
  padding-top: 45px;
  padding-bottom: 10px;
  text-align: center;
  font-size: 1.1em;
  color: #155E9A;    /* readable on light blue */
}

.below-area h4 {
  position: relative;
  display: inline-block;
  font-size: 28px;
  cursor: pointer;
  color: #155E9A;
  text-align: center;
  margin-top: -1px;
} 

/* underline */
.below-area h4::after {
  content: "";
  position: absolute;
  left: 0;             /* starts exactly under the @ */
  bottom: 0;
  width: 100%;
  height: 1px;         /* thin underline */
  background-color: #155E9A;   /* underline matches text */
  transform-origin: left;  /* scale from left */
  transition: transform 0.4s ease;
  transform: scaleX(1);   /* full width initially */
}

/* hover = disappear to the left, never goes past start */
.below-area h4:hover::after {
  transform: scaleX(0);   /* shrinks from right to left */
}

.below-area-imgs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;

  max-width: 900px;
  margin: -20px auto 0;
  padding: 20px;
  box-sizing: border-box;
}
 
.below-area-imgs img {
  width: 100%;
  max-width: 180px;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
}

.below-area-2 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  padding: 40px 60px;          /* shorter section */
  background-color: #f7fcfd;
  font-family: "Helvetica Neue", Arial, sans-serif;
  align-items: start;
}

.feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #174943;              /* base text color for this card */
}

.feature img {
  width: 55px;
  height: 55px;
  object-fit: contain;
  margin-bottom: 14px;
}

.feature h3 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
  line-height: 1.4;
  min-height: 36px;
  color: #174943 !important;   /* fixes “white” 4th heading */
}

.feature p {
  font-size: 14px;
  line-height: 1.6;
  max-width: 240px;
  margin: 0 auto;
  color: #445a56;
}

/* keep them in a row, just fewer columns on small screens */
@media (max-width: 900px) {
  .below-area-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .below-area-2 {
    grid-template-columns: 1fr;
    padding: 30px 20px;
  }
}



.footer-wrapper {
  background-color: #458ef7; 
  color: #f5f5f0;
  padding: 4rem 1rem 2rem;
  width: 100%;
  box-sizing: border-box;
  font-family: 'Nunito', sans-serif;
}

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

.footer-wrapper .footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer-wrapper .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

/* Footer Logo */
.footer-wrapper .footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.footer-wrapper .footer-logo-img {
  height: 40px;
  width: 40px;
  border-radius: 8px;
  z-index: 2;
}

.footer-wrapper .footer-logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
}

/* Move footer brand logo 100px to the left without affecting header logo */
.footer-wrapper .footer-brand .footer-logo .logo-img {
  transform: translateX(-100px);
  /* keep image size consistent */
  max-width: 160px;
}

/* Footer Description */
.footer-wrapper .footer-description {
  color: white;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

/* Contact Info */
.footer-wrapper .footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-wrapper .footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: white;
}

/* Section Titles */
.footer-wrapper .footer-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

/* Links */
.footer-wrapper .footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-wrapper .footer-links a {
  color: white;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-wrapper .footer-links a:hover {
  color: #2776b7;
}

/* Footer Bottom / Copyright */
.footer-wrapper .footer-bottom {
  border-top: 1px solid white;
  margin-top: 3rem;
  padding-top: 2rem;
  text-align: center;
  color: white;
  font-size: 0.875rem;
}

/* =========================
   MOBILE RESPONSIVE
   ========================= */
@media (max-width: 768px) {
  .footer-wrapper {
    text-align: center;
    padding: 3rem 1.5rem;
  }

  .footer-wrapper .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-wrapper .footer-logo {
    justify-content: center;
  }

  .footer-wrapper .footer-links {
    align-items: center;
  }

  .footer-wrapper .footer-contact {
    align-items: center;
  }
}
 

.newsletter-contaniner {
  margin-right: 550px;
  margin-bottom: 100px;
}

h3 {
  font-size: 18px;
}

.newsletter {
font-size: 13px;
}


header p {
  color: #FFFFFF;               /* white over blue strip */
  font-weight: 500;
  background-color: #1E90FF;
  margin: 0;
  padding: 0;
  font-size: 0.8rem;
  height: 2.5vw;
  text-align: center;
  display: flex;
  align-items: center;      /* vertical center */
  justify-content: center;
}

.icon-group {
  margin-left: auto;      /* push entire group to the right */
  display: flex;          /* keep icons inline */
  gap: 12px;              /* space between icons */
  color: #FFFFFF;         /* icons on colored header */
  text-decoration: none;
  margin-right: 20px;
}

.header .icon-group ion-icon {
  font-size: 18px;
  cursor: pointer;
  color: #FFFFFF;
  z-index: 5000;
}

/* On header hover, icon color becomes #155E9A */
.header:hover .icon-group,
.header:hover .icon-group ion-icon {
  color: #155E9A;
}

/* Search Overlay */
.search-overlay {
  position: absolute;
  top: -200px;                 /* physically offscreen */
  left: 0;
  width: 100%;
  height: 80px;
  background-color: #FFFFFF;
  z-index: 100;

  transition: top 0.15s ease, opacity 0.15s ease;


  pointer-events: none;
  opacity: 0;
}

.search-overlay.active {
  top: calc(60px + 4.3vw);     /* under header */
  opacity: 1;
  pointer-events: auto;
}

.search-box {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start; /* start from left */
  padding: 0 20px;
  box-sizing: border-box;
  gap: 12px; 
  transform: translateY(-2px); /* nudge search 2px up */
}

.search-box ion-icon {
  font-size: 22px;
  color: #155E9A;   /* blue icons */
}

.search-box input {
  flex: 1;                     /* takes all available space */
  outline: none;
  font-size: 1.1rem;
  color: #155E9A;
  background: transparent;
  margin-right: 15px;          /* space before the × button */
  min-width: 0;                /* important to prevent overflow on small screens */
}

.close-search {
  flex-shrink: 0;              /* prevents shrinking */
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: #155E9A;
}

.search-box input {
  flex: 1;                     /* takes all available space */
  border: none;
  outline: none;
  font-size: 1.1rem;
  color: #155E9A;
  background: transparent;
  margin-right: 15px;          /* space before the × button */
  min-width: 0;                /* important to prevent overflow on small screens */
}

/* Cart Sidebar */
.cart-nav {
  position: fixed;
  top: 0;
  right: -320px;
  width: 320px;
  height: 100%;
  background-color: #FFFFFF;
  color: #155E9A;          /* text over light background */
  transition: right 0.3s ease;
  z-index: 3000;
}

/* Show cart */
.cart-nav.active {
  right: 0;
}

/* Top bar */
.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-family: Arial, sans-serif;
}

.cart-title {
  font-size: 1.2rem;
  font-weight: bold;
}

.cart-close {
  background: none;
  border: none;
  color: #155E9A;
  font-size: 26px;
  cursor: pointer;
}

/* Divider line */
.cart-divider {
  border: none;
  border-top: 1px solid #E3F2FF;
  margin: 0;
}

/* Center empty message */
.cart-empty {
  height: calc(100% - 80px);
  display: flex;
 align-items: center;
  justify-content: center;
  font-family: Arial, sans-serif;
  font-size: 1rem;
  color: #155E9A;
}

/* Fixed Present Icon */
#present-icon {
  position: fixed;
  bottom: 20px;        /* distance from bottom */
  left: 20px;          /* distance from left */
  z-index: 4000;       /* above everything */
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;          /* size of icon box */
  height: 50px;
  background-color: #1E90FF;
  border-radius: 50%;         /* make it circular */
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
  cursor: pointer;
  transition: transform 0.2s ease;
}

/* Hover effect */
#present-icon:hover {
  transform: scale(1.1);
}

/* Icon styling */
#present-icon ion-icon {
  font-size: 28px;
  color: #FFFFFF;
}

/* Fullscreen overlay */
.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(21,94,154,0.5); /* dark blue overlay */
  display: flex;
  align-items: center;
  justify-content: center; 
  z-index: 5000;
  display: none; /* hidden by default */
} 

/* Popup box - fixed square */
.popup-content {
  position: relative;
  background: url('blue-2.jpg'); /* or any background */
  color: #FFFFFF;
  width: 348px;   /* fixed square width */
  height: 265px;  /* same as width for square */
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.25);
  padding: 20px;
}
 
/* Close button */
.popup-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 28px;
  color: #FFFFFF;
  cursor: pointer;
}

.newsletter-container h3 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 10px;
  color: white;
}

.newsletter-container p {
  margin: 5px 0;
  font-size: 16px;
  opacity: 0.9;
  color: white;
}

.input-group {
  display: flex;
  flex-direction: column; /* Changed to column */
  gap: 10px;
  margin-top: 20px;
  align-items: stretch; /* Makes elements full width */
}

.input-group input {
  flex: none; 
  padding: 15px;
  border: 1px solid #4db6ac;
  border-radius: 0;
  background: rgba(255,255,255,0.1);
  color: white;
  font-size: 16px;
  outline: none;
}

.input-group input::placeholder {
  color: #b2dfdb;
}

.input-group button {
  padding: 15px 15px;
  background-color: #00bcd1;
  color: white;
  border: none;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
  width: 50%;
}

.input-group button:hover {
  background-color: #00aabd;
}

/* Full-width View All Products Row */
.view-all-row {
  max-width: 1100px;          /* same width as product rows */
  margin: 40px auto;           /* spacing above and below */
  padding: 20px 0;
  background-color: white;   /* blue like your header */
  border-radius: 12px;         /* rounded corners */
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  text-align: center;
  transition: transform 0.2s, background-color 0.3s;
  width: 993px; 
}

.view-all-row a {
  text-decoration: none;
  color: #155E9A;
  font-size: clamp(1.rem, 2vw, 1.5rem);
  font-weight: 700;
}

.view-all-row:hover {
  transform: scale(1.01);
}

.product-popup {
  display: none; /* hidden by default */
  position: fixed; /* sit on top of everything */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  justify-content: center; /* center horizontally */
  align-items: center;     /* center vertically */
  background: rgba(0,0,0,0.5); /* semi-transparent overlay */
  z-index: 9999; /* must be higher than other content */
}

/* Drawer container */
/* HIDDEN by default */
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 350px;
  max-width: 100%;
  height: 100vh;
  background-color: white;
  box-shadow: -2px 0 8px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
  z-index: 9999;
  transform: translateX(100%);      /* off-screen to the right */
  transition: transform 0.25s ease; /* smooth slide */
}

/* VISIBLE when active */
.cart-drawer.active {
  transform: translateX(0);
}


/* Header */
.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid #ded4c8;
}

.cart-header h2 {
  font-size: 24px;
  margin: 0;
  color: #2d5d95;
}

.cart-close {
  background: none;
  border: none;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

/* Scrollable items area */
.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
}

/* Empty message */
.cart-empty {
  color: #777;
  font-size: 14px;
}

/* Single cart item */
.cart-item {
  display: flex;
  margin-bottom: 20px;
}

.cart-item-img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  margin-right: 16px;
}

.cart-item-info p {
  margin: 0;
  font-size: 14px;
  color: black;
}

.cart-item-info p:first-child {
  margin-bottom: 4px;
  font-weight: 500;
}

.cart-item-info p:nth-child(2) {
  margin-bottom: 8px;
}

/* Quantity controls */
.cart-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid #ccc;
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 8px;
  color: black;
} 

.cart-qty button {
  width: 32px;
  height: 32px;
  border: none;
  background: #f3f3f3;
  cursor: pointer;
  font-size: 18px;
}

.cart-qty .qty {
  width: 36px;
  text-align: center;
  font-size: 14px;
}

/* Remove link */
.cart-remove {
  background: none;
  border: none;
  padding: 0;
  color: #000;
  text-decoration: underline;
  cursor: pointer;
  font-size: 13px;
}

/* Footer + checkout button */
.cart-footer {
  border-top: 1px solid #ded4c8;
  padding: 16px 24px 24px;
}

.cart-checkout {
  width: 100%;
  padding: 14px 16px;
  background-color: #2d5d95;
  color: #fff;
  border: none;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

/* Remove inline positioning from JS */
#cartCheckout {
  position: static !important;
}


/* ============================
   MOBILE FIXES (DO NOT TOUCH DESKTOP)
   ============================ */
@media (max-width: 768px) {

  /* Prevent horizontal scrolling */
  body {
    overflow-x: hidden;
  }

  /* TOP BAR */
  .top {
    height: auto;
    padding: 10px;
    font-size: 0.8rem;
    text-align: center;
  }

  /* HEADER */
  .header {
    height: 60px;
    padding: 0 15px;
    background-color: #FFFFFF;
    z-index: 8000;
  }

  .logo-img {
    width: 120px;
    z-index: 100;
  }

  .menu-btn {
    color: #155E9A;
  }

  .icon-group ion-icon {
    color: #155E9A;
  }

  /* HERO IMAGE */
  .logo {
    height: 420px;
    margin-top: 0;
  }

  .logo-text {
    padding: 0 15px;
  }

  .logo-text h1 {
    font-size: 1.8rem;
    margin-top: 0;
  }

  .one {
    font-size: 1rem;
  }

  /* IMAGE ROW → STACK */
  .image-row {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 25px;
  }

  .image-row .item img {
    height: 220px;
  }

  /* VIEW ALL PRODUCTS ROW */
  .view-all-row {
    width: 100%;
    max-width: 100%;
    margin: 25px auto;
    border-radius: 10px;
  }

  /* INSTAGRAM IMAGES */
  .below-area-imgs {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  /* FEATURES SECTION */
  .below-area-2 {
    grid-template-columns: 1fr;
    padding: 30px 20px;
  }



  .input-group button {
    width: 100%;
  }
}

  .newsletter-contaniner {
    margin: 0;
    margin-bottom: 40px;
  }
 

  @media (max-width: 768px) {

  /* FORCE header to always look hovered on mobile */
  .header {
    background-color: #FFFFFF !important;
    color: #155E9A !important;
  }

  .header h1,
  .header h2,
  .header p,
  .header span {
    color: #155E9A !important;
  }

  .header .menu-btn {
    color: #155E9A !important;
  }

  .header .icon-group,
  .header .icon-group ion-icon,
  .header .icon-group a ion-icon {
    color: #155E9A !important;
  }
}

.cart-icon {
  position: relative;
  display: inline-block;
}

.cart-dot {
  position: absolute;
  top: 2px;
  right: -1.3px;
  width: 7px;
  height: 7px;
  background: #fff;          /* default = white */
  border-radius: 50%;
  display: none;
  transition: background 0.2s ease;
}

/* Desktop: hover ANYWHERE on header */
@media (hover: hover) and (pointer: fine) {
  .header:hover .cart-dot {
    background: #155E9A;
  }
}

/* Mobile / touch: always blue */
@media (hover: none) and (pointer: coarse) {
  .cart-dot {
    background: #155E9A !important;  /* FORCE blue */
  }
}


.reviews-section {
  background: #f7fcfd;
  padding: 80px 20px;
  text-align: center;
  font-family: Arial, sans-serif;
}

.reviews-section h2 {
  font-size: 32px;
  color: #155E9A;
  margin-bottom: 40px;
}

.reviews-slider {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.review-card {
  background: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  max-width: 600px;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.review-card p {
  font-size: 18px;
  line-height: 1.6;
  color: #445a56;
  margin-bottom: 20px;
}
 
.review-card h4 {
  color: #155E9A;
  font-weight: 600;
}

.review-btn {
  background: #1E90FF;
  border: none;
  color: white;
  font-size: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.review-btn:hover {
  background: #155E9A;
  transform: scale(1.1);
} 

/* Mobile */
@media (max-width: 600px) {
  .review-card {
    padding: 25px;
  }

  .review-card p {
    font-size: 16px;
  }
}

.reviews-section {
  margin-top: -60px;
}
 

/* =========================
   LARGE SCREEN / iMac FIXED
   ========================= */
@media (min-width: 1600px) {

  /* HERO IMAGE */
  .logo {
    height: 1000px;                   
    margin-top: calc(-50px - 40px);   /* move ~40px up total */
    object-position: bottom;          
    width: 100%;
  }

  /* HERO TEXT */
  .logo-text h1 { font-size: 5rem; }
  .logo-text p.one { font-size: 2rem; }
  .logo-text p.two { font-size: 1.5rem; }
  .logo-text p.three { font-size: 1.2rem; }


  /* BELOW-AREA / INSTAGRAM IMAGES - horizontal scroll */
  .below-area-imgs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 30px;
    padding: 40px 40px;
    margin: 0 auto;
  }

  .below-area-imgs img {
    flex: 0 0 auto;
    width: 250px;
    height: auto;
    object-fit: cover;

    margin: 0;
  }

  .below-area-imgs::-webkit-scrollbar { height: 8px; }
  .below-area-imgs::-webkit-scrollbar-thumb { background: #ccc; border-radius: 4px; }

  /* Remove any small underline or leftover grid styles */
  .below-area-imgs::after { content: none; }

  /* FEATURES SECTION */
  .below-area-2 {
    display: flex;
    gap: 60px;
    padding: 60px 120px;
  }

  .feature h3 { font-size: 18px; }
  .feature p { font-size: 16px; }

  /* REVIEWS */
  .reviews-section { padding: 120px 40px; }
  .review-card { max-width: 850px; padding: 60px; }
  .review-card p { font-size: 20px; }

  /* SIDE NAV & CART FIX */
  .side-nav,
  .cart-drawer {
    position: fixed;
    top: 0;
    height: 100vh;
    width: 450px;
    background-color: #fff;
    z-index: 9999;
    transition: transform 0.3s ease-in-out;
    box-shadow: -4px 0 12px rgba(0,0,0,0.1);
  }

  .side-nav { left: 0; transform: translateX(-100%); }
  .cart-drawer { right: 0; transform: translateX(100%); }

  .side-nav.active { transform: translateX(0); }
  .cart-drawer.active { transform: translateX(0); }

  .side-nav .close-btn,
  .cart-drawer .close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
  }

  /* GENERAL LAYOUT / TEXT SCALING */
  h1,h2,h3,h4,p { line-height: 1.5; }
  .hero-button { padding: 18px 40px; font-size: 1.5rem; }
  .container, .grid-container { max-width: 1400px; margin: 0 auto; }

}



/* REVIEWS */
.reviews-section {
  background: linear-gradient(135deg, #f8fbff, #e3f2ff);
  padding: 80px 2px;
  text-align: center;
  overflow: hidden;
  
}

.reviews-section h2 {
  color: #155E9A;
  font-size: 2.5rem;
  margin-bottom: 40px;
}

.reviews-container {
  overflow: hidden;
}

.reviews-track {
  display: flex;
  gap: 30px;
  animation: scrollReviews 30s linear infinite;
  width: max-content;
}

@keyframes scrollReviews {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.reviews-track:hover {
  animation-play-state: unpaused;
}

.review-card {
  background: white;
  border-radius: 20px;
  padding: 30px;
  min-width: 340px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.stars {
  font-size: 18px;
  color: #2d5d95;
}

.verified-badge {
  background: #3b7ad0;
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
}

.review-text {
  margin: 20px 0;
  font-style: italic;
  color: #4a5568;
}

.review-author {
  color: #155E9A;
  font-weight: 600;
  text-align: left;
}

/* Search results dropdown (used inside the search overlay) */
.search-results {
  position: absolute;
  left: 0;
  right: 0;
  /* moved slightly up by 3.5px */
  top: calc(100% + 4.5px);
  background: #fff;
  box-shadow: 0 8px 24px rgba(2,6,23,0.08);
  max-height: 320px;
  overflow: auto;
  z-index: 1200;
  display: none;
}
.search-results.active { display: block }
.search-results ul { list-style: none; margin: 0; padding: 8px; }
.search-results li { display:flex; gap:12px; align-items:center; padding:8px; border-radius:8px; cursor:pointer }
.search-results li:hover, .search-results li.active { background:#f3f9ff }
.search-results img { width:48px; height:48px; object-fit:cover; border-radius:8px }
.search-results .sr-title { font-weight:600; color:#06263b }
.search-results .sr-meta { color:#6b7280; font-size:0.9rem }

