/* ==================== PROFESSIONAL DESIGN SYSTEM ==================== */
@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700&display=swap');

:root {
  /* Primary Colors */
  --primary-blue: #2874f0;
  --primary-blue-dark: #1a5fc4;
  --primary-blue-light: #4a90e2;
  --accent-orange: #fb641b;
  --accent-yellow: #ffd60a;
  
  /* Light Theme with Dark Text */
  --white: #ffffff;
  --gray-50: #f8f9fa;
  --gray-100: #f1f3f5;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-400: #ced4da;
  --gray-500: #212529;  /* Darker text */
  --gray-600: #1a1e21;  /* Even darker text */
  --gray-700: #141619;  /* Very dark text */
  --gray-800: #0d0e10;  /* Almost black text */
  --gray-900: #000000;  /* Pure black text */
  
  /* Semantic Colors */
  --success: #28a745;
  --danger: #dc3545;
  --warning: #ffc107;
  --info: #17a2b8;
  
  /* Typography */
  --font-primary: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  --font-heading: 'Lora', 'Times New Roman', Times, serif;
  
  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --spacing-3xl: 4rem;
  
  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2);
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;
  
  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* ==================== RESET & BASE STYLES ==================== */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-800);
  background: var(--gray-50);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ==================== TYPOGRAPHY ==================== */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: var(--spacing-md);
  color: var(--gray-900);
  letter-spacing: -0.005em;
  font-style: normal;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: var(--spacing-md);
  color: var(--gray-700);
}

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

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

/* ==================== NAVBAR ==================== */

.navbar {
  background: var(--white);
  box-shadow: var(--shadow-md);
  padding: var(--spacing-lg) var(--spacing-xl);
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  animation: slideDown 0.5s ease-out;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.95);
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.navbar-left {
  /* Empty space for left alignment - kept for grid layout */
  min-width: 0;
}

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

.navbar-right {
  display: flex;
  justify-content: flex-end;
  gap: var(--spacing-xl);
  align-items: center;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  justify-content: center;
}

.store-logo {
  max-width: 60px;
  max-height: 60px;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  text-align: center;
}

.logo-main {
  font-size: 32px;  /* Increased from 28px */
  font-weight: 600;
  color: #1e40af;  /* Blue color for Satyam */
  line-height: 1;
  letter-spacing: -0.5px;
  margin-bottom: 2px;
  display: block;
  font-family: 'Lora', 'Times New Roman', Times, serif;
  font-style: italic;
  text-decoration: none;
  font-variation-settings: 'ital' 1;  /* Ensure italics work with variable font */
}

.logo-sub {
  font-size: 16px;  /* Increased from 14px */
  color: #8b0000;  /* Dark red color */
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  display: block;
  margin-top: 0;  /* Adjusted from -2px */
  font-style: italic;
  font-family: 'Lora', 'Times New Roman', Times, serif;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: #8b0000;
  text-decoration-thickness: 1.5px;
  font-variation-settings: 'ital' 1;  /* Ensure italics work with variable font */
  margin-bottom: 4px;  /* Added for better spacing */
}

.navbar-right a {
  font-weight: 500;
  color: var(--gray-700);
  position: relative;
  padding: var(--spacing-sm) 0;
  transition: color var(--transition-base);
}

.navbar-right a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-blue);
  transition: width var(--transition-base);
}

.navbar-right a:hover {
  color: var(--primary-blue);
}

.navbar-right a:hover::after {
  width: 100%;
}

/* ==================== HERO SECTION ==================== */

.hero {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
  color: var(--white);
  padding: var(--spacing-3xl) var(--spacing-xl);
  text-align: center;
  position: relative;
  overflow: hidden;
  animation: fadeIn 1s ease-out;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
  opacity: 0.3;
  animation: float 20s infinite linear;
}

@keyframes float {
  0% { transform: translateY(0); }
  100% { transform: translateY(-100px); }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: var(--spacing-lg);
  color: var(--white);
  animation: fadeInUp 1s ease-out 0.2s both;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero p {
  font-size: 1.3rem;
  animation: fadeInUp 1s ease-out 0.4s both;
  opacity: 0.95;
}

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

/* ==================== SECTIONS ==================== */

.section {
  padding: var(--spacing-3xl) var(--spacing-xl);
  max-width: 1400px;
  margin: 0 auto;
}

.section.light {
  background: var(--white);
}

.section h2 {
  text-align: center;
  margin-bottom: var(--spacing-2xl);
  font-size: 2.5rem;
  color: var(--primary-blue);
  position: relative;
  animation: fadeIn 0.8s ease-out;
}

.section h2::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-blue), var(--accent-orange));
  border-radius: var(--radius-full);
}

/* ==================== GRID LAYOUT ==================== */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--spacing-lg);
  animation: fadeIn 0.8s ease-out;
}

@media (min-width: 768px) {
  .grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: var(--spacing-xl);
  }
}

/* ==================== CARDS ==================== */

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  cursor: pointer;
  position: relative;
  animation: fadeInUp 0.6s ease-out;
  animation-fill-mode: both;
  border: 1px solid var(--gray-200);
}

.card:nth-child(1) { animation-delay: 0.1s; }
.card:nth-child(2) { animation-delay: 0.2s; }
.card:nth-child(3) { animation-delay: 0.3s; }
.card:nth-child(4) { animation-delay: 0.4s; }
.card:nth-child(5) { animation-delay: 0.5s; }
.card:nth-child(6) { animation-delay: 0.6s; }

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

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

/* ==================== PRODUCT CARDS (FLIPKART/AMAZON STYLE) ==================== */

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

.product-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  border-color: var(--primary-blue);
}

.card-image-container {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
}

.card-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Image Gallery */
.image-gallery {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.product-card .image-gallery {
  height: 220px;
}

.gallery-main {
  width: 100%;
  height: 100%;
  position: relative;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity var(--transition-base);
  cursor: pointer;
}

.gallery-thumbnails {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
  background: rgba(0, 0, 0, 0.5);
  padding: 8px;
  border-radius: var(--radius-md);
}

.gallery-thumbnail {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition-base);
  opacity: 0.7;
}

.gallery-thumbnail:hover,
.gallery-thumbnail.active {
  opacity: 1;
  border-color: var(--white);
  transform: scale(1.1);
}

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

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.95);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--primary-blue);
  transition: all var(--transition-base);
  z-index: 10;
  box-shadow: var(--shadow-md);
}

.gallery-nav:hover {
  background: var(--primary-blue);
  color: var(--white);
  transform: translateY(-50%) scale(1.1);
}

.gallery-nav.prev {
  left: 10px;
}

.gallery-nav.next {
  right: 10px;
}

.card-content {
  padding: var(--spacing-md) var(--spacing-lg);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-card .card-content {
  padding: 15px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card h4 {
  font-size: 1rem;
  margin-bottom: var(--spacing-xs);
  color: var(--gray-900);
  font-weight: 500;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 2.8em;
}

.product-card h4 {
  font-size: 14px;
  font-weight: 400;
  color: #212121;
  margin-bottom: 8px;
  min-height: 40px;
}

.card p {
  color: var(--gray-600);
  font-size: 0.875rem;
  line-height: 1.5;
  margin-bottom: var(--spacing-sm);
}

.product-card .card-description {
  font-size: 12px;
  color: #878787;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 32px;
}

.product-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin: var(--spacing-sm) 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.product-card .product-price {
  font-size: 18px;
  font-weight: 600;
  color: #2874f0;
  margin: 8px 0;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 8px;
  font-size: 12px;
  color: #878787;
}

.enquire-btn {
  width: 100%;
  margin-top: auto;
  padding: 10px;
  background: #ff9f00;
  color: var(--white);
  border: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-base);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.enquire-btn:hover {
  background: #fb641b;
  box-shadow: 0 2px 8px rgba(255, 159, 0, 0.3);
}

.enquire-btn:active {
  transform: scale(0.98);
}

/* ==================== ACHIEVEMENT & WORK CARDS ==================== */

.achievement-card,
.work-card {
  padding: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.achievement-card .card-image-container,
.work-card .card-image-container {
  height: 200px;
}

.achievement-card .image-gallery,
.work-card .image-gallery {
  height: 200px;
}

.achievement-card .card-content,
.work-card .card-content {
  padding: 15px;
  flex-grow: 1;
}

.achievement-card h4,
.work-card h4 {
  font-size: 14px;
  font-weight: 500;
  color: #212121;
  margin-bottom: 8px;
  min-height: auto;
}

.achievement-card .card-description,
.work-card .card-description {
  font-size: 12px;
  color: #878787;
  margin-bottom: 0;
}

/* ==================== SERVICE CARDS ==================== */

.service-card {
  padding: var(--spacing-xl);
  text-align: center;
  border-top: 4px solid var(--primary-blue);
  transition: all var(--transition-base);
}

.service-card:hover {
  border-top-color: var(--accent-orange);
}

.service-card h3 {
  margin-bottom: var(--spacing-md);
  color: var(--primary-blue);
  font-size: 1.3rem;
}

.service-card p {
  color: var(--gray-600);
  line-height: 1.8;
}

/* ==================== ABOUT SECTION ==================== */

.about {
  background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
}

.about-text {
  max-width: 800px;
  margin: var(--spacing-lg) auto;
  text-align: center;
  font-size: 1.1rem;
  color: var(--gray-700);
  line-height: 1.8;
}

/* ==================== CONTACT SECTION ==================== */

.contact {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
  color: var(--white);
  text-align: center;
}

.contact h2 {
  color: var(--white);
}

.contact h2::after {
  background: rgba(255, 255, 255, 0.5);
}

.contact-box {
  max-width: 600px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.1);
  padding: var(--spacing-2xl);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-box p {
  margin: var(--spacing-md) 0;
  font-size: 1.1rem;
  color: var(--white);
}

.contact-link {
  color: var(--white) !important;
  font-weight: 600;
  text-decoration: underline;
  transition: opacity var(--transition-base);
}

.contact-link:hover {
  color: var(--accent-yellow) !important;
  opacity: 0.9;
}

.whatsapp-btn {
  display: inline-block;
  margin-top: var(--spacing-lg);
  padding: var(--spacing-md) var(--spacing-xl);
  background: #25D366;
  color: var(--white);
  text-decoration: none;
  border-radius: var(--radius-full);
  font-weight: 600;
  transition: all var(--transition-base);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn:hover {
  background: #20BA5A;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* ==================== FAQ SECTION ==================== */

.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: var(--spacing-lg);
  border-radius: var(--radius-lg);
  border: 2px solid var(--gray-300);
  overflow: hidden;
  transition: all var(--transition-base);
  animation: fadeInUp 0.6s ease-out;
}

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

.faq-question {
  width: 100%;
  background: var(--white);
  border: none;
  padding: var(--spacing-lg);
  text-align: left;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gray-900);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all var(--transition-base);
  font-family: var(--font-primary);
}

.faq-question:hover {
  background: var(--gray-50);
  color: var(--primary-blue);
}

.faq-question span:first-child {
  flex-grow: 1;
  text-align: left;
}

.faq-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--primary-blue);
  color: var(--white);
  border-radius: var(--radius-full);
  font-size: 1.3rem;
  font-weight: 700;
  margin-left: var(--spacing-md);
  transition: all var(--transition-base);
  flex-shrink: 0;
}

.faq-item.active .faq-toggle {
  background: var(--accent-orange);
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 var(--spacing-lg) var(--spacing-lg);
  background: var(--gray-50);
  color: var(--gray-700);
  font-size: 1rem;
  line-height: 1.7;
  margin: 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all var(--transition-base);
}

.faq-item.active .faq-answer {
  max-height: 500px;
  opacity: 1;
  padding: var(--spacing-lg);
}

/* ==================== FOOTER ==================== */

footer {
  background: var(--gray-900);
  color: var(--white);
  text-align: center;
  padding: var(--spacing-xl) var(--spacing-lg);
}

footer p {
  color: var(--gray-300);
  margin-bottom: var(--spacing-sm);
}

footer a {
  color: var(--primary-blue);
  text-decoration: none;
  font-size: 14px;
  transition: color var(--transition-base);
}

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

/* ==================== MODAL STYLES ==================== */

.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  animation: fadeIn var(--transition-base);
}

.modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-lg);
}

.modal-content {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: slideUp 0.3s ease;
  box-shadow: var(--shadow-xl);
}

@keyframes slideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--gray-200);
  border: none;
  width: 35px;
  height: 35px;
  border-radius: var(--radius-full);
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
  z-index: 10;
  color: var(--gray-700);
}

.close-modal:hover {
  background: var(--danger);
  color: var(--white);
  transform: rotate(90deg);
}

.modal-header {
  padding: var(--spacing-xl);
  border-bottom: 1px solid var(--gray-200);
}

.modal-header h2 {
  margin: 0 0 var(--spacing-sm) 0;
  color: var(--gray-900);
  font-size: 1.5rem;
}

.modal-header p {
  color: var(--primary-blue);
  font-weight: 600;
  margin: 0;
}

.form-group {
  margin-bottom: var(--spacing-lg);
  padding: 0 var(--spacing-xl);
}

.form-group label {
  display: block;
  margin-bottom: var(--spacing-sm);
  color: var(--gray-700);
  font-weight: 500;
}

.required {
  color: var(--danger);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: var(--spacing-md);
  border: 2px solid var(--gray-300);
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-family: var(--font-primary);
  transition: all var(--transition-base);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(40, 116, 240, 0.1);
}

.form-group input.error,
.form-group textarea.error {
  border-color: var(--danger);
}

.error-message {
  color: var(--danger);
  font-size: 0.875rem;
  margin-top: var(--spacing-xs);
  display: none;
}

.submit-btn {
  width: calc(100% - 2 * var(--spacing-xl));
  margin: var(--spacing-xl);
  padding: var(--spacing-md) var(--spacing-lg);
  background: var(--primary-blue);
  color: var(--white);
  border: none;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
}

.submit-btn:hover:not(:disabled) {
  background: var(--primary-blue-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.submit-btn:disabled {
  background: var(--gray-400);
  cursor: not-allowed;
}

/* ==================== IMAGE MODAL ==================== */

.image-modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  animation: fadeIn var(--transition-base);
}

.image-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content-img {
  max-width: 90%;
  max-height: 90%;
  position: relative;
  animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.modal-content-img img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius-md);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: var(--white);
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: transform var(--transition-base);
  background: rgba(0, 0, 0, 0.5);
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  transform: rotate(90deg);
  background: rgba(0, 0, 0, 0.8);
}

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

@media (max-width: 1024px) {
  .section {
    padding: var(--spacing-2xl) var(--spacing-lg);
  }
  
  .grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: var(--spacing-lg);
  }
}

@media (max-width: 768px) {
  .navbar {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
    padding: var(--spacing-md) var(--spacing-lg);
  }

  .navbar-left {
    display: none;
  }

  .navbar-center {
    order: 1;
  }

  .navbar-right {
    order: 2;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    margin-top: var(--spacing-sm);
  }

  .navbar-right a {
    margin: 0;
    font-size: 0.9rem;
  }

  .hero {
    padding: var(--spacing-2xl) var(--spacing-lg);
  }

  .hero h1 {
    font-size: 2rem;
  }

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

  .section {
    padding: var(--spacing-xl) var(--spacing-lg);
  }

  .section h2 {
    font-size: 2rem;
  }

  .grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: var(--spacing-md);
  }

  .card-image-container,
  .image-gallery {
    height: 180px;
  }

  .product-card .card-image-container,
  .product-card .image-gallery {
    height: 160px;
  }

  .achievement-card .card-image-container,
  .work-card .card-image-container,
  .achievement-card .image-gallery,
  .work-card .image-gallery {
    height: 180px;
  }
  
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.5rem; }
  
  .product-card h4 {
    font-size: 13px;
    min-height: 36px;
  }
  
  .enquire-btn {
    font-size: 12px;
    padding: 8px;
  }
}

@media (max-width: 480px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-sm);
  }
  
  .card-image-container,
  .image-gallery {
    height: 140px;
  }
  
  .product-card .card-image-container,
  .product-card .image-gallery {
    height: 120px;
  }
  
  .logo-main {
    font-size: 26px;  /* Increased from 22px */
    text-underline-offset: 4px;
  }
  
  .logo-sub {
    font-size: 14px;  /* Increased from 12px */
  }
  
  .hero h1 {
    font-size: 1.75rem;
  }
  
  .product-card .card-content {
    padding: 10px;
  }
  
  .product-card h4 {
    font-size: 12px;
    min-height: 32px;
  }
  
  .product-price {
    font-size: 16px;
  }
  
  .enquire-btn {
    font-size: 11px;
    padding: 8px 4px;
  }
}

/* ==================== UTILITY CLASSES ==================== */

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

.mt-1 { margin-top: var(--spacing-sm); }
.mt-2 { margin-top: var(--spacing-md); }
.mt-3 { margin-top: var(--spacing-lg); }

.mb-1 { margin-bottom: var(--spacing-sm); }
.mb-2 { margin-bottom: var(--spacing-md); }
.mb-3 { margin-bottom: var(--spacing-lg); }

/* ==================== DESCRIPTION MODAL ==================== */

.description-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.description-modal.active {
  display: flex;
}

.description-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  cursor: pointer;
}

.description-modal-content {
  position: relative;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  max-width: 800px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.close-description-modal {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 32px;
  color: var(--gray-600);
  cursor: pointer;
  line-height: 1;
  padding: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color var(--transition-base), color var(--transition-base);
  z-index: 10;
}

.close-description-modal:hover {
  background-color: var(--gray-200);
  color: var(--gray-900);
}

.description-modal-header {
  padding: 30px 30px 20px;
  border-bottom: 1px solid var(--gray-200);
}

.description-modal-header h2 {
  margin: 0 0 8px 0;
  font-size: 28px;
  color: var(--gray-900);
}

.description-category {
  color: var(--gray-600);
  font-size: 14px;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.description-modal-body {
  padding: 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: start;
}

.description-images {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.description-gallery-main {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.description-gallery-main img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  cursor: pointer;
  transition: transform var(--transition-base);
}

.description-gallery-main img:hover {
  transform: scale(1.05);
}

.description-gallery-thumbnails {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.description-gallery-thumbnail {
  cursor: pointer;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid transparent;
  transition: border-color var(--transition-base);
}

.description-gallery-thumbnail img {
  width: 100%;
  height: 80px;
  object-fit: cover;
  display: block;
  transition: opacity var(--transition-base);
}

.description-gallery-thumbnail.active {
  border-color: var(--primary-blue);
}

.description-gallery-thumbnail:hover img {
  opacity: 0.8;
}

.description-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.description-content p {
  margin: 0;
  line-height: 1.7;
  color: var(--gray-700);
  font-size: 16px;
}

.description-price {
  font-size: 20px;
  font-weight: 600;
  color: var(--primary-blue);
  margin-top: 12px !important;
}

.description-modal-footer {
  padding: 20px 30px;
  border-top: 1px solid var(--gray-200);
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

/* ==================== CARD INTERACTION ==================== */

.card {
  cursor: pointer;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

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

@media (max-width: 768px) {
  .description-modal-content {
    width: 95%;
    max-height: 95vh;
  }

  .description-modal-body {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .description-gallery-main img {
    height: 250px;
  }

  .description-modal-header {
    padding: 20px 20px 16px;
  }

  .description-modal-body {
    padding: 20px;
  }

  .description-modal-footer {
    padding: 16px 20px;
  }

  .close-description-modal {
    top: 10px;
    right: 10px;
  }
}

