:root {
  /* GPad Technologies Brand Colors */
  --primary: #2563eb; /* Royal Blue */
  --primary-light: #60a5fa; /* Light Blue */
  --secondary: #0ea5e9; /* Sky Blue */
  --accent: #0284c7; /* Deep Blue */
  --background: #f8fafc; /* Light Gray */
  --surface: #ffffff; /* White */
  --text-primary: #0f172a; /* Dark Blue */
  --text-secondary: #475569; /* Gray */

  /* Additional Brand Colors */
  --success: #0d9488;
  --warning: #0369a1;
  --error: #dc2626;
  --mint: #a5f3fc;
  --sage: #0ea5e9;
  --cream: #f0f9ff;
  --beige: #e0f2fe;
  --brown: #075985;

  /* Enhanced UI Properties */
  --card-radius: 16px;
  --button-radius: 12px;
  --shadow-sm: 0 2px 8px rgba(37, 99, 235, 0.05);
  --shadow-md: 0 4px 16px rgba(37, 99, 235, 0.08);
  --shadow-lg: 0 8px 32px rgba(37, 99, 235, 0.12);
  --glass-bg: rgba(255, 255, 255, 0.95);
  --glass-border: rgba(37, 99, 235, 0.1);
  --backdrop-blur: blur(12px);

  /* SVG Properties */
  --svg-primary: var(--primary);
  --svg-hover: var(--surface);
  --svg-light: rgba(37, 99, 235, 0.1);
  --svg-stroke-width: 1.75;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

@media (max-width: 1024px) {
  html {
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 13px;
  }
}

body {
  font-family: "Inter", sans-serif;
  background-color: var(--background);
  color: var(--text-primary);
  line-height: 1.5;
}

/* Modern navbar styles */
.navbar {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
}

.nav-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 1.25rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-weight: 700;
  font-size: 1.75rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo span {
  color: var(--text-primary);
  font-weight: 400;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  position: relative;
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: var(--transition-normal);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: all 0.3s;
  transform: translateX(-50%);
}

.nav-link:hover {
  color: var(--primary);
}

.nav-link:hover::after {
  width: 100%;
}

@media (max-width: 768px) {
  .nav-container {
    padding: 1rem;
  }

  .nav-links {
    display: none;
  }

  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 4rem;
    left: 0;
    right: 0;
    background: var(--background);
    padding: 2rem;
    box-shadow: var(--shadow);
  }
}

/* Enhanced hero section */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(4rem, 10vh, 8rem) 1rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
  gap: 2rem;
  position: relative;
  isolation: isolate;
  background: linear-gradient(
    135deg,
    var(--background),
    rgba(37, 99, 235, 0.05)
  );
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  align-items: center;
}

.hero-content {
  flex: 1;
  max-width: 600px;
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content p {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.hero-image {
  flex: 1;
  max-width: 600px;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 2rem;
  max-height: 60vh;
  width: 100%;
  z-index: 1;
  margin-left: -2rem;
}

.hero-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at center,
    transparent 30%,
    var(--background) 150%
  );
  pointer-events: none;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  max-height: 600px;
  animation: float 6s ease-in-out infinite;
  mix-blend-mode: multiply;
  filter: contrast(1.1) brightness(1.05);
  max-width: min(100%, 600px);
  height: auto;
  filter: drop-shadow(0 10px 20px rgba(212, 163, 115, 0.15));
  mix-blend-mode: multiply;
}

.tech-hero-svg {
  width: 100%;
  height: 100%;
  max-width: 400px;
  animation: heroSvgFloat 8s ease-in-out infinite;
  filter: drop-shadow(0 10px 20px rgba(37, 99, 235, 0.2));
  stroke-width: 1.5;
  transform-origin: center;
}

.tech-hero-svg path {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: heroPathDraw 3s ease-in-out forwards,
    heroPathPulse 4s ease-in-out infinite;
}

@keyframes heroSvgFloat {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(10px, -15px) rotate(2deg);
  }
  50% {
    transform: translate(0, -20px) rotate(-1deg);
  }
  75% {
    transform: translate(-10px, -15px) rotate(1deg);
  }
}

@keyframes heroPathDraw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes heroPathPulse {
  0%,
  100% {
    stroke-opacity: 1;
    stroke-width: 1.5;
  }
  50% {
    stroke-opacity: 0.8;
    stroke-width: 2;
  }
}

@media (max-width: 968px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 8rem;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .cta-buttons {
    justify-content: center;
  }

  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    padding: 1rem;
  }

  .about-container {
    flex-direction: column;
    padding: 1rem;
  }

  .services-container {
    grid-template-columns: 1fr;
    padding: 1rem;
  }

  .hero-image {
    margin-left: 0;
    margin-top: 2rem;
  }
}

@media (max-width: 768px) {
  .hero-image {
    height: 400px;
    padding: 1rem;
  }

  .hero-image img {
    max-height: 400px;
  }
}

@media (max-width: 480px) {
  .hero-image {
    height: 300px;
    max-height: 40vh;
  }

  .hero-image img {
    max-height: 300px;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

.cta-buttons {
  display: flex;
  gap: 1rem;
}

.primary-btn,
.secondary-btn {
  padding: 0.875rem 2rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.primary-btn {
  background: var(--primary);
  color: white;
  border: none;
}

.secondary-btn {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.primary-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.secondary-btn:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .contact-cards {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.section {
  padding: 5rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
  animation: fadeInUp var(--transition-slow) forwards;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition-normal);
}

.section.visible {
  opacity: 1;
  transform: translateY(0);
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.services-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: clamp(1rem, 3vw, 2rem);
  padding: clamp(1rem, 3vw, 2rem);
}

/* Modern card designs */
.service-card,
.contact-card {
  background: var(--surface);
  border-radius: var(--card-radius);
  border: 1px solid var(--glass-border);
  padding: 2.5rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  -webkit-backdrop-filter: var(--backdrop-blur);
  backdrop-filter: var(--backdrop-blur);
}

.service-card:hover,
.contact-card:hover {
  transform: var(--hover-lift);
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.service-item h3 {
  color: var(--primary);
  margin-bottom: 1rem;
}

.service-item ul {
  list-style: none;
  padding: 0;
}

.service-item ul li {
  margin: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.service-item ul li:before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--primary);
}

.contact-form {
  background: var(--surface);
  padding: 2rem;
  border-radius: var(--card-radius);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--glass-border);
  max-width: 500px;
  margin: 2rem auto;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: clamp(0.5rem, 2vw, 0.75rem);
  border: 1px solid var(--glass-border);
  border-radius: 4px;
  background: var(--cream);
  color: var(--text-primary);
  font-size: clamp(0.875rem, 2vw, 1rem);
  transition: var(--transition-fast);
}

.form-group textarea {
  height: 150px;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px var(--primary-light);
}

.submit-btn {
  background: var(--primary);
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  width: 100%;
  font-size: 1rem;
  transition: background 0.3s ease;
}

.submit-btn:hover {
  background: var(--primary-dark);
}

.contact-container {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.contact-card {
  background: var(--glass-bg);
  backdrop-filter: var(--backdrop-blur);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  backdrop-filter: blur(8px);
  transform: translateY(0);
  transition: all 0.3s ease;
  border: 2px solid var(--border);
}

.contact-card:hover {
  transform: var(--hover-lift);
  box-shadow: var(--card-shadow);
}

.icon-wrapper {
  width: 60px;
  height: 60px;
  background: var(--primary);
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.contact-card:hover .icon-wrapper {
  transform: scale(1.1);
  background: var(--primary-dark);
}

.icon-wrapper img {
  width: 30px;
  height: 30px;
  filter: brightness(0) invert(1);
}

.icon-wrapper svg {
  width: 24px;
  height: 24px;
  stroke: white;
}

.contact-card h3 {
  margin: 0 0 1rem;
  color: var(--primary);
  font-size: 1.25rem;
}

.contact-card p {
  margin: 0;
  line-height: 1.6;
  opacity: 0.9;
}

@media (max-width: 768px) {
  .contact-container {
    padding: 2rem 1rem;
  }

  .contact-cards {
    gap: 1rem;
  }

  .contact-card {
    padding: 1.5rem;
  }
}

/* Footer redesign */
.footer {
  background: linear-gradient(
    to bottom,
    var(--background),
    rgba(37, 99, 235, 0.05)
  );
  padding: clamp(2rem, 5vw, 4rem) clamp(1rem, 3vw, 2rem);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
  gap: clamp(2rem, 5vw, 4rem);
  max-width: 1400px;
  margin: 0 auto;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.link-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.link-group h4 {
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.link-group a {
  color: var(--text-primary);
  text-decoration: none;
  transition: all 0.3s ease;
  opacity: 0.8;
}

.link-group a:hover {
  color: var(--primary);
  opacity: 1;
  transform: translateX(5px);
}

.footer-link {
  position: relative;
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.footer-link:hover {
  color: var(--primary);
  transform: translateX(4px);
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  text-align: center;
  opacity: 0.8;
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .footer-brand {
    align-items: center;
  }
}

.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 2rem;
}

.about-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
}

.team-illustration {
  width: 100%;
  height: auto;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 0 20px rgba(99, 102, 241, 0.2));
  transition: all 0.3s ease;
}

.about-image:hover .team-illustration {
  transform: scale(1.02);
  filter: drop-shadow(0 0 30px rgba(99, 102, 241, 0.3));
}

.about-shape {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.1) 0%,
    rgba(79, 70, 229, 0.1) 100%
  );
  opacity: 0.1;
  border-radius: inherit;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 2rem 0;
}

.stat {
  text-align: center;
  padding: 1.5rem;
  background: var(--surface);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.stat:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.stat h3 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.about-svg {
  width: 100%;
  height: auto;
  max-width: 600px;
  filter: drop-shadow(0 20px 40px rgba(212, 163, 115, 0.2));
  transition: transform 0.5s ease;
}

.about-svg {
  filter: drop-shadow(0 20px 40px rgba(99, 102, 241, 0.2));
}

/* Circuit Board Animation */
.circuit-line {
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  animation: drawLine 3s ease-out forwards;
}

.circuit-line:nth-child(2) {
  animation-delay: 0.5s;
}

@keyframes drawLine {
  to {
    stroke-dashoffset: 0;
  }
}

/* Code Elements Animation */
.code-line {
  animation: slideFadeIn 0.6s ease-out forwards;
  opacity: 0;
  transform: translateX(-20px);
}

.code-line:nth-child(2) {
  animation-delay: 0.2s;
}
.code-line:nth-child(3) {
  animation-delay: 0.4s;
}
.code-line:nth-child(4) {
  animation-delay: 0.6s;
}

@keyframes slideFadeIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Floating Tech Icons Animation */
.tech-icon {
  transform-origin: center;
  animation: floatIcon 6s ease-in-out infinite;
}

.tech-icon.cloud {
  animation-delay: 0s;
}

.tech-icon.database {
  animation-delay: 2s;
}

.tech-icon.gear {
  animation: spinGear 12s linear infinite;
}

@keyframes floatIcon {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(0, -15px);
  }
}

@keyframes spinGear {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Connection Lines Animation */
.connection {
  stroke-dasharray: 10;
  animation: flowLine 2s linear infinite;
}

@keyframes flowLine {
  to {
    stroke-dashoffset: -20;
  }
}

/* Pulse Effects Animation */
.pulse-circle {
  animation: pulse 2s ease-in-out infinite;
}

.pulse-circle:nth-child(2) {
  animation-delay: 0.6s;
}

.pulse-circle:nth-child(3) {
  animation-delay: 1.2s;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.5);
    opacity: 0.5;
  }
}

/* Monitor Frame Animation */
.monitor-frame {
  animation: glowMonitor 4s ease-in-out infinite;
}

@keyframes glowMonitor {
  0%,
  100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.2);
  }
}

.about-svg:hover {
  transform: translateY(-10px);
}

.floating-elements {
  animation: float 8s ease-in-out infinite;
}

.floating-elements > * {
  transform-origin: center;
  animation: gentleSpin 15s linear infinite;
}

.floating-elements > *:nth-child(2n) {
  animation-direction: reverse;
  animation-duration: 20s;
}

.floating-elements > *:nth-child(3n) {
  animation-delay: -5s;
}

@keyframes gentleSpin {
  from {
    transform: rotate(0deg) translate(10px) rotate(0deg);
  }
  to {
    transform: rotate(360deg) translate(10px) rotate(-360deg);
  }
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: min(6rem, 8vw);
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 max(2rem, 4vw);
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: min(3rem, 5vw);
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: relative;
}

.about-text h3 {
  color: var(--primary);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 0.5rem;
  position: relative;
  display: inline-block;
}

.about-text h3::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(to right, var(--primary), transparent);
  border-radius: 2px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 3vw, 2rem);
  margin-top: 2rem;
}

.stat-card {
  background: linear-gradient(145deg, var(--glass-bg), var(--surface));
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-radius: var(--card-radius);
  text-align: center;
  border: 1px solid var(--glass-border);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  -webkit-backdrop-filter: var(--backdrop-blur);
  backdrop-filter: var(--backdrop-blur);
}

.stat-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  opacity: 0;
  transition: opacity 0.4s;
  z-index: 0;
}

.stat-card:hover::before {
  opacity: 0.1;
}

.stat-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.stat-number {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 1;
}

.floating-elements > * {
  transform-origin: center;
  animation: spin 12s linear infinite;
}

.floating-elements > *:nth-child(2n) {
  animation-direction: reverse;
  animation-duration: 15s;
}

@keyframes spin {
  from {
    transform: rotate(0deg) translateY(0);
  }
  50% {
    transform: rotate(180deg) translateY(-20px);
  }
  to {
    transform: rotate(360deg) translateY(0);
  }
}

@media (max-width: 968px) {
  .about-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-image {
    max-width: 500px;
    margin: 0 auto;
  }

  .about-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .about-stats {
    grid-template-columns: 1fr;
  }
}

.feature-icon {
  width: 48px;
  height: 48px;
  stroke: var(--primary);
  margin-bottom: 1rem;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card img.feature-icon {
  filter: invert(48%) sepia(79%) saturate(2476%) hue-rotate(130deg)
    brightness(118%) contrast(119%);
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
  transition: transform 0.3s ease;
}

.feature-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem;
  background: var(--surface);
  border-radius: 12px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 25px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  margin: -0.5rem;
  z-index: 10;
  transition: transform var(--transition-fast);
}

.mobile-menu-btn:hover {
  transform: scale(1.1);
}

.mobile-menu-btn span {
  width: 30px;
  height: 3px;
  background: var(--primary);
  border-radius: 10px;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
  position: relative;
  transform-origin: 1px;
}

.mobile-menu-btn.active span:first-child {
  transform: rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:last-child {
  transform: rotate(-45deg);
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: flex;
    position: relative;
    z-index: 1000;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 100%;
    flex-direction: column;
    background: var(--surface);
    padding: 80px 2rem 2rem;
    transition: transform 0.3s ease-in-out;
    z-index: 999;
    transform: translateX(100%);
  }

  .nav-links.active {
    transform: translateX(0);
    right: 0;
  }

  .nav-link {
    font-size: 1.2rem;
    padding: 1rem;
    width: 100%;
    text-align: center;
    display: block;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.98);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateX(100%);
    transition: var(--transition-normal);
    padding: 2rem;
    z-index: 100;
  }

  .nav-links.active {
    transform: translateX(0);
  }

  .nav-link {
    font-size: clamp(1.2rem, 4vw, 1.5rem);
    margin: 1rem 0;
  }
}

/* Modern grid layouts */
.services-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  padding: 2rem;
}

.service-card {
  height: 100%;
  backdrop-filter: blur(8px);
  transform: translateY(0);
  transition: var(--transition-normal);
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--backdrop-blur);
  backdrop-filter: var(--backdrop-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--card-radius);
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(204, 213, 174, 0.2),
    rgba(212, 163, 115, 0.1)
  );
  opacity: 0;
  transition: var(--transition-normal);
  z-index: -1;
}

.service-card:hover {
  transform: var(--hover-lift);
  box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
  opacity: 1;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media (max-width: 968px) {
  .contact-info {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 580px) {
  .contact-info {
    grid-template-columns: 1fr;
  }
}

.contact-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 2.5rem;
  background: var(--surface);
  border-radius: var(--card-radius);
  border: 1px solid var(--glass-border);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-icon {
  flex-shrink: 0;
  margin-right: 1.5rem;
  width: 56px;
  height: 56px;
}

.contact-info {
  flex: 1;
}

/* Update responsive breakpoints */
@media (max-width: 1200px) {
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-card:hover {
  transform: var(--hover-lift);
  box-shadow: var(--card-shadow);
}

/* Enhanced buttons */
.btn-primary,
.btn-secondary {
  transition: transform var(--transition-fast),
    background var(--transition-fast), box-shadow var(--transition-fast);
  border-radius: 12px;
  padding: 1rem 2rem;
  position: relative;
  overflow: hidden;
  z-index: 2;
  position: relative;
  border-radius: var(--button-radius);
  background: var(--primary);
  color: var(--cream);
  border: 2px solid transparent;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary::before,
.btn-secondary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    130deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transform: translateX(-100%);
  transition: transform 0.4s;
}

.btn-primary:hover::before,
.btn-secondary:hover::before {
  transform: translateX(100%);
}

.btn-primary:hover,
.btn-secondary:hover {
  transform: var(--translate-hover);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.15);
}

.btn {
  padding: 0.875rem 2rem;
  border-radius: var(--button-radius);
  font-weight: 500;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  @extend .btn;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--cream);
  border: none;
}

.btn-secondary {
  @extend .btn;
  background: transparent;
  border: 2px solid var(--primary);
  color: var (--primary);
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transform: translateX(-100%);
  transition: var(--transition-normal);
}

.btn:hover::before {
  transform: translateX(100%);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: clamp(2rem, 6vw, 4rem);
  align-items: center;
}

.about-image img {
  width: 100%;
  height: auto;
  max-width: 500px;
  margin: 0 auto;
  display: block;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr));
  gap: clamp(1rem, 3vw, 2rem);
}

.stat-card {
  padding: clamp(1rem, 3vw, 1.5rem);
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--backdrop-blur);
  backdrop-filter: var(--backdrop-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--card-radius);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-card:hover {
  transform: var(--hover-lift);
  box-shadow: var(--card-shadow);
}

.footer {
  padding: clamp(2rem, 5vw, 4rem) clamp(1rem, 3vw, 2rem);
}

.footer-content {
  grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
  gap: clamp(2rem, 5vw, 4rem);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cardFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: var(--transition-normal);
}

.loading {
  opacity: 0.7;
  pointer-events: none;
  position: relative;
  overflow: hidden;
}

.card-loading {
  position: relative;
  overflow: hidden;
}

.card-loading::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transform: translateX(-100%);
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  100% {
    transform: translateX(100%);
  }
}

@media (max-width: 768px) {
  button,
  .nav-link,
  .footer a {
    min-height: 44px;
    min-width: 44px;
    padding: clamp(0.5rem, 3vw, 1rem);
  }

  .service-card,
  .contact-card,
  .stat-card {
    padding: clamp(1.25rem, 4vw, 2rem);
  }

  .card-base {
    border-radius: calc(var(--card-radius) * 0.75);
  }
}

@media (hover: none) {
  .service-card:active,
  .contact-card:active,
  .stat-card:active {
    transform: scale(0.98);
  }
}

.service-card,
.contact-card,
.stat-card {
  animation: cardFloat 6s ease-in-out infinite;
  animation-delay: calc(var(--card-index, 0) * 0.1s);
}

.lazy-image {
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.lazy-image.loaded {
  opacity: 1;
}

.contact {
  background: linear-gradient(to bottom, var(--cream), var(--beige));
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brown), transparent);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(280px, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  padding: 2.5rem 2rem;
  border-radius: var(--card-radius);
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(204, 213, 174, 0.2),
    rgba(212, 163, 115, 0.1)
  );
  opacity: 0;
  transition: 0.4s;
}

.contact-card:hover::before {
  opacity: 1;
}

.contact-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  padding: 1rem;
  background: var(--mint);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.4s;
  position: relative;
  z-index: 1;
}

.contact-card:hover .contact-icon {
  transform: scale(1.1) rotate(-5deg);
  background: var(--brown);
}

.contact-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--brown);
  transition: 0.4s;
}

.contact-card:hover .contact-icon svg {
  stroke: var(--cream);
}

.contact-card h3 {
  color: var(--brown);
  font-size: 1.25rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.contact-card p {
  color: var(--text-secondary);
  line-height: 1.6;
}

.service-icon svg,
.contact-icon svg,
.feature-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--svg-primary);
  stroke-width: var(--svg-stroke-width);
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  transition: all 0.3s ease;
}

.service-card:hover .service-icon svg,
.contact-card:hover .contact-icon svg,
.feature-card:hover .feature-icon svg {
  stroke: var(--svg-hover);
  transform: scale(1.1);
}

.service-icon,
.contact-icon,
.feature-icon {
  background: var(--svg-light);
  padding: 1rem;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.card:hover .service-icon,
.contact-card:hover .contact-icon,
.feature-card:hover .feature-icon {
  background: var(--primary);
}

@media (max-width: 768px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    margin: 0 auto;
  }

  .hero-cta {
    justify-content: center;
    flex-wrap: wrap;
  }

  .btn {
    width: 100%;
    max-width: 200px;
  }
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  border-radius: 2px;
}

.section-header p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 1rem auto 0;
}

.service-card {
  padding: 2.5rem;
  background: linear-gradient(145deg, var(--glass-bg), var(--surface));
  border: 1px solid var(--glass-border);
  border-radius: var(--card-radius);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-sm);
  -webkit-backdrop-filter: var(--backdrop-blur);
  backdrop-filter: var(--backdrop-blur);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.service-card h3 {
  font-size: 1.5rem;
  color: var(--primary);
  margin: 1.5rem 0 1rem;
}

.service-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.service-list li {
  padding: 0.5rem 0 0.5rem 1.5rem;
  position: relative;
  color: var(--text-secondary);
}

.service-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

.map-container {
  margin-top: 1.5rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.map-container iframe {
  display: block;
  width: 100%;
  height: 200px;
  border: 0;
}

@media (max-width: 768px) {
  .section-header {
    margin-bottom: 3rem;
  }

  .service-card {
    padding: 2rem;
  }

  .map-container {
    height: 150px;
  }
}

.about {
  background: linear-gradient(to bottom right, var(--cream), var(--beige));
  position: relative;
  padding: 6rem 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.about-text h3 {
  color: var(--primary);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 1rem;
}

.about-text p {
  color: var(--text-secondary);
  font-size: clamp(1rem, 2vw, 1.1rem);
  line-height: 1.7;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.stat-card {
  background: var(--glass-bg);
  padding: 2rem 1.5rem;
  border-radius: var(--card-radius);
  text-align: center;
  border: 1px solid var(--glass-border);
  transition: all 0.3s ease;
  -webkit-backdrop-filter: var(--backdrop-blur);
  backdrop-filter: var(--backdrop-blur);
}

.stat-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var (--primary);
  display: block;
  margin-bottom: 0.5rem;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-card h4 {
  color: var(--text-primary);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.stat-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.about-image {
  position: relative;
  border-radius: var(--card-radius);
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--card-radius);
  transition: transform 0.5s ease;
}

.about-image:hover img {
  transform: scale(1.05);
}

.about-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent, rgba(212, 163, 115, 0.1));
  pointer-events: none;
}

@media (max-width: 968px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .about-image {
    max-width: 600px;
    margin: 0 auto;
  }

  .about-text {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.contact .section-header {
  margin-bottom: 5rem;
}

.contact .section-header h2 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.5rem;
  position: relative;
}

.contact .section-header h2::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 5px;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  border-radius: 3px;
}

.contact .section-header p {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: var(--text-secondary);
  max-width: 700px;
  margin: 2rem auto 0;
  line-height: 1.6;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (max-width: 1200px) {
  .contact-info {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 968px) {
  .contact-info {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}

@media (max-width: 768px) {
  .contact-info {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.contact-card {
  background: linear-gradient(145deg, var(--glass-bg), var(--surface));
  border: 2px solid var(--glass-border);
  padding: 3rem 2rem;
  border-radius: var(--card-radius);
  box-shadow: var(--shadow-md);
  -webkit-backdrop-filter: var(--backdrop-blur);
  backdrop-filter: var(--backdrop-blur);
}

.contact-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.contact-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 2rem;
  padding: 1.5rem;
  background: var(--mint);
  border-radius: 20px;
}

.contact-card h3 {
  font-size: 1.5rem;
  margin: 1.5rem 0;
}

.contact-card p {
  font-size: 1.1rem;
  line-height: 1.8;
}

@media (max-width: 768px) {
  .contact .section-header {
    margin-bottom: 3rem;
  }

  .contact-card {
    padding: 2rem;
  }

  .contact-icon {
    width: 60px;
    height: 60px;
    padding: 1rem;
  }
}

.services {
  background: linear-gradient(
    135deg,
    var(--background) 0%,
    rgba(37, 99, 235, 0.05) 100%
  );
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
}

.services::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.services-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.services-header {
  text-align: center;
  margin-bottom: 5rem;
}

.services-header span {
  color: var(--primary);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.875rem;
  display: block;
  margin-bottom: 1rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  padding: 0;
}

.service-card {
  background: var(--surface);
  border-radius: var(--card-radius);
  padding: 3rem 2.5rem;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
  border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: var(--backdrop-blur);
  backdrop-filter: var(--backdrop-blur);
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.4s;
  z-index: 0;
}

.service-card > * {
  position: relative;
  z-index: 1;
}

.service-icon {
  width: 64px;
  height: 64px;
  background: rgba(37, 99, 235, 0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
}

.service-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--primary);
  transition: all 0.4s ease;
}

.service-card h3 {
  font-size: 1.5rem;
  color: var(--text-primary);
  margin: 0;
  transition: color 0.4s;
}

.service-card p {
  color: var(--text-secondary);
  margin: 0;
  transition: color 0.4s;
}

.service-list {
  width: 100%;
  margin: 0;
  padding: 0;
}

.service-list li {
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
  padding-left: 1.5rem;
  position: relative;
  transition: color 0.4s;
}

.service-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--primary);
  transition: transform 0.3s;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
  opacity: 0.03;
}

.service-card:hover .service-icon {
  background: var(--primary);
  transform: scale(1.1) rotate(-5deg);
}

.service-card:hover .service-icon svg {
  stroke: white;
}

.service-card:hover .service-list li::before {
  transform: translateX(3px);
}

@media (max-width: 768px) {
  .services {
    padding: 4rem 0;
  }

  .services-grid {
    gap: 1.5rem;
  }

  .service-card {
    padding: 2rem;
  }
}

/* Enhanced Contact Section */
.contact {
  background: linear-gradient(
    135deg,
    var(--background) 0%,
    rgba(37, 99, 235, 0.02) 100%
  );
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
}

.contact::before,
.contact::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  opacity: 0.05;
  filter: blur(50px);
  z-index: 0;
}

.contact::before {
  top: -100px;
  left: -100px;
}

.contact::after {
  bottom: -100px;
  right: -100px;
}

.contact-container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  padding: 0;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-card {
  background: var(--surface);
  border-radius: var(--card-radius);
  padding: 3rem;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
  -webkit-backdrop-filter: var(--backdrop-blur);
  backdrop-filter: var(--backdrop-blur);
}

.contact-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  opacity: 0;
  transition: opacity 0.4s;
  z-index: 0;
}

.contact-card > * {
  position: relative;
  z-index: 1;
}

.contact-icon {
  width: 64px;
  height: 64px;
  background: rgba(37, 99, 235, 0.08);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
}

.contact-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--primary);
  stroke-width: 2;
  transition: all 0.4s ease;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-card h3 {
  font-size: 1.5rem;
  color: var(--text-primary);
  font-weight: 600;
  margin: 0;
}

.contact-card p {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 1.1rem;
  margin: 0;
}

.contact-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.contact-card:hover::before {
  opacity: 0.03;
}

.contact-card:hover .contact-icon {
  background: var(--primary);
  transform: scale(1.1) rotate(-5deg);
}

.contact-card:hover .contact-icon svg {
  stroke: white;
}

.map-wrapper {
  margin-top: 2rem;
  border-radius: var(--card-radius);
  overflow: hidden;
  position: relative;
  padding-top: 56.25%;
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

.map-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.2) contrast(1.1);
  transition: all 0.3s ease;
}

.map-wrapper:hover iframe {
  filter: grayscale(0) contrast(1);
}

@media (max-width: 768px) {
  .contact-grid {
    gap: 1.5rem;
  }

  .contact-card {
    padding: 2rem;
  }

  .contact-icon {
    width: 48px;
    height: 48px;
  }

  .contact-icon svg {
    width: 24px;
    height: 24px;
  }
}

.map-frame {
  width: 100%;
  height: 250px;
  border: 0;
  border-radius: var(--card-radius);
  filter: grayscale(0.2) contrast(1.1);
  transition: filter var(--transition-normal);
}

.map-frame:hover {
  filter: grayscale(0) contrast(1);
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  padding: 2.5rem;
  background: var(--surface);
  border-radius: var (--card-radius);
  border: 1px solid var(--glass-border);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
}

.contact-card .contact-icon {
  width: 64px;
  height: 64px;
  background: var(--primary);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
}

.contact-card .contact-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--surface);
  stroke-width: 2;
}

.contact-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.contact-card:hover .contact-icon {
  transform: scale(1.1) rotate(-5deg);
  background: var(--secondary);
}

.contact-link {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
}

.contact-link::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: -4px;
  left: 0;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.contact-link:hover {
  color: var(--secondary);
}

.contact-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}
