/* Enhanced Creative CSS for Zara Transport LTD */

:root {
  --primary-color: #015882;
  --primary-light: #0075aa;
  --secondary-color: #f97316;
  --accent-color: #fbbf24;
  --dark-color: #1f2937;
  --light-color: #f8fafc;
  --text-color: #374151;
  --white: #ffffff;
  --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
  --gradient-secondary: linear-gradient(135deg, var(--secondary-color) 0%, #ea580c 100%);
  --shadow-light: 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-medium: 0 8px 25px rgba(1, 88, 130, 0.15);
  --shadow-heavy: 0 20px 40px rgba(1, 88, 130, 0.2);
}

/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  scroll-padding-top: 76px;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

/* Loading Screen */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

.loading-content {
  text-align: center;
  color: white;
}

.truck-animation {
  font-size: 4rem;
  margin-bottom: 1rem;
  animation: truckMove 2s ease-in-out infinite;
}

.loading-text {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.loading-bar {
  width: 200px;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  overflow: hidden;
  margin: 0 auto;
}

.loading-progress {
  width: 100%;
  height: 100%;
  background: white;
  border-radius: 2px;
  animation: loadingProgress 2s ease-in-out infinite;
}

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

@keyframes loadingProgress {
  0% { transform: translateX(-100%); }
  50% { transform: translateX(0); }
  100% { transform: translateX(100%); }
}

/* Enhanced Bootstrap Overrides */
.bg-primary {
  background: var(--gradient-primary) !important;
}

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

.btn-primary {
  background: var(--gradient-primary);
  border: none;
  color: var(--white);
  transition: all 0.3s ease;
  font-weight: 600;
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
  transform: translateY(-2px);
  box-shadow: var(--shadow-heavy);
  color: var(--white);
}

.btn-warning {
  background: var(--gradient-secondary);
  border: none;
  color: white;
  transition: all 0.3s ease;
  font-weight: 600;
}

.btn-warning:hover {
  background: linear-gradient(135deg, #ea580c 0%, var(--secondary-color) 100%);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(249, 115, 22, 0.3);
}

/* Button Shine Effect */
.btn-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn:hover .btn-shine {
  left: 100%;
}

/* Enhanced Navigation */
.navbar {
  background: var(--gradient-primary) !important;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  padding: 1rem 0;
  box-shadow: var(--shadow-medium);
}

.navbar.scrolled {
  padding: 0.5rem 0;
  background: rgba(1, 88, 130, 0.95) !important;
  backdrop-filter: blur(20px);
}

.brand-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  transition: all 0.3s ease;
}

.navbar-brand:hover .logo-icon {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(5deg) scale(1.05);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-main {
  font-size: 1.4rem;
  font-weight: 800;
  color: white;
}

.brand-sub {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 2px;
}

.pulse-btn {
  animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 5px rgba(249, 115, 22, 0.5); }
  50% { box-shadow: 0 0 20px rgba(249, 115, 22, 0.8); }
}

/* Enhanced Hero Section */
.hero-section {
  background: var(--gradient-primary);
  background-image: url('https://images.pexels.com/photos/1405657/pexels-photo-1405657.jpeg?auto=compress&cs=tinysrgb&w=1920');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
  animation: particleFloat 20s ease-in-out infinite;
}

@keyframes particleFloat {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33% { transform: translateY(-20px) rotate(1deg); }
  66% { transform: translateY(10px) rotate(-1deg); }
}

.hero-overlay {
  background: linear-gradient(135deg, rgba(1, 88, 130, 0.9) 0%, rgba(0, 117, 170, 0.85) 100%);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  padding: 0.5rem 1.5rem;
  backdrop-filter: blur(10px);
  animation: fadeInUp 0.8s ease-out;
}

.badge-text {
  color: white;
  font-size: 0.9rem;
  font-weight: 500;
}

.hero-title {
  font-size: 4rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 2rem;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.text-gradient {
  background: linear-gradient(135deg, #fbbf24 0%, #f97316 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.3rem;
  line-height: 1.6;
  opacity: 0.95;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.tag-container {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-tag {
  background: white;
  color: var(--primary-color);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  border: 2px solid var(--primary-light);
  transition: all 0.3s ease;
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

.hero-tag:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  animation: fadeInUp 0.8s ease-out 0.8s both;
}

.cta-button {
  position: relative;
  overflow: hidden;
  border-radius: 50px;
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 700;
}

.phone-button {
  border-radius: 50px;
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.phone-button:hover {
  background: white;
  color: var(--primary-color);
  border-color: white;
}

.hero-stats {
  animation: fadeInUp 0.8s ease-out 1s both;
}

.stat-mini {
  text-align: center;
  padding: 1rem 0;
}

.stat-mini .stat-number {
  font-size: 1.8rem;
  font-weight: 800;
  color: white;
  line-height: 1;
}

.stat-mini .stat-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 0.25rem;
}

/* Hero Image Enhancements */
.hero-image-container {
  position: relative;
  animation: slideInRight 0.8s ease-out 0.3s both;
}

.floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.floating-icon {
  position: absolute;
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  backdrop-filter: blur(10px);
  animation: floatIcon 3s ease-in-out infinite;
  animation-delay: var(--delay);
  transform: translate(var(--x), var(--y));
}

@keyframes floatIcon {
  0%, 100% { transform: translate(var(--x), var(--y)) translateY(0px); }
  50% { transform: translate(var(--x), var(--y)) translateY(-10px); }
}

.main-truck-image {
  border-radius: 20px;
  transition: all 0.3s ease;
}

.main-truck-image:hover {
  transform: scale(1.02);
}

.image-overlay-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--primary-color);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  backdrop-filter: blur(10px);
  animation: slideInUp 0.8s ease-out 1.2s both;
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  animation: fadeInUp 0.8s ease-out 1.4s both;
}

.scroll-arrow {
  width: 40px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  animation: bounce 2s infinite;
  cursor: pointer;
  transition: all 0.3s ease;
}

.scroll-arrow:hover {
  border-color: white;
  background: rgba(255, 255, 255, 0.1);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
  60% { transform: translateY(-5px); }
}

/* Section Styling */
.section-badge {
  display: inline-block;
  background: linear-gradient(135deg, rgba(1, 88, 130, 0.1) 0%, rgba(0, 117, 170, 0.1) 100%);
  border: 1px solid rgba(1, 88, 130, 0.2);
  border-radius: 50px;
  padding: 0.5rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.section-title {
  position: relative;
  display: inline-block;
  text-align: center;
  width: 100%;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.section-subtitle {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

/* Enhanced Services Section */
.services-section {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  position: relative;
}

.services-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100px;
  /*background: linear-gradient(to bottom, rgba(248, 250, 252, 0) 0%, rgba(248, 250, 252, 1) 100%);*/
}

.service-card {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid transparent;
  background: white;
  position: relative;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-heavy);
  border-color: var(--primary-light);
}

.service-icon-container {
  position: relative;
  display: inline-block;
}

.service-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.icon-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, rgba(1, 88, 130, 0.1) 0%, rgba(0, 117, 170, 0.1) 100%);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.service-card:hover .icon-bg {
  transform: translate(-50%, -50%) scale(1.2);
  background: linear-gradient(135deg, rgba(1, 88, 130, 0.2) 0%, rgba(0, 117, 170, 0.2) 100%);
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
}

.featured-service {
  position: relative;
  border-color: var(--secondary-color);
}

.featured-badge {
  position: absolute;
  top: 10px;
  right: 20px;
  background: var(--gradient-secondary);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 3;
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}

.service-features {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.feature-tag {
  background: rgba(1, 88, 130, 0.1);
  color: var(--primary-color);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* Service Cards Mini */
.service-card-mini {
  background: white;
  border-radius: 15px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(1, 88, 130, 0.1);
  height: 100%;
}

.service-card-mini:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
  border-color: var(--primary-light);
}

.service-icon-mini {
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: white;
  margin: 0 auto 1rem;
  transition: all 0.3s ease;
}

.service-card-mini:hover .service-icon-mini {
  transform: scale(1.1) rotate(5deg);
}

/* Enhanced Gallery Section */
.gallery-section {
  background: white;
  position: relative;
}

.gallery-filter {
  margin-bottom: 3rem;
}

.filter-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
}

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

.gallery-grid {
  margin-bottom: 3rem;
}

.gallery-item-wrapper {
  transition: all 0.3s ease;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  border: 3px solid transparent;
  background: white;
}

.gallery-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-heavy);
  border-color: var(--primary-light);
}

.gallery-image-container {
  position: relative;
  overflow: hidden;
  border-radius: 17px;
}

.gallery-item img {
  transition: all 0.4s ease;
  height: 280px;
  object-fit: cover;
  width: 100%;
}

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

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, transparent 0%, rgba(1, 88, 130, 0.9) 70%, var(--primary-color) 100%);
  display: flex;
  align-items: flex-end;
  opacity: 0;
  transition: all 0.4s ease;
}

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

.gallery-content {
  padding: 2rem;
  width: 100%;
  transform: translateY(20px);
  transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-content {
  transform: translateY(0);
}

.gallery-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  margin-bottom: 1rem;
  backdrop-filter: blur(10px);
}

.gallery-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.gallery-tag {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  backdrop-filter: blur(10px);
}

/* Enhanced Statistics */
.stats-container {
  background: var(--gradient-primary);
  border-radius: 30px;
  padding: 4rem 2rem;
  margin-top: 4rem;
  position: relative;
  overflow: hidden;
}

.stats-container::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  animation: statsRotate 20s linear infinite;
}

@keyframes statsRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

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

.stat-icon {
  width: 70px;
  height: 70px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: white;
  margin: 0 auto 1.5rem;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.stat-card:hover .stat-icon {
  transform: scale(1.1);
  background: rgba(255, 255, 255, 0.2);
}

.stat-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}

.stat-number {
  font-size: 3rem;
  font-weight: 900;
  color: white;
  line-height: 1;
  display: inline-block;
}

.stat-plus,
.stat-percent,
.stat-separator {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-color);
  display: inline-block;
}

.stat-label {
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 0.5rem;
}

/* Enhanced About Section */
.about-section {
  background: var(--gradient-primary);
  position: relative;
  overflow: hidden;
}

.about-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.03)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

.text-white-75 {
  color: rgba(255, 255, 255, 0.75);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

.feature-icon {
  width: 50px;
  height: 50px;
  background: var(--accent-color);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--primary-color);
  flex-shrink: 0;
}

.about-image-container {
  position: relative;
}

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

.image-decorations {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.decoration-circle {
  position: absolute;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  animation: decorationFloat 6s ease-in-out infinite;
}

.circle-1 {
  width: 100px;
  height: 100px;
  top: -20px;
  right: -20px;
  animation-delay: 0s;
}

.circle-2 {
  width: 60px;
  height: 60px;
  bottom: 50px;
  left: -10px;
  animation-delay: 2s;
}

.circle-3 {
  width: 80px;
  height: 80px;
  top: 50%;
  right: -40px;
  animation-delay: 4s;
}

@keyframes decorationFloat {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(180deg); }
}

.experience-badge {
  position: absolute;
  bottom: 30px;
  left: 30px;
  background: white;
  border-radius: 20px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-heavy);
  z-index: 3;
}

.badge-number {
  font-size: 2rem;
  font-weight: 900;
  color: var(--primary-color);
  line-height: 1;
}

.badge-text {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-color);
  margin-top: 0.25rem;
}

/* Enhanced Contact Section */
.contact-section {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  position: relative;
}

.contact-form-container {
  background: white;
  border-radius: 25px;
  padding: 3rem;
  box-shadow: var(--shadow-medium);
  border: 1px solid rgba(1, 88, 130, 0.1);
  position: relative;
  overflow: hidden;
}

.contact-form-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--gradient-primary);
}

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

.form-floating {
  position: relative;
}

.form-control {
  border: 2px solid #e5e7eb;
  border-radius: 15px;
  padding: 1rem 1.25rem;
  transition: all 0.3s ease;
  background: #fafafa;
  font-size: 1rem;
}

.form-control:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(0, 117, 170, 0.1);
  background: white;
}

.form-floating label {
  padding: 1rem 1.25rem;
  color: #6b7280;
  font-weight: 500;
}

.submit-btn {
  position: relative;
  overflow: hidden;
  border-radius: 50px;
  padding: 1rem 3rem;
  font-size: 1.1rem;
  font-weight: 700;
  transition: all 0.3s ease;
}

.submit-btn.success {
  background: #10b981;
  border-color: #10b981;
}

.contact-info-container {
  background: white;
  border-radius: 25px;
  padding: 3rem;
  box-shadow: var(--shadow-medium);
  border: 1px solid rgba(1, 88, 130, 0.1);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.contact-info-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--gradient-secondary);
}

.contact-methods {
  margin: 2rem 0;
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid #e5e7eb;
  transition: all 0.3s ease;
}

.contact-method:last-child {
  border-bottom: none;
}

.contact-method:hover {
  transform: translateX(5px);
}

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

.contact-details h6 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.contact-link {
  color: var(--text-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  display: block;
  margin-bottom: 0.25rem;
}

.contact-link:hover {
  color: var(--primary-color);
}

.contact-note,
.contact-info {
  font-size: 0.9rem;
  color: #6b7280;
  margin: 0;
}

.quick-call-btn {
  border-radius: 50px;
  padding: 1rem 2rem;
  font-weight: 700;
  transition: all 0.3s ease;
}

.contact-badges {
  margin-top: 2rem;
}

.badge-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.contact-badge {
  flex: 1;
  background: rgba(1, 88, 130, 0.1);
  border: 1px solid rgba(1, 88, 130, 0.2);
  border-radius: 12px;
  padding: 0.75rem;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.contact-badge i {
  font-size: 1rem;
}

/* Enhanced Footer */
.footer-section {
  background: linear-gradient(135deg, var(--dark-color) 0%, #111827 100%);
  position: relative;
  overflow: hidden;
}

.footer-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.footer-brand {
  display: flex;
  align-items: center;
}

.text-white-50 {
  color: rgba(255, 255, 255, 0.5);
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
}

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

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-medium);
}

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

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

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

/* Responsive Design */
@media (max-width: 1200px) {
  .hero-title {
    font-size: 3.5rem;
  }
  
  .floating-icon {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
}

@media (max-width: 992px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
  }
  
  .hero-buttons .btn {
    width: 100%;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .stats-container {
    padding: 3rem 1rem;
  }
  
  .contact-form-container,
  .contact-info-container {
    padding: 2rem;
  }
  
  .stat-content {
    justify-content: center;
  }
  
  .stat-number {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .hero-section {
    background-attachment: scroll;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .tag-container {
    justify-content: center;
  }
  
  .hero-tag {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }
  
  .service-card {
    margin-bottom: 1rem;
  }
  
  .gallery-item img {
    height: 220px;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .stats-container {
    padding: 2rem 1rem;
  }
  
  .filter-buttons {
    gap: 0.5rem;
  }
  
  .filter-btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
  
  .floating-elements {
    display: none;
  }
  
  .brand-container {
    gap: 0.5rem;
  }
  
  .logo-icon {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
  
  .brand-main {
    font-size: 1.2rem;
  }
  
  .brand-sub {
    font-size: 0.8rem;
  }
  
  .stat-content {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }
  
  .stat-plus,
  .stat-percent,
  .stat-separator {
    font-size: 1.2rem;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .display-4 {
    font-size: 2rem;
  }
  
  .hero-stats .row {
    text-align: center;
  }
  
  .stat-mini .stat-number {
    font-size: 1.5rem;
  }
  
  .contact-form-container,
  .contact-info-container {
    padding: 1.5rem;
  }
  
  .badge-row {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .experience-badge {
    position: static;
    margin-top: 2rem;
    align-self: flex-start;
  }
  
  .stat-content {
    flex-direction: row;
    justify-content: center;
    align-items: baseline;
    gap: 0.25rem;
  }
  
  .stat-number {
    font-size: 2rem;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .hero-section,
  .back-to-top,
  .loading-screen,
  footer {
    display: none !important;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
    color: black;
  }
  
  .card {
    border: 1px solid #ccc !important;
    box-shadow: none !important;
  }
  
  .section-title::after {
    display: none;
  }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  .btn-primary {
    background: #000;
    border-color: #000;
  }
  
  .btn-warning {
    background: #ff6600;
    border-color: #ff6600;
  }
  
  .text-primary {
    color: #000 !important;
  }
}

/* Focus Styles for Accessibility */
.btn:focus,
.form-control:focus,
.nav-link:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Utility Classes */
.text-shadow {
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.bg-gradient-primary {
  background: var(--gradient-primary);
}

.border-primary-subtle {
  border-color: rgba(1, 88, 130, 0.2) !important;
}

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