:root {
  --primary: #0F2B3D;
  --primary-light: #1A3D55;
  --secondary: #B8860B;
  --secondary-dark: #8B6508;
  --accent: #D4A843;
  --accent-light: #F8EDD4;
  --light: #F5F0E8;
  --white: #FFFFFF;
  --gray-100: #F8F9FA;
  --gray-200: #E9ECEF;
  --gray-300: #DEE2E6;
  --gray-500: #ADB5BD;
  --gray-700: #6C757D;
  --gray-900: #212529;
  --text: #2D3436;
  --text-light: #636E72;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow: 0 5px 25px rgba(0,0,0,0.1);
  --shadow-lg: 0 15px 50px rgba(0,0,0,0.15);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-primary: 'Tajawal', sans-serif;
  --font-heading: 'Cairo', sans-serif;
  --max-width: 1200px;
  --header-height: 80px;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  direction: rtl;
}

body {
  font-family: var(--font-primary);
  color: var(--text);
  background: var(--white);
  line-height: 1.8;
  overflow-x: hidden;
  font-weight: 400;
}

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

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

ul {
  list-style: none;
}

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 100px 0;
}

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

.section-header h2 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--secondary);
  border-radius: 2px;
  margin: 15px auto 0;
}

.section-header p {
  color: var(--text-light);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

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

.btn-primary:hover {
  background: var(--secondary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

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

.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
}

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

.btn-accent:hover {
  background: #E67E22;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-whatsapp {
  background: #25D366;
  color: var(--white);
}

.btn-whatsapp:hover {
  background: #1DA851;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* ========== TOP BAR ========== */
.top-bar {
  background: var(--primary);
  color: var(--white);
  padding: 10px 0;
  font-size: 0.85rem;
  border-bottom: 3px solid var(--secondary);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.top-bar-info {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.top-bar-info a {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--white);
  opacity: 0.9;
}

.top-bar-info a:hover {
  opacity: 1;
  color: var(--accent);
}

.top-bar-info i {
  font-size: 0.9rem;
}

/* ========== HEADER ========== */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: var(--header-height);
}

.header.scrolled {
  box-shadow: var(--shadow);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
}

.logo img {
  height: 50px;
  width: auto;
}

.logo span {
  color: var(--secondary);
}

.nav {
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav a {
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  color: var(--text);
  position: relative;
  font-size: 0.95rem;
}

.nav a:hover,
.nav a.active {
  color: var(--secondary);
  background: rgba(192, 57, 43, 0.05);
}

.nav a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 18px;
  left: 18px;
  height: 3px;
  background: var(--secondary);
  border-radius: 2px 2px 0 0;
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--white);
  min-width: 220px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 100;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 10px 20px;
  color: var(--text);
  border-radius: 0;
  font-size: 0.9rem;
}

.dropdown-menu a:hover {
  background: var(--gray-100);
  color: var(--secondary);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  background: none;
  border: none;
}

.mobile-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--primary);
  border-radius: 3px;
  transition: var(--transition);
}

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

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

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

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-height) - 42px);
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(192,57,43,0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(243,156,18,0.1) 0%, transparent 50%);
  pointer-events: none;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image:
    repeating-linear-gradient(45deg, transparent, transparent 40px, rgba(255,255,255,0.1) 40px, rgba(255,255,255,0.1) 41px);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content h1 {
  font-size: 3.5rem;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.2;
}

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

.hero-content p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 35px;
  line-height: 1.9;
  max-width: 540px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-visual svg {
  width: 100%;
  max-width: 500px;
  height: auto;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

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

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
  display: block;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  margin-top: 5px;
}

/* ========== ABOUT ========== */
.about {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image svg {
  width: 100%;
  height: auto;
  display: block;
}

.about-content h2 {
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.about-content h2 span {
  color: var(--secondary);
}

.about-content p {
  color: var(--text-light);
  margin-bottom: 20px;
  font-size: 1.05rem;
}

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

.about-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
}

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

/* ========== PRODUCTS ========== */
.products {
  background: var(--gray-100);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 30px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

.product-card-image {
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  background: var(--gray-100);
  position: relative;
  overflow: hidden;
}

.product-card-image svg {
  width: 80%;
  max-height: 190px;
}

.product-card-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--secondary);
  color: var(--white);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.product-card-body {
  padding: 25px;
}

.product-card-body h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--primary);
}

.product-card-body p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 20px;
  line-height: 1.7;
}

.product-card-body .btn {
  width: 100%;
}

/* ========== FEATURES ========== */
.features {
  background: var(--white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.feature-card {
  text-align: center;
  padding: 40px 25px;
  border-radius: var(--radius);
  background: var(--gray-100);
  transition: var(--transition);
  border: 1px solid var(--gray-200);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: var(--secondary);
}

.feature-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
  color: var(--white);
  background: var(--secondary);
}

.feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--primary);
}

.feature-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ========== CTA ========== */
.cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  text-align: center;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(192,57,43,0.1) 0%, transparent 70%);
}

.cta .container {
  position: relative;
  z-index: 1;
}

.cta h2 {
  font-size: 2.5rem;
  color: var(--white);
  margin-bottom: 15px;
}

.cta p {
  color: rgba(255,255,255,0.85);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto 35px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

/* ========== CONTACT SECTION (home) ========== */
.contact-info-section {
  background: var(--gray-100);
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.contact-card {
  background: var(--white);
  padding: 35px 25px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.contact-card-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-size: 1.5rem;
  color: var(--white);
  background: var(--secondary);
}

.contact-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--primary);
}

.contact-card p,
.contact-card a {
  color: var(--text-light);
  font-size: 0.95rem;
}

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

/* ========== FOOTER ========== */
.footer {
  background: var(--primary);
  color: var(--white);
  padding: 70px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-about h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--white);
}

.footer-about h3 span {
  color: var(--secondary);
}

.footer-about p {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--secondary);
  transform: translateY(-3px);
}

.footer h4 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 40px;
  height: 3px;
  background: var(--secondary);
  border-radius: 2px;
}

.footer-links a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  color: rgba(255,255,255,0.7);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent);
  padding-right: 5px;
}

.footer-contact li {
  display: flex;
  gap: 12px;
  margin-bottom: 15px;
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
}

.footer-contact i {
  color: var(--secondary);
  margin-top: 5px;
  flex-shrink: 0;
}

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

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  text-align: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
}

/* ========== BREADCRUMB ========== */
.breadcrumb {
  background: var(--gray-100);
  padding: 15px 0;
  border-bottom: 1px solid var(--gray-200);
}

.breadcrumb .container {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-light);
}

.breadcrumb a {
  color: var(--text-light);
}

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

.breadcrumb .current {
  color: var(--secondary);
  font-weight: 600;
}

/* ========== PAGE HEADER ========== */
.page-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  padding: 60px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header .container {
  position: relative;
  z-index: 1;
}

.page-header h1 {
  font-size: 2.8rem;
  color: var(--white);
  margin-bottom: 10px;
}

.page-header p {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
}

/* ========== PRODUCT DETAIL ========== */
.product-detail {
  padding: 80px 0;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.product-gallery {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--gray-100);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

.product-gallery svg {
  width: 90%;
  max-height: 350px;
}

.product-info h2 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 15px;
}

.product-info .price-badge {
  display: inline-block;
  background: var(--accent-light);
  color: var(--accent);
  padding: 8px 20px;
  border-radius: 20px;
  font-weight: 700;
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.product-info p {
  color: var(--text-light);
  line-height: 1.9;
  margin-bottom: 20px;
}

.product-specs {
  margin: 30px 0;
}

.product-specs h3 {
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 15px;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.specs-table tr {
  border-bottom: 1px solid var(--gray-200);
}

.specs-table td {
  padding: 12px 15px;
  font-size: 0.95rem;
}

.specs-table td:first-child {
  font-weight: 600;
  color: var(--primary);
  background: var(--gray-100);
  width: 40%;
}

.specs-table td:last-child {
  color: var(--text-light);
}

.product-actions {
  display: flex;
  gap: 15px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.product-features-list {
  margin-top: 40px;
}

.product-features-list h3 {
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 15px;
}

.product-features-list ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.product-features-list ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  background: var(--gray-100);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
}

.product-features-list ul li i {
  color: var(--secondary);
}

/* ========== CONTACT PAGE ========== */
.contact-page {
  padding: 80px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-form-wrapper {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.contact-form-wrapper h2 {
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.contact-form-wrapper > p {
  color: var(--text-light);
  margin-bottom: 30px;
}

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

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-family: var(--font-primary);
  font-size: 1rem;
  transition: var(--transition);
  background: var(--gray-100);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--secondary);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(192,57,43,0.1);
}

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

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

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

.contact-info-card {
  background: var(--white);
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: var(--transition);
}

.contact-info-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.contact-info-icon {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: var(--secondary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-info-text h3 {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 5px;
}

.contact-info-text p,
.contact-info-text a {
  color: var(--text-light);
  font-size: 0.95rem;
}

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

.map-wrapper {
  margin-top: 50px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.map-wrapper iframe {
  width: 100%;
  height: 400px;
  border: none;
  display: block;
}

/* ========== SCROLL ANIMATIONS ========== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ========== BACK TO TOP ========== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--secondary);
  color: var(--white);
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
}

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

.back-to-top:hover {
  background: var(--secondary-dark);
  transform: translateY(-3px);
}

/* ========== LOADING / PRELOADER ========== */
.preloader {
  position: fixed;
  inset: 0;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid var(--gray-200);
  border-top-color: var(--secondary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content h1 { font-size: 2.8rem; }
  .hero-content p { margin: 0 auto 35px; }
  .hero-buttons { justify-content: center; }
  .hero-visual { display: none; }
  .hero-stats { max-width: 500px; margin: 60px auto 0; }
  .about-grid { grid-template-columns: 1fr; text-align: center; }
  .about-features { grid-template-columns: 1fr; max-width: 400px; margin: 30px auto 0; }
  .about-feature { justify-content: center; }
  .product-detail-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 70px 0; }
  .section-header h2 { font-size: 2rem; }
  .hero { min-height: auto; padding: 80px 0 60px; }
  .hero-content h1 { font-size: 2rem; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; padding-top: 30px; }
  .stat-number { font-size: 2rem; }

  .mobile-toggle { display: flex; }
  .nav {
    position: fixed;
    top: var(--header-height);
    right: -100%;
    width: 300px;
    height: calc(100vh - var(--header-height));
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    box-shadow: -5px 0 20px rgba(0,0,0,0.1);
    transition: var(--transition);
    overflow-y: auto;
    gap: 0;
  }
  .nav.open { right: 0; }
  .nav a {
    display: block;
    padding: 15px 20px;
    border-radius: var(--radius-sm);
    width: 100%;
  }
  .nav a.active::after { display: none; }
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    padding: 0 15px;
    display: none;
  }
  .dropdown.open .dropdown-menu { display: block; }

  .top-bar .container { flex-direction: column; gap: 5px; }
  .top-bar-info { justify-content: center; font-size: 0.8rem; gap: 12px; }

  .product-detail-grid { gap: 30px; }
  .product-gallery { min-height: 280px; }
  .product-actions { flex-direction: column; }
  .product-actions .btn { width: 100%; }
  .product-features-list ul { grid-template-columns: 1fr; }

  .contact-form-wrapper { padding: 25px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-info-card { padding: 20px; }

  .cta h2 { font-size: 2rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }

  .page-header h1 { font-size: 2rem; }
  .page-header { padding: 40px 0; }

  .products-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
  .features-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .container { padding: 0 15px; }
  .hero { padding: 60px 0 40px; }
  .hero-content h1 { font-size: 1.7rem; }
  .hero-stats { grid-template-columns: 1fr; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; }
  .features-grid { grid-template-columns: 1fr; }
  .section-header h2 { font-size: 1.7rem; }
  .cta h2 { font-size: 1.7rem; }
  .cta-buttons { flex-direction: column; }
  .cta-buttons .btn { width: 100%; }
  .product-card-image { height: 200px; }
  .product-specs { overflow-x: auto; }
  .back-to-top { bottom: 20px; left: 20px; width: 45px; height: 45px; }
}

/* ========== TEAM SECTION ========== */
.team {
  background: var(--white);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}

.team-card {
  text-align: center;
  padding: 40px 25px;
  border-radius: var(--radius);
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: var(--secondary);
}

.team-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2.2rem;
  color: var(--white);
  background: var(--primary);
}

.team-card h3 {
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 5px;
}

.team-role {
  display: block;
  color: var(--secondary);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.team-card p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ========== BRANDS SECTION ========== */
.brands {
  background: var(--gray-100);
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.brand-card {
  text-align: center;
  padding: 30px 20px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

.brand-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.brand-card i {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 12px;
}

.brand-card h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 5px;
}

.brand-card p {
  color: var(--text-light);
  font-size: 0.85rem;
}

@media (max-width: 1024px) {
  .brands-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .team-grid { grid-template-columns: 1fr; max-width: 400px; }
  .brands-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .brands-grid { grid-template-columns: 1fr; }
}

/* ========== WHATSAPP FLOAT ========== */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 99;
  display: flex;
  align-items: center;
  gap: 10px;
}

.whatsapp-float a {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: #25D366;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 15px rgba(37,211,102,0.4);
  transition: var(--transition);
}

.whatsapp-float a:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(37,211,102,0.5);
}

.whatsapp-tooltip {
  background: var(--white);
  padding: 8px 15px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}


