/* 
===============================================
    TAREM - ALL STYLES COMBINED
    تمام استایل‌های پروژه در یک فایل
===============================================
*/

/* =========================== FONTS & IMPORTS =========================== */
@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@100;200;300;400;500;600;700;800;900&display=swap');

@font-face {
    font-family: 'Vazirmatn-fallback';
    src: local('Tahoma'), local('Arial Unicode MS'), local('Arial');
    unicode-range: U+0600-06FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE80-FEFC;
}

/* =========================== CUSTOM COLORS =========================== */
:root {
  --cream-light: #f5f0e8;
  --cream-dark: #f5f0e8;
}

.from-cream-light {
  --tw-gradient-from: var(--cream-light);
  --tw-gradient-to: rgba(246, 239, 210, 0);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.to-cream-dark {
  --tw-gradient-to: var(--cream-dark);
}

/* =========================== RESPONSIVE LAYOUT FIX =========================== */
@media (min-width: 1024px) {
  .main-content-flex {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 4rem !important;
  }
  
  .main-content-item {
    width: 50% !important;
  }
}

/* =========================== CUSTOM SHADOWS =========================== */
.shadow-3xl {
  box-shadow: 0 35px 60px -12px rgba(0, 0, 0, 0.25), 0 25px 25px -5px rgba(220, 38, 38, 0.1);
}

.hover\:shadow-3xl:hover {
  box-shadow: 0 35px 60px -12px rgba(0, 0, 0, 0.25), 0 25px 25px -5px rgba(220, 38, 38, 0.1);
}

/* =========================== RESET & BASE =========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Vazirmatn', 'Vazirmatn-fallback', Tahoma, Arial, sans-serif !important;
}

body {
  font-family: 'Vazirmatn', 'Vazirmatn-fallback', Tahoma, Arial, sans-serif !important;
  direction: rtl;
  text-align: right;
  background: #ffffff;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6,
button, input, textarea, select,
a, span, p, div {
  font-family: 'Vazirmatn', 'Vazirmatn-fallback', Tahoma, Arial, sans-serif !important;
}

.font-vazir {
  font-family: 'Vazirmatn', 'Vazirmatn-fallback', Tahoma, Arial, sans-serif !important;
}

/* Apply font to all header elements */
header * {
  font-family: 'Vazirmatn', 'Vazirmatn-fallback', Tahoma, Arial, sans-serif !important;
}

/* Remove underlines and borders globally */
a {
  text-decoration: none !important;
}

a:hover {
  text-decoration: none !important;
}

button {
  border: none !important;
  outline: none !important;
}

button:focus {
  outline: none !important;
  box-shadow: none !important;
}

/* =========================== HEADER & NAVIGATION =========================== */
header {
  background: white;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 50;
  transition: transform 0.3s ease-in-out;
}

/* Header heights */
.h-20 {
  height: 5rem;
}

.h-22 {
  height: 5.5rem !important;
}

@media (min-width: 1280px) {
  .xl\:h-24 {
    height: 6rem !important;
  }
}

/* Logo enhancements */
.logo-icon {
  transition: all 0.3s ease;
}

.logo-icon:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(228, 54, 54, 0.3);
}

/* =========================== HAMBURGER MENU =========================== */
.hamburger-icon {
  display: flex;
  flex-direction: column;
  width: 24px;
  height: 18px;
  justify-content: space-between;
  cursor: pointer;
}

.hamburger-line {
  width: 100%;
  height: 3px;
  background-color: currentColor;
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.hamburger-icon:hover .hamburger-line {
  background-color: #e43636;
}

/* Hamburger Animation */
#mobile-menu-btn.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

#mobile-menu-btn.active .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

#mobile-menu-btn.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* =========================== MOBILE MENU =========================== */
#mobile-menu {
  position: fixed !important;
  top: 5rem !important;
  right: 0 !important;
  width: 100% !important;
  max-width: 400px !important;
  height: calc(100vh - 5rem) !important;
  z-index: 9999 !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.95) 100%) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  transform: translateX(100%) !important;
  opacity: 0 !important;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
  visibility: hidden !important;
  border-left: 2px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: -10px 0 25px rgba(0, 0, 0, 0.15) !important;
  scroll-behavior: auto;
  overscroll-behavior: contain;
}

#mobile-menu:not(.hidden) {
  visibility: visible !important;
}

#mobile-menu.show {
  transform: translateX(0) !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* اصلاح مشکل scroll */
body.menu-open {
  overflow: hidden !important;
  position: fixed !important;
  width: 100% !important;
}

/* Mobile Menu Content Spacing */
#mobile-menu .h-full {
  padding-top: 1.5rem !important;
  padding-bottom: 2rem !important;
}

#mobile-menu h2 {
  margin-bottom: 1rem !important;
  font-size: 1.5rem !important;
}

/* Service Cards Grid Improvements */
#mobile-menu .grid-cols-2 {
  gap: 0.75rem !important;
  margin-bottom: 1.5rem !important;
}

#mobile-menu .grid-cols-2 a {
  padding: 1rem !important;
  min-height: 120px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* =========================== ACCORDION =========================== */
.accordion-header {
  outline: none !important;
  border: none !important;
  background: none !important;
  cursor: pointer !important;
  user-select: none !important;
  position: relative !important;
  z-index: 10 !important;
  pointer-events: auto !important;
}

.accordion-header * {
  pointer-events: none !important;
}

.accordion-header:hover {
  background-color: rgba(239, 68, 68, 0.05) !important;
}

.accordion-header:active {
  background-color: rgba(239, 68, 68, 0.1) !important;
}

.accordion-header:focus {
  outline: 2px solid rgba(239, 68, 68, 0.5) !important;
  outline-offset: 2px !important;
}

.chevron-icon {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  pointer-events: none !important;
}

.chevron-icon.rotate-180 {
  transform: rotate(180deg) !important;
}

/* Smooth accordion content animation */
.accordion-content {
  transition: all 0.4s ease-out !important;
  overflow: hidden !important;
  max-height: 2000px !important;
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.accordion-content.hidden {
  max-height: 0 !important;
  opacity: 0 !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  transform: translateY(-10px) !important;
}

/* Accordion Section Spacing */
#mobile-menu .accordion-header {
  padding: 0.875rem 1rem !important;
  margin-bottom: 0.25rem !important;
  border-radius: 0.75rem !important;
  display: block !important;
  width: 100% !important;
  text-align: right !important;
}

#mobile-menu .accordion-content {
  padding-right: 1rem !important;
  margin-top: 0.5rem !important;
  display: block !important;
  width: 100% !important;
}

#mobile-menu .accordion-content a {
  padding: 0.625rem 0.75rem !important;
  margin-bottom: 0.125rem !important;
  border-radius: 0.5rem !important;
}

/* Download Button Spacing */
#mobile-menu .mt-auto button {
  margin-top: 1.5rem !important;
  padding: 1rem 1.5rem !important;
}

/* =========================== COLORS =========================== */
/* Red Color Palette */
.bg-red-600 {
  background-color: #e43636 !important;
}

.bg-red-700 {
  background-color: #e43636 !important;
}

.bg-red-50 {
  background-color: #fef2f2;
}

.text-red-600 {
  color: #e43636;
}

.text-red-700 {
  color: #e43636;
}

.hover\:bg-red-700:hover {
  background-color: #e43636 !important;
}

.hover\:text-red-600:hover {
  color: #e43636;
}

.hover\:text-red-700:hover {
  color: #e43636;
}

.hover\:bg-red-600:hover {
  background-color: #e43636;
}

.hover\:bg-red-50:hover {
  background-color: #fef2f2;
}

/* Cream Colors */
.bg-cream-light {
  background-color: #f5f0e8;
}

.bg-cream-dark {
  background-color: #f5f0e8;
}

.from-cream-light {
  --tw-gradient-from: #f5f0e8;
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(245, 240, 232, 0));
}

.to-cream-dark {
  --tw-gradient-to: #f5f0e8;
}

/* Primary Colors */
.text-primary {
  color: #8aa624;
}

.text-secondary {
  color: #fea405;
}

.bg-primary {
  background-color: #8aa624;
}

.bg-secondary {
  background-color: #fea405;
}

.bg-accent {
  background-color: #dbe4c9;
}

.hover\:text-primary:hover {
  color: #8aa624;
}

.hover\:bg-primary:hover {
  background-color: #6b7c1a;
}

.border-primary {
  border-color: #8aa624;
}

/* Icon Colors for Dropdown Menu */
.text-green-600 {
  color: #16a34a !important;
}

.text-blue-600 {
  color: #2563eb !important;
}

.text-orange-600 {
  color: #ea580c !important;
}

.text-purple-600 {
  color: #9333ea !important;
}

.text-indigo-600 {
  color: #4f46e5 !important;
}

.text-pink-600 {
  color: #db2777 !important;
}

.text-yellow-600 {
  color: #ca8a04 !important;
}

.text-teal-600 {
  color: #0d9488 !important;
}

.text-cyan-600 {
  color: #0891b2 !important;
}

.text-emerald-600 {
  color: #059669 !important;
}

.text-brown-600 {
  color: #92400e !important;
}

/* Standard Colors */
.bg-white {
  background-color: white;
}

.bg-gray-900 {
  background-color: #111827;
}

.text-white {
  color: white;
}

.text-gray-600 {
  color: #4b5563 !important;
}

.text-gray-700 {
  color: #374151;
}

.text-gray-800 {
  color: #1f2937;
}

.text-gray-900 {
  color: #111827;
}

.text-gray-400 {
  color: #9ca3af;
}

.text-black {
  color: #000000;
}

/* Background Colors */
.bg-green-100 {
  background-color: #dcfce7;
}

.bg-orange-100 {
  background-color: #fed7aa;
}

.bg-purple-100 {
  background-color: #f3e8ff;
}

.bg-yellow-400 {
  background-color: #facc15;
}

/* =========================== GRADIENTS =========================== */
.bg-gradient-to-r {
  background-image: linear-gradient(to right, var(--tw-gradient-stops));
}

.bg-gradient-to-br {
  background-image: linear-gradient(to bottom right, var(--tw-gradient-stops));
}

.from-red-600 {
  --tw-gradient-from: #e43636;
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(228, 54, 54, 0));
}

.to-red-700 {
  --tw-gradient-to: #e43636;
}

.from-red-700 {
  --tw-gradient-from: #e43636;
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(199, 46, 46, 0));
}

.to-red-800 {
  --tw-gradient-to: #991b1b;
}

.from-blue-600 {
  --tw-gradient-from: #2563eb;
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(37, 99, 235, 0));
}

.to-blue-700 {
  --tw-gradient-to: #1d4ed8;
}

/* =========================== LAYOUT & SPACING =========================== */
/* Flexbox */
.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

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

.justify-between {
  justify-content: space-between;
}

.justify-center {
  justify-content: center;
}

/* Grid */
.grid {
  display: grid;
}

.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.grid-cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gap-3 {
  gap: 0.75rem;
}

.gap-4 {
  gap: 1rem;
}

.gap-6 {
  gap: 1.5rem;
}

.gap-8 {
  gap: 2rem;
}

/* Spacing */
.space-x-4 > * + * {
  margin-right: 1rem;
}

.space-x-reverse > * + * {
  margin-right: 0;
  margin-left: 1rem;
}

.space-x-reverse.space-x-4 > * + * {
  margin-right: 0;
  margin-left: 1rem;
}

.space-y-1 > * + * {
  margin-top: 0.25rem;
}

.space-y-2 > * + * {
  margin-top: 0.5rem;
}

.space-y-4 > * + * {
  margin-top: 1rem;
}

/* Margins */
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mt-8 {
  margin-top: 2rem;
}

.mt-16 {
  margin-top: 4rem;
}

.mt-20 {
  margin-top: 5rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.ml-2 {
  margin-left: 0.5rem;
}

.ml-3 {
  margin-left: 0.75rem !important;
}

.-mt-1 {
  margin-top: -0.25rem;
}

/* Padding */
.px-2 {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.px-3 {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.px-8 {
  padding-left: 2rem;
  padding-right: 2rem;
}

.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.py-6 {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.py-8 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.py-12 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.pt-3 {
  padding-top: 0.75rem;
}

.pt-4 {
  padding-top: 1rem;
}

/* =========================== TYPOGRAPHY =========================== */
.text-xs {
  font-size: 0.75rem;
  line-height: 1rem;
}

.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.text-base {
  font-size: 1rem;
  line-height: 1.5rem;
}

.text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}



.font-medium {
  font-weight: 500;
}

.font-semibold {
  font-weight: 600;
}

.font-bold {
  font-weight: 700;
}

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

.uppercase {
  text-transform: uppercase;
}

.tracking-wider {
  letter-spacing: 0.05em;
}

/* =========================== SIZE & DIMENSIONS =========================== */
.w-3 {
  width: 0.75rem;
}

.w-5 {
  width: 1.25rem !important;
}

.w-6 {
  width: 1.5rem;
}

.w-8 {
  width: 2rem;
}

.w-10 {
  width: 2.5rem;
}

.w-12 {
  width: 3rem;
}

.w-16 {
  width: 4rem;
}

.w-48 {
  width: 12rem;
}

.w-full {
  width: 100%;
}

.w-auto {
  width: auto;
}

.h-3 {
  height: 0.75rem;
}

.h-5 {
  height: 1.25rem;
}

.h-6 {
  height: 1.5rem;
}

.h-8 {
  height: 2rem;
}

.h-10 {
  height: 2.5rem;
}

.h-12 {
  height: 3rem;
}

.h-16 {
  height: 4rem;
}

.max-w-2xl {
  max-width: 42rem;
}

.max-w-3xl {
  max-width: 48rem;
}

.max-w-7xl {
  max-width: 80rem;
}

/* =========================== BORDERS & SHADOWS =========================== */
.border {
  border-width: 1px;
}

.border-2 {
  border-width: 2px;
}

.border-t {
  border-top-width: 1px;
}

.border-b {
  border-bottom-width: 1px;
}

.border-gray-100 {
  border-color: #f3f4f6;
}

.border-gray-200 {
  border-color: #e5e7eb;
}

.border-red-200 {
  border-color: #fecaca;
}

.rounded {
  border-radius: 0.25rem;
}

.rounded-lg {
  border-radius: 0.5rem;
}

.rounded-xl {
  border-radius: 0.75rem;
}

.rounded-2xl {
  border-radius: 1rem;
}

.rounded-3xl {
  border-radius: 1.5rem;
}

.rounded-full {
  border-radius: 9999px;
}

.shadow-sm {
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.shadow-lg {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.shadow-xl {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.shadow-2xl {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.hover\:shadow-xl:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* =========================== POSITIONING =========================== */
.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.fixed {
  position: fixed;
}

.sticky {
  position: sticky;
}

.top-0 {
  top: 0;
}

.top-4 {
  top: 1rem;
}

.top-full {
  top: 100%;
}

.right-0 {
  right: 0;
}

.right-4 {
  right: 1rem;
}

.-top-1 {
  top: -0.25rem;
}

.-right-1 {
  right: -0.25rem;
}

.z-50 {
  z-index: 50;
}

/* =========================== DISPLAY =========================== */
.hidden {
  display: none;
}

.block {
  display: block;
}

.inline-flex {
  display: inline-flex;
}

/* =========================== EFFECTS & TRANSITIONS =========================== */
.opacity-0 {
  opacity: 0;
}

.invisible {
  visibility: hidden;
}

.overflow-hidden {
  overflow: hidden;
}

.overflow-y-auto {
  overflow-y: auto;
}

.cursor-pointer {
  cursor: pointer;
}

.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-colors {
  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: 150ms;
}

.transition-shadow {
  transition-property: box-shadow;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.duration-300 {
  transition-duration: 300ms;
}

.duration-400 {
  transition-duration: 400ms;
}

/* Transforms */
.transform {
  transform: translateX(var(--tw-translate-x, 0)) translateY(var(--tw-translate-y, 0)) rotate(var(--tw-rotate, 0)) skewX(var(--tw-skew-x, 0)) skewY(var(--tw-skew-y, 0)) scaleX(var(--tw-scale-x, 1)) scaleY(var(--tw-scale-y, 1));
}

.translate-x-full {
  --tw-translate-x: 100%;
}

.translate-y-2 {
  transform: translateY(0.5rem);
}

.translate-y-3 {
  transform: translateY(0.75rem);
}

.hover\:scale-105:hover {
  transform: scale(1.05);
}

.hover\:scale-110:hover {
  transform: scale(1.1);
}

.group-hover\:scale-110 {
  transition: transform 0.3s ease;
}

.group:hover .group-hover\:scale-110 {
  transform: scale(1.1);
}

/* Background Effects */
.bg-white\/95 {
  background-color: rgba(255, 255, 255, 0.95);
}

.backdrop-blur-md {
  backdrop-filter: blur(12px);
}

.backdrop-blur-xl {
  backdrop-filter: blur(24px);
}

/* =========================== DROPDOWN MENU STYLES =========================== */
.group:hover .group-hover\:opacity-100 {
  opacity: 1;
}

.group:hover .group-hover\:visible {
  visibility: visible;
}

.group:hover .group-hover\:translate-y-0 {
  transform: translateY(0);
}

.group:hover .group-hover\:rotate-180 {
  transform: rotate(180deg);
}

.group-hover\:translate-y-0 {
  transform: translateY(0);
}

.group:hover .group-hover\:translate-y-0 {
  transform: translateY(0);
}

/* Dropdown hover animations */
.group:hover .absolute {
  animation: fadeInUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Dropdown menu improvements */
.dropdown-item {
  display: flex !important;
  align-items: center !important;
  padding: 0.75rem 1rem !important;
  transition: all 0.3s ease !important;
}

.dropdown-item:hover {
  background-color: rgba(239, 68, 68, 0.05) !important;
  transform: translateX(5px) !important;
}

.dropdown-item i {
  flex-shrink: 0 !important;
  width: 1.25rem !important;
  text-align: center !important;
}

/* =========================== ANIMATIONS =========================== */
.animate-bounce {
  animation: bounce 1s infinite;
}

.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.animate-fade-in {
  animation: fadeIn 0.6s ease-out;
}

.delay-300 {
  animation-delay: 300ms;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(-25%);
    animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
  }
  50% {
    transform: none;
    animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: .5;
  }
}

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


/* Smooth hover effects */
.hover-lift {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-lift:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* =========================== FOCUS STYLES =========================== */
.focus\:outline-none:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.focus\:text-primary:focus {
  color: #8aa624;
}

button:focus,
input:focus,
textarea:focus,
select:focus {
  outline: 2px solid #8aa624;
  outline-offset: 2px;
}

/* =========================== HOVER EFFECTS =========================== */
.hover\:bg-gray-100:hover {
  background-color: #f3f4f6;
}

.hover\:text-gray-900:hover {
  color: #111827;
}

.hover\:text-white:hover {
  color: white;
}

.hover\:bg-indigo-700:hover {
  background-color: #6b7c1a;
}

.hover\:bg-secondary:hover {
  background-color: #e69404;
}

.hover\:bg-accent:hover {
  background-color: #dbe4c9;
}

.hover\:border-red-200:hover {
  border-color: #fecaca;
}

/* Button hover effects */
button:hover {
  transform: translateY(-1px);
}

/* Remove all shadows and transforms for simple look */
button {
  box-shadow: none !important;
  transform: none !important;
}

button:hover {
  box-shadow: none !important;
  transform: none !important;
}

/* =========================== CUSTOM BREAKPOINTS =========================== */
/* Custom breakpoint for smooth responsive - Fixed for 1113px */
@media (min-width: 1150px) {
  .custom-lg\:flex {
    display: flex !important;
  }
  
  .custom-lg\:hidden {
    display: none !important;
  }
}

@media (max-width: 1149px) {
  .custom-lg\:flex {
    display: none !important;
  }
  
  .custom-lg\:hidden {
    display: block !important;
  }
}

/* Special fix for 1113px range */
@media (min-width: 1100px) and (max-width: 1200px) {
  .custom-lg\:flex {
    display: none !important;
  }
  
  .custom-lg\:hidden {
    display: block !important;
  }
  
  /* Header adjustments for this range */
  header .max-w-7xl {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  
  .h-22 {
    height: 4.5rem !important;
  }
  
  /* Logo adjustments */
  .logo-icon {
    width: 2.5rem !important;
    height: 2.5rem !important;
  }
  
  .text-2xl {
    font-size: 1.25rem !important;
  }
  
  .text-sm {
    font-size: 0.75rem !important;
  }
}

/* =========================== RESPONSIVE DESIGN =========================== */
/* Mobile menu positioning fixes */
@media (max-width: 1149px) {
  #mobile-menu {
    top: 4.5rem !important;
    height: calc(100vh - 4.5rem) !important;
  }
}

@media (max-width: 1099px) {
  #mobile-menu {
    top: 5.5rem !important;
    height: calc(100vh - 5.5rem) !important;
  }
}

@media (min-width: 1280px) {
  #mobile-menu {
    top: 6rem !important;
    height: calc(100vh - 6rem) !important;
  }
}

/* Responsive Grid Fixes */
@media (max-width: 768px) {
  .grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.75rem !important;
  }
  
  .mobile-card {
    padding: 1rem !important;
  }
  
  .mobile-card-icon {
    width: 3rem !important;
    height: 3rem !important;
  }

  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  
  .md\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  
  .md\:text-6xl {
    font-size: 3.75rem;
    line-height: 1;
  }

  .md\:block {
    display: block;
  }
  
  .md\:hidden {
    display: none;
  }
}

@media (max-width: 640px) {
  .grid-cols-2 {
    grid-template-columns: 1fr !important;
    gap: 0.5rem !important;
  }
  
  .mobile-card {
    padding: 0.75rem !important;
  }
  
  .mobile-card-icon {
    width: 2.5rem !important;
    height: 2.5rem !important;
  }
  
  .text-2xl {
    font-size: 1.25rem !important;
    line-height: 1.75rem !important;
  }
  
  .text-lg {
    font-size: 1rem !important;
    line-height: 1.5rem !important;
  }
  
  .text-base {
    font-size: 0.875rem !important;
    line-height: 1.25rem !important;
  }

  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .navbar {
    height: 4rem;
  }
  
  .logo-text {
    font-size: 1.25rem;
  }
  
  .mobile-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .sm\:px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  
  .sm\:px-3 {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
  
  .sm\:text-base {
    font-size: 1rem;
    line-height: 1.5rem;
  }
  
  .sm\:text-left {
    text-align: left;
  }
  
  .sm\:flex-row {
    flex-direction: row;
  }
  
  .sm\:w-auto {
    width: auto;
  }
  
  .sm\:items-start {
    align-items: flex-start;
  }

  /* Service cards responsive */
  .service-card {
    padding: 1rem !important;
  }
  
  .service-card h3 {
    font-size: 1rem !important;
  }
  
  .service-card p {
    font-size: 0.75rem !important;
  }
  
  .service-icon {
    width: 2.5rem !important;
    height: 2.5rem !important;
  }

}

@media (max-width: 480px) {
  .h-22 {
    height: 4rem !important;
  }
  
  .xl\:h-24 {
    height: 4rem !important;
  }
  
  .logo-icon {
    width: 2rem !important;
    height: 2rem !important;
  }
  
  .text-2xl {
    font-size: 1rem !important;
    line-height: 1.5rem !important;
  }
  
  .text-xl {
    font-size: 1rem !important;
    line-height: 1.5rem !important;
  }
  
  .px-4 {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }

  .navbar {
    height: 3.5rem;
  }
  
  .logo-text {
    font-size: 1rem;
  }
  
  .logo-subtitle {
    font-size: 0.625rem;
  }
}

@media (min-width: 1024px) {
  .lg\:hidden {
    display: none;
  }
  
  .lg\:flex {
    display: flex;
  }

  .lg\:px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
  }
  
  .lg\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

}

/* Additional responsive fixes */
@media (max-width: 1099px) and (min-width: 768px) {
  .container {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }
}

@media (max-width: 767px) {
  .container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
}

/* Responsive text sizes */
@media (max-width: 1023px) {
  .text-base {
    font-size: 1rem;
    line-height: 1.5rem;
  }

  .lg\:hidden {
    display: block;
  }
}

/* Responsive Navigation - Smooth Transitions */
nav {
  transition: all 0.3s ease-in-out;
}

nav button, nav a {
  transition: all 0.3s ease-in-out;
}

@media (min-width: 1400px) {
  nav {
    gap: 2.5rem;
  }
  
  nav button, nav a {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    font-size: 0.9375rem;
    font-weight: 600;
  }
  
  .dropdown-menu {
    width: 24rem;
  }
}

@media (min-width: 1280px) and (max-width: 1399px) {
  nav {
    gap: 2rem;
  }
  
  nav button, nav a {
    padding-left: 1rem;
    padding-right: 1rem;
    font-size: 0.9rem;
    font-weight: 600;
  }
  
  .dropdown-menu {
    width: 22rem;
  }
}

@media (min-width: 1200px) and (max-width: 1279px) {
  nav {
    gap: 1.75rem;
  }
  
  nav button, nav a {
    padding-left: 0.875rem;
    padding-right: 0.875rem;
    font-size: 0.875rem;
    font-weight: 600;
  }
  
  .dropdown-menu {
    width: 20rem;
  }
}

@media (min-width: 1100px) and (max-width: 1199px) {
  nav {
    gap: 1.5rem;
  }
  
  nav button, nav a {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    font-size: 0.8125rem;
    font-weight: 600;
  }
  
  .dropdown-menu {
    width: 18rem;
  }
}

/* =========================== ICON FONTS =========================== */
/* Icon fallback */
[class^="fa"], [class*=" fa"] {
  font-family: 'Font Awesome 6 Free', 'Font Awesome 5 Free', 'Font Awesome 4' !important;
  font-weight: 900;
  font-style: normal;
  display: inline-block;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
}

[class^="fab"], [class*=" fab"] {
  font-family: 'Font Awesome 6 Brands', 'Font Awesome 5 Brands' !important;
  font-weight: 400;
}

/* =========================== SCROLLBAR =========================== */
/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

/* =========================== IMAGE STYLES =========================== */
img {
  max-width: 100%;
  height: auto;
}

/* =========================== RING UTILITIES =========================== */
.ring-2 {
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}

.ring-indigo-500 {
  --tw-ring-color: #6366f1;
}



/* =========================== END OF STYLES =========================== */
