/* ITUS Website Styles */

/* ===== ROOT VARIABLES ===== */
:root {
  /* Colors */
  --primary-color: #046bd2;
  --primary-hover: #045cb4;
  --secondary-color: #ec6f34;
  --text-dark: #1e293b;
  --text-gray: #334155;
  --bg-light: #F0F5FA;
  --bg-white: #FFFFFF;
  --border-color: #D1D5DB;
  
  /* Fonts */
  --font-primary: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-secondary: 'Open Sans', sans-serif;
  
  /* Spacing */
  --container-width: 1200px;
  --section-padding: 4rem 2rem;
  --card-padding: 2rem;
}

/* ===== RESET & BASE STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-gray);
  background-color: var(--bg-light);
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.3;
  margin-bottom: 1rem;
}

h1 { font-size: 2.25rem; }
h2 { font-size: 1.875rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 1rem;
}

/* ===== HEADER ===== */
.site-header {
  background-color: var(--bg-white);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 10000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 20px;
  max-width: var(--container-width);
  margin: 0 auto;
}

.site-logo {
  font-size: 1.625rem;
  font-weight: 600;
  color: var(--text-dark);
}

.site-logo span {
  color: var(--primary-color);
}

/* Navigation */
.main-navigation ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  align-items: center;
}

.main-navigation a {
  color: var(--text-gray);
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
}

/* Mega dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown .mega-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: -70%;
  transform: translateX(-50%);
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  padding: 1rem;
  display: none;
  width: min(92vw, 1000px);
  max-width: 1100px;
  z-index: 10001;
}
.nav-dropdown:hover .mega-dropdown { display: block; }
.mega-grid { display: flex; gap: 1.25rem; }
.mega-col { flex: 1 1 25%; display: flex; flex-direction: column; gap: 0.75rem; }
.mega-col a { display: flex; align-items: center; gap: 0.75rem; padding: 0.5rem; color: var(--text-dark); border-radius: 6px; }
.mega-col a img { width: 48px; height: 48px; object-fit: cover; border-radius: 6px; }
.mega-col a span { font-weight: 600; }

@media (max-width: 768px) {
  /* On mobile show dropdown as vertical list without images */
  .nav-dropdown {
    position: relative;
  }
  
  .nav-dropdown .mega-dropdown {
    position: relative;
    left: 0;
    transform: none;
    width: 100%;
    max-width: 100%;
    max-height: 400px;
    overflow-y: scroll;
    box-shadow: none;
    border: none;
    border-left: 3px solid var(--primary-color);
    display: none;
    padding: 0.5rem 0;
    background: #f8f9fa;
    margin: 0.5rem 0;
  }
  
  .nav-dropdown:hover .mega-dropdown,
  .nav-dropdown.active .mega-dropdown {
    display: block;
  }
  
  .mega-grid { 
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  
  .mega-col { 
    display: flex;
    flex-direction: column;
    width: 100%;
  }
  
  .mega-col a { 
    display: block;
    padding: 0.65rem 1.25rem;
    border-bottom: 1px solid #e5e7eb;
    font-size: 0.875rem;
    transition: all 0.2s ease;
  }
  
  .mega-col a:last-child {
    border-bottom: none;
  }
  
  .mega-col a:hover,
  .mega-col a:active { 
    background: var(--bg-white);
    padding-left: 1.5rem;
  }
  
  .mega-col a img { 
    display: none;
  }
  
  .mega-col a span { 
    font-weight: 500;
    font-size: 0.875rem;
    line-height: 1.3;
  }
}

.main-navigation a:hover,
.main-navigation a.active {
  color: var(--primary-hover);
}

.main-navigation a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

.main-navigation a:hover::after,
.main-navigation a.active::after {
  width: 100%;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-dark);
}

/* ===== HERO SECTION ===== */
.hero-section {
  position: relative;
  color: white;
  padding: 5rem 2rem;
  text-align: center;
  overflow: hidden;
  min-height: 400px;
  height: 600px;
  display: flex;
  align-items: center;
}

/* Hero Background Carousel */
.hero-carousel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
  z-index: 2;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.1);
  transition: none;
}

.hero-slide.active img {
  animation: heroZoom 3s ease-out forwards;
}

@keyframes heroZoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.1);
  }
}

/* 50% Black Overlay Mask */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 3;
}

/* Hero Content */
.hero-section .container {
  position: relative;
  z-index: 4;
}

.hero-content {
  position: relative;
}

.hero-content h1 {
  color: white;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  opacity: 0.95;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-tagline {
  font-style: italic;
  margin-top: 2rem;
  font-size: 1.25rem;
  opacity: 0.9;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Hero Category Title */
.hero-category-title {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 2px solid rgba(255, 255, 255, 0.3);
}

.hero-category-title h3 {
  font-size: 1.75rem;
  font-weight: 600;
  color: white;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
  animation: fadeInTitle 0.8s ease-in-out;
}

@keyframes fadeInTitle {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 4px;
  font-weight: 500;
  font-size: 1rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(4, 107, 210, 0.3);
}

.btn-outline {
  background-color: transparent;
  color: white;
  border: 2px solid white;
}

.btn-outline:hover {
  background-color: white;
  color: var(--primary-color);
}

.btn-secondary {
  background-color: var(--secondary-color);
  color: white;
}

.btn-secondary:hover {
  background-color: #d65e25;
  transform: translateY(-2px);
}

/* ===== SECTIONS ===== */
.section {
  padding: var(--section-padding);
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 2rem;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.section-title p {
  color: var(--text-gray);
  font-size: 1.125rem;
}

/* ===== PRODUCT/CATEGORY GRID ===== */
.product-grid,
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}


.category-card {
  background-color: var(--bg-white);
  border-radius: 8px;
  overflow: visible;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  position: relative;
  z-index: 1;
}


.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  z-index: 1000;
}


.category-card img {
  width: 100%;
  height: 320px;
  object-fit: contain;
  object-position: center;
  padding: 0.5rem;
  
}

.product-content {
  padding: var(--card-padding);
  position: relative;
}
.category-content {
  padding: 0 var(--card-padding) var(--card-padding) var(--card-padding);
  position: relative;
}

.product-content h3,
.category-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
}

.product-content h5 {
  font-size: 0.95rem;
  color: var(--text-gray);
  font-weight: 500;
  margin-bottom: 0.5rem;
}


.category-content p {
  font-size: 0.95rem;
  color: var(--text-gray);
  line-height: 1.6;
  margin-bottom: 0;
  
  /* Hide description by default */
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.3s ease, max-height 0.3s ease;
  
  /* Absolute positioning for hover effect */
  position: absolute;
  top: calc(100% - 1.5rem);
  left: 0;
  right: 0;
  background: white;
  padding: 0 var(--card-padding) var(--card-padding);
  z-index: 1000;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  border-radius: 0 0 8px 8px;
  clip-path: inset(0 -100px -100px -100px);
}

/* Show description on card hover */
.category-card:hover .category-content p {
  opacity: 1;
  max-height: 500px;
  padding-top: 0.75rem;
}

.product-content .btn,
.category-content .btn {
  width: 100%;
}

.product-card {
  background-color: var(--bg-white);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.product-card img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  object-position: center;
  padding: 0.5rem;
}

.product-content p {
  font-size: 0.95rem;
  color: var(--text-gray);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* ===== CAROUSEL STYLES ===== */
.carousel-container {
  position: relative;
  max-width: 100%;
  margin: 2rem auto;
  padding: 0;
}

.carousel-track-container {
  overflow: hidden;
  width: 100%;
  padding: 0 70px;
}

.carousel-track {
  display: flex !important;
  grid-template-columns: none !important;
  transition: transform 0.5s ease-in-out;
  gap: 1.5rem;
}

.carousel-track .product-card {
  flex: 0 0 calc((100% - 3rem) / 3);
  max-width: calc((100% - 3rem) / 3);
}

.carousel-track .product-card img {
  height: 250px;
}

/* Carousel Navigation Buttons */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
  color: white;
  border: none;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(4, 107, 210, 0.3);
}

.carousel-btn:hover {
  background: linear-gradient(135deg, var(--primary-hover), var(--primary-color));
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(4, 107, 210, 0.5);
}

.carousel-btn:active {
  transform: translateY(-50%) scale(0.95);
}

.carousel-prev {
  left: 5px;
}

.carousel-next {
  right: 5px;
}

/* Carousel Indicators */
.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 2rem;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--border-color);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.indicator:hover {
  background-color: var(--primary-hover);
  transform: scale(1.2);
}

.indicator.active {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
  width: 40px;
  border-radius: 6px;
  border-color: var(--primary-color);
}

/* Animation for auto-play */
@keyframes slideProgress {
  from {
    width: 12px;
  }
  to {
    width: 40px;
  }
}

/* ===== REQUEST QUOTE IMAGE + LAYOUT ===== */
.quote-section .quote-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.quote-section .quote-image {
  width: 90px;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

.quote-section .quote-actions {
  display: flex;
  align-items: center;
}

@media (max-width: 768px) {
  .quote-section .quote-row {
    flex-direction: column;
    gap: 0.75rem;
  }
  .quote-section .quote-image {
    width: 120px;
  }
}

/* Split layout for Request Quote */
.quote-split {
  display: flex;
  gap: 1.5rem;
  align-items: stretch;
}

.quote-left {
  flex: 0 0 40%;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  border-radius: 10px;
}

.quote-left .quote-image-left {
  max-width: 100%;
  width: 400px;
  height: auto;
  object-fit: contain;
}

.quote-right {
  flex: 1 1 60%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.25rem;
}

.quote-right h2 {
  margin: 0 0 0.5rem 0;
}

@media (max-width: 768px) {
  .quote-split {
    flex-direction: column;
  }
  .quote-left {
    width: 100%;
    flex: none;
    padding: 1rem;
    border-radius: 6px;
  }
  .quote-left .quote-image-left {
    width: 180px;
  }
  .quote-right {
    padding: 1rem 0 0 0;
  }
}

/* ===== ABOUT SECTION ===== */
.about-section {
  background-color: var(--bg-white);
}

.about-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.motto {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
  color: white;
  padding: 3rem 2rem;
  margin: 3rem 0;
  border-radius: 8px;
}

.motto h3 {
  color: white;
  font-size: 1rem;
  font-style: oblique;
  margin-bottom: 1rem;
}

.motto p {
  font-size: 2rem;
  font-style: italic;
}

/* ===== PARTNERS/CREDENTIALS ===== */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  align-items: center;
  margin-top: 2rem;
}

.partner-logo {
  /* background-color: white; */
  padding: 1.5rem;
  /* border-radius: 8px; */
  display: flex;
  align-items: center;
  justify-content: center;
  height: 140px;
  transition: all 0.3s ease;
  /* box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05); */
}

.partner-logo:hover {
  transform: scale(1.05);
  /* box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); */
}

/* ===== QUOTE SECTION ===== */
.quote-section {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #d65e25 100%);
  color: white;
  text-align: center;
}

.quote-section h2 {
  color: white;
  margin-bottom: 1rem;
}

/* ===== FOOTER ===== */
.site-footer {
  background-color: var(--bg-white);
  border-top: 1px solid var(--border-color);
  padding: 3rem 2rem 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: var(--container-width);
  margin: 0 auto 2rem;
}

.footer-section h4 {
  color: var(--text-dark);
  margin-bottom: 1rem;
  font-size: 1.125rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a:hover {
  color: var(--primary-hover);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  color: var(--text-gray);
  font-size: 0.95rem;
}

.footer-bottom a {
  color: var(--primary-color);
}

.footer-bottom a:hover {
  color: var(--primary-hover);
}

/* ===== CONTACT FORM ===== */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(4, 107, 210, 0.1);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

/* ===== MODAL STYLES ===== */
.modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  animation: fadeIn 0.3s ease-in-out;
}

.modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background-color: white;
  padding: 2.5rem;
  border-radius: 8px;
  width: 90%;
  max-width: 900px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-close {
  position: absolute;
  right: 1.5rem;
  top: 1.5rem;
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-dark);
  line-height: 1;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease;
}

.modal-close:hover {
  color: var(--primary-color);
}

.modal-title {
  font-size: 1.75rem;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  text-align: center;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.quote-form .form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.quote-form .form-group {
  margin-bottom: 0;
}

.quote-form .form-group label {
  font-size: 0.875rem;
  font-weight: 500;
  color: #6b7280;
  margin-bottom: 0.25rem;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: none;
  border-bottom: 2px solid var(--primary-color);
  border-radius: 0;
  font-family: inherit;
  font-size: 1rem;
  background-color: transparent;
  transition: border-color 0.3s ease;
}

.quote-form input::placeholder,
.quote-form textarea::placeholder {
  color: #9ca3af;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  outline: none;
  border-bottom-color: var(--primary-hover);
}

.quote-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
  padding-right: 2rem;
  cursor: pointer;
}

.quote-form textarea {
  resize: vertical;
  min-height: 60px;
  margin-top: 1rem;
}

.modal-submit {
  margin-top: 1.5rem;
  padding: 0.875rem 2.5rem;
  font-size: 1rem;
  font-weight: 500;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 992px) and (min-width: 769px) {
  /* Tablet: 2 cards per slide */
  .carousel-track .product-card {
    flex: 0 0 calc((100% - 1.5rem) / 2);
    max-width: calc((100% - 1.5rem) / 2);
  }
}

@media (max-width: 768px) {
  /* Mobile: 1 card per slide */
  .carousel-track-container {
    padding: 0 60px;
  }
  
  .carousel-track {
    gap: 0;
  }
  
  .carousel-track .product-card {
    flex: 0 0 100%;
    max-width: 100%;
  }
  
  .carousel-track .product-card img {
    height: 200px;
  }
  
  .carousel-btn {
    width: 45px;
    height: 45px;
  }
  
  .carousel-btn svg {
    width: 20px;
    height: 20px;
  }
  
  .carousel-prev {
    left: 5px;
  }
  
  .carousel-next {
    right: 5px;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .main-navigation {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: var(--bg-white);
    transition: left 0.3s ease;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
  }
  
  .main-navigation.active {
    left: 0;
  }
  
  .main-navigation ul {
    flex-direction: column;
    padding: 2rem;
    gap: 0;
  }
  
  .main-navigation li {
    width: 100%;
    border-bottom: 1px solid var(--border-color);
  }
  
  .main-navigation a {
    display: block;
    padding: 1rem 0;
  }
  
  h1 { font-size: 1.875rem; }
  h2 { font-size: 1.5625rem; }
  h3 { font-size: 1.25rem; }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .product-grid,
  .category-grid {
    grid-template-columns: 1fr;
  }
  
  .product-card img,
  .category-card img {
    height: 250px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  :root {
    --section-padding: 3rem 1rem;
    --card-padding: 1.5rem;
  }
  
  .hero-section {
    padding: 3rem 1rem;
  }
  
  .btn {
    padding: 12px 24px;
    font-size: 0.95rem;
  }
}

/* ===== UTILITY CLASSES ===== */
.text-center { text-align: center; }
.text-primary { color: var(--primary-color); }
.bg-white { background-color: var(--bg-white); }
.bg-light { background-color: var(--bg-light); }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.6s ease-out;
}

/* ===== LOADING ANIMATION ===== */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: white;
  animation: spin 0.8s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}