/* ============================================================
   Tejmonvi Softwares Pvt Ltd — Main Stylesheet
   style.css
   ============================================================ */

/* ── CSS VARIABLES ─────────────────────────────────────────── */
:root {
  --blue-deep:   #0a2540;
  --blue-mid:    #1a5fb4;
  --blue-bright: #2d8cf0;
  --blue-light:  #e8f2ff;
  --white:       #ffffff;
  --grey-soft:   #f5f8fc;
  --grey-text:   #556477;
  --accent:      #f0a500;
  --nav-h:       72px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--blue-deep);
  background: var(--white);
  overflow-x: hidden;
}

/* ── NAV ───────────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(26, 95, 180, 0.12);
  padding: 0 40px;
  gap: 32px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-mark {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--blue-mid), var(--blue-bright));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'DM Sans', serif;
  color: white;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -1px;
}

.nav-company {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.nav-company .name {
  font-family: 'DM Sans', serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--blue-deep);
}

.nav-company .tag {
  font-size: 10px;
  color: var(--grey-text);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--blue-deep);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}

.nav-links a:hover {
  background: var(--blue-light);
  color: var(--blue-mid);
}

.nav-links .cta-btn {
  background: var(--blue-mid);
  color: white;
  border-radius: 8px;
  padding: 9px 20px;
}

.nav-links .cta-btn:hover {
  background: var(--blue-deep);
  color: white;
}

.nav-logo-img {
  height: 48px;
  width: auto;
  display: block;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.footer-logo {
  height: 52px;
  mix-blend-mode: unset;
  /*filter: brightness(0) invert(1);*/
  opacity: 0.92;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  margin-left: auto;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--blue-deep);
  border-radius: 2px;
  transition: 0.3s;
}

/* ── HERO ──────────────────────────────────────────────────── */
#home {
  min-height: 100vh;
  padding-top: var(--nav-h);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  background: linear-gradient(160deg, var(--white) 55%, var(--blue-light) 100%);
  position: relative;
  overflow: hidden;
}

#home::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45, 140, 240, 0.12) 0%, transparent 70%);
}

.hero-text {
  padding: 60px 40px 60px 80px;
  animation: fadeUp 0.9s ease both;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue-light);
  color: var(--blue-mid);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero-eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--blue-bright);
  border-radius: 50%;
}

.hero-text h1 {
  font-family: 'DM Sans', serif;
  font-size: clamp(36px, 4vw, 58px);
  line-height: 1.1;
  font-weight: 900;
  color: var(--blue-deep);
  margin-bottom: 24px;
}

.hero-text h1 span {
  color: var(--blue-mid);
}

.hero-text p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--grey-text);
  max-width: 480px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--blue-mid);
  color: white;
  padding: 14px 32px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: background 0.2s, transform 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary:hover {
  background: var(--blue-deep);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--blue-mid);
  padding: 14px 32px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  border: 2px solid var(--blue-mid);
  transition: background 0.2s, color 0.2s;
}

.btn-outline:hover {
  background: var(--blue-mid);
  color: white;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 80px 60px 80px 20px;
  animation: fadeUp 0.9s 0.2s ease both;
}

.hero-graphic {
  width: 100%;
  max-width: 460px;
  height: 500px;
  position: relative;
  margin: 0 auto;
}

/* ── Centre image ── */
.hero-img-wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 280px;
  height: 280px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(10, 37, 64, 0.22);
  z-index: 2;
}

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

/* Decorative rotating ring around image */
.hero-img-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 308px;
  height: 308px;
  border-radius: 50%;
  border: 2.5px dashed rgba(45, 140, 240, 0.35);
  animation: spin 18s linear infinite;
  z-index: 1;
  pointer-events: none;
}

@keyframes spin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ── Float cards shared ── */
.float-card {
  position: absolute;
  background: white;
  border-radius: 14px;
  box-shadow: 0 12px 36px rgba(10, 37, 64, 0.13);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--blue-deep);
  white-space: nowrap;
  z-index: 3;
  border: 1px solid rgba(26, 95, 180, 0.08);
}

.float-card .icon {
  font-size: 20px;
  flex-shrink: 0;
}

/* Individual card positions — clock-face layout around the circle */
/* Card 1 — top-left  (~10 o'clock) */
.fc-1 { top: 4%;  left: 0%;   animation: float 3.4s 0.0s ease-in-out infinite; }

/* Card 2 — top-right (~2 o'clock) */
.fc-2 { top: 4%;  right: 0%;  animation: float 3.6s 0.7s ease-in-out infinite; }

/* Card 3 — right-mid (~4 o'clock) */
.fc-3 { top: 48%; right: -2%; animation: float 3.2s 1.4s ease-in-out infinite; }

/* Card 4 — bottom-left (~8 o'clock) */
.fc-4 { bottom: 4%; left: 0%;  animation: float 3.8s 2.1s ease-in-out infinite; }

/* Card 5 — bottom-right (~5 o'clock) */
.fc-5 { bottom: 4%; right: 0%; animation: float 3.5s 2.8s ease-in-out infinite; }


/* ── STATS BAR ─────────────────────────────────────────────── */
.stats-row {
  display: flex;
  gap: 0;
  background: var(--blue-deep);
  padding: 40px 80px;
}

.stat {
  flex: 1;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px 20px;
}

.stat:last-child {
  border-right: none;
}

.stat .number {
  font-family: 'DM Sans', serif;
  font-size: 40px;
  font-weight: 900;
  color: white;
}

.stat .label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 4px;
}

/* ── SECTIONS COMMON ───────────────────────────────────────── */
section {
  padding: 100px 80px;
}

.section-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-mid);
  margin-bottom: 16px;
}

.section-title {
  font-family: 'DM Sans', serif;
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 900;
  color: var(--blue-deep);
  line-height: 1.15;
  margin-bottom: 20px;
}

.section-sub {
  font-size: 16px;
  color: var(--grey-text);
  max-width: 560px;
  line-height: 1.8;
}

.section-header {
  margin-bottom: 64px;
}

/* ── SOLUTIONS ─────────────────────────────────────────────── */
#solutions {
  background: var(--grey-soft);
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.sol-card {
  background: white;
  border-radius: 20px;
  padding: 40px 36px;
  border: 1px solid rgba(26, 95, 180, 0.08);
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: default;
  position: relative;
  overflow: hidden;
}

.sol-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue-mid), var(--blue-bright));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.sol-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(10, 37, 64, 0.1);
}

.sol-card:hover::before {
  transform: scaleX(1);
}

.sol-icon {
  width: 60px; height: 60px;
  border-radius: 16px;
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 24px;
}

.sol-card h3 {
  font-family: 'DM Sans', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--blue-deep);
  margin-bottom: 12px;
}

.sol-card p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--grey-text);
}

.sol-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.sol-tag {
  font-size: 11px;
  font-weight: 600;
  background: var(--blue-light);
  color: var(--blue-mid);
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.03em;
}

/* CTA card inside solutions */
.sol-card.cta-card {
  background: linear-gradient(135deg, var(--blue-mid) 0%, var(--blue-deep) 100%);
  color: white;
}

.sol-card.cta-card .sol-icon {
  background: rgba(255, 255, 255, 0.15);
}

.sol-card.cta-card h3 {
  color: white;
}

.sol-card.cta-card p {
  color: rgba(255, 255, 255, 0.75);
}

.sol-card.cta-card .btn-primary {
  background: white;
  color: var(--blue-mid);
  font-size: 14px;
  padding: 12px 24px;
  margin-top: 28px;
  display: inline-flex;
}

/* ── ABOUT ─────────────────────────────────────────────────── */
#about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  background: white;
}

.about-visual {
  position: relative;
}

/* Image wrapper */
.about-img-wrap {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 24px 64px rgba(10, 37, 64, 0.18);
}

.about-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.about-img-wrap:hover .about-img {
  transform: scale(1.04);
}

/* Subtle blue gradient overlay at bottom */
.about-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 40%,
    rgba(10, 37, 64, 0.55) 100%
  );
  border-radius: 24px;
}

/* Floating tag on the image */
.about-img-tag {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-radius: 14px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 24px rgba(10, 37, 64, 0.15);
}

.about-img-tag-icon {
  font-size: 26px;
}

.about-img-tag strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue-deep);
  line-height: 1.2;
}

.about-img-tag span {
  font-size: 11px;
  color: var(--grey-text);
}

.about-badge {
  position: absolute;
  bottom: -20px; right: -20px;
  background: var(--accent);
  color: var(--blue-deep);
  padding: 20px 24px;
  border-radius: 18px;
  font-weight: 700;
  font-size: 14px;
  text-align: center;
  box-shadow: 0 12px 32px rgba(240, 165, 0, 0.3);
}

.about-badge .big-num {
  font-family: 'DM Sans', serif;
  font-size: 36px;
  font-weight: 900;
  display: block;
}

.about-text .section-sub {
  max-width: 100%;
  margin-bottom: 32px;
}

.about-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
}

.pillar {
  background: var(--grey-soft);
  border-radius: 14px;
  padding: 20px;
  border-left: 3px solid var(--blue-mid);
}

.pillar h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--blue-deep);
  margin-bottom: 6px;
}

.pillar p {
  font-size: 12px;
  color: var(--grey-text);
  line-height: 1.6;
}

/* ── WHY US ────────────────────────────────────────────────── */
#why {
  background: var(--blue-deep);
}

#why .section-title { color: white; }
#why .section-label  { color: var(--blue-bright); }
#why .section-sub    { color: rgba(255, 255, 255, 0.65); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 60px;
}

.why-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 32px 28px;
  transition: background 0.25s;
}

.why-card:hover {
  background: rgba(255, 255, 255, 0.1);
}

.why-icon {
  font-size: 32px;
  margin-bottom: 18px;
}

.why-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: white;
  margin-bottom: 10px;
}

.why-card p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
}

/* ── CONTACT ───────────────────────────────────────────────── */
#contact {
  background: var(--grey-soft);
}

.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}

.contact-info .section-sub {
  max-width: 100%;
  margin-bottom: 40px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-item-icon {
  width: 44px; height: 44px;
  flex-shrink: 0;
  background: var(--blue-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.contact-item h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--blue-deep);
  margin-bottom: 4px;
}

.contact-item p {
  font-size: 13px;
  color: var(--grey-text);
  line-height: 1.6;
}

.contact-form {
  background: white;
  border-radius: 24px;
  padding: 48px 44px;
  box-shadow: 0 20px 60px rgba(10, 37, 64, 0.08);
}

.contact-form h3 {
  font-family: 'DM Sans', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--blue-deep);
  margin-bottom: 32px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--blue-deep);
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid rgba(26, 95, 180, 0.15);
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--blue-deep);
  background: var(--grey-soft);
  transition: border-color 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue-mid);
  background: white;
}

.form-group textarea {
  resize: vertical;
  min-height: 110px;
}

.form-submit {
  width: 100%;
  padding: 15px;
  background: var(--blue-mid);
  color: white;
  border: none;
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.form-submit:hover {
  background: var(--blue-deep);
  transform: translateY(-2px);
}

/* Form success banner */
.form-success-msg {
  background: #e6f4ea;
  border: 1.5px solid #34a853;
  color: #1a6e2e;
  border-radius: 10px;
  padding: 13px 18px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 20px;
  animation: fadeUp 0.4s ease both;
}

/* ── FOOTER ────────────────────────────────────────────────── */
footer {
  background: var(--blue-deep);
  padding: 60px 80px 30px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 48px;
}

.footer-brand .nav-company .name {
  color: white;
  font-size: 18px;
}

.footer-brand .nav-company .tag {
  color: rgba(255, 255, 255, 0.5);
}

.footer-brand p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.8;
  margin-top: 16px;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col ul a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
}

/* ── ANIMATIONS ────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

/* ── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 900px) {
  section {
    padding: 70px 28px;
  }

  nav {
    padding: 0 24px;
  }

  #home {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text {
    padding: 60px 28px 20px;
  }

  .hero-text p {
    margin: 0 auto 40px;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    padding: 20px 28px 60px;
  }

  .stats-row {
    padding: 32px 28px;
    flex-wrap: wrap;
  }

  .stat {
    min-width: 48%;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
    margin-bottom: 10px;
  }

  #about {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .contact-wrap {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: white;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(26, 95, 180, 0.1);
    gap: 4px;
  }

  .nav-links.open {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

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

  .about-badge {
    right: 10px;
  }

  .float-card:nth-child(2) {
    right: 0;
  }
}
