/* ========================================
   CSS VARIABLES & ROOT STYLES
======================================== */
:root {
  /* Primary Gradient Colors */
  --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --primary-gradient-hover: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
  --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --accent-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  --success-gradient: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
  --warning-gradient: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
  --danger-gradient: linear-gradient(135deg, #ff8a80 0%, #ea4c89 100%);
  
  /* Base Colors */
  --primary-color: #667eea;
  --primary-dark: #5a67d8;
  --secondary-color: #f093fb;
  --secondary-dark: #e879f9;
  --accent-color: #4facfe;
  --accent-dark: #3b82f6;
  
  /* Neutral Colors */
  --white: #ffffff;
  --black: #000000;
  --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;
  
  /* Background Gradients */
  --bg-gradient-primary: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
  --bg-gradient-secondary: linear-gradient(135deg, rgba(240, 147, 251, 0.1) 0%, rgba(245, 87, 108, 0.1) 100%);
  --bg-gradient-dark: linear-gradient(135deg, rgba(31, 41, 55, 0.95) 0%, rgba(17, 24, 39, 0.95) 100%);
  
  /* Text Colors */
  --text-primary: #1f2937;
  --text-secondary: #6b7280;
  --text-light: #9ca3af;
  --text-white: #ffffff;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  
  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);
  --glass-backdrop: blur(20px);
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  --transition-bounce: 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  
  /* Spacing */
  --section-padding: 5rem 0;
  --section-padding-sm: 3rem 0;
  
  /* Border Radius */
  --border-radius-sm: 0.375rem;
  --border-radius-md: 0.5rem;
  --border-radius-lg: 0.75rem;
  --border-radius-xl: 1rem;
  --border-radius-2xl: 1.5rem;
}

/* ========================================
   BASE STYLES & TYPOGRAPHY
======================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Nunito', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

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

p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

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

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ========================================
   GLOBAL BUTTON STYLES
======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 2rem;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: none;
  border-radius: var(--border-radius-lg);
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  min-width: 180px;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: var(--transition-slow);
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--primary-gradient);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background: var(--primary-gradient-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--white);
}

.btn-secondary {
  background: var(--secondary-gradient);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
  background: linear-gradient(135deg, #e879f9 0%, #ec4899 100%);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--white);
}

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

.btn-outline-primary:hover {
  background: var(--primary-gradient);
  color: var(--white);
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

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

.btn-outline-light:hover {
  background: var(--white);
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  min-width: 200px;
}

.btn-sm {
  padding: 0.5rem 1.5rem;
  font-size: 0.9rem;
  min-width: 140px;
}

/* ========================================
   NAVIGATION STYLES
======================================== */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: var(--glass-backdrop);
  border-bottom: 1px solid var(--glass-border);
  transition: all var(--transition-normal);
  padding: 1rem 0;
}

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

.navbar-brand {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 1.75rem;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: var(--transition-normal);
}

.navbar-brand:hover {
  background: var(--secondary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-link {
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: var(--text-primary) !important;
  margin: 0 0.5rem;
  padding: 0.5rem 1rem !important;
  border-radius: var(--border-radius-md);
  transition: all var(--transition-normal);
  position: relative;
}

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

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

.nav-link:hover {
  color: var(--primary-color) !important;
  background: var(--bg-gradient-primary);
}

.dropdown-menu {
  border: none;
  box-shadow: var(--shadow-xl);
  border-radius: var(--border-radius-lg);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: var(--glass-backdrop);
  margin-top: 0.5rem;
}

.dropdown-item {
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  transition: var(--transition-normal);
}

.dropdown-item:hover {
  background: var(--bg-gradient-primary);
  color: var(--primary-color);
}

/* ========================================
   HERO SECTION STYLES
======================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-gradient-dark);
}

.hero-section h1,
.hero-section p,
.hero-section .lead {
  color: var(--white) !important;
}

.hero-section h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  animation: fadeInUp 1s ease 0.2s both;
}

.hero-section .lead {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  font-weight: 400;
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease 0.4s both;
}

.hero-buttons {
  animation: fadeInUp 1s ease 0.6s both;
}

.hero-btn {
  margin: 0.5rem;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

.scroll-arrow {
  width: 30px;
  height: 30px;
  border-right: 2px solid var(--white);
  border-bottom: 2px solid var(--white);
  transform: rotate(45deg);
}

/* ========================================
   SECTION STYLES
======================================== */
.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  text-align: center;
  margin-bottom: 1rem;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 1.2rem;
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 3rem;
}

/* Statistics Section */
.statistics-section {
  background: var(--bg-gradient-primary);
  padding: var(--section-padding);
}

.stat-widget {
  text-align: center;
  padding: 2rem 1rem;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: var(--glass-backdrop);
  border-radius: var(--border-radius-xl);
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-normal);
  border: 1px solid var(--glass-border);
}

.stat-widget:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-2xl);
}

.stat-icon {
  font-size: 3rem;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-number {
  font-family: 'Oswald', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin: 0;
}

/* Services Section */
.services-section {
  padding: var(--section-padding);
  background: var(--white);
}

.service-card {
  border: none;
  border-radius: var(--border-radius-xl);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: all var(--transition-normal);
  background: var(--white);
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.service-card .card-image {
  position: relative;
  overflow: hidden;
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card .card-img-top {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

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

.service-card .card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.service-card .card-title {
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.service-card .card-text {
  color: var(--text-secondary);
  flex: 1;
  margin-bottom: 1.5rem;
}

/* Projects Section */
.projects-section {
  padding: var(--section-padding);
  background: var(--bg-gradient-secondary);
}

.project-card {
  border: none;
  border-radius: var(--border-radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transition: all var(--transition-normal);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: var(--glass-backdrop);
  display: flex;
  flex-direction: column;
}

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

.project-card .card-image {
  position: relative;
  overflow: hidden;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-card .card-img-top {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

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

.project-card .card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  text-align: center;
}

/* Blog Section */
.blog-section {
  padding: var(--section-padding);
  background: var(--white);
}

.blog-card {
  border: none;
  border-radius: var(--border-radius-xl);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: all var(--transition-normal);
  background: var(--white);
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.blog-card .card-image {
  position: relative;
  overflow: hidden;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-card .card-img-top {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-normal);
}

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

.blog-card .card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.blog-meta {
  margin-bottom: 1rem;
}

.blog-meta .badge {
  background: var(--primary-gradient);
  border: none;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius-md);
  font-weight: 600;
}

/* History Section */
.history-section {
  padding: var(--section-padding);
  background: var(--bg-gradient-primary);
}

.image-container {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius-xl);
  box-shadow: var(--shadow-xl);
}

.image-container img {
  width: 100%;
  height: auto;
  transition: var(--transition-slow);
}

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

/* Insights Section */
.insights-section {
  padding: var(--section-padding);
  background: var(--gray-50);
}

.insight-card {
  border: none;
  border-radius: var(--border-radius-xl);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  background: var(--white);
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.insight-card .card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.testimonial-avatar {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.testimonial-avatar img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border: 3px solid var(--primary-color);
  margin: 0 auto;
}

.blockquote {
  font-style: italic;
  font-size: 1.1rem;
  color: var(--text-secondary);
}

.blockquote-footer {
  font-weight: 600;
  color: var(--primary-color);
}

/* External Resources Section */
.resources-section {
  padding: var(--section-padding);
  background: var(--bg-gradient-secondary);
}

.resources-grid {
  display: grid;
  gap: 1.5rem;
}

.resource-item {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: var(--glass-backdrop);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  text-align: center;
}

.resource-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

/* ========================================
   CONTACT SECTION STYLES
======================================== */
.contact-section {
  padding: var(--section-padding);
  background: var(--white);
}

.contact-form-wrapper {
  background: var(--white);
  border-radius: var(--border-radius-xl);
  box-shadow: var(--shadow-xl);
  padding: 3rem;
  border: 1px solid var(--gray-200);
}

.contact-form .form-control,
.contact-form .form-select {
  border: 2px solid var(--gray-200);
  border-radius: var(--border-radius-lg);
  padding: 1rem;
  font-size: 1rem;
  transition: all var(--transition-normal);
  background: var(--white);
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
  outline: none;
}

.contact-form .form-floating > label {
  color: var(--text-secondary);
  font-weight: 500;
}

.contact-submit-btn {
  position: relative;
  overflow: hidden;
}

.btn-loader {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.contact-info-item {
  text-align: center;
  padding: 2rem;
  background: var(--bg-gradient-primary);
  border-radius: var(--border-radius-xl);
  transition: all var(--transition-normal);
}

.contact-info-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.contact-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--primary-gradient);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto;
}

.contact-info-item h5 {
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.contact-info-item p {
  color: var(--text-secondary);
  margin: 0;
}

/* ========================================
   FOOTER STYLES
======================================== */
.footer {
  background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-800) 100%);
  color: var(--gray-300);
  padding: var(--section-padding);
}

.footer-title {
  color: var(--white);
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 50px;
  height: 2px;
  background: var(--primary-gradient);
}

.footer-text {
  color: var(--gray-400);
  line-height: 1.6;
}

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

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

.footer-links a {
  color: var(--gray-400);
  text-decoration: none;
  transition: var(--transition-normal);
  position: relative;
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 0.5rem;
}

.footer-links a::before {
  content: '';
  position: absolute;
  left: -10px;
  top: 50%;
  width: 0;
  height: 2px;
  background: var(--primary-gradient);
  transition: var(--transition-normal);
  transform: translateY(-50%);
}

.footer-links a:hover::before {
  width: 5px;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  color: var(--gray-400);
  text-decoration: none;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius-md);
  background: rgba(255, 255, 255, 0.1);
  transition: all var(--transition-normal);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-links a:hover {
  color: var(--white);
  background: var(--primary-gradient);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.footer-divider {
  border-color: var(--gray-700);
  margin: 2rem 0;
}

.footer-copyright {
  color: var(--gray-400);
  font-size: 0.9rem;
}

.footer-location {
  color: var(--gray-400);
  font-size: 0.9rem;
}

/* ========================================
   MODAL STYLES
======================================== */
.modal-content {
  border: none;
  border-radius: var(--border-radius-xl);
  box-shadow: var(--shadow-2xl);
}

.modal-header {
  background: var(--bg-gradient-primary);
  border-bottom: 1px solid var(--gray-200);
  border-radius: var(--border-radius-xl) var(--border-radius-xl) 0 0;
}

.modal-title {
  color: var(--text-primary);
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
}

.modal-body {
  padding: 2rem;
}

.modal-footer {
  border-top: 1px solid var(--gray-200);
  padding: 1.5rem 2rem;
}

/* ========================================
   UTILITY CLASSES
======================================== */
.text-gradient-primary {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-secondary {
  background: var(--secondary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-glass {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-backdrop);
  border: 1px solid var(--glass-border);
}

.shadow-custom {
  box-shadow: var(--shadow-xl);
}

/* ========================================
   PAGE-SPECIFIC STYLES
======================================== */
/* Success Page */
.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-gradient-primary);
}

.success-content {
  text-align: center;
  background: var(--white);
  padding: 4rem 3rem;
  border-radius: var(--border-radius-2xl);
  box-shadow: var(--shadow-2xl);
  max-width: 600px;
}

.success-icon {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--success-gradient);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  margin: 0 auto 2rem;
  animation: pulse 2s infinite;
}

/* Privacy & Terms Pages */
.privacy-page,
.terms-page {
  padding-top: 100px;
}

.privacy-content,
.terms-content {
  max-width: 100%;
  margin: 0 auto;
  padding: 2rem;
  background: var(--white);
  border-radius: var(--border-radius-xl);
  box-shadow: var(--shadow-lg);
}

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

@keyframes bounce {
  0%, 20%, 53%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40%, 43% {
    transform: translateX(-50%) translateY(-10px);
  }
  70% {
    transform: translateX(-50%) translateY(-5px);
  }
  90% {
    transform: translateX(-50%) translateY(-2px);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

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

/* Parallax Animation */
.parallax-element {
  will-change: transform;
}

/* Scroll Reveal Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all var(--transition-slow);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   RESPONSIVE DESIGN
======================================== */
@media (max-width: 1200px) {
  .hero-section h1 {
    font-size: 3rem;
  }
  
  .section-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 992px) {
  :root {
    --section-padding: 4rem 0;
  }
  
  .hero-section h1 {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .contact-form-wrapper {
    padding: 2rem;
  }
  
  .social-links {
    justify-content: center;
    flex-wrap: wrap;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 3rem 0;
  }
  
  .hero-section {
    text-align: center;
  }
  
  .hero-bg {
    background-attachment: scroll;
  }
  
  .hero-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  .hero-btn {
    width: 100%;
    max-width: 300px;
  }
  
  .btn {
    min-width: auto;
    width: 100%;
  }
  
  .btn-lg {
    min-width: auto;
  }
  
  .btn-sm {
    min-width: auto;
  }
  
  .navbar-brand {
    font-size: 1.5rem;
  }
  
  .stat-number {
    font-size: 2.5rem;
  }
  
  .contact-form-wrapper {
    padding: 1.5rem;
  }
  
  .success-content {
    padding: 3rem 2rem;
    margin: 1rem;
  }
}

@media (max-width: 576px) {
  .hero-section h1 {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .service-card .card-image,
  .project-card .card-image,
  .blog-card .card-image {
    height: 200px;
  }
  
  .stat-widget {
    padding: 1.5rem 1rem;
  }
  
  .contact-info-item {
    padding: 1.5rem;
  }
  
  .footer {
    text-align: center;
  }
  
  .social-links {
    justify-content: center;
  }
}

/* ========================================
   PRINT STYLES
======================================== */
@media print {
  .navbar,
  .footer,
  .btn,
  .contact-form,
  .modal {
    display: none !important;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
    color: #000;
    background: #fff;
  }
  
  h1, h2, h3, h4, h5, h6 {
    color: #000;
  }
  
  .hero-section {
    min-height: auto;
    padding: 2rem 0;
  }
  
  .section-padding {
    padding: 1rem 0;
  }
}

/* ========================================
   ACCESSIBILITY IMPROVEMENTS
======================================== */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Focus styles for better keyboard navigation */
.btn:focus,
.nav-link:focus,
.form-control:focus,
.form-select:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --text-primary: #000;
    --text-secondary: #333;
    --gray-200: #ccc;
    --gray-300: #999;
  }
}