/* Base Styles */
:root {
  --primary: #3b82f6;
  --primary-dark: #2563eb;
  --primary-light: #93c5fd;
  /* Changed secondary from light to dark */
  --secondary: #1e293b;
  --dark: #0f172a;
  /* Changed light from white to dark */
  --light: #1e293b;
  --gray: #64748b;
  --gray-light: #cbd5e1;
  --gray-dark: #334155;
  --success: #22c55e;
  --danger: #ef4444;
  --warning: #f59e0b;
  --info: #3b82f6;

  --blue: #3b82f6;
  --purple: #8b5cf6;
  --green: #22c55e;
  --red: #ef4444;
  --yellow: #f59e0b;
  --indigo: #6366f1;

  --radius: 0.5rem;
  --shadow: 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);

  --transition: all 0.3s ease;
  --transition-slow: all 0.5s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  /* Changed text color to white for dark theme */
  color: #ffffff;
  /* Changed background to dark gradient */
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
  background-attachment: fixed;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

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

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

ul {
  list-style: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 1rem;
}

.btn i {
  margin-left: 0.5rem;
}

.btn svg {
  margin-left: 0.5rem;
  width: 16px;
  height: 16px;
}

.btn-primary {
  background-color: var(--primary);
  color: white;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
}

.btn-outline {
  background-color: transparent;
  border: 1px solid white;
  color: white;
}

.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.btn-secondary {
  background-color: var(--gray-light);
  color: var(--gray-dark);
}

.btn-secondary:hover {
  background-color: var(--gray);
  color: white;
}

.btn-full {
  width: 100%;
}

.btn-icon {
  padding: 0.75rem;
}

/* Header */
.fixed-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: var(--transition);
  /* Added dark glass background to header */
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(30, 41, 59, 0.85) 100%);
  backdrop-filter: blur(30px) saturate(180%);
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.fixed-header.scrolled {
  /* Changed scrolled header to dark glass */
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.95) 100%);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  padding: 0.5rem 0;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  transition: var(--transition);
}

.fixed-header.scrolled .logo a {
  /* Keep logo white on scroll */
  color: white;
}

.desktop-nav {
  display: none;
}

.nav-link {
  margin-left: 2rem;
  color: white;
  font-weight: 500;
}

.fixed-header.scrolled .nav-link {
  /* Keep nav links white on scroll */
  color: rgba(255, 255, 255, 0.9);
}

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

.fixed-header.scrolled .nav-link:hover {
  color: var(--primary-light);
}

.mobile-menu-btn {
  display: block;
}

.menu-icon {
  display: block;
  position: relative;
  width: 24px;
  height: 2px;
  background-color: white;
  transition: var(--transition);
}

.fixed-header.scrolled .menu-icon {
  /* Keep menu icon white on scroll */
  background-color: white;
}

.menu-icon::before,
.menu-icon::after {
  content: "";
  position: absolute;
  width: 24px;
  height: 2px;
  background-color: white;
  transition: var(--transition);
}

.fixed-header.scrolled .menu-icon::before,
.fixed-header.scrolled .menu-icon::after {
  /* Keep menu icon white on scroll */
  background-color: white;
}

.menu-icon::before {
  top: -8px;
}

.menu-icon::after {
  bottom: -8px;
}

.mobile-menu-btn.active .menu-icon {
  background-color: transparent;
}

.mobile-menu-btn.active .menu-icon::before {
  top: 0;
  transform: rotate(45deg);
}

.mobile-menu-btn.active .menu-icon::after {
  bottom: 0;
  transform: rotate(-45deg);
}

.mobile-nav {
  display: none;
  padding: 1rem 0;
  /* Changed mobile nav to dark glass */
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.95) 100%);
  backdrop-filter: blur(30px) saturate(180%);
  border-radius: var(--radius);
  margin-top: 0.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.mobile-nav.active {
  display: flex;
  flex-direction: column;
}

.mobile-nav .nav-link {
  /* Changed mobile nav link color to white */
  color: rgba(255, 255, 255, 0.9);
  margin: 0.5rem 0;
  padding: 0.5rem 1rem;
}

.mobile-nav .nav-link:hover {
  /* Changed mobile nav hover to lighter glass */
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
  color: white;
}

/* Hero Section */
.hero-section {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  background-image: url("../images/hero-bg.jpg");
  background-size: cover;
  background-position: center;
  color: white;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

/* Hero Faded Image */
.hero-faded-image {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  width: 100%;
  opacity: 0.3;
  pointer-events: none;
}

.hero-faded-image img {
  width: 100%;
  height: 200%;
  display: block;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.7s forwards;
}

.hero-description {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.7s 0.2s forwards;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.7s 0.4s forwards;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 48px;
  border: 2px solid white;
  border-radius: 16px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
  animation: fadeIn 1s 1s forwards;
  opacity: 0;
}

.scroll-dot {
  width: 4px;
  height: 12px;
  background-color: white;
  border-radius: 2px;
  animation: scrollDown 1.5s infinite;
}

/* Features Section */
.features-section {
  padding: 5rem 0;
  /* Changed background to dark */
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 50%, #1e293b 100%);
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
}

.section-header h2 {
  margin-bottom: 1rem;
  /* Changed heading color to white */
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.section-header p {
  /* Changed paragraph color to light gray */
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.125rem;
}

.section-header.light h2,
.section-header.light p {
  color: white;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

/* Enhanced liquid glass effect for feature cards */
.feature-card {
  position: relative;
  /* Changed to dark background gradient for better visibility */
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.75) 0%, rgba(15, 23, 42, 0.85) 100%);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  padding: 2rem;
  border-radius: var(--radius);
  /* Lightened border for visibility on dark background */
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4), inset 0 1px 0 0 rgba(255, 255, 255, 0.15), inset 0 -1px 0 0
    rgba(255, 255, 255, 0.08), 0 4px 16px 0 rgba(59, 130, 246, 0.2);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  transform: translateY(20px);
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, transparent 50%, rgba(255, 255, 255, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.feature-card::after {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.4), rgba(139, 92, 246, 0.4), rgba(59, 130, 246, 0.4));
  border-radius: var(--radius);
  opacity: 0;
  z-index: -1;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card.animated {
  animation: fadeInUp 0.5s forwards;
}

.feature-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 60px 0 rgba(0, 0, 0, 0.5), inset 0 1px 0 0 rgba(255, 255, 255, 0.2), inset 0 -1px 0 0
    rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card:hover::after {
  opacity: 1;
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.feature-card h3 {
  margin-bottom: 1rem;
  /* Changed to white text with dark shadow for dark background */
  color: #ffffff;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.feature-card p {
  /* Changed to light gray text with dark shadow for dark background */
  color: rgba(255, 255, 255, 0.85);
  font-weight: 400;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

/* About Section */
.about-section {
  padding: 5rem 0;
  /* Added dark background */
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.about-image {
  position: relative;
}

.image-decoration {
  position: absolute;
  width: 6rem;
  height: 6rem;
  background-color: rgba(59, 130, 246, 0.2);
  border-radius: var(--radius);
}

.top-left {
  top: -1rem;
  left: -1rem;
}

.bottom-right {
  bottom: -1rem;
  right: -1rem;
}

.image-container {
  position: relative;
  z-index: 1;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.image-container img {
  width: 100%;
  height: auto;
  display: block;
}

.about-content {
  opacity: 0;
  transform: translateX(30px);
}

.about-content.animated {
  animation: fadeInRight 0.7s forwards;
}

.about-content h2 {
  margin-bottom: 1.5rem;
  /* Changed heading to white */
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.about-content p {
  /* Changed paragraph to light gray */
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1.5rem;
}

.benefits-list {
  margin-bottom: 2rem;
}

.benefits-list li {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
  /* Added color for benefits list text */
  color: rgba(255, 255, 255, 0.9);
}

.benefits-list li i {
  color: var(--primary);
  margin-right: 0.75rem;
}

/* Services Section */
.services-section {
  padding: 5rem 0;
  /* Changed background to dark */
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 50%, #1e293b 100%);
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

/* Enhanced liquid glass effect for service cards */
.service-card {
  position: relative;
  /* Changed to dark background gradient for better visibility */
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.75) 0%, rgba(15, 23, 42, 0.85) 100%);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  border-radius: var(--radius);
  /* Lightened border for visibility on dark background */
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4), inset 0 1px 0 0 rgba(255, 255, 255, 0.15), inset 0 -1px 0 0
    rgba(255, 255, 255, 0.08), 0 4px 16px 0 rgba(59, 130, 246, 0.2);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  transform: translateY(20px);
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, transparent 50%, rgba(255, 255, 255, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  z-index: 1;
}

.service-card::after {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.4), rgba(139, 92, 246, 0.4), rgba(59, 130, 246, 0.4));
  border-radius: var(--radius);
  opacity: 0;
  z-index: 0;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card.animated {
  animation: fadeInUp 0.5s forwards;
}

.service-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 60px 0 rgba(0, 0, 0, 0.5), inset 0 1px 0 0 rgba(255, 255, 255, 0.2), inset 0 -1px 0 0
    rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card:hover::after {
  opacity: 1;
}

.service-icon {
  position: relative;
  z-index: 2;
  padding: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 2.5rem;
}

.bg-blue {
  background-color: var(--blue);
}
.bg-purple {
  background-color: var(--purple);
}
.bg-green {
  background-color: var(--green);
}
.bg-red {
  background-color: var(--red);
}
.bg-yellow {
  background-color: var(--yellow);
}
.bg-indigo {
  background-color: var(--indigo);
}

.service-content {
  position: relative;
  z-index: 2;
  padding: 1.5rem;
}

.service-content h3 {
  margin-bottom: 0.75rem;
  /* Changed to white text with dark shadow for dark background */
  color: #ffffff;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.service-content p {
  /* Changed to light gray text with dark shadow for dark background */
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0;
  font-weight: 400;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

/* Modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  /* Changed modal to dark glass */
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.95) 0%, rgba(15, 23, 42, 0.95) 100%);
  backdrop-filter: blur(30px) saturate(180%);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  padding: 2rem;
  max-width: 600px;
  width: 90%;
  transform: scale(0.9);
  opacity: 0;
  transition: var(--transition);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal-icon {
  display: inline-flex;
  padding: 1rem;
  border-radius: 50%;
  color: white;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.modal-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  /* Changed modal title to white */
  color: #ffffff;
}

.modal-description,
.modal-extra-info {
  /* Changed modal text to light gray */
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.5rem;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
}

/* Testimonials Section */
.testimonials-section {
  padding: 5rem 0;
  /* Changed from blue background to dark gradient to match overall dark theme */
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
  color: white;
}

.testimonials-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.quote-icon {
  position: absolute;
  opacity: 0.2;
}

.quote-icon svg {
  width: 96px;
  height: 96px;
}

.top-left {
  top: -2.5rem;
  left: -2.5rem;
}

.bottom-right {
  bottom: -2.5rem;
  right: -2.5rem;
  transform: rotate(180deg);
}

/* Enhanced liquid glass effect for testimonials slider */
.testimonials-slider {
  position: relative;
  /* Changed to darker glass effect to work better with dark background */
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.75) 0%, rgba(15, 23, 42, 0.85) 100%);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4), inset 0 1px 0 0 rgba(255, 255, 255, 0.2), inset 0 -1px 0 0
    rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 2rem;
  margin-bottom: 2rem;
  min-height: 300px;
  overflow: hidden;
}

.testimonials-slider::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, transparent 50%, rgba(255, 255, 255, 0.08) 100%);
  opacity: 0.5;
  pointer-events: none;
}

.testimonial-slide {
  position: relative;
  z-index: 1;
  display: none;
  opacity: 0;
  transform: translateX(50px);
  transition: var(--transition);
}

.testimonial-slide.active {
  display: block;
  animation: fadeInLeft 0.5s forwards;
}

.testimonial-content {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 500;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

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

.author-avatar {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 1rem;
}

.author-info h4 {
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}

.author-info p {
  opacity: 0.7;
  margin-bottom: 0;
}

.testimonial-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.control-btn {
  background-color: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.control-btn:hover {
  background-color: rgba(255, 255, 255, 0.3);
}

.testimonial-dots {
  display: flex;
  gap: 0.5rem;
}

.dot-btn {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.dot-btn.active {
  background-color: white;
}

/* Contact Section */
.contact-section {
  padding: 5rem 0;
  /* Added dark background */
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.contact-info {
  opacity: 0;
  transform: translateX(-30px);
}

.contact-info.animated {
  animation: fadeInLeft 0.7s forwards;
}

.contact-info h3 {
  margin-bottom: 1.5rem;
  /* Changed heading to white */
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.contact-info > p {
  /* Changed paragraph to light gray */
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Enhanced liquid glass effect for contact items */
.contact-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.04) 100%);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.2), inset 0 1px 0 0 rgba(255, 255, 255, 0.35), inset 0 -1px 0 0
    rgba(255, 255, 255, 0.15);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.contact-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, transparent 50%, rgba(255, 255, 255, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.contact-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(31, 38, 135, 0.25), inset 0 1px 0 0 rgba(255, 255, 255, 0.45), inset 0 -1px 0 0
    rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.45);
}

.contact-icon {
  position: relative;
  z-index: 1;
  background-color: rgba(59, 130, 246, 0.1);
  color: var(--primary);
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.contact-text {
  position: relative;
  z-index: 1;
}

.contact-text h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
  font-weight: 700;
  /* Changed contact text heading to white */
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  /* Added transition for hover effect */
  transition: all 0.3s ease;
}

.contact-text p {
  /* Changed contact text to light gray */
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0;
  font-weight: 500;
}

.contact-form-container {
  opacity: 0;
  transform: translateX(30px);
}

.contact-form-container.animated {
  animation: fadeInRight 0.7s forwards;
}

.contact-form {
  /* Changed form to dark glass */
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.8) 0%, rgba(15, 23, 42, 0.8) 100%);
  backdrop-filter: blur(30px) saturate(180%);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  /* Changed label to white */
  color: rgba(255, 255, 255, 0.9);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  /* Changed input to dark glass */
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.04) 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.06) 100%);
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

.error-message {
  color: var(--danger);
  font-size: 0.875rem;
  margin-top: 0.25rem;
  display: none;
}

.error-message.active {
  display: block;
}

.form-group input.error,
.form-group textarea.error {
  border-color: var(--danger);
}

.form-success {
  /* Changed success message to dark glass with green tint */
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.2) 0%, rgba(34, 197, 94, 0.1) 100%);
  border: 1px solid rgba(34, 197, 94, 0.5);
  backdrop-filter: blur(20px) saturate(180%);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  display: none;
}

.success-icon {
  font-size: 4rem;
  color: #10b981;
  margin-bottom: 1rem;
}

.success-icon svg {
  width: 64px;
  height: 64px;
  color: #10b981;
}

.form-success h3 {
  /* Changed success heading to white */
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.form-success p {
  /* Changed success text to light green */
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0;
}

/* Footer */
.footer {
  background-color: var(--dark);
  color: white;
  padding-top: 4rem;
  padding-bottom: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer h3 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.footer-about p {
  color: var(--gray-light);
  margin-bottom: 1.5rem;
}

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

.social-links a {
  color: var(--gray-light);
  font-size: 1.25rem;
  transition: var(--transition);
}

.social-links a svg {
  width: 20px;
  height: 20px;
}

.social-links a:hover {
  color: white;
}

.footer-links ul,
.footer-services ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a,
.footer-services a {
  color: var(--gray-light);
  transition: var(--transition);
}

.footer-links a:hover,
.footer-services a:hover {
  color: white;
}

.footer-newsletter p {
  color: var(--gray-light);
  margin-bottom: 1.5rem;
}

.newsletter-form {
  display: flex;
}

.newsletter-form input {
  flex-grow: 1;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: var(--radius) 0 0 var(--radius);
  background-color: var(--gray-dark);
  color: white;
}

.newsletter-form input:focus {
  outline: none;
}

.newsletter-form button {
  border-radius: 0 var(--radius) var(--radius) 0;
}

.footer-bottom {
  border-top: 1px solid var(--gray-dark);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-bottom p {
  color: var(--gray-light);
  margin-bottom: 1rem;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.footer-legal a {
  color: var(--gray-light);
  font-size: 0.875rem;
}

.footer-legal a:hover {
  color: white;
}

/* Scroll to Top Button */
.scroll-top-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background-color: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  box-shadow: var(--shadow);
  transition: var(--transition);
  opacity: 0;
  visibility: hidden;
  z-index: 100;
}

.scroll-top-btn.active {
  opacity: 1;
  visibility: visible;
}

.scroll-top-btn:hover {
  background-color: var(--primary-dark);
  transform: translateY(-5px);
}

/* Enhanced liquid glass effect for text lines container */
.text-lines-container {
  position: relative;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.1) 100%);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.2), inset 0 1px 0 0 rgba(255, 255, 255, 0.35), inset 0 -1px 0 0
    rgba(255, 255, 255, 0.15);
  overflow: hidden;
}

.text-lines-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, transparent 50%, rgba(255, 255, 255, 0.15) 100%);
  opacity: 0.5;
  pointer-events: none;
}

/* Enhanced liquid glass effect for text lines container */
.text-line {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  padding: 15px;
  border-bottom: 1px solid rgba(233, 236, 239, 0.3);
  border-radius: var(--radius);
  /* Added transition for smooth hover effects */
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  /* Added margin for spacing */
  margin-bottom: 10px;
}

.text-line:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

/* Added shimmer effect on hover */
.text-line::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%, rgba(255, 255, 255, 0.1) 100%);
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  border-radius: var(--radius);
}

/* Added gradient border effect on hover */
.text-line::after {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.4), rgba(139, 92, 246, 0.4), rgba(59, 130, 246, 0.4));
  border-radius: var(--radius);
  opacity: 0;
  z-index: -1;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Added hover state with lift effect and enhanced shadows */
.text-line:hover {
  transform: translateY(-5px);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.14) 100%);
  box-shadow: 0 12px 40px rgba(31, 38, 135, 0.3), inset 0 1px 0 0 rgba(255, 255, 255, 0.45), inset 0 -1px 0 0
    rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.45);
}

.text-line:hover::before {
  opacity: 1;
}

.text-line:hover::after {
  opacity: 1;
}

.line-number {
  position: relative;
  z-index: 2;
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  width: 30px;
  text-align: center;
  margin-right: 15px;
  text-shadow: 0 1px 3px rgba(59, 130, 246, 0.3);
  /* Added transition for hover effect */
  transition: all 0.3s ease;
}

/* Added scale effect on hover */
.text-line:hover .line-number {
  transform: scale(1.1);
  text-shadow: 0 2px 8px rgba(59, 130, 246, 0.5);
}

.line-content {
  position: relative;
  z-index: 2;
  font-size: 16px;
  /* Changed line content to white */
  color: #ffffff;
  flex: 1;
  font-weight: 500;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  /* Added transition for hover effect */
  transition: all 0.3s ease;
}

/* Added brightness effect on hover */
.text-line:hover .line-content {
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

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

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

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

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

@keyframes scrollDown {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  75% {
    transform: translateY(16px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 0;
  }
}

/* Responsive Styles */
@media (min-width: 640px) {
  h1 {
    font-size: 3rem;
  }

  .hero-buttons {
    flex-direction: row;
  }

  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 768px) {
  .desktop-nav {
    display: flex;
  }

  .mobile-menu-btn {
    display: none;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  .footer-bottom p {
    margin-bottom: 0;
  }
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }

  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
