* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

:root {
  /* -- Light Mode Colors -- */
  --primary: #0077ff;
  /* Orange */
  --secondary: #750E21;
  /* Dark Red */
  --bg: #ffffff;
  /* Main background */
  --secondary-bg: #f3f4f6;
  /* Gray 100 */
  --card: #f8f8f8;
  /* Card background */
  --title: #272727;
  /* Text color (Dark Gray) */
  --sub-title: #191919;
  /* Text color */
  --desc: #191919;
  /* Text color */
  --accent: #BED754;
  /* Light Green */
  --neutral: #374151;
  /* Gray 700 */
  --border-color: #e5e7eb;
  /* Borders, dividers (Gray 200) */
  --info: #3b82f6;
  --success: #22c55e;
  --warning: #f59e0b;
  --error: #ef4444;
}

/* Dark mode using data-theme attribute */

[data-theme="dark"] {
  /* -- Dark Mode Colors -- */
  --primary: #E3651D;
  /* Orange */
  --secondary: #750E21;
  /* Dark Red */
  --bg: #181818;
  /* Main background (Dark Gray) */
  --secondary-bg: #750E21;
  /* Secondary background (Dark Red) */
  --card: #131313;
  /* Card background */
  --title: #ff7332;
  /* Text color (Light Green) */
  --sub-title: #BED754;
  /* Text color */
  --desc: #BED754;
  /* Text color */
  --accent: #BED754;
  /* Light Green */
  --neutral: #750E21;
  /* Dark Red */
  --border-color: #E3651D;
  /* Borders (Orange) */
  --info: #58c7f3;
  --success: #00ff00;
  /* Brighter green */
  --warning: #f3cc30;
  --error: #ff0000;
  /* Brighter red */
}

/* Support prefers-color-scheme for automatic detection */

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    /* -- Dark Mode Colors -- */
    --primary: #E3651D;
    /* Orange */
    --secondary: #750E21;
    /* Dark Red */
    --bg: #181818;
    /* Main background (Dark Gray) */
    --secondary-bg: #750E21;
    /* Secondary background (Dark Red) */
    --card: #131313;
    /* Card background */
    --title: #ff7332;
    /* Text color (Light Green) */
    --sub-title: #ececec;
    /* Text color */
    --desc: #e9e9e9;
    /* Text color */
    --accent: #BED754;
    /* Light Green */
    --neutral: #750E21;
    /* Dark Red */
    --border-color: #E3651D;
    /* Borders (Orange) */
    --info: #58c7f3;
    --success: #00ff00;
    /* Brighter green */
    --warning: #f3cc30;
    --error: #ff0000;
    /* Brighter red */
  }
}

body{
  background-color: var(--bg);
  color: var(--title);
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 200ms;
  font-family: "Inter", sans-serif;
}

.container{
  width: 100%;
}

@media (min-width: 640px){
  .container{
    max-width: 640px;
  }
}

@media (min-width: 768px){
  .container{
    max-width: 768px;
  }
}

@media (min-width: 1024px){
  .container{
    max-width: 1024px;
  }
}

@media (min-width: 1280px){
  .container{
    max-width: 1280px;
  }
}

@media (min-width: 1536px){
  .container{
    max-width: 1536px;
  }
}

/* Enhanced Modern Card Styles */
.service-item,
.blog-item {
  background: var(--card);
  border-color: var(--border-color);
}

.service-item .service-content,
.blog-item .blog-content {
  background: var(--card);
}

.testimonial-item {
  background: var(--card);
  border-color: var(--border-color);
}

/* Card Hover Effects */
.service-item:hover,
.blog-item:hover,
.testimonial-item:hover {
  border-color: var(--primary);
}

/* Responsive Card Enhancements */
@media (max-width: 1200px) {
  .service-item .service-img,
  .blog-item .blog-img {
    height: 200px;
  }
}

@media (max-width: 768px) {
  .service-item,
  .blog-item,
  .testimonial-item {
    margin-bottom: 20px;
  }
}

/* Image Aspect Ratio Control */
.service-item .service-img img,
.blog-item .blog-img img {
  aspect-ratio: 16/10;
}

/* Better Typography in Cards */
.service-item .service-content h6,
.blog-item .blog-content h6 {
  color: var(--title);
}

.service-item .service-content p,
.blog-item .blog-content p {
  color: var(--desc);
}

/* Grid System */
.grid {
  display: grid;
}

.gap-6 {
  gap: 1.5rem;
}

.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 640px) {
  .sm\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .sm\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .md\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .md\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .lg\:grid-cols-6 {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

/* Simple Card Styles */
.card-simple {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}

.card-simple:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.card-simple img {
  width: 100%;
  height: 192px;
  object-fit: cover;
}

.card-simple h6 {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.card-simple p {
  font-size: 0.875rem;
  color: #6b7280;
}
  color: var(--desc);
}

.testimonial-item h5 {
  color: var(--title);
}

.testimonial-item p {
  color: var(--desc);
}
