@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap');

:root {
  --primary: #0a84ff;
  --secondary: #00e0ff;
  --dark: #0b0f19;
  --border: rgba(255, 255, 255, 0.15);
  --text-light: #e5e7eb;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

body {
  background: radial-gradient(circle at top, #121a2f, #05070d);
  color: var(--text-light);
  line-height: 1.6;
}

/* HERO */
.hero {
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(10,132,255,.35), rgba(0,224,255,.15)),
    url("https://images.unsplash.com/photo-1519389950473-47ba0277781c");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-content {
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(14px);
  border-radius: 22px;
  padding: 60px;
  border: 1px solid var(--border);
  max-width: 720px;
}

/* BUTTON */
.btn {
  display: inline-block;
  padding: 14px 34px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  color: #000;
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  box-shadow: 0 0 35px rgba(0, 224, 255, 0.45);
  transition: all 0.3s ease;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 55px rgba(0, 224, 255, 0.7);
}

/* SECTIONS */
section {
  padding: 90px 25px;
  max-width: 1200px;
  margin: auto;
}

section h2 {
  font-size: 2.6rem;
  text-align: center;
  margin-bottom: 20px;
}

section h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  margin: 16px auto;
  background: linear-gradient(90deg, var(--secondary), var(--primary));
  border-radius: 4px;
}

/* CTA-STYLE GLASS SECTIONS */
.glass-section {
  position: relative;
  margin-top: 90px;
  padding: 100px 50px;
  border-radius: 36px;
  background:
    linear-gradient(
      160deg,
      #0b3b66,
      #0a4f7a,
      #083b5a
    );
  box-shadow:
    0 40px 120px rgba(0, 0, 0, 0.6),
    inset 0 0 60px rgba(255, 255, 255, 0.05);
}

/* SECTION TEXT */
.glass-section h2 {
  color: #ffffff;
}

.glass-section p {
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
  max-width: 850px;
  margin: auto;
}

/* SERVICES GRID */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

/* LIGHT CARDS ON BLUE BACKGROUND */
.glass-section .service-card {
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.20),
    rgba(255, 255, 255, 0.08)
  );
  border-radius: 26px;
  padding-bottom: 10px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(14px);
  transition: all 0.4s ease;
  box-shadow:
    0 20px 45px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

/* Card hover */
.glass-section .service-card:hover {
  transform: translateY(-10px);
  box-shadow:
    0 35px 90px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

/* Card image */
.service-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-top-left-radius: 26px;
  border-top-right-radius: 26px;
}

/* Card text */
.glass-section .service-card h3 {
  color: #ffffff;
  font-size: 1.35rem;
  margin: 22px 22px 10px;
  font-weight: 600;
}

.glass-section .service-card p {
  color: rgba(255, 255, 255, 0.85);
  margin: 0 22px 28px;
  font-size: 1rem;
  text-align: left;
}

/* CTA */
.cta {
  text-align: center;
  background:
    linear-gradient(160deg, #0b3b66, #0a4f7a, #083b5a);
  border-radius: 36px;
  margin-top: 100px;
  padding: 110px 50px;
  box-shadow:
    0 40px 120px rgba(0, 0, 0, 0.6);
}

.cta h2 {
  font-size: 2.6rem;
}

.cta p {
  margin: 22px auto 38px;
  max-width: 750px;
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
}

/* FOOTER */
footer {
  margin-top: 90px;
  padding: 30px;
  text-align: center;
  color: #9ca3af;
  border-top: 1px solid var(--border);
}


/* CONTACT DETAILS */
.contact-details {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin: 35px 0 45px;
}

.contact-item img {
  width: 100%;       /* make image responsive to container */
  max-width: 420px;  /* keeps it from getting too large on desktop */
  height: auto;
  user-select: none;
  display: block;    /* avoid inline spacing issues */
  box-sizing: border-box;
}


/* GLOW / PULSE ANIMATION */
.glow {
  animation: pulseGlow 3.5s ease-in-out infinite;
}

.glow.delay {
  animation-delay: 1.8s;
}

/* Hover interaction */
.contact-item:hover img {
  transform: translateY(-4px);
  filter: drop-shadow(0 0 22px rgba(0, 224, 255, 0.85));
  transition: all 0.3s ease;
}

/* Keyframes */
@keyframes pulseGlow {
  0% {
    filter: drop-shadow(0 0 8px rgba(0, 224, 255, 0.35));
    transform: scale(1);
  }
  50% {
    filter: drop-shadow(0 0 22px rgba(0, 224, 255, 0.75));
    transform: scale(1.015);
  }
  100% {
    filter: drop-shadow(0 0 8px rgba(0, 224, 255, 0.35));
    transform: scale(1);
  }
}


/* RESPONSIVE */
@media (max-width: 768px) {
  .hero-content {
    padding: 40px 25px;
  }

  .glass-section,
  .cta {
    padding: 70px 25px;
    border-radius: 26px;
  }
}

@media (max-width: 480px) {
  .btn {
    width: 100%;          /* full width within container */
    max-width: 320px;     /* optional: max width so it’s not too wide */
    padding: 12px 24px;   /* slightly smaller padding */
    box-sizing: border-box; /* ensure padding included in width */
  }
  
    .cta {
    padding-left: 20px;
    padding-right: 20px;
  }
    .contact-item img {
    max-width: 100%;   /* always fit inside container */
  }
}

