/* ============================================
   Orison Engineering Services - Custom Stylesheet
   Colors derived from logo: Dark Charcoal + Golden Yellow
   ============================================ */

/* CSS Variables */
:root {
  --primary: #C9952C;
  --primary-light: #E8BD6E;
  --primary-dark: #A67B1E;
  --dark: #2C3E50;
  --dark-light: #3D5166;
  --gray-900: #1E293B;
  --gray-800: #334155;
  --gray-700: #475569;
  --gray-600: #64748B;
  --gray-500: #94A3B8;
  --gray-400: #B0BEC5;
  --gray-300: #D6DEE5;
  --gray-200: #E8EDF2;
  --gray-100: #F1F5F9;
  --gray-50: #F8FAFC;
  --white: #FFFFFF;
  --font-primary: 'Inter', system-ui, -apple-system, sans-serif;
  --font-heading: 'Inter', system-ui, -apple-system, sans-serif;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.05), 0 2px 4px rgba(0,0,0,0.03);
  --shadow-lg: 0 10px 20px rgba(0,0,0,0.06), 0 4px 8px rgba(0,0,0,0.03);
  --shadow-xl: 0 16px 30px rgba(0,0,0,0.08), 0 6px 12px rgba(0,0,0,0.03);
  --radius-sm: 6px;
  --radius: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-primary);
  color: var(--gray-700);
  line-height: 1.6;
  background: var(--white);
  overflow-x: hidden;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

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

ul {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--dark);
  line-height: 1.3;
  font-weight: 700;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================
   Header / Navigation
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 10px 0;
  transition: all var(--transition);
  background: transparent;
}

.header.scrolled {
  background: rgba(44, 62, 80, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 6px 0;
  box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

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

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 60px;
  transition: all var(--transition);
  background: rgba(255,255,255,0.92);
  padding: 4px 10px;
  border-radius: var(--radius);
}

.header.scrolled .logo img {
  height: 48px;
  padding: 3px 8px;
}

/* Desktop Nav */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-menu a {
  color: rgba(255,255,255,0.85);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: var(--radius);
  transition: all var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
}

.nav-menu a:hover {
  color: var(--white);
}

.nav-menu a.active {
  color: var(--primary);
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  margin: 5px 0;
  transition: all var(--transition);
  border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background: var(--dark);
  z-index: 1000;
  padding: 80px 30px 30px;
  transition: right var(--transition);
}

.mobile-nav.open {
  right: 0;
}

.mobile-nav a {
  display: block;
  color: rgba(255,255,255,0.8);
  font-size: 16px;
  font-weight: 500;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: all var(--transition);
}

.mobile-nav a:hover,
.mobile-nav a.active {
  color: var(--primary);
  padding-left: 8px;
}

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 999;
  opacity: 0;
  transition: opacity var(--transition);
}

.nav-overlay.show {
  opacity: 1;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(44,62,80,0.85) 0%, rgba(44,62,80,0.55) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
  padding: 120px 0 80px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201, 149, 44, 0.1);
  border: 1px solid rgba(201, 149, 44, 0.15);
  color: var(--primary-light);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.hero h1 {
  font-size: 48px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.15;
}

.hero h1 span {
  color: var(--primary);
}

.hero p {
  font-size: 17px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 32px;
  line-height: 1.7;
  max-width: 520px;
}

.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-primary);
  font-size: 15px;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: var(--dark);
}

.btn-primary:hover {
  background: var(--primary-light);
  color: var(--dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(212, 160, 23, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.25);
}

.btn-outline:hover {
  border-color: var(--white);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--dark);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--dark-light);
  color: var(--white);
  transform: translateY(-2px);
}

/* ============================================
   Section Styles
   ============================================ */
.section {
  padding: 80px 0;
}

.section-bg {
  background: var(--gray-50);
}

.section-dark {
  background: var(--dark);
}

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

.section-header .label {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: 34px;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--dark);
}

.section-dark .section-header h2 {
  color: var(--white);
}

.section-header p {
  font-size: 16px;
  color: var(--gray-500);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

.section-dark .section-header p {
  color: rgba(255,255,255,0.6);
}

/* ============================================
   Partners / Brands Slider
   ============================================ */
.partners-track-wrapper {
  overflow: hidden;
  position: relative;
  padding: 20px 0;
}

.partners-track-wrapper::before,
.partners-track-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}

.partners-track-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--white), transparent);
}

.partners-track-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--white), transparent);
}

.section-bg .partners-track-wrapper::before {
  background: linear-gradient(to right, var(--gray-50), transparent);
}

.section-bg .partners-track-wrapper::after {
  background: linear-gradient(to left, var(--gray-50), transparent);
}

.partners-track {
  display: flex;
  animation: scroll-partners 25s linear infinite;
  width: max-content;
}

.partners-track:hover {
  animation-play-state: paused;
}

.partner-logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 30px;
  height: 80px;
}

.partner-logo img {
  max-height: 55px;
  max-width: 140px;
  object-fit: contain;
  filter: grayscale(40%);
  opacity: 0.7;
  transition: all var(--transition);
}

.partner-logo img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.08);
}

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

/* ============================================
   Product Category Cards
   ============================================ */
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.category-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  border: 1px solid var(--gray-200);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary);
}

.category-card-img {
  height: 220px;
  overflow: hidden;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.category-card-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform var(--transition);
}

.category-card:hover .category-card-img img {
  transform: scale(1.05);
}

.category-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.category-card-body h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.category-card-body p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ============================================
   Features / Why Choose Us
   ============================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  padding: 32px 28px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
}

.feature-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  background: rgba(201, 149, 44, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 22px;
  color: var(--primary);
}

.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ============================================
   Products Gallery / Portfolio
   ============================================ */
.product-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 36px;
}

.product-filters button {
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 20px;
  border: 1px solid var(--gray-300);
  background: var(--white);
  color: var(--gray-600);
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition);
}

.product-filters button:hover,
.product-filters button.active {
  background: var(--primary);
  color: var(--dark);
  border-color: var(--primary);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.product-card-img {
  height: 200px;
  background: var(--gray-50);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
}

.product-card-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform var(--transition);
}

.product-card:hover .product-card-img img {
  transform: scale(1.05);
}

.product-card-body {
  padding: 16px;
  text-align: center;
}

.product-card-body h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
}

.product-card-body .product-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: var(--primary-dark);
  background: rgba(201, 149, 44, 0.08);
  padding: 3px 10px;
  border-radius: 50px;
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-card-body .quote-link {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-500);
  margin-top: 10px;
  transition: color var(--transition);
}

.product-card:hover .quote-link {
  color: var(--primary);
}

/* ============================================
   Stats Section
   ============================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-item {
  text-align: center;
  padding: 30px 20px;
}

.stat-number {
  font-size: 42px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
}

.section-dark .stat-number {
  color: var(--primary-light);
}

.stat-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-500);
}

.section-dark .stat-label {
  color: rgba(255,255,255,0.6);
}

/* ============================================
   About Page Specific
   ============================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 450px;
}

.about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-content h2 {
  font-size: 34px;
  margin-bottom: 20px;
}

.about-content p {
  color: var(--gray-600);
  margin-bottom: 20px;
  line-height: 1.7;
}

.about-list {
  margin: 20px 0;
}

.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 0;
  font-size: 15px;
  color: var(--gray-700);
}

.about-list li svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--primary);
  margin-top: 2px;
}

/* Services / Icon Boxes */
.icon-box-grid {
  display: grid;
  gap: 20px;
}

.icon-box {
  display: flex;
  gap: 16px;
  padding: 20px;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
}

.icon-box:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.icon-box-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: rgba(201, 149, 44, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--primary);
}

.icon-box h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
}

.icon-box p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ============================================
   Page Hero / Breadcrumb
   ============================================ */
.page-hero {
  position: relative;
  padding: 140px 0 60px;
  min-height: 320px;
  display: flex;
  align-items: center;
  background: var(--dark);
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
}

.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(44,62,80,0.88) 0%, rgba(44,62,80,0.65) 100%);
}

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

.page-hero h1 {
  font-size: 42px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}

.breadcrumb {
  display: flex;
  gap: 8px;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
}

.breadcrumb a {
  color: rgba(255,255,255,0.7);
}

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

.breadcrumb span {
  color: var(--primary);
}

/* ============================================
   Contact Page
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-info-cards {
  display: grid;
  gap: 16px;
  margin-bottom: 30px;
}

.contact-info-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: var(--gray-50);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
}

.contact-info-card .icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: rgba(201, 149, 44, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--primary);
}

.contact-info-card h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.contact-info-card p {
  font-size: 15px;
  color: var(--dark);
  font-weight: 500;
}

.contact-map {
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 250px;
  border: 1px solid var(--gray-200);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Contact Form */
.contact-form {
  background: var(--white);
  padding: 36px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-md);
}

.contact-form h3 {
  font-size: 22px;
  margin-bottom: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-primary);
  font-size: 15px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  color: var(--gray-800);
  background: var(--white);
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(201, 149, 44, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-message {
  display: none;
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 14px;
  margin-bottom: 16px;
}

.form-message.success.show {
  display: block;
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.form-message.error.show {
  display: block;
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.form-message.loading.show {
  display: block;
  background: var(--gray-50);
  color: var(--gray-600);
  border: 1px solid var(--gray-200);
}

/* ============================================
   Brands Page Grid
   ============================================ */
.brands-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.brand-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 30px 20px;
  text-align: center;
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.brand-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.brand-card img {
  max-height: 60px;
  max-width: 140px;
  object-fit: contain;
  margin: 0 auto 16px;
}

.brand-card h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
}

.brand-card p {
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.5;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--gray-900);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-info h3 {
  color: var(--white);
  font-size: 20px;
  margin-bottom: 16px;
}

.footer-info h3 span {
  color: var(--primary);
}

.footer-info p {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 4px;
}

.footer-info a {
  color: rgba(255,255,255,0.7);
}

.footer-info a:hover {
  color: var(--primary);
}

.footer-links h4 {
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
}

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

.footer-links a {
  color: rgba(255,255,255,0.55);
  font-size: 14px;
  transition: all var(--transition);
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 4px;
}

.footer-bottom {
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

/* ============================================
   WhatsApp Button
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 998;
}

.whatsapp-float a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  background: #25D366;
  color: var(--white);
  border-radius: 50%;
  font-size: 28px;
  box-shadow: 0 3px 12px rgba(37, 211, 102, 0.25);
  transition: all var(--transition);
  animation: whatsapp-pulse 2.5s ease-in-out infinite;
  position: relative;
}

.whatsapp-float a::before,
.whatsapp-float a::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #25D366;
  animation: whatsapp-ring 2.5s ease-out infinite;
  opacity: 0;
}

.whatsapp-float a::after {
  animation-delay: 0.8s;
}

.whatsapp-float a:hover {
  transform: scale(1.1);
  box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
  color: var(--white);
  animation: none;
}

@keyframes whatsapp-pulse {
  0%, 100% { box-shadow: 0 3px 12px rgba(37, 211, 102, 0.25); }
  50% { box-shadow: 0 4px 18px rgba(37, 211, 102, 0.4); }
}

@keyframes whatsapp-ring {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }
  100% {
    transform: scale(1.7);
    opacity: 0;
  }
}

/* Scroll to Top */
.scroll-top {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 998;
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: var(--dark);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background: var(--primary-light);
  transform: translateY(-3px);
}

/* ============================================
   Animations (subtle, lightweight)
   ============================================ */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .brands-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .mobile-nav {
    display: block;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero p {
    font-size: 15px;
  }

  .hero-content {
    padding: 100px 0 60px;
  }

  .section {
    padding: 50px 0;
  }

  .section-header h2 {
    font-size: 26px;
  }

  .category-grid {
    grid-template-columns: 1fr;
  }

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

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .stat-number {
    font-size: 32px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .about-img {
    height: 300px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .brands-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .page-hero {
    padding: 120px 0 40px;
    min-height: 240px;
  }

  .page-hero h1 {
    font-size: 30px;
  }

  .contact-form {
    padding: 24px;
  }

  .logo img {
    height: 50px;
    padding: 3px 8px;
  }

  .header.scrolled .logo img {
    height: 42px;
  }

  .whatsapp-float {
    bottom: 15px;
    right: 15px;
  }

  .whatsapp-float a {
    width: 48px;
    height: 48px;
    font-size: 24px;
  }

  .scroll-top {
    bottom: 15px;
    left: 15px;
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 26px;
  }

  .product-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .product-card-img {
    height: 150px;
  }

  .hero-btns {
    flex-direction: column;
  }

  .hero-btns .btn {
    justify-content: center;
  }

  .container {
    padding: 0 16px;
  }

  .brands-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

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