@import url("https://fonts.googleapis.com/css2?family=Merriweather:wght@300;400;700&family=Noto+Sans+Tamil:wght@400;600&family=Source+Sans+3:wght@300;400;600&display=swap");

:root {
  --blue-900: #0f2f4f;
  --blue-700: #1f4d7a;
  --blue-500: #3b6fa6;
  --blue-100: #e6f0fa;
  --gray-50: #f7f8fa;
  --gray-200: #e1e5ea;
  --text-primary: #0f1d2d;
  --text-muted: #4d5a6a;
  --shadow-soft: 0 12px 30px rgba(15, 47, 79, 0.12);
}

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

body {
  font-family: "Source Sans 3", "Noto Sans Tamil", sans-serif;
  color: var(--text-primary);
  background: linear-gradient(180deg, #ffffff 0%, #f2f6fb 45%, #ffffff 100%);
  line-height: 1.6;
  position: relative;
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  top: -200px;
  right: -180px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(59, 111, 166, 0.18), transparent 70%);
  z-index: -1;
}

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

a {
  color: var(--blue-700);
  text-decoration: none;
}

a:hover {
  color: var(--blue-900);
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.section {
  padding: 72px 0;
}

.section-heading {
  margin-bottom: 28px;
}

.section-heading h2 {
  font-family: "Merriweather", serif;
  font-size: clamp(1.6rem, 1.2rem + 1vw, 2.2rem);
  color: var(--blue-900);
}

.section-heading p {
  margin-top: 6px;
}

.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--gray-200);
  backdrop-filter: blur(8px);
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 16px;
}

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

.brand img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

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

.brand-name {
  font-weight: 600;
  letter-spacing: 0.3px;
}

.brand-tag {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.site-nav {
  display: flex;
  gap: 18px;
  font-weight: 600;
  font-size: 0.95rem;
}

.site-nav a {
  color: var(--text-primary);
}

.hero {
  padding-top: 96px;
}

.hero-grid {
  display: grid;
  gap: 32px;
}

.hero-company {
  font-family: "Merriweather", serif;
  font-size: clamp(2.6rem, 2.2rem + 2.4vw, 4rem);
  word-spacing: 10px;
  color: var(--blue-900);
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}

.hero-headline {
  font-family: "Merriweather", serif;
  font-size: clamp(1rem, 1.2rem + 1vw, 2rem);
  margin: 8px 0 18px;
  color: var(--blue-900);
}

.lead {
  font-size: 1.05rem;
  color: var(--text-muted);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 24px 0 16px;
  align-items: center;
}

.btn {
  background: var(--blue-700);
  color: #ffffff;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(15, 47, 79, 0.18);
  color: #ffffff;
}

.link {
  font-weight: 600;
}

.note {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.hero-card {
  background: #ffffff;
  border: 1px solid var(--gray-200);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow-soft);
}

.hero-card-inner {
  display: grid;
  gap: 16px;
}

.card-title {
  font-weight: 700;
  color: var(--blue-900);
}

.card-stats {
  display: grid;
  gap: 16px;
}

.card-stats div {
  padding: 12px 14px;
  background: var(--gray-50);
  border-radius: 12px;
}

.stat-label,
.stat-title,
.contact-label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.stat-value {
  display: block;
  font-weight: 600;
  color: var(--blue-900);
  margin-top: 4px;
}

.stat-grid {
  display: grid;
  gap: 18px;
}

.stat-tile {
  background: #ffffff;
  border-radius: 16px;
  padding: 20px;
  border: 1px solid var(--gray-200);
  box-shadow: 0 10px 22px rgba(15, 47, 79, 0.08);
}

.about-grid {
  display: grid;
  gap: 32px;
  align-items: center;
}

.about-image img {
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
}

.founder-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--blue-900);
}

.contact {
  background: var(--gray-50);
}

.contact-grid {
  display: grid;
  gap: 32px;
}

.contact-item {
  margin-bottom: 20px;
}

.contact-item a {
  font-weight: 600;
}

.muted {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 6px;
}

.site-footer {
  padding: 24px 0 40px;
  color: var(--text-muted);
  font-size: 0.9rem;
  text-align: center;
}

.tamil {
  font-family: "Noto Sans Tamil", "Source Sans 3", sans-serif;
}

.reveal {
  animation: fadeUp 0.9s ease both;
}

.section:nth-of-type(2) {
  animation-delay: 0.1s;
}

.section:nth-of-type(3) {
  animation-delay: 0.2s;
}

.section:nth-of-type(4) {
  animation-delay: 0.3s;
}

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

@media (min-width: 860px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
  }

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

  .about-grid {
    grid-template-columns: 0.9fr 1.1fr;
  }

  .contact-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

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

  .hero {
    padding-top: 72px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    animation: none;
  }

  .btn {
    transition: none;
  }
}
