/* Reset & Base */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: 
    /* Animated wave pattern */
    radial-gradient(circle at 20% 10%, rgba(0,86,179,0.15) 0%, transparent 25%),
    radial-gradient(circle at 80% 20%, rgba(211,47,47,0.1) 0%, transparent 30%),
    radial-gradient(circle at 40% 70%, rgba(0,86,179,0.08) 0%, transparent 35%),
    radial-gradient(circle at 90% 90%, rgba(211,47,47,0.12) 0%, transparent 25%),
    /* Geometric shapes */
    linear-gradient(45deg, transparent 40%, rgba(0,86,179,0.03) 50%, transparent 60%),
    linear-gradient(-45deg, transparent 40%, rgba(211,47,47,0.04) 50%, transparent 60%),
    /* Base gradient */
    linear-gradient(135deg, #eaf2fb 0%, #d6e8fc 50%, #f0f7ff 100%);
  background-size: 
    800px 800px,
    600px 600px,
    900px 900px,
    700px 700px,
    200px 200px,
    200px 200px,
    100% 100%;
  background-position:
    0% 0%,
    100% 0%,
    50% 100%,
    100% 100%,
    0% 0%,
    0% 0%,
    0% 0%;
  animation: backgroundShift 20s ease-in-out infinite;
  color: #23272f;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Animated background movement */
@keyframes backgroundShift {
  0%, 100% {
    background-position:
      0% 0%,
      100% 0%,
      50% 100%,
      100% 100%,
      0% 0%,
      100% 0%,
      0% 0%;
  }
  25% {
    background-position:
      10% 10%,
      90% 10%,
      40% 90%,
      90% 80%,
      5% 5%,
      95% 5%,
      0% 0%;
  }
  50% {
    background-position:
      20% 20%,
      80% 20%,
      30% 80%,
      80% 70%,
      10% 10%,
      90% 10%,
      0% 0%;
  }
  75% {
    background-position:
      10% 30%,
      90% 30%,
      60% 70%,
      70% 60%,
      15% 15%,
      85% 15%,
      0% 0%;
  }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(45deg, #0056b3, #d32f2f);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(45deg, #d32f2f, #0056b3);
}

/* Header */
header {
  position: sticky;
  top: 0;
  background: rgba(255 255 255 / 0.85);
  backdrop-filter: saturate(180%) blur(15px);
  padding: 18px 48px;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 20px rgba(0,86,179,0.1);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  border-bottom: 1px solid rgba(0,86,179,0.1);
}

header.scrolled {
  background: rgba(0, 86, 179 / 0.95);
  box-shadow: 0 4px 32px rgba(0, 86, 179, 0.3);
  transform: translateY(-2px);
}

.logo {
  font-weight: 900;
  font-size: 1.8rem;
  background: linear-gradient(135deg, #0056b3, #d32f2f);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 0.02em;
  user-select: none;
  position: relative;
  transition: all 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 2px 8px rgba(0,86,179,0.3));
}

.logo span {
  color: #d32f2f;
  font-weight: 600;
  -webkit-text-fill-color: #d32f2f;
}

nav {
  display: flex;
  gap: 32px;
}

nav a {
  color: #23272f;
  font-weight: 600;
  text-decoration: none;
  position: relative;
  padding: 12px 16px;
  border-radius: 25px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

nav a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0,86,179,0.1), transparent);
  transition: left 0.5s;
}

nav a:hover::before {
  left: 100%;
}

header.scrolled nav a {
  color: #000;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 50%;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, #0056b3, #d32f2f);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 1.5px;
  transform: translateX(-50%);
}

nav a:hover::after,
nav a:focus-visible::after {
  width: 80%;
}

nav a:hover,
nav a:focus-visible {
  color: #d32f2f;
  background: rgba(211,47,47,0.05);
  transform: translateY(-2px);
}

header.scrolled nav a:hover,
header.scrolled nav a:focus-visible {
  color: #aae1ff;
  background: rgba(255,255,255,0.1);
}

.navbar-logo {
  height: 44px;
  width: auto;
  margin-right: 1px;
  vertical-align: middle;
  border-radius: 11px;
  box-shadow: 0 2px 9px rgba(0,86,179,0.09);
  background: transparent;
}
@media (max-width: 600px) {
  .navbar-logo { height: 34px; margin-right: 9px;}
}


.hamburger {
  display: none;
  font-size: 1.8rem;
  color: #23272f;
  cursor: pointer;
  user-select: none;
  padding: 8px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.hamburger:hover {
  background: rgba(0,86,179,0.1);
  transform: scale(1.1);
}

/* Hero Section with Enhanced Animations */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  width: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  background: url('https://images.pexels.com/photos/906982/pexels-photo-906982.jpeg') center center/cover no-repeat;
  color: #fff;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,86,179,0.3), rgba(211,47,47,0.2));
  animation: gradientShift 8s ease-in-out infinite;
  z-index: 1;
}

@keyframes gradientShift {
  0%, 100% {
    background: linear-gradient(135deg, rgba(0,86,179,0.3), rgba(211,47,47,0.2));
  }
  50% {
    background: linear-gradient(135deg, rgba(211,47,47,0.3), rgba(0,86,179,0.2));
  }
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.4) 10%, rgba(0,0,0,0.2) 60%, rgba(0,0,0,0));
  backdrop-filter: blur(2px);
  z-index: 2;
}

.hero-content {
  position: relative;
  max-width: 700px;
  text-align: center;
  padding: 3rem 2.5rem 4rem;
  border-radius: 24px;
  backdrop-filter: blur(20px);
  background: linear-gradient(135deg, rgba(255,255,255,0.15), rgba(255,255,255,0.05));
  box-shadow: 
    0 8px 32px rgba(0, 86, 179, 0.2),
    inset 0 1px 0 rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.1);
  user-select: none;
  z-index: 3;
  animation: heroFloat 6s ease-in-out infinite;
}

@keyframes heroFloat {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

.hero h1 {
  font-weight: 900;
  font-size: 4.2rem;
  letter-spacing: 0.05em;
  margin-bottom: 0.5em;
  text-shadow: 0 4px 20px rgba(0,0,0,0.5);
  line-height: 1.1;
  animation: textGlow 3s ease-in-out infinite alternate;
}

@keyframes textGlow {
  from {
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
  }
  to {
    text-shadow: 0 4px 20px rgba(0,0,0,0.5), 0 0 30px rgba(255,255,255,0.3);
  }
}

.highlight {
  background: linear-gradient(45deg, #d32f2f, #ff6b6b);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
  animation: highlightPulse 2s ease-in-out infinite;
}

@keyframes highlightPulse {
  0%, 100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.2);
  }
}

.hero p {
  font-weight: 500;
  font-size: 1.4rem;
  margin-bottom: 2em;
  text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

.hero-anim {
  display: inline-block;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-5px);
  }
  60% {
    transform: translateY(-3px);
  }
}

.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 150px;
  z-index: 2;
  animation: wave 3s ease-in-out infinite;
  pointer-events: none;
}

@keyframes wave {
  0%, 100% {
    transform: translateX(0px);
  }
  50% {
    transform: translateX(-10px);
  }
}

/* Enhanced Button Styles */
.btn {
  display: inline-block;
  padding: 16px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.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: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, #0056b3, #d32f2f);
  color: white;
  box-shadow: 0 8px 25px rgba(211, 47, 47, 0.4);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: linear-gradient(135deg, #d32f2f, #0056b3);
  box-shadow: 0 12px 35px rgba(211, 47, 47, 0.6);
  transform: translateY(-3px) scale(1.05);
  outline: none;
}

.btn-primary:active {
  transform: translateY(-1px) scale(1.02);
}

/* Section General */
.section {
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 2rem;
  text-align: center;
  position: relative;
}

.section::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 50%;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #0056b3, #d32f2f);
  border-radius: 2px;
  transform: translateX(-50%);
  opacity: 0.7;
}

.section h2 {
  font-weight: 900;
  font-size: 3rem;
  background: linear-gradient(135deg, #0056b3, #d32f2f);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 0.04em;
  margin-bottom: 3rem;
  user-select: none;
  position: relative;
  text-shadow: 0 4px 8px rgba(0,86,179,0.1);
}

.section h2::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #0056b3, #d32f2f);
  border-radius: 2px;
  transform: translateX(-50%);
  animation: underlineGrow 1s ease-out forwards;
}

@keyframes underlineGrow {
  from {
    width: 0;
  }
  to {
    width: 80px;
  }
}

/* Enhanced Glassmorphism */
.glass {
  background: linear-gradient(135deg, rgba(255,255,255,0.25), rgba(255,255,255,0.1));
  border-radius: 24px;
  padding: 50px 40px;
  backdrop-filter: saturate(180%) blur(25px);
  box-shadow: 
    0 8px 32px rgba(0, 86, 179, 0.15),
    inset 0 1px 0 rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.2);
  position: relative;
  overflow: hidden;
}

.glass::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #0056b3, transparent);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

/* Enhanced Service Cards */
.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.service-card {
  background: linear-gradient(135deg, #fff, #f8faff);
  border-radius: 20px;
  padding: 3rem 2rem;
  box-shadow: 
    0 10px 30px rgba(0,86,179,0.1),
    0 1px 8px rgba(0,0,0,0.06);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  user-select: none;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0,86,179,0.1);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0,86,179,0.05), rgba(211,47,47,0.05));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover::before {
  opacity: 1;
}

.service-card:hover,
.service-card:focus-within,
.service-card:focus-visible {
  outline: none;
  transform: translateY(-15px) scale(1.02);
  box-shadow: 
    0 25px 50px rgba(0, 86, 179, 0.25),
    0 10px 20px rgba(0,0,0,0.1);
  border-color: rgba(0,86,179,0.3);
}

.service-card .icon {
  font-size: 3.5rem;
  background: linear-gradient(135deg, #0056b3, #d32f2f);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
  animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-5px);
  }
}

.service-card:hover .icon {
  transform: scale(1.1) translateY(-5px);
  filter: drop-shadow(0 5px 15px rgba(0,86,179,0.3));
}

.service-card h3 {
  margin: 0 0 1rem 0;
  font-weight: 700;
  color: #003366;
  font-size: 1.7rem;
  transition: color 0.3s ease;
}

.service-card:hover h3 {
  color: #0056b3;
}

.service-card p {
  font-weight: 400;
  font-size: 1.1rem;
  color: #666;
  line-height: 1.6;
}

/* Enhanced Features Grid */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  margin-top: 2rem;
}

.feature {
  background: linear-gradient(135deg, #fff, #fafbff);
  border-radius: 20px;
  box-shadow: 
    0 8px 25px rgba(0,86,179,0.08),
    0 3px 10px rgba(0,0,0,0.05);
  padding: 2.5rem 2rem;
  cursor: default;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
  position: relative;
  border: 1px solid rgba(0,86,179,0.05);
}

.feature::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #0056b3, #d32f2f);
  border-radius: 20px 20px 0 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature:hover::after {
  opacity: 1;
}

.feature:hover,
.feature:focus-visible {
  box-shadow: 
    0 15px 40px rgba(0, 86, 179, 0.2),
    0 5px 15px rgba(0,0,0,0.1);
  transform: translateY(-8px);
  outline: none;
}

.feature .icon {
  font-size: 3rem;
  background: linear-gradient(135deg, #0056b3, #d32f2f);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.5rem;
  display: inline-block;
  transition: transform 0.3s ease;
}

.feature:hover .icon {
  transform: scale(1.15) rotate(5deg);
}

.feature h3 {
  font-weight: 700;
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: #003366;
}

.feature p {
  color: #555;
  font-weight: 400;
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Enhanced Testimonials */
.testimonials {
  max-width: 800px;
  margin: 4rem auto 6rem auto;
  position: relative;
  background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
  border-radius: 24px;
  padding: 3rem 2rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0,86,179,0.1);
}

.testimonial-carousel {
  position: relative;
  overflow: hidden;
  height: 200px;
  border-radius: 16px;
}

.testimonial {
  position: absolute;
  top: 0;
  left: 100%;
  width: 100%;
  opacity: 0;
  padding: 2rem;
  color: #003366;
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.8;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
  text-align: center;
  background: rgba(255,255,255,0.5);
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.3);
}

.testimonial.active {
  left: 0;
  opacity: 1;
  position: relative;
  transform: scale(1);
}

.stars {
  margin: 1rem 0;
  font-size: 1.4rem;
  user-select: none;
}

.stars i {
  color: #ffd700;
  margin: 0 2px;
  animation: starTwinkle 2s infinite;
  animation-delay: calc(var(--i) * 0.1s);
}

@keyframes starTwinkle {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(0.9);
  }
}

.testimonial span {
  display: block;
  margin-top: 1rem;
  font-style: normal;
  font-weight: 700;
  color: #0056b3;
  font-size: 1.1rem;
}

.carousel-controls {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
  gap: 1rem;
}

.carousel-controls button {
  background: linear-gradient(135deg, #0056b3, #d32f2f);
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  color: white;
  font-size: 1.3rem;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 86, 179, 0.4);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
  position: relative;
  overflow: hidden;
}

.carousel-controls button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255,255,255,0.3);
  border-radius: 50%;
  transition: all 0.3s ease;
  transform: translate(-50%, -50%);
}

.carousel-controls button:hover::before {
  width: 100%;
  height: 100%;
}

.carousel-controls button:hover,
.carousel-controls button:focus-visible {
  background: linear-gradient(135deg, #d32f2f, #0056b3);
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 8px 25px rgba(211, 47, 47, 0.6);
  outline: none;
}

/* Enhanced Contact Form */
form {
  max-width: 500px;
  margin: 0 auto;
  padding: 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  user-select: none;
  position: relative;
}

.form-group {
  position: relative;
}

input, textarea {
  width: 100%;
  padding: 1.5rem 1.2rem 0.6rem 1.2rem;
  font-size: 1.1rem;
  border-radius: 12px;
  border: 2px solid rgba(0,86,179,0.2);
  background: rgba(255,255,255,0.9);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  resize: vertical;
  font-family: inherit;
}

input:focus, textarea:focus {
  outline: none;
  border-color: #0056b3;
  box-shadow: 
    0 0 0 3px rgba(0,86,179,0.1),
    0 4px 12px rgba(0,86,179,0.15);
  background: #fff;
  transform: translateY(-2px);
}

label {
  position: absolute;
  top: 1.3rem;
  left: 1.2rem;
  color: #666;
  font-size: 1rem;
  font-weight: 500;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: transparent;
}

input:focus + label,
input:not(:placeholder-shown) + label,
textarea:focus + label,
textarea:not(:placeholder-shown) + label {
  top: 0.2rem;
  left: 1.2rem;
  font-size: 0.85rem;
  color: #0056b3;
  font-weight: 600;
  background: #fff;
  padding: 0 6px;
  border-radius: 4px;
}

.validation-message {
  color: #d32f2f;
  font-size: 0.9rem;
  margin-top: 0.5rem;
  min-height: 1.2em;
  font-weight: 500;
}

/* Enhanced Contact Details */
.contact-details {
  text-align: left;
  max-width: 510px;
  margin: 0 auto 3rem auto;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(255,255,255,0.1));
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 
    0 8px 25px rgba(0, 86, 179, 0.1),
    inset 0 1px 0 rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.2);
  font-size: 1.1rem;
}

.contact-details p {
  margin: 1rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-details strong {
  color: #0056b3;
  min-width: 80px;
}

.contact-details a {
  color: #0056b3;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  word-break: break-word;
}

.contact-details a:hover,
.contact-details a:focus {
  color: #d32f2f;
  text-decoration: underline;
  transform: scale(1.05);
}

/* Enhanced Map Section */
.map-section {
  margin: 80px auto 80px auto;
}

.map-embed-container {
  width: 100%;
  max-width: 800px;
  margin: 2rem auto 0 auto;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 
    0 10px 40px rgba(0,86,179,0.15),
    0 4px 12px rgba(0,0,0,0.1);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  position: relative;
}

.map-embed-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #0056b3, #d32f2f);
  z-index: 1;
}

.map-embed-container iframe {
  width: 100%;
  height: 400px;
  border: none;
  display: block;
  transition: filter 0.3s ease;
}

.map-embed-container:hover iframe {
  filter: saturate(1.2) brightness(1.1);
}

/* Enhanced Modal */
.modal {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(5px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9000;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal.hidden {
  opacity: 0;
  pointer-events: none;
  backdrop-filter: blur(0px);
}

.modal-content {
  background: linear-gradient(135deg, #fff, #f8faff);
  border-radius: 24px;
  padding: 3rem 3.5rem;
  max-width: 420px;
  text-align: center;
  box-shadow: 
    0 20px 60px rgba(0,0,0,0.3),
    0 8px 20px rgba(0,0,0,0.15);
  border: 1px solid rgba(255,255,255,0.2);
  transform: scale(0.9);
  animation: modalSlideIn 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes modalSlideIn {
  to {
    transform: scale(1);
  }
}

.modal-content h3 {
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #0056b3;
  font-size: 1.8rem;
}

.modal-content p {
  color: #555;
  margin-bottom: 2.5rem;
  font-size: 1.1rem;
  line-height: 1.6;
}

.modal-content button {
  border: none;
  background: linear-gradient(135deg, #d32f2f, #0056b3);
  color: white;
  padding: 1rem 3rem;
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 20px rgba(211, 47, 47, 0.4);
}

.modal-content button:hover,
.modal-content button:focus-visible {
  background: linear-gradient(135deg, #0056b3, #d32f2f);
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 12px 30px rgba(211, 47, 47, 0.6);
  outline: none;
}

/* Enhanced Footer */
footer {
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  color: #bbb;
  text-align: center;
  padding: 40px 2rem;
  font-size: 1rem;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #0056b3, #d32f2f);
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.socmed {
  display: flex;
  gap: 15px;
}

.socmed a {
  color: #bbb;
  font-size: 1.4rem;
  padding: 10px;
  border-radius: 50%;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
}

.socmed a:hover,
.socmed a:focus-visible {
  color: #fff;
  background: linear-gradient(135deg, #0056b3, #d32f2f);
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 8px 20px rgba(0,86,179,0.3);
  outline: none;
}

/* Loading Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section {
  animation: fadeInUp 0.8s ease-out forwards;
}

/* Floating geometric shapes */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    /* Floating circles */
    radial-gradient(circle 4px at 15% 25%, rgba(0,86,179,0.4) 0%, transparent 50%),
    radial-gradient(circle 6px at 85% 15%, rgba(211,47,47,0.3) 0%, transparent 50%),
    radial-gradient(circle 3px at 70% 45%, rgba(0,86,179,0.3) 0%, transparent 50%),
    radial-gradient(circle 5px at 25% 75%, rgba(211,47,47,0.4) 0%, transparent 50%),
    radial-gradient(circle 4px at 90% 80%, rgba(0,86,179,0.3) 0%, transparent 50%),
    radial-gradient(circle 7px at 5% 60%, rgba(211,47,47,0.2) 0%, transparent 50%),
    /* Subtle grid pattern */
    linear-gradient(rgba(0,86,179,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,86,179,0.02) 1px, transparent 1px);
  background-size: 
    100% 100%,
    100% 100%,
    100% 100%,
    100% 100%,
    100% 100%,
    100% 100%,
    50px 50px,
    50px 50px;
  pointer-events: none;
  z-index: -2;
  animation: floatingShapes 25s ease-in-out infinite;
}

@keyframes floatingShapes {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
    opacity: 1;
  }
  25% {
    transform: translate(10px, -5px) rotate(90deg);
    opacity: 0.8;
  }
  50% {
    transform: translate(-5px, 10px) rotate(180deg);
    opacity: 1;
  }
  75% {
    transform: translate(-10px, -10px) rotate(270deg);
    opacity: 0.9;
  }
}

/* Additional decorative elements */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    /* Large decorative shapes */
    conic-gradient(from 0deg at 10% 10%, transparent 0deg, rgba(0,86,179,0.05) 60deg, transparent 120deg),
    conic-gradient(from 180deg at 90% 90%, transparent 0deg, rgba(211,47,47,0.05) 60deg, transparent 120deg),
    /* Diagonal stripes */
    repeating-linear-gradient(45deg, transparent, transparent 100px, rgba(0,86,179,0.015) 100px, rgba(0,86,179,0.015) 102px);
  pointer-events: none;
  z-index: -1;
  animation: decorativeRotate 30s linear infinite;
}

@keyframes decorativeRotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Responsive Design Enhancements */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 3.5rem;
  }
  
  .service-cards {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
  }
  
  .features {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
  }
}

@media (max-width: 980px) {
  header {
    padding: 16px 20px;
    flex-wrap: wrap;
  }

  .logo {
    font-size: 1.4rem;
  }

  nav {
    display: none;
    flex-direction: column;
    background: linear-gradient(135deg, rgba(0, 86, 179, 0.98), rgba(211, 47, 47, 0.98));
    position: fixed;
    right: 0; 
    top: 70px;
    width: 80vw;
    max-width: 350px;
    height: calc(100vh - 70px);
    padding: 3rem 2rem;
    gap: 30px;
    border-radius: 15px 0 0 15px;
    box-shadow: -8px 0 30px rgba(0, 86, 179, 0.3);
    backdrop-filter: blur(20px);
    z-index: 99999;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }

  nav.open {
    display: flex;
    transform: translateX(0);
  }

  nav a {
    color: #fff;
    font-size: 1.2rem;
    padding: 15px 20px;
    border-radius: 12px;
    background: rgba(255,255,255,0.1);
  }

  nav a:hover {
    background: rgba(255,255,255,0.2);
    transform: translateX(5px);
  }

  .hamburger {
    display: block;
    color: #0056b3;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 0 1.5rem;
    margin: 60px auto;
  }

  .section h2 {
    font-size: 2.4rem;
  }

  .service-cards {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .features {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .glass {
    padding: 30px 25px;
  }
}

@media (max-width: 650px) {
  .hero {
    height: 70vh;
    min-height: 500px;
    padding: 0 1rem;
  }

  .hero-content {
    padding: 2rem 1.5rem 2.5rem;
    margin: 0 1rem;
  }

  .hero h1 {
    font-size: 2.5rem;
    line-height: 1.2;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .hero-wave {
    height: 100px;
  }

  .testimonials {
    margin: 3rem auto 4rem auto;
    padding: 2rem 1.5rem;
  }

  .testimonial-carousel {
    height: 220px;
  }

  .testimonial {
    font-size: 1rem;
    padding: 1.5rem;
  }

  .carousel-controls button {
    width: 40px; 
    height: 40px; 
    font-size: 1.1rem;
  }
}

@media (max-width: 500px) {
  .section {
    padding: 0 1rem;
  }

  .section h2 {
    font-size: 2rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .service-card,
  .feature {
    padding: 2rem 1.5rem;
  }

  .contact-details {
    padding: 1.5rem;
  }

  form {
    padding: 1rem 0;
  }

  .modal-content {
    margin: 1rem;
    padding: 2rem;
  }
}

/* Accessibility Enhancements */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
.service-card:focus-visible,
.feature:focus-visible {
  outline: 3px solid #d32f2f;
  outline-offset: 3px;
  border-radius: 4px;
}

/* Reduced motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .hero-content {
    background: rgba(0,0,0,0.8);
    color: #fff;
  }
  
  .service-card,
  .feature {
    border: 2px solid #000;
  }
  
  .glass {
    background: rgba(255,255,255,0.9);
    border: 1px solid #000;
  }
}

/* Print styles */
@media print {
  .hero,
  .hamburger,
  .carousel-controls,
  .modal {
    display: none;
  }
  
  body {
    background: white;
    color: black;
  }
  
  .service-card,
  .feature,
  .glass {
    box-shadow: none;
    border: 1px solid #ccc;
  }
}

.hero, .hero-content, .service-card, .feature, .carousel-controls button {
  will-change: transform, opacity;
}
