/* =============================================
   SWAMY MEDICAL CENTRE - Premium Medical Store
   ============================================= */

/* --- CSS Variables --- */
:root {
  --primary: #0d6efd;
  --primary-dark: #0b5ed7;
  --primary-light: #e8f0fe;
  --secondary: #20c997;
  --secondary-dark: #17a87b;
  --secondary-light: #d4f5e9;
  --accent: #0dcaf0;
  --white: #ffffff;
  --light: #f8f9fc;
  --gray-100: #f1f3f9;
  --gray-200: #e2e5f1;
  --gray-300: #c8ccdb;
  --gray-400: #9ea2b5;
  --gray-500: #6b7094;
  --gray-600: #4a4e6b;
  --gray-700: #2d3149;
  --gray-800: #1e2235;
  --gray-900: #0f1225;
  --dark: #0d1117;
  --gradient-primary: linear-gradient(135deg, #0d6efd, #0b5ed7);
  --gradient-secondary: linear-gradient(135deg, #20c997, #17a87b);
  --gradient-hero: linear-gradient(135deg, #0d6efd 0%, #0b5ed7 40%, #0a58ca 100%);
  --gradient-card: linear-gradient(135deg, #e8f0fe, #d4f5e9);
  --shadow-sm: 0 2px 8px rgba(13, 110, 253, 0.08);
  --shadow-md: 0 8px 32px rgba(13, 110, 253, 0.12);
  --shadow-lg: 0 16px 48px rgba(13, 110, 253, 0.18);
  --shadow-xl: 0 24px 64px rgba(13, 110, 253, 0.25);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--gray-700);
  background: var(--light);
  overflow-x: hidden;
  line-height: 1.7;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

img {
  max-width: 100%;
  height: auto;
}

::selection {
  background: var(--primary);
  color: var(--white);
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

/* --- Loading Screen --- */
#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#loading-screen.loaded {
  opacity: 0;
  visibility: hidden;
}

.loader {
  text-align: center;
  color: var(--white);
}

.loader-inner i {
  font-size: 3rem;
  animation: heartbeat 1.2s ease infinite;
}

.loader-text {
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 1rem;
}

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  14% { transform: scale(1.3); }
  28% { transform: scale(1); }
  42% { transform: scale(1.3); }
  70% { transform: scale(1); }
}

/* --- Emergency Banner --- */
.emergency-banner {
  background: linear-gradient(135deg, #dc3545, #b02a37);
  color: var(--white);
  padding: 8px 0;
  font-size: 0.85rem;
  font-weight: 400;
  position: relative;
  z-index: 1030;
}

.emergency-banner i {
  color: rgba(255, 255, 255, 0.9);
}

.emergency-banner strong {
  font-weight: 600;
}

/* --- Header / Navbar --- */
.navbar {
  padding: 12px 0;
  transition: var(--transition);
  background: rgba(255, 255, 255, 0.97) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(13, 110, 253, 0.06);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md) !important;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.3rem;
}

.brand-icon {
  font-size: 1.8rem;
  color: var(--primary);
  background: var(--primary-light);
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.navbar-brand:hover .brand-icon {
  background: var(--primary);
  color: var(--white);
  transform: rotate(-5deg) scale(1.05);
}

.brand-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-link {
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--gray-600) !important;
  padding: 6px 16px !important;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 24px;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: translateX(-50%) scaleX(1);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary) !important;
  background: var(--primary-light);
}

/* --- Hamburger Menu --- */
.hamburger-menu {
  width: 24px;
  height: 20px;
  position: relative;
  cursor: pointer;
}

.hamburger-menu span {
  display: block;
  width: 100%;
  height: 2.5px;
  background: var(--gray-700);
  border-radius: 2px;
  position: absolute;
  transition: var(--transition);
}

.hamburger-menu span:nth-child(1) { top: 0; }
.hamburger-menu span:nth-child(2) { top: 8px; }
.hamburger-menu span:nth-child(3) { top: 16px; }

.navbar-toggler[aria-expanded="true"] .hamburger-menu span:nth-child(1) {
  top: 8px;
  transform: rotate(45deg);
  background: var(--primary);
}

.navbar-toggler[aria-expanded="true"] .hamburger-menu span:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}

.navbar-toggler[aria-expanded="true"] .hamburger-menu span:nth-child(3) {
  top: 8px;
  transform: rotate(-45deg);
  background: var(--primary);
}

.navbar-toggler {
  border: none;
  padding: 0;
  outline: none !important;
  box-shadow: none !important;
}

/* --- Hero Section --- */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
  overflow: hidden;
  padding: 120px 0 80px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 900"><path fill="rgba(255,255,255,0.03)" d="M0,0 C360,300 720,0 1080,200 C1260,300 1350,150 1440,200 L1440,900 L0,900 Z"/></svg>');
  background-size: cover;
  opacity: 0.4;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(32, 201, 151, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 8px 20px;
  border-radius: 50px;
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 1rem;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2rem;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-btn {
  padding: 14px 32px;
  font-weight: 600;
  border-radius: 50px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.hero-btn.btn-primary {
  background: var(--white);
  color: var(--primary);
  border: none;
}

.hero-btn.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.hero-btn.btn-outline-light {
  border: 2px solid rgba(255, 255, 255, 0.5);
  background: transparent;
}

.hero-btn.btn-outline-light:hover {
  background: var(--white);
  color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* --- Hero Stats --- */
.hero-stats {
  display: flex;
  gap: 32px;
  animation: fadeInUp 0.8s ease 0.8s both;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
}

.stat-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 400;
}

/* --- Hero Image --- */
.hero-image-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.hero-image-glow {
  position: absolute;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(32, 201, 151, 0.3), rgba(13, 110, 253, 0.1), transparent);
  border-radius: 50%;
  animation: pulseGlow 3s ease infinite;
}

.hero-main-icon {
  font-size: 8rem;
  color: var(--white);
  opacity: 0.9;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.2));
  animation: floatIcon 4s ease infinite;
}

@keyframes pulseGlow {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 0.4; }
}

@keyframes floatIcon {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

/* --- Hero Wave --- */
.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  line-height: 0;
}

.hero-wave svg {
  display: block;
  width: 100%;
  height: 80px;
}

/* --- Search Section --- */
.search-section {
  position: relative;
  z-index: 10;
  margin-top: -40px;
  padding-bottom: 40px;
}

.search-wrapper {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 36px;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(13, 110, 253, 0.06);
}

.search-label {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gray-700);
}

.search-label i {
  color: var(--primary);
}

.search-box {
  display: flex;
  gap: 12px;
}

.search-box .form-control {
  border: 2px solid var(--gray-200);
  border-radius: 50px;
  padding: 14px 24px;
  font-size: 0.95rem;
  transition: var(--transition);
}

.search-box .form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.1);
}

.search-btn {
  border-radius: 50px;
  padding: 14px 28px;
  font-weight: 600;
  background: var(--gradient-primary);
  border: none;
  transition: var(--transition);
}

.search-btn:hover {
  transform: translateX(3px);
  box-shadow: var(--shadow-md);
}

/* --- Section Common Styles --- */
section {
  padding: 90px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  padding: 6px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--gray-800);
  margin-bottom: 12px;
}

.section-description {
  font-size: 1rem;
  color: var(--gray-500);
  max-width: 600px;
  margin: 0 auto 16px;
}

.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.section-divider::before,
.section-divider::after {
  content: '';
  width: 50px;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.divider-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-card);
  border-radius: 50%;
  color: var(--primary);
  font-size: 1rem;
}

/* --- About Section --- */
.about-section {
  background: var(--white);
}

.about-image-wrapper {
  position: relative;
  padding: 20px;
}

.about-image {
  background: var(--gradient-card);
  border-radius: var(--radius-lg);
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(13, 110, 253, 0.06);
  position: relative;
  overflow: hidden;
}

.about-image::before {
  content: '';
  position: absolute;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 50%, rgba(13, 110, 253, 0.05), transparent);
}

.about-icon {
  font-size: 8rem;
  color: var(--primary);
  opacity: 0.6;
  transition: var(--transition);
}

.shop-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.about-image:hover .shop-image {
  transform: scale(1.03);
}

.about-image:hover .about-icon {
  transform: scale(1.1) rotate(-5deg);
  opacity: 1;
}

.about-experience-badge {
  position: absolute;
  bottom: 0;
  right: 0;
  background: var(--gradient-primary);
  color: var(--white);
  padding: 20px 28px;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-lg);
  animation: pulseBadge 2s ease infinite;
}

.exp-number {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1;
}

.exp-text {
  font-size: 0.8rem;
  opacity: 0.9;
}

@keyframes pulseBadge {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

.about-content p {
  font-size: 1rem;
  color: var(--gray-600);
  margin-bottom: 1.2rem;
  line-height: 1.8;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 24px;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--gray-600);
  font-weight: 500;
}

.about-feature i {
  color: var(--secondary);
  font-size: 1.1rem;
}

/* --- Services Section --- */
.services-section {
  background: var(--light);
}

.service-card {
  background: var(--white);
  padding: 36px 28px;
  border-radius: var(--radius-md);
  text-align: center;
  transition: var(--transition);
  border: 1px solid rgba(13, 110, 253, 0.04);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  height: 100%;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(13, 110, 253, 0.1);
}

.service-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-card);
  border-radius: var(--radius-md);
  font-size: 1.8rem;
  color: var(--primary);
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--gradient-primary);
  color: var(--white);
  transform: rotateY(180deg);
}

.service-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.88rem;
  color: var(--gray-500);
  margin-bottom: 0;
  line-height: 1.7;
}

/* --- Products Section --- */
.products-section {
  background: var(--white);
}

.product-card {
  background: var(--light);
  padding: 28px 16px;
  border-radius: var(--radius-md);
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
  border: 1px solid var(--gray-100);
  height: 100%;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  background: var(--white);
  border-color: rgba(13, 110, 253, 0.1);
}

.product-image {
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-card);
  border-radius: var(--radius-sm);
  font-size: 1.5rem;
  color: var(--primary);
  transition: var(--transition);
}

.product-card:hover .product-image {
  background: var(--gradient-primary);
  color: var(--white);
  transform: scale(1.1) rotate(-5deg);
}

.product-card h5 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 4px;
}

.product-card p {
  font-size: 0.78rem;
  color: var(--gray-400);
  margin-bottom: 0;
}

/* --- Why Choose Us Section --- */
.why-us-section {
  background: var(--light);
  position: relative;
}

.why-card {
  background: var(--white);
  padding: 36px 28px;
  border-radius: var(--radius-md);
  text-align: center;
  transition: var(--transition);
  border: 1px solid rgba(13, 110, 253, 0.04);
  box-shadow: var(--shadow-sm);
  height: 100%;
  position: relative;
}

.why-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.why-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-light);
  border-radius: 50%;
  font-size: 1.6rem;
  color: var(--primary);
  transition: var(--transition);
}

.why-card:hover .why-icon {
  background: var(--gradient-primary);
  color: var(--white);
  animation: iconBounce 0.6s ease;
}

@keyframes iconBounce {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

.why-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 10px;
}

.why-card p {
  font-size: 0.88rem;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 0;
}

/* --- Testimonials Section --- */
.testimonials-section {
  background: var(--white);
}

.testimonial-card {
  background: var(--light);
  padding: 32px 28px;
  border-radius: var(--radius-md);
  transition: var(--transition);
  border: 1px solid var(--gray-100);
  height: 100%;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  background: var(--white);
  border-color: rgba(13, 110, 253, 0.08);
}

.testimonial-stars {
  color: #ffc107;
  font-size: 0.85rem;
  margin-bottom: 16px;
}

.testimonial-text {
  font-size: 0.92rem;
  color: var(--gray-600);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar i {
  font-size: 2.5rem;
  color: var(--primary);
  opacity: 0.5;
}

.testimonial-author h6 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 0;
}

.testimonial-author small {
  font-size: 0.78rem;
  color: var(--gray-400);
}

/* --- Owner Section --- */
.owner-section {
  background: linear-gradient(135deg, var(--primary-light), var(--secondary-light));
}

.owner-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px 36px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  border: 1px solid rgba(13, 110, 253, 0.06);
}

.owner-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.owner-avatar {
  width: 120px;
  height: 120px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  border-radius: 50%;
  font-size: 2.5rem;
  color: var(--white);
  box-shadow: var(--shadow-md);
  animation: floatIcon 4s ease infinite;
  overflow: hidden;
  position: relative;
}

.owner-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.owner-avatar i {
  position: absolute;
}

.owner-info h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--gray-800);
  margin-bottom: 4px;
}

.owner-title {
  display: inline-block;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 12px;
  padding: 4px 16px;
  background: var(--primary-light);
  border-radius: 50px;
}

.owner-info p {
  font-size: 0.9rem;
  color: var(--gray-500);
  max-width: 400px;
  margin: 0 auto 20px;
  line-height: 1.7;
}

.owner-contact a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gradient-primary);
  color: var(--white);
  padding: 10px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
}

.owner-contact a:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* --- FAQ Section --- */
.faq-section {
  background: var(--white);
}

.accordion-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm) !important;
  margin-bottom: 12px;
  overflow: hidden;
}

.accordion-button {
  font-weight: 600;
  color: var(--gray-700);
  padding: 18px 24px;
  font-size: 0.95rem;
}

.accordion-button:not(.collapsed) {
  background: var(--primary-light);
  color: var(--primary);
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: none;
  border-color: var(--gray-200);
}

.accordion-button i {
  color: var(--primary);
}

.accordion-body {
  padding: 20px 24px;
  color: var(--gray-600);
  font-size: 0.9rem;
  line-height: 1.8;
}

/* --- Contact Section --- */
.contact-section {
  background: var(--light);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  padding: 20px 24px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid rgba(13, 110, 253, 0.04);
}

.contact-card:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(13, 110, 253, 0.1);
}

.contact-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-light);
  border-radius: var(--radius-sm);
  font-size: 1.2rem;
  color: var(--primary);
  transition: var(--transition);
}

.contact-card:hover .contact-icon {
  background: var(--gradient-primary);
  color: var(--white);
}

.contact-details h5 {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.contact-details p,
.contact-details a {
  font-size: 0.95rem;
  color: var(--gray-700);
  font-weight: 500;
  margin-bottom: 0;
}

.contact-details a:hover {
  color: var(--primary);
}

/* --- Map Section --- */
.map-wrapper {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(13, 110, 253, 0.06);
}

.map-wrapper iframe {
  display: block;
}

.map-address {
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gray-700);
  font-weight: 500;
  font-size: 0.9rem;
}

.map-address i {
  color: var(--primary);
  font-size: 1.2rem;
}

/* --- Footer --- */
.footer-section {
  background: var(--gray-900);
  color: rgba(255, 255, 255, 0.8);
}

.footer-top {
  padding: 60px 0 40px;
}

.footer-logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-logo i {
  color: var(--secondary);
  margin-right: 8px;
}

.footer-widget p {
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 20px;
  opacity: 0.8;
}

.footer-widget h5 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}

.footer-widget h5::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--secondary);
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links a::before {
  content: '\f105';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 0.8rem;
  color: var(--secondary);
}

.footer-links a:hover {
  color: var(--white);
  transform: translateX(4px);
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.9rem;
}

.footer-contact li i {
  color: var(--secondary);
  margin-top: 4px;
  min-width: 16px;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition);
}

.footer-contact a:hover {
  color: var(--secondary);
}

/* --- Social Icons --- */
.footer-social {
  display: flex;
  gap: 10px;
}

.social-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border-radius: 50%;
  transition: var(--transition);
  font-size: 0.9rem;
}

.social-icon:hover {
  background: var(--gradient-primary);
  color: var(--white);
  transform: translateY(-3px);
}

/* --- Store Timing Card --- */
.timing-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  padding: 16px;
}

.timing-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.85rem;
}

.timing-row:last-child {
  border-bottom: none;
}

.timing-value {
  font-weight: 600;
  color: var(--white);
}

/* --- Footer Bottom --- */
.footer-bottom {
  background: rgba(0, 0, 0, 0.3);
  padding: 20px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.85rem;
  opacity: 0.7;
}

/* --- Floating Buttons --- */
.floating-buttons {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 9999;
}

.float-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.3rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
  position: relative;
  border: none;
}

.float-btn::after {
  content: attr(title);
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  background: var(--gray-800);
  color: var(--white);
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.8rem;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  font-weight: 500;
}

.float-btn:hover::after {
  opacity: 1;
  visibility: visible;
}

.float-call {
  background: var(--gradient-primary);
}

.float-whatsapp {
  background: #25d366;
}

.float-location {
  background: #ea4335;
}

.float-btn:hover {
  transform: translateY(-4px) scale(1.05);
  color: var(--white);
}

.float-call:hover {
  box-shadow: 0 8px 24px rgba(13, 110, 253, 0.4);
}

.float-whatsapp:hover {
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
}

.float-location:hover {
  box-shadow: 0 8px 24px rgba(234, 67, 53, 0.4);
}

/* --- Back to Top Button --- */
.back-to-top {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: var(--white);
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  z-index: 9998;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* --- Animations --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* --- Ripple Effect --- */
.ripple {
  position: relative;
  overflow: hidden;
}

.ripple::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: radial-gradient(circle, rgba(255,255,255,0.3) 10%, transparent 10%);
  transform: scale(10);
  opacity: 0;
  transition: transform 0.6s, opacity 0.6s;
}

.ripple:active::after {
  transform: scale(0);
  opacity: 1;
  transition: 0s;
}

/* =============================================
   RESPONSIVE DESIGN
   ============================================= */

/* --- Desktop Large (1400px+) --- */
@media (min-width: 1400px) {
  .hero-title {
    font-size: 3.8rem;
  }
}

/* --- Desktop (1200px - 1399px) --- */
@media (min-width: 1200px) and (max-width: 1399px) {
  .hero-title {
    font-size: 3.2rem;
  }
}

/* --- Laptop (992px - 1199px) --- */
@media (min-width: 992px) and (max-width: 1199px) {
  .hero-title {
    font-size: 2.8rem;
  }

  .hero-main-icon {
    font-size: 6rem;
  }

  .about-image {
    height: 340px;
  }

  .section-title {
    font-size: 1.9rem;
  }
}

/* --- Tablet (768px - 991px) --- */
@media (min-width: 768px) and (max-width: 991px) {
  .hero-section {
    padding: 100px 0 60px;
    min-height: auto;
  }

  .hero-title {
    font-size: 2.4rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-main-icon {
    font-size: 5rem;
  }

  .hero-stats {
    gap: 24px;
  }

  .stat-number {
    font-size: 1.5rem;
  }

  .about-image {
    height: 300px;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .service-card,
  .why-card {
    padding: 28px 20px;
  }

  .search-wrapper {
    padding: 20px 24px;
  }
}

/* --- Mobile (< 768px) --- */
@media (max-width: 767px) {
  .emergency-banner {
    font-size: 0.75rem;
    padding: 6px 0;
  }

  .navbar {
    padding: 8px 0;
  }

  .navbar-brand {
    font-size: 1.1rem;
  }

  .brand-icon {
    font-size: 1.4rem;
    padding: 6px;
  }

  .hero-section {
    padding: 80px 0 40px;
    min-height: auto;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .hero-subtitle {
    font-size: 0.9rem;
  }

  .hero-badge {
    font-size: 0.75rem;
    padding: 6px 16px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-btn {
    text-align: center;
    padding: 12px 24px;
    font-size: 0.9rem;
  }

  .hero-stats {
    gap: 16px;
    justify-content: center;
  }

  .stat-number {
    font-size: 1.3rem;
  }

  .stat-label {
    font-size: 0.7rem;
  }

  .hero-main-icon {
    font-size: 4rem;
  }

  .hero-image-wrapper {
    padding: 20px;
  }

  .hero-image-glow {
    width: 180px;
    height: 180px;
  }

  .hero-wave svg {
    height: 40px;
  }

  .search-section {
    margin-top: -20px;
    padding-bottom: 24px;
  }

  .search-wrapper {
    padding: 16px 20px;
    border-radius: var(--radius-md);
  }

  .search-label {
    font-size: 0.95rem;
    text-align: center;
  }

  .search-box {
    flex-direction: column;
  }

  .search-box .form-control {
    padding: 10px 18px;
    font-size: 0.88rem;
  }

  .search-btn {
    width: 100%;
    padding: 10px;
    border-radius: 50px;
  }

  section {
    padding: 50px 0;
  }

  .section-header {
    margin-bottom: 36px;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .section-description {
    font-size: 0.88rem;
  }

  .about-image {
    height: 240px;
  }

  .about-icon {
    font-size: 5rem;
  }

  .about-experience-badge {
    padding: 14px 20px;
  }

  .exp-number {
    font-size: 1.4rem;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .service-card,
  .why-card {
    padding: 24px 18px;
  }

  .service-icon,
  .why-icon {
    width: 56px;
    height: 56px;
    font-size: 1.4rem;
  }

  .product-card {
    padding: 20px 12px;
  }

  .product-image {
    width: 48px;
    height: 48px;
    font-size: 1.2rem;
  }

  .owner-card {
    padding: 32px 24px;
  }

  .owner-avatar {
    width: 100px;
    height: 100px;
    font-size: 2rem;
  }

  .owner-info h3 {
    font-size: 1.15rem;
  }

  .contact-card {
    padding: 16px 18px;
  }

  .contact-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    font-size: 1rem;
  }

  .map-wrapper iframe {
    height: 280px;
  }

  .footer-top {
    padding: 40px 0 20px;
  }

  .footer-logo {
    font-size: 1.2rem;
  }

  .floating-buttons {
    bottom: 16px;
    right: 16px;
    gap: 10px;
  }

  .float-btn {
    width: 44px;
    height: 44px;
    font-size: 1.1rem;
  }

  .back-to-top {
    bottom: 16px;
    left: 16px;
    width: 38px;
    height: 38px;
    font-size: 0.95rem;
  }

  .float-btn::after {
    display: none;
  }

  .timing-row {
    font-size: 0.8rem;
  }

  .navbar-collapse {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-sm);
    padding: 12px;
    margin-top: 8px;
    box-shadow: var(--shadow-md);
  }

  .nav-link {
    padding: 10px 16px !important;
  }
}

/* --- Small Mobile (< 400px) --- */
@media (max-width: 399px) {
  .hero-title {
    font-size: 1.5rem;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 12px;
  }

  .stat-item {
    flex: 1;
    min-width: 80px;
  }

  .stat-number {
    font-size: 1.1rem;
  }

  .section-title {
    font-size: 1.3rem;
  }

  .product-card h5 {
    font-size: 0.85rem;
  }
}
