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

body {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background: radial-gradient(circle at top left, #fef6e7 0, #f3f7ff 40%, #f5f5ff 70%, #ffffff 100%);
  color: #0f172a;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.hero {
  min-height: 100vh;
  padding: 24px min(6vw, 72px) 80px;
  display: flex;
  flex-direction: column;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: linear-gradient(135deg, #f59e0b, #fcd34d);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0f172a;
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(248, 180, 45, 0.6);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-size: 1.2rem;
  font-weight: 600;
}

.logo-subtitle {
  font-size: 0.8rem;
  color: #64748b;
}

.nav-links {
  display: flex;
  gap: 24px;
  font-size: 0.95rem;
}

.nav-links a {
  position: relative;
  padding-bottom: 4px;
  color: #475569;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(135deg, #f59e0b, #f97316);
  transition: width 0.2s ease;
}

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

.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(2.6rem, 4vw, 3.6rem);
  letter-spacing: -0.04em;
  margin-bottom: 16px;
}

.hero-text h1 span {
  background: linear-gradient(135deg, #f97316, #facc15);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.domain-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.04);
  color: #0f172a;
  font-size: 0.85rem;
  margin-bottom: 10px;
}

.location-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(6, 78, 59, 0.12), rgba(5, 46, 22, 0.08));
  color: #065f46;
  font-size: 0.9rem;
  margin-bottom: 12px;
  border: 1px solid rgba(6, 78, 59, 0.25);
}

.location-badge strong {
  font-weight: 600;
}

.hero-subtitle {
  color: #64748b;
  max-width: 480px;
  margin-bottom: 20px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease,
    background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn.primary {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: white;
  box-shadow: 0 12px 30px rgba(22, 163, 74, 0.5);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(22, 163, 74, 0.55);
}

.btn.secondary {
  background: white;
  border-color: rgba(148, 163, 184, 0.6);
  color: #0f172a;
}

.btn.secondary:hover {
  background: #0f172a;
  color: white;
  border-color: #0f172a;
}

.btn.wide {
  width: 100%;
  justify-content: center;
}

.hero-quotes {
  display: grid;
  gap: 4px;
  font-size: 0.9rem;
  color: #64748b;
  border-left: 2px solid rgba(148, 163, 184, 0.4);
  padding-left: 12px;
}

.hero-images {
  position: relative;
  display: grid;
  place-items: center;
}

/* Screenshot-style hero: circular images with white borders + green/yellow shapes */
.hero-images-screenshot {
  min-height: 380px;
  position: relative;
}

.hero-shapes {
  position: absolute;
  inset: -20px;
  border-radius: 28% 72% 58% 42% / 44% 42% 58% 56%;
  background:
    radial-gradient(70% 60% at 15% 25%, rgba(34, 197, 94, 0.35) 0%, rgba(34, 197, 94, 0) 60%),
    radial-gradient(65% 55% at 85% 20%, rgba(234, 179, 8, 0.35) 0%, rgba(234, 179, 8, 0) 58%),
    radial-gradient(70% 70% at 70% 85%, rgba(59, 130, 246, 0.18) 0%, rgba(59, 130, 246, 0) 55%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.85) 0%, rgba(248, 250, 252, 0.9) 55%, rgba(255, 255, 255, 0.95) 100%);
  filter: saturate(1.15) contrast(1.05);
  z-index: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
  animation: blob 10s ease-in-out infinite;
}

.hero-shapes::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(120% 140% at 20% 10%, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0) 55%),
    radial-gradient(120% 140% at 80% 30%, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0) 60%);
  mix-blend-mode: overlay;
  pointer-events: none;
}

.hero-shapes::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0.14;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
  pointer-events: none;
}

@keyframes blob {
  0% {
    border-radius: 28% 72% 58% 42% / 44% 42% 58% 56%;
    transform: translate3d(0, 0, 0) rotate(-1deg) scale(1);
  }
  50% {
    border-radius: 60% 40% 40% 60% / 55% 65% 35% 45%;
    transform: translate3d(6px, -8px, 0) rotate(1.5deg) scale(1.025);
  }
  100% {
    border-radius: 28% 72% 58% 42% / 44% 42% 58% 56%;
    transform: translate3d(0, 0, 0) rotate(-1deg) scale(1);
  }
}

.hero-circle {
  position: relative;
  z-index: 1;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #fff;
  box-shadow: 0 16px 48px rgba(15, 23, 42, 0.25);
  background: #fff;
}

.hero-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-circle-main {
  width: min(220px, 42vw);
  aspect-ratio: 1;
}

.hero-circle-main.left {
  position: absolute;
  left: 0;
  top: 18%;
  width: min(190px, 35vw);
}

.hero-circle-main.center {
  position: relative;
  z-index: 2;
  transform: translateY(-4%);
}

.hero-circle-main.right {
  position: absolute;
  right: 0;
  bottom: -6%;
  width: min(190px, 35vw);
}

/* Legacy rectangular hero images (kept for any non-screenshot layout) */
.hero-image {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.35);
}

.hero-image.main {
  width: min(420px, 100%);
}

.hero-image.stacked {
  position: absolute;
  width: 48%;
}

.hero-image.stacked.top {
  top: -20px;
  right: -10px;
}

.hero-image.stacked.bottom {
  bottom: -30px;
  left: -10px;
}

.hero-image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.section {
  padding: 40px min(6vw, 72px);
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 28px;
}

.section-header h2 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.section-header p {
  color: #64748b;
  font-size: 0.98rem;
}

.services {
  background: radial-gradient(circle at top, rgba(248, 250, 252, 0.9), #ffffff);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.service-card {
  padding: 20px 18px;
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(248, 250, 252, 0.95), #ffffff);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(226, 232, 240, 0.9);
  transition: transform 0.15s ease, box-shadow 0.15s ease,
    border-color 0.15s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.12);
  border-color: rgba(248, 180, 45, 0.7);
}

.service-icon {
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.service-card h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.service-card p {
  font-size: 0.9rem;
  color: #64748b;
}

.about {
  padding-top: 20px;
}

.about-content {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: center;
}

.about-text h2 {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.about-text p {
  color: #64748b;
  font-size: 0.98rem;
  margin-bottom: 16px;
}

.about-list {
  list-style: none;
  display: grid;
  gap: 6px;
  font-size: 0.93rem;
}

.about-list li::before {
  content: "✦";
  color: #f59e0b;
  margin-right: 8px;
}

.about-image-grid {
  display: grid;
  gap: 14px;
}

.about-img {
  width: 100%;
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.3);
}

.about-image img {
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.3);
}

/* Kollam, Kerala section */
.kollam {
  background: linear-gradient(180deg, rgba(254, 246, 231, 0.6) 0%, rgba(255, 255, 255, 0.95) 100%);
  padding-top: 32px;
  padding-bottom: 48px;
}

.kollam .section-header p {
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.kollam-quotes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 900px;
  margin: 0 auto 36px;
}

.malayalam-quote {
  padding: 20px 22px;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.08);
  margin: 0;
  font-style: normal;
}

.malayalam-quote .ml {
  font-family: "Noto Sans Malayalam", Poppins, sans-serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: #0f172a;
  display: block;
  margin-bottom: 8px;
  line-height: 1.45;
}

.malayalam-quote cite {
  display: block;
  font-size: 0.85rem;
  color: #64748b;
  font-style: normal;
  margin-bottom: 6px;
}

.malayalam-quote .translation {
  font-size: 0.9rem;
  color: #475569;
  margin: 0;
}

.kollam-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.kollam-gallery-item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 44px rgba(15, 23, 42, 0.2);
  aspect-ratio: 4/3;
}

.kollam-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.kollam-gallery-item:hover img {
  transform: scale(1.05);
}

.kollam-gallery-item span {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 16px;
  background: linear-gradient(transparent, rgba(15, 23, 42, 0.85));
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
}

.contact {
  padding-top: 10px;
  padding-bottom: 80px;
}

.contact-card {
  max-width: 640px;
  margin: 0 auto;
  padding: 24px 22px;
  border-radius: 24px;
  background: radial-gradient(circle at top left, #022c22, #020617);
  color: #e5e7eb;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.6);
}

.contact-card h2 {
  font-size: 1.7rem;
  margin-bottom: 8px;
}

.contact-card p {
  font-size: 0.96rem;
  color: #cbd5f5;
  margin-bottom: 18px;
}

.contact-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.contact-card .btn.primary {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: white;
  border-color: transparent;
}

.contact-card .btn.secondary {
  background: transparent;
  border-color: rgba(148, 163, 184, 0.6);
  color: #e5e7eb;
}

.footer {
  padding: 16px min(6vw, 72px) 20px;
  border-top: 1px solid rgba(226, 232, 240, 0.8);
  background: rgba(248, 250, 252, 0.9);
}

.footer-inner {
  text-align: center;
  font-size: 0.85rem;
  color: #64748b;
}

.footer-inner .footer-location {
  margin-top: 8px;
  font-size: 0.8rem;
  color: #475569;
}

.footer-inner .footer-location strong {
  color: #0f172a;
}

.floating-actions {
  position: fixed;
  right: 18px;
  bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 50;
}

.floating-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.5);
  color: white;
  transition: transform 0.15s ease, box-shadow 0.15s ease,
    background 0.15s ease;
}

.floating-btn span {
  margin-left: 2px;
}

.floating-btn.whatsapp {
  background: linear-gradient(135deg, #22c55e, #16a34a);
}

.floating-btn.call {
  background: linear-gradient(135deg, #f97316, #ea580c);
}

.floating-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.6);
}

@media (max-width: 960px) {
  .hero {
    padding-inline: 20px;
  }

  .section {
    padding-inline: 20px;
  }

  .hero-content {
    grid-template-columns: minmax(0, 1.2fr);
  }

  .hero-images.hero-images-screenshot {
    order: -1;
    min-height: 260px;
  }

  .hero-circle-main,
  .hero-circle-main.left,
  .hero-circle-main.center,
  .hero-circle-main.right {
    position: relative;
    width: min(180px, 55vw);
    margin: 0 auto;
    transform: none;
    top: auto;
    bottom: auto;
    left: auto;
    right: auto;
  }

  .hero-images-screenshot {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-items: center;
    gap: 12px;
  }

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

  .about-content {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 768px) {
  .kollam-quotes {
    grid-template-columns: minmax(0, 1fr);
  }

  .kollam-gallery {
    grid-template-columns: minmax(0, 1fr);
  }

  .malayalam-quote .ml {
    font-size: 1.15rem;
  }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
  }

  .hero {
    padding-top: 18px;
  }

  .hero-content {
    gap: 24px;
  }

  .hero-text h1 {
    font-size: 2.2rem;
  }

  .services-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-card {
    padding-inline: 18px;
  }

  .contact-actions {
    grid-template-columns: minmax(0, 1fr);
  }
}


