/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* CSS Variables for Theme Colors */
:root {
  /* Light theme colors */
  --bg-primary: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #cbd5e1 100%);
  --bg-radial-1: rgba(59, 130, 246, 0.1);
  --bg-radial-2: rgba(59, 130, 246, 0.08);
  --bg-radial-3: rgba(59, 130, 246, 0.05);
  --text-primary: #1a1a1a;
  --text-secondary: #334155;
  --text-muted: #475569;
  --text-light: #64748b;
  --card-bg: rgba(255, 255, 255, 0.8);
  --card-bg-alt: rgba(255, 255, 255, 0.9);
  --border-color: rgba(59, 130, 246, 0.2);
  --border-color-hover: rgba(59, 130, 246, 0.4);
  --service-bg: rgba(59, 130, 246, 0.08);
  --service-bg-hover: rgba(59, 130, 246, 0.12);
  --scrollbar-track: #e2e8f0;
}

[data-theme="dark"] {
  /* Dark theme colors */
  --bg-primary: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
  --bg-radial-1: rgba(59, 130, 246, 0.15);
  --bg-radial-2: rgba(59, 130, 246, 0.12);
  --bg-radial-3: rgba(59, 130, 246, 0.08);
  --text-primary: #f8fafc;
  --text-secondary: #e2e8f0;
  --text-muted: #cbd5e1;
  --text-light: #94a3b8;
  --card-bg: rgba(30, 41, 59, 0.8);
  --card-bg-alt: rgba(30, 41, 59, 0.9);
  --border-color: rgba(59, 130, 246, 0.3);
  --border-color-hover: rgba(59, 130, 246, 0.5);
  --service-bg: rgba(59, 130, 246, 0.15);
  --service-bg-hover: rgba(59, 130, 246, 0.2);
  --scrollbar-track: #334155;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-primary);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  transition: background 0.3s ease, color 0.3s ease;
  padding-top: 80px;
}

body.menu-open {
  overflow: hidden;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      circle at 20% 80%,
      var(--bg-radial-1) 0%,
      transparent 50%
    ),
    radial-gradient(circle at 80% 20%, var(--bg-radial-2) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, var(--bg-radial-3) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
  transition: background 0.3s ease;
}

/* Navigation Styles */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #3b82f6;
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 1000;
  transition: all 0.3s ease;
}

.nav-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 40px;
  width: auto;
  transition: transform 0.3s ease;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-link {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(135deg, #ffffff, #e2e8f0);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: #e2e8f0;
}

.nav-link:hover::after {
  width: 100%;
}

/* Theme Toggle */
.theme-toggle {
  background: none;
  border: none;
  color: #ffffff;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.theme-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.1);
}

.theme-toggle .sun-icon,
.theme-toggle .moon-icon {
  position: absolute;
  transition: all 0.3s ease;
}

.theme-toggle .moon-icon {
  opacity: 0;
  transform: rotate(90deg);
}

[data-theme="dark"] .theme-toggle .sun-icon {
  opacity: 0;
  transform: rotate(-90deg);
}

[data-theme="dark"] .theme-toggle .moon-icon {
  opacity: 1;
  transform: rotate(0deg);
}

.mobile-theme-toggle {
  background: none;
  border: none;
  color: #ffffff;
  cursor: pointer;
  padding: 16px;
  border-radius: 12px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.5rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.5s ease forwards;
  animation-delay: 0.4s;
}

.mobile-theme-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-5px);
}

.mobile-theme-toggle .sun-icon,
.mobile-theme-toggle .moon-icon {
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.mobile-theme-toggle .moon-icon {
  display: none;
}

[data-theme="dark"] .mobile-theme-toggle .sun-icon {
  display: none;
}

[data-theme="dark"] .mobile-theme-toggle .moon-icon {
  display: block;
}

[data-theme="dark"] .mobile-theme-toggle .theme-toggle-text::after {
  content: " Mode";
}

.mobile-theme-toggle .theme-toggle-text::before {
  content: "Dark";
}

[data-theme="dark"] .mobile-theme-toggle .theme-toggle-text::before {
  content: "Light";
}

/* Burger Menu */
.burger-menu {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 5px;
  gap: 4px;
}

.burger-line {
  width: 25px;
  height: 3px;
  background: #ffffff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.burger-menu.active .burger-line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.burger-menu.active .burger-line:nth-child(2) {
  opacity: 0;
}

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

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: #3b82f6;
  backdrop-filter: blur(20px);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-close {
  position: absolute;
  top: 25px;
  right: 25px;
  background: none;
  border: none;
  color: #ffffff;
  cursor: pointer;
  padding: 10px;
  border-radius: 8px;
  transition: all 0.3s ease;
  z-index: 1001;
}

.mobile-menu-close:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.1);
}

.mobile-menu-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 40px;
}

.mobile-nav-link {
  color: #ffffff;
  text-decoration: none;
  font-size: 2rem;
  font-weight: 600;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.5s ease forwards;
}

.mobile-nav-link:nth-child(1) {
  animation-delay: 0.1s;
}
.mobile-nav-link:nth-child(2) {
  animation-delay: 0.2s;
}
.mobile-nav-link:nth-child(3) {
  animation-delay: 0.3s;
}

.mobile-nav-link:hover {
  color: #e2e8f0;
  transform: translateY(-5px);
}

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

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

/* Hero Section */
.hero-section {
  /* min-height: 90vh; */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding: 100px 0;
  background-color: var(--service-bg);
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(59, 130, 246, 0.2) 0%,
    transparent 70%
  );
  border-radius: 50%;
  filter: blur(80px);
  z-index: -1;
}

.hero-content {
  max-width: 900px;
  z-index: 1;
  position: relative;
}

.hero-title {
  font-size: 4.5rem;
  font-weight: 800;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 50%, #3b82f6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 30px rgba(59, 130, 246, 0.3);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 40px;
  opacity: 0.9;
  letter-spacing: 0.01em;
  transition: color 0.3s ease;
}

.cta-button {
  display: inline-block;
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: #ffffff;
  text-decoration: none;
  padding: 18px 36px;
  font-size: 1.2rem;
  font-weight: 700;
  border-radius: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: none;
  cursor: pointer;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(59, 130, 246, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  background: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 100%);
}

.cta-button:active {
  transform: translateY(-1px);
}

/* Services Section */
.services-section {
  padding: 100px 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 50%, #3b82f6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
  letter-spacing: -0.01em;
}

.section-description {
  font-size: 1.3rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  transition: color 0.3s ease;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
}

.services-img-wrapper {
  justify-self: center;
}

.service-card {
  background: var(--card-bg);
  border-radius: 24px;
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1), inset 0 1px 0 var(--border-color);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #3b82f6, transparent);
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: var(--border-color-hover);
  box-shadow: 0 35px 70px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 var(--border-color-hover);
}

.service-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  margin-bottom: 24px;
  font-size: 1.8rem;
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.service-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #3b82f6;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.service-card p {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 1rem;
  transition: color 0.3s ease;
}

/* FAQ Section */
.faq-section {
  padding: 100px 0;
  background: var(--service-bg);
  transition: background 0.3s ease;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 20px;
  background: var(--card-bg);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.faq-question {
  padding: 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: var(--service-bg-hover);
}

.faq-question h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: color 0.3s ease;
}

.faq-toggle {
  font-size: 1.5rem;
  font-weight: 300;
  color: #3b82f6;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: 0 24px 24px;
  max-height: 200px;
}

.faq-answer p {
  color: var(--text-secondary);
  line-height: 1.6;
  transition: color 0.3s ease;
}

/* Team Section */
.team-section {
  padding: 100px 0;
}

.team-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.team-image {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

.team-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.team-info h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.01em;
}

.team-info p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 20px;
  transition: color 0.3s ease;
}

/* Reviews Section */
.reviews-section {
  padding: 100px 0;
  position: relative;
}

.reviews-carousel {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 40px;
}

.reviews-container {
  flex: 1;
  overflow: hidden;
  border-radius: 24px;
  position: relative;
}

.reviews-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  gap: 30px;
  padding: 20px 0;
}

.review-card {
  flex: 0 0 calc(33.333% - 20px);
  background: var(--card-bg);
  border-radius: 24px;
  padding: 40px 30px;
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1), inset 0 1px 0 var(--border-color);
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform: scale(0.9);
  opacity: 0.7;
}

.review-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #3b82f6, transparent);
}

.review-card.center {
  transform: scale(1);
  opacity: 1;
  z-index: 2;
  box-shadow: 0 35px 70px rgba(0, 0, 0, 0.15), inset 0 1px 0 var(--border-color-hover);
  border-color: var(--border-color-hover);
}

.review-content {
  margin-bottom: 24px;
}

.review-content p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.7;
  font-style: italic;
  transition: color 0.3s ease;
  position: relative;
}

.review-content p::before {
  content: """;
  font-size: 3rem;
  color: #3b82f6;
  position: absolute;
  top: -10px;
  left: -20px;
  opacity: 0.3;
  font-family: Georgia, serif;
}

.review-author {
  text-align: right;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
}

.review-author strong {
  color: #3b82f6;
  font-weight: 600;
  font-size: 1rem;
}

/* Carousel Navigation */
.carousel-arrow {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #3b82f6;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(20px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}

.carousel-arrow:hover {
  background: #3b82f6;
  color: #ffffff;
  transform: scale(1.1);
  box-shadow: 0 15px 40px rgba(59, 130, 246, 0.3);
}

.carousel-arrow:active {
  transform: scale(0.95);
}

.carousel-arrow:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.carousel-arrow:disabled:hover {
  background: var(--card-bg);
  color: #3b82f6;
  transform: none;
}

/* Mobile Dots Navigation */
.carousel-dots {
  display: none;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--border-color);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: #3b82f6;
  border-color: #3b82f6;
  transform: scale(1.2);
}

.dot:hover {
  border-color: #3b82f6;
  transform: scale(1.1);
}

/* Responsive Design for Reviews */
@media (max-width: 1024px) {
  .reviews-carousel {
    gap: 20px;
  }
  
  .carousel-arrow {
    width: 50px;
    height: 50px;
  }
  
  .review-card {
    flex: 0 0 calc(50% - 15px);
  }
}

@media (max-width: 768px) {
  .reviews-carousel {
    flex-direction: column;
    gap: 0;
  }
  
  .carousel-arrow {
    display: none;
  }
  
  .carousel-dots {
    display: flex;
  }
  
  .reviews-container {
    width: 100%;
    margin: 0 -20px;
    padding: 0 20px;
  }
  
  .reviews-track {
    gap: 20px;
  }
  
  .review-card {
    flex: 0 0 calc(100% - 40px);
    margin: 0 20px;
    transform: scale(1);
    opacity: 1;
  }
  
  .review-card.center {
    transform: scale(1);
  }
  
  .review-content p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .reviews-section {
    padding: 80px 0;
  }
  
  .review-card {
    padding: 30px 20px;
    flex: 0 0 calc(100% - 30px);
    margin: 0 15px;
  }
  
  .reviews-container {
    margin: 0 -15px;
    padding: 0 15px;
  }
  
  .reviews-track {
    gap: 15px;
  }
}

/* Contact Form Section */
.contact-section {
  padding: 100px 0;
  background: var(--service-bg);
  transition: background 0.3s ease;
}

.contact-container {
  max-width: 800px;
  margin: 0 auto;
}

.contact-form {
  background: var(--card-bg);
  border-radius: 32px;
  padding: 50px;
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 var(--border-color);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.contact-form::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #3b82f6, transparent);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 30px;
  margin-top: 30px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label,
.form-label {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 1rem;
  transition: color 0.3s ease;
}

.form-group input,
.form-group select {
  padding: 16px 20px;
  border: 2px solid var(--border-color);
  border-radius: 12px;
  background: var(--card-bg-alt);
  color: var(--text-primary);
  font-size: 1rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
  transform: translateY(-2px);
}

.form-group input:hover,
.form-group select:hover {
  border-color: var(--border-color-hover);
  transform: translateY(-1px);
}

/* Radio Button Styling */
.radio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin-top: 15px;
}

.radio-item {
  position: relative;
}

.radio-item input[type="radio"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: var(--service-bg);
  border: 2px solid var(--border-color);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  overflow: hidden;
  height: 90px;
}

.radio-label::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
  transition: left 0.5s ease;
}

.radio-label:hover {
  border-color: var(--border-color-hover);
  background: var(--service-bg-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.15);
}

.radio-label:hover::before {
  left: 100%;
}

.radio-custom {
  width: 20px;
  height: 20px;
  border: 2px solid var(--border-color);
  border-radius: 4px;
  background: var(--card-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.radio-custom::after {
  content: "✓";
  color: #ffffff;
  font-weight: bold;
  font-size: 14px;
  opacity: 0;
  transform: scale(0);
  transition: all 0.3s ease;
}

.radio-item input[type="radio"]:checked + .radio-label {
  border-color: #3b82f6;
  background: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
}

.radio-item input[type="radio"]:checked + .radio-label .radio-custom {
  background: #3b82f6;
  border-color: #3b82f6;
  transform: scale(1.1);
}

.radio-item input[type="radio"]:checked + .radio-label .radio-custom::after {
  opacity: 1;
  transform: scale(1);
}

/* Submit Button */
.form-submit {
  margin-top: 40px;
  text-align: center;
}

.submit-button {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: #ffffff;
  border: none;
  padding: 18px 40px;
  font-size: 1.2rem;
  font-weight: 700;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  position: relative;
  overflow: hidden;
}

.submit-button::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 ease;
}

.submit-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(59, 130, 246, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  background: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 100%);
}

.submit-button:hover::before {
  left: 100%;
}

.submit-button:active {
  transform: translateY(-1px);
}

.button-icon {
  transition: transform 0.3s ease;
}

.submit-button:hover .button-icon {
  transform: translateX(5px);
}

/* Ripple Effect for Radio Buttons */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.3);
  transform: scale(0);
  animation: ripple-animation 0.6s linear;
  pointer-events: none;
}

@keyframes ripple-animation {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* Focused Form Group Styling */
.form-group.focused label {
  color: #3b82f6;
  transform: translateY(-2px);
}

/* Responsive Design for Contact Form */
@media (max-width: 768px) {
  .contact-form {
    padding: 30px 20px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 20px;
  }
  
  .radio-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .radio-label {
    padding: 14px 16px;
  }
  
  .submit-button {
    padding: 16px 32px;
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .contact-form {
    padding: 25px 15px;
  }
  
  .form-group input,
  .form-group select {
    padding: 14px 16px;
  }
  
  .radio-label {
    padding: 12px 14px;
  }
  
  .submit-button {
    padding: 14px 28px;
    font-size: 1rem;
  }
}

/* Footer Styles */
.footer {
  background: #3b82f6;
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 60px 0 40px;
  margin-top: 100px;
}

.footer-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 60px;
  align-items: start;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-logo-img {
  height: 50px;
  width: auto;
}

.footer-nav {
  display: flex;
  gap: 40px;
  justify-content: center;
}

.footer-nav-link {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.footer-nav-link:hover {
  color: #e2e8f0;
}

.footer-right {
  display: flex;
  justify-content: center;
}

.social-links {
  display: flex;
  gap: 20px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: #ffffff;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #e2e8f0;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

@media (min-width: 1024px) {
  .services-img-wrapper {
    transition: transform 0.3s ease;
  }

  .services-img-wrapper:hover {
    transform: scale(1.05);
  }
}
/* Responsive Design */
@media (max-width: 1024px) {
  .nav-links {
    display: none;
  }

  .burger-menu {
    display: flex;
  }

  .nav-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  .team-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

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

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

@media (max-width: 768px) {
  body {
    padding-top: 70px;
  }

  .nav-container {
    height: 70px;
  }

  .logo-img {
    height: 35px;
  }

  .hero-title {
    font-size: 3rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .section-title {
    font-size: 2.2rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .service-card {
    padding: 30px 20px;
  }

  .team-image img {
    height: 400px;
  }

  .footer-nav {
    gap: 30px;
  }

  .social-links {
    gap: 15px;
  }

  .social-link {
    width: 45px;
    height: 45px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .cta-button {
    padding: 16px 32px;
    font-size: 1.1rem;
  }

  .service-card {
    padding: 25px 18px;
  }

  .footer-logo-img {
    height: 40px;
  }

  .footer-nav {
    gap: 20px;
  }

  .social-links {
    gap: 12px;
  }

  .social-link {
    width: 40px;
    height: 40px;
  }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Scroll Animation Styles */
.fade-up {
  filter: blur(10px);
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-up.visible {
  filter: blur(0px);
  transform: translateY(0);
}

.fade-up.delay-1 {
  transition-delay: 0.1s;
}

.fade-up.delay-2 {
  transition-delay: 0.2s;
}

.fade-up.delay-3 {
  transition-delay: 0.3s;
}

.fade-up.delay-4 {
  transition-delay: 0.4s;
}

.fade-up.delay-5 {
  transition-delay: 0.5s;
}

.fade-up.delay-6 {
  transition-delay: 0.6s;
}

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

::-webkit-scrollbar-track {
  background: var(--scrollbar-track);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #3b82f6, #1d4ed8);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #1d4ed8, #3b82f6);
}
