/* ============================================
   AYAD & CO WEB SOLUTIONS - PREMIUM STYLESHEET
   ============================================ */

/* ===== IMPORTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Poppins:wght@600;700;800&display=swap');

/* ===== ROOT VARIABLES & BOOTSTRAP OVERRIDES ===== */
:root {
  /* Brand Colors */
  --bs-primary: #ec1c24;
  --bs-primary-rgb: 236, 28, 36;
  --bs-secondary: #111827;
  --bs-secondary-rgb: 17, 24, 39;
  
  /* Primary Variants */
  --primary-hover: #d11920;
  --primary-light: #ff4d54;
  --primary-dark: #c01419;
  --primary-50: rgba(236, 28, 36, 0.05);
  --primary-100: rgba(236, 28, 36, 0.1);
  --primary-200: rgba(236, 28, 36, 0.2);
  --primary-300: rgba(236, 28, 36, 0.3);
  --primary-500: rgba(236, 28, 36, 0.5);
  --primary-700: rgba(236, 28, 36, 0.7);
  --primary-900: rgba(236, 28, 36, 0.9);
  
  /* Secondary Variants */
  --secondary-hover: #1f2937;
  --secondary-light: #374151;
  --secondary-dark: #0a0e14;
  --secondary-50: rgba(17, 24, 39, 0.05);
  --secondary-100: rgba(17, 24, 39, 0.1);
  --secondary-300: rgba(17, 24, 39, 0.3);
  --secondary-500: rgba(17, 24, 39, 0.5);
  --secondary-700: rgba(17, 24, 39, 0.7);
  --secondary-900: rgba(17, 24, 39, 0.95);
  
  /* Neutral Palette */
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  
  /* Body & Text */
  --bs-body-bg: #ffffff;
  --bs-body-color: #374151;
  --bs-heading-color: #111827;
  
  /* Typography */
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  
  /* Spacing */
  --section-padding: 5rem;
  --section-padding-lg: 6rem;
  --section-padding-sm: 4rem;
  
  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1), 0 10px 10px rgba(0, 0, 0, 0.04);
  --shadow-primary: 0 10px 30px rgba(236, 28, 36, 0.25);
  
  /* Transitions */
  --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
}

/* ===== GLOBAL STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--bs-body-color);
  background-color: var(--bs-body-bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
  color: var(--bs-heading-color);
  margin-bottom: 1rem;
}

h1, .h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

h2, .h2 {
  font-size: clamp(1.875rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}

h3, .h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
}

h4, .h4 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 600;
}

h5, .h5 {
  font-size: 1.125rem;
  font-weight: 600;
}

h6, .h6 {
  font-size: 1rem;
  font-weight: 600;
}

p {
  margin-bottom: 1.25rem;
}

.lead {
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--gray-600);
}

.text-muted {
  color: var(--gray-500) !important;
}

/* ===== BOOTSTRAP OVERRIDES ===== */
.bg-primary {
  background-color: var(--bs-primary) !important;
}

.text-primary {
  color: var(--bs-primary) !important;
}

.bg-secondary {
  background-color: var(--bs-secondary) !important;
}

.text-secondary {
  color: var(--bs-secondary) !important;
}

.bg-dark {
  background-color: var(--bs-secondary) !important;
}

.bg-light {
  background-color: var(--gray-50) !important;
}

.bg-gray-100 {
  background-color: var(--gray-100) !important;
}

.border-primary {
  border-color: var(--bs-primary) !important;
}

/* ===== BUTTONS ===== */
.btn {
  font-family: var(--font-body);
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: var(--radius-md);
  transition: var(--transition-base);
  border: none;
  text-transform: none;
  letter-spacing: 0.01em;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background-color: var(--bs-primary);
  color: #ffffff;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background-color: var(--primary-hover);
  color: #ffffff;
  box-shadow: var(--shadow-primary);
  transform: translateY(-2px);
}

.btn-outline-primary {
  border: 2px solid var(--bs-primary);
  color: var(--bs-primary);
  background-color: transparent;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: var(--bs-secondary);
  color: #ffffff;
}

.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active {
  background-color: var(--secondary-hover);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-light {
  background-color: #ffffff;
  color: var(--bs-secondary);
  box-shadow: var(--shadow-md);
}

.btn-light:hover {
  background-color: var(--gray-50);
  color: var(--bs-primary);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
}

.btn-sm {
  padding: 0.5rem 1.5rem;
  font-size: 0.875rem;
}

/* ===== NAVBAR ===== */
.navbar {
  padding: 1rem 0;
  transition: var(--transition-base);
  background-color: transparent;
}

.navbar.scrolled {
  background-color: rgba(255, 255, 255, 0.98) !important;
  box-shadow: var(--shadow-md);
  padding: 0.5rem 0;
}

.navbar-brand {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--bs-primary);
  letter-spacing: -0.02em;
  transition: var(--transition-base);
}

.navbar-brand:hover {
  color: var(--primary-hover);
}

.navbar-nav .nav-link {
  font-weight: 500;
  color: var(--gray-700);
  padding: 0.5rem 1rem;
  transition: var(--transition-base);
  position: relative;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--bs-primary);
  transition: var(--transition-base);
  transform: translateX(-50%);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--bs-primary);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 80%;
}

.navbar-toggler {
  border: none;
  padding: 0.5rem;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23ec1c24' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ===== HERO SECTION ===== */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-900) 0%, var(--secondary-900) 100%);
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.4;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-section h1 {
  color: #ffffff;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-section .lead {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

.hero-image {
  position: relative;
  z-index: 2;
}

.hero-image img {
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
  width: 100%;
  height: auto;
}

/* ===== SECTIONS ===== */
section {
  padding: var(--section-padding) 0;
  position: relative;
}

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

.section-sm {
  padding: var(--section-padding-sm) 0;
}

.section-title {
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-subtitle {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--bs-primary);
  margin-bottom: 0.75rem;
  display: inline-block;
}

.section-description {
  font-size: 1.125rem;
  color: var(--gray-600);
  max-width: 700px;
  margin: 0 auto 3rem;
}

/* ===== CARDS ===== */
.card {
  border: none;
  border-radius: var(--radius-lg);
  transition: var(--transition-base);
  overflow: hidden;
  background-color: #ffffff;
  height: 100%;
}

.card.shadow-sm {
  box-shadow: var(--shadow-sm);
}

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

.card-img-top {
  border-radius: 0;
  transition: var(--transition-slow);
  aspect-ratio: 16/10;
  object-fit: cover;
}

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

.card-body {
  padding: 2rem;
}

.card-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--bs-heading-color);
}

.card-text {
  color: var(--gray-600);
  margin-bottom: 1.5rem;
}

.card-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--primary-100) 0%, var(--primary-50) 100%);
  color: var(--bs-primary);
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  transition: var(--transition-base);
}

.card:hover .card-icon {
  background: linear-gradient(135deg, var(--bs-primary) 0%, var(--primary-hover) 100%);
  color: #ffffff;
  transform: scale(1.1);
}

/* Service Cards */
.service-card {
  padding: 2.5rem;
  background: #ffffff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-base);
  border-left: 4px solid transparent;
}

.service-card:hover {
  border-left-color: var(--bs-primary);
  box-shadow: var(--shadow-lg);
  transform: translateX(8px);
}

/* Feature Cards */
.feature-card {
  text-align: center;
  padding: 2rem;
  transition: var(--transition-base);
}

.feature-card:hover {
  transform: translateY(-8px);
}

.feature-icon {
  width: 80px;
  height: 80px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-100) 0%, var(--primary-50) 100%);
  color: var(--bs-primary);
  font-size: 2rem;
  margin-bottom: 1.5rem;
  transition: var(--transition-base);
}

.feature-card:hover .feature-icon {
  background: linear-gradient(135deg, var(--bs-primary) 0%, var(--primary-hover) 100%);
  color: #ffffff;
  transform: rotate(360deg);
}

/* Testimonial Cards */
.testimonial-card {
  background: #ffffff;
  padding: 2.5rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  position: relative;
  transition: var(--transition-base);
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  font-size: 5rem;
  font-family: Georgia, serif;
  color: var(--primary-100);
  line-height: 1;
}

.testimonial-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}

.testimonial-text {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--gray-700);
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary-100);
}

.testimonial-info h5 {
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

.testimonial-info p {
  margin-bottom: 0;
  font-size: 0.875rem;
  color: var(--gray-500);
}

.testimonial-rating {
  color: #fbbf24;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

/* ===== STATS SECTION ===== */
.stats-section {
  background: linear-gradient(135deg, var(--primary-900) 0%, var(--secondary-900) 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.3;
}

.stat-item {
  text-align: center;
  padding: 2rem 1rem;
  position: relative;
  z-index: 1;
}

.stat-number {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  font-family: var(--font-heading);
  color: #ffffff;
  line-height: 1;
  margin-bottom: 0.5rem;
  display: block;
}

.stat-label {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.stat-icon {
  font-size: 2.5rem;
  color: var(--bs-primary);
  margin-bottom: 1rem;
  display: inline-block;
}

/* ===== CTA SECTION ===== */
.cta-section {
  background: linear-gradient(135deg, var(--bs-primary) 0%, var(--primary-hover) 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  color: #ffffff;
  margin-bottom: 1.5rem;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

/* ===== PROCESS / TIMELINE ===== */
.process-item {
  position: relative;
  padding-left: 5rem;
  margin-bottom: 3rem;
}

.process-number {
  position: absolute;
  left: 0;
  top: 0;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--bs-primary) 0%, var(--primary-hover) 100%);
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 800;
  border-radius: 50%;
  box-shadow: var(--shadow-primary);
}

.process-item h4 {
  margin-bottom: 0.75rem;
}

.process-item p {
  color: var(--gray-600);
  margin-bottom: 0;
}

/* ===== PORTFOLIO / GALLERY ===== */
.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  cursor: pointer;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--primary-900) 0%, var(--secondary-900) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-base);
  padding: 2rem;
  text-align: center;
}

.portfolio-item:hover img {
  transform: scale(1.1);
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-overlay h4 {
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.portfolio-overlay p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1rem;
}

.portfolio-icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #ffffff;
  font-size: 1.25rem;
  transition: var(--transition-base);
}

.portfolio-item:hover .portfolio-icon {
  background: #ffffff;
  color: var(--bs-primary);
  transform: scale(1.1);
}

/* ===== PRICING TABLES ===== */
.pricing-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition-base);
  text-align: center;
  position: relative;
  border: 2px solid transparent;
}

.pricing-card:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-xl);
  border-color: var(--bs-primary);
}

.pricing-card.featured {
  border-color: var(--bs-primary);
  box-shadow: var(--shadow-xl);
  transform: scale(1.05);
}

.pricing-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: var(--bs-primary);
  color: #ffffff;
  padding: 0.375rem 0.875rem;
  border-radius: var(--radius-md);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pricing-header {
  margin-bottom: 2rem;
}

.pricing-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.pricing-price {
  font-size: 3rem;
  font-weight: 800;
  color: var(--bs-primary);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.pricing-price span {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--gray-500);
}

.pricing-period {
  color: var(--gray-500);
  font-size: 0.875rem;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
}

.pricing-features li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--gray-100);
  color: var(--gray-700);
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features li i {
  color: var(--bs-primary);
  margin-right: 0.5rem;
}

/* ===== TEAM SECTION ===== */
.team-member {
  text-align: center;
  transition: var(--transition-base);
}

.team-member:hover {
  transform: translateY(-8px);
}

.team-avatar {
  position: relative;
  margin-bottom: 1.5rem;
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.team-avatar img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  transition: var(--transition-slow);
}

.team-member:hover .team-avatar img {
  transform: scale(1.1);
}

.team-social {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, var(--secondary-900) 0%, transparent 100%);
  padding: 1.5rem 1rem 1rem;
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition-base);
}

.team-member:hover .team-social {
  opacity: 1;
  transform: translateY(0);
}

.team-social a {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border-radius: 50%;
  transition: var(--transition-base);
}

.team-social a:hover {
  background: var(--bs-primary);
  transform: translateY(-4px);
}

.team-info h4 {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.team-role {
  color: var(--bs-primary);
  font-weight: 500;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ===== CONTACT FORM ===== */
.form-control,
.form-select {
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 0.875rem 1.25rem;
  font-size: 1rem;
  transition: var(--transition-base);
  background-color: #ffffff;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--bs-primary);
  box-shadow: 0 0 0 0.2rem var(--primary-100);
  outline: none;
}

.form-label {
  font-weight: 600;
  color: var(--bs-heading-color);
  margin-bottom: 0.5rem;
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.form-text {
  font-size: 0.875rem;
  color: var(--gray-500);
}

/* Contact Info */
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.5rem;
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  margin-bottom: 1.5rem;
  transition: var(--transition-base);
}

.contact-info-item:hover {
  background: #ffffff;
  box-shadow: var(--shadow-md);
  transform: translateX(8px);
}

.contact-info-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--bs-primary) 0%, var(--primary-hover) 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  font-size: 1.5rem;
  flex-shrink: 0;
}

.contact-info-content h5 {
  margin-bottom: 0.5rem;
  font-size: 1.125rem;
}

.contact-info-content p {
  margin-bottom: 0;
  color: var(--gray-600);
}

/* ===== FOOTER ===== */
.footer {
  background-color: var(--bs-secondary);
  color: rgba(255, 255, 255, 0.8);
  padding: 4rem 0 0;
}

.footer-brand {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--bs-primary);
  margin-bottom: 1rem;
  display: inline-block;
}

.footer-description {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.footer h5 {
  color: #ffffff;
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer h5::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 48px;
  height: 3px;
  background: var(--bs-primary);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition-base);
  display: inline-flex;
  align-items: center;
}

.footer-links a:hover {
  color: var(--bs-primary);
  transform: translateX(4px);
}

.footer-links a i {
  margin-right: 0.5rem;
  font-size: 0.875rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.footer-social a {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-radius: 50%;
  transition: var(--transition-base);
}

.footer-social a:hover {
  background: var(--bs-primary);
  transform: translateY(-4px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0;
  margin-top: 3rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
}

.footer-bottom a {
  color: var(--bs-primary);
  text-decoration: none;
  transition: var(--transition-base);
}

.footer-bottom a:hover {
  color: var(--primary-light);
}

/* ===== UTILITIES ===== */
.hover-primary {
  transition: var(--transition-base);
}

.hover-primary:hover {
  color: var(--bs-primary) !important;
}

.hover-lift {
  transition: var(--transition-base);
}

.hover-lift:hover {
  transform: translateY(-8px);
}

.hover-scale {
  transition: var(--transition-base);
}

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

.text-gradient {
  background: linear-gradient(135deg, var(--bs-primary) 0%, var(--primary-hover) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-gradient-primary {
  background: linear-gradient(135deg, var(--bs-primary) 0%, var(--primary-hover) 100%);
}

.bg-gradient-dark {
  background: linear-gradient(135deg, var(--primary-900) 0%, var(--secondary-900) 100%);
}

.overlay-gradient {
  position: relative;
}

.overlay-gradient::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--primary-900) 0%, var(--secondary-900) 100%);
  opacity: 0.9;
}

.border-top-primary {
  border-top: 4px solid var(--bs-primary) !important;
}

.border-left-primary {
  border-left: 4px solid var(--bs-primary) !important;
}

/* Spacing Utilities */
.py-5 {
  padding-top: 5rem !important;
  padding-bottom: 5rem !important;
}

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

/* ===== BREADCRUMB ===== */
.breadcrumb {
  background: transparent;
  padding: 0;
  margin-bottom: 2rem;
}

.breadcrumb-item {
  font-size: 0.875rem;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: '›';
  color: var(--gray-400);
}

.breadcrumb-item a {
  color: var(--gray-600);
  text-decoration: none;
  transition: var(--transition-base);
}

.breadcrumb-item a:hover {
  color: var(--bs-primary);
}

.breadcrumb-item.active {
  color: var(--bs-primary);
}

/* ===== PAGINATION ===== */
.pagination {
  gap: 0.5rem;
}

.page-link {
  border: 2px solid var(--gray-200);
  color: var(--gray-700);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  transition: var(--transition-base);
}

.page-link:hover {
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
  color: #ffffff;
}

.page-item.active .page-link {
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
}

/* ===== BADGES ===== */
.badge {
  padding: 0.5rem 1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
}

.badge-primary {
  background-color: var(--bs-primary);
  color: #ffffff;
}

.badge-secondary {
  background-color: var(--bs-secondary);
  color: #ffffff;
}

/* ===== ALERTS ===== */
.alert {
  border: none;
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  border-left: 4px solid;
}

.alert-primary {
  background-color: var(--primary-50);
  border-left-color: var(--bs-primary);
  color: var(--primary-dark);
}

.alert-success {
  background-color: #d1fae5;
  border-left-color: #10b981;
  color: #065f46;
}

.alert-warning {
  background-color: #fef3c7;
  border-left-color: #f59e0b;
  color: #92400e;
}

.alert-danger {
  background-color: #fee2e2;
  border-left-color: #ef4444;
  color: #991b1b;
}

/* ===== ACCORDION ===== */
.accordion-item {
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg) !important;
  margin-bottom: 1rem;
  overflow: hidden;
}

.accordion-button {
  font-weight: 600;
  color: var(--bs-heading-color);
  background-color: #ffffff;
  padding: 1.25rem 1.5rem;
}

.accordion-button:not(.collapsed) {
  background-color: var(--primary-50);
  color: var(--bs-primary);
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: none;
  border-color: var(--bs-primary);
}

.accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ec1c24'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
  padding: 1.5rem;
  color: var(--gray-600);
}

/* ===== TABS ===== */
.nav-tabs {
  border-bottom: 2px solid var(--gray-200);
}

.nav-tabs .nav-link {
  border: none;
  color: var(--gray-600);
  font-weight: 600;
  padding: 1rem 1.5rem;
  transition: var(--transition-base);
  position: relative;
}

.nav-tabs .nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--bs-primary);
  transform: scaleX(0);
  transition: var(--transition-base);
}

.nav-tabs .nav-link:hover {
  color: var(--bs-primary);
  border-color: transparent;
}

.nav-tabs .nav-link.active {
  color: var(--bs-primary);
  background-color: transparent;
  border-color: transparent;
}

.nav-tabs .nav-link.active::after {
  transform: scaleX(1);
}

.tab-content {
  padding: 2rem 0;
}

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bs-primary);
  color: #ffffff;
  border-radius: 50%;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-base);
  z-index: 1000;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--primary-hover);
  transform: translateY(-4px);
}

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

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

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

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

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

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

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

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

.animate-scale-in {
  animation: scaleIn 0.6s ease-out;
}

.animate-slide-in-left {
  animation: slideInLeft 0.6s ease-out;
}

.animate-slide-in-right {
  animation: slideInRight 0.6s ease-out;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1199.98px) {
  :root {
    --section-padding: 4rem;
    --section-padding-lg: 5rem;
  }
}

@media (max-width: 991.98px) {
  :root {
    --section-padding: 3.5rem;
    --section-padding-lg: 4rem;
  }
  
  .navbar-nav .nav-link {
    padding: 0.75rem 0;
  }
  
  .navbar-nav .nav-link::after {
    display: none;
  }
  
  .hero-section {
    min-height: auto;
    padding: 6rem 0 4rem;
  }
  
  .process-item {
    padding-left: 4rem;
  }
  
  .process-number {
    width: 56px;
    height: 56px;
    font-size: 1.25rem;
  }
}

@media (max-width: 767.98px) {
  :root {
    --section-padding: 3rem;
    --section-padding-lg: 3.5rem;
  }
  
  .btn {
    padding: 0.625rem 1.5rem;
  }
  
  .btn-lg {
    padding: 0.875rem 2rem;
  }
  
  .hero-section {
    padding: 5rem 0 3rem;
  }
  
  .card-body {
    padding: 1.5rem;
  }
  
  .service-card,
  .testimonial-card {
    padding: 2rem;
  }
  
  .pricing-card {
    padding: 2rem;
  }
  
  .stat-item {
    padding: 1.5rem 0.5rem;
  }
  
  .back-to-top {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 44px;
    height: 44px;
  }
  
  .footer {
    padding: 3rem 0 0;
  }
  
  .footer h5 {
    margin-top: 2rem;
  }
  
  .footer h5:first-child {
    margin-top: 0;
  }
}

@media (max-width: 575.98px) {
  :root {
    --section-padding: 2.5rem;
    --section-padding-lg: 3rem;
  }
  
  .section-description {
    font-size: 1rem;
  }
  
  .process-item {
    padding-left: 3.5rem;
  }
  
  .process-number {
    width: 48px;
    height: 48px;
    font-size: 1.125rem;
  }
  
  .contact-info-icon {
    width: 48px;
    height: 48px;
    font-size: 1.25rem;
  }
  
  .card-icon,
  .feature-icon {
    width: 56px;
    height: 56px;
    font-size: 1.5rem;
  }
}

/* ===== PRINT STYLES ===== */
@media print {
  .navbar,
  .footer,
  .back-to-top,
  .btn,
  .cta-section {
    display: none !important;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.5;
    color: #000;
  }
  
  h1, h2, h3, h4, h5, h6 {
    page-break-after: avoid;
    color: #000;
  }
  
  img {
    max-width: 100% !important;
  }
  
  .card,
  .service-card,
  .testimonial-card {
    page-break-inside: avoid;
    box-shadow: none !important;
    border: 1px solid #ddd !important;
  }
}