* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #f8f9fa;
}

/* Utility Classes */
.hidden {
  display: none !important;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
.header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 20px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.logo-section h1 {
  font-size: 2rem;
  margin-bottom: 5px;
}

.logo-section p {
  font-size: 1rem;
  opacity: 0.9;
}

.nav-tabs {
  display: flex;
  gap: 15px;
}

.nav-tabs a {
  color: white;
  text-decoration: none;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 25px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-tabs a:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
  padding: 60px 0;
  text-align: center;
}

.hero h2 {
  font-size: 2.5rem;
  color: #667eea;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.1rem;
  color: #555;
  max-width: 800px;
  margin: 0 auto 30px;
}

.cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.cta-button:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

/* Quote Section */
.quote-section {
  padding: 40px 0;
  text-align: center;
  background: white;
}

.quote-section blockquote {
  font-size: 1.8rem;
  font-style: italic;
  color: #764ba2;
  font-weight: 600;
}

/* Products Section */
.products-section {
  padding: 60px 0;
}

.section-title {
  text-align: center;
  font-size: 2.2rem;
  color: #667eea;
  margin-bottom: 40px;
}

.contact-card p,
.contact-card a {
  color: #555;
  text-decoration: none;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-all;
  white-space: normal;
}


.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.product-card {
  background: white;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #e8e8e8;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 28px rgba(102, 126, 234, 0.25); /* beautiful color glow */
  border-color: #cdd5ff;
}


.product-image {
  width: 100%;
  height: 300px; /* fixed height for consistent card size */
  object-fit: contain; /* FULL image visible */
  background: #f1f3f8; /* soft neutral background */
  padding: 10px; /* spacing around image */
  border-bottom: 1px solid #e0e0e0;
}


.product-info {
  padding: 20px;
}

.product-info h3 {
  font-size: 1.3rem;
  color: #333;
  margin-bottom: 10px;
}

.product-info p {
  color: #555;
  margin-bottom: 15px;
}

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: #25D366;
  color: white;
  text-decoration: none;
  border-radius: 25px;
  transition: all 0.3s ease;
  font-weight: 600;
}

.whatsapp-btn:hover {
  background: #128C7E;
  transform: scale(1.05);
}

/* Contact Section */
.contact-section {
  padding: 60px 0;
  background: white;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.contact-card {
  padding: 30px;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
  border-radius: 12px;
  text-align: center;
}

.contact-card i {
  font-size: 2.5rem;
  color: #667eea;
  margin-bottom: 15px;
}

.contact-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #333;
}

.contact-card p,
.contact-card a {
  color: #555;
  text-decoration: none;
}

.contact-card a:hover {
  color: #667eea;
}

/* Social Media Section */
.social-section {
  padding: 60px 0;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.social-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 30px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  color: #333;
  transition: all 0.3s ease;
  min-width: 150px;
}

.social-link:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.social-link i {
  font-size: 3rem;
}

.social-link.justdial i {
  color: #FF6B6B;
}

.social-link.facebook i {
  color: #1877F2;
}

.social-link.instagram i {
  color: #E4405F;
}

/* Footer */
.footer {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  text-align: center;
  padding: 20px 0;
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  text-decoration: none;
  transition: all 0.3s ease;
  z-index: 999;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* Admin Section */
.admin-section {
  min-height: 100vh;
  background: #f8f9fa;
}

.admin-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 20px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.admin-header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.admin-actions {
  display: flex;
  gap: 10px;
}

.btn {
  padding: 10px 20px;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.3);
}

.btn-danger {
  background: #dc3545;
  color: white;
}

.btn-danger:hover {
  background: #c82333;
}

.btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.btn-primary:hover {
  transform: scale(1.05);
}

/* Login Form */
.login-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
}

.login-box {
  background: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  max-width: 400px;
  width: 100%;
}

.login-box h2 {
  text-align: center;
  color: #667eea;
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #333;
  font-weight: 600;
}

.form-group input {
  width: 100%;
  padding: 12px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus {
  outline: none;
  border-color: #667eea;
}

.error-message {
  color: #dc3545;
  font-size: 0.9rem;
  margin-top: 10px;
  text-align: center;
}

.success-message {
  color: #28a745;
  font-size: 0.9rem;
  margin-top: 10px;
  text-align: center;
}

/* Admin Dashboard */
.admin-content {
  padding: 40px 0;
}

.admin-card {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
}

.admin-card h3 {
  color: #667eea;
  margin-bottom: 20px;
}

.image-preview {
  margin-top: 15px;
}

.image-preview img {
  max-width: 300px;
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid #e0e0e0;
}

.products-table {
  width: 100%;
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

table th,
table td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid #e0e0e0;
}

table th {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
  color: #333;
  font-weight: 600;
}

table img {
  width: 60px;
  height: 80px;
  object-fit: cover;
  border-radius: 4px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    text-align: center;
  }

  .hero h2 {
    font-size: 1.8rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .whatsapp-float {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    bottom: 20px;
    right: 20px;
  }

  .admin-header-content {
    flex-direction: column;
  }

  .products-table {
    font-size: 0.9rem;
  }

  table th,
  table td {
    padding: 8px;
  }
}

@media (max-width: 480px) {
  .logo-section h1 {
    font-size: 1.5rem;
  }

  .hero h2 {
    font-size: 1.5rem;
  }

  .quote-section blockquote {
    font-size: 1.3rem;
  }

  .social-links {
    flex-direction: column;
    align-items: center;
  }
}