/* ==========================================================================
   Asokaa Developers Pvt. Ltd. — redesigned site styles
   ========================================================================== */

:root {
  --navy-900: #0a1c30;
  --navy-800: #102944;
  --navy-700: #163a5f;
  --blue-600: #1f5c9e;
  --blue-500: #2f7cc4;
  --blue-400: #4f9fdc;
  --gold-500: #1a8fd1;
  --gold-400: #4fb0e2;
  --ink: #16212e;
  --ink-soft: #4a5a6a;
  --gray-50: #f6f8fa;
  --gray-100: #eef1f4;
  --gray-200: #e2e7ec;
  --white: #ffffff;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 2px 10px rgba(10, 28, 48, 0.06);
  --shadow-md: 0 10px 30px rgba(10, 28, 48, 0.10);
  --shadow-lg: 0 24px 60px rgba(10, 28, 48, 0.18);
  --container: 1160px;
  --ease: cubic-bezier(.4,0,.2,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Poppins', 'Inter', sans-serif;
  color: var(--navy-900);
  line-height: 1.2;
  margin: 0 0 .5em;
  font-weight: 600;
}

p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 96px 0; }
.section-alt { background: var(--gray-50); }

.section-head { max-width: 640px; margin: 0 0 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.section-head p.lead { color: var(--ink-soft); font-size: 1.05rem; margin-top: .5rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: .75em;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--gold-500);
  display: inline-block;
}

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  border: 1.5px solid transparent;
  transition: all .25s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--blue-500), var(--navy-700));
  color: #fff;
  box-shadow: 0 8px 20px rgba(31, 92, 158, .3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(31, 92, 158, .4); }
.btn-outline {
  border-color: rgba(255,255,255,.5);
  color: #fff;
}
.btn-outline:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-gold {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  color: #fff;
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(26,143,209,.35); }
.btn-sm { padding: 9px 18px; font-size: .85rem; }
.btn-block { width: 100%; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 18px 0;
  background: #fff;
  border-bottom: 1px solid var(--gray-200);
  transition: padding .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.scrolled {
  padding: 10px 0;
  box-shadow: var(--shadow-md);
}
.header-inner { display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; }
.brand img { height: 46px; width: auto; transition: height .3s var(--ease); }
.site-header.scrolled .brand img { height: 38px; }

.site-nav { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.site-nav a {
  color: var(--navy-800);
  font-size: .92rem;
  font-weight: 500;
  padding: 6px 2px;
  position: relative;
  opacity: .82;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--gold-500);
  transition: width .25s var(--ease);
}
.site-nav a:hover, .site-nav a.active { opacity: 1; }
.site-nav a:hover::after, .site-nav a.active::after { width: 100%; }

.header-cta { flex-shrink: 0; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  margin-left: auto;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--navy-800); border-radius: 2px; transition: all .3s var(--ease); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 140px 0 0;
  overflow: hidden;
  background: #fff;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 14% 18%, rgba(47,124,196,.16), transparent 45%),
    radial-gradient(circle at 88% 12%, rgba(26,143,209,.14), transparent 40%),
    radial-gradient(circle at 75% 85%, rgba(47,124,196,.10), transparent 45%);
}
.hero-content { position: relative; z-index: 2; max-width: 780px; padding-bottom: 64px; }
.hero-content .eyebrow { color: var(--gold-500); }
.hero-content h1 {
  color: var(--navy-900);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -.01em;
}
.hero-sub { color: var(--ink-soft); font-size: 1.08rem; max-width: 640px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 12px; }
.hero .btn-outline {
  border-color: var(--navy-800);
  color: var(--navy-800);
}
.hero .btn-outline:hover { background: var(--navy-800); color: #fff; }

.hero-stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 32px 24px;
  margin: 0 auto;
  width: 100%;
  max-width: var(--container);
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.stat { text-align: center; }
.stat-num { display: block; font-family: 'Poppins', sans-serif; font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 700; color: var(--navy-900); }
.stat-label { display: block; font-size: .8rem; color: var(--ink-soft); margin-top: 4px; letter-spacing: .02em; }

/* ==========================================================================
   About
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: .85fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-media { position: relative; }
.about-media:not(.about-media-logo) img:first-child {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: 420px;
  object-fit: cover;
}
.about-media-logo {
  height: 420px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
  background: linear-gradient(160deg, #f3f8fd 0%, #e7f0fa 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
}
.about-media-logo img:first-child {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
}
.about-copy h2 { margin-bottom: .6em; }
.about-copy p { color: var(--ink-soft); }
.founder-line {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--gray-200);
  font-size: .95rem;
  color: var(--navy-800);
  font-weight: 600;
}
.founder-line span { display: block; font-weight: 400; color: var(--ink-soft); font-size: .85rem; margin-top: 2px; }

/* ==========================================================================
   Services
   ========================================================================== */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 34px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.service-icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue-500), var(--navy-700));
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 20px;
}
.service-card h4 { font-size: 1.08rem; margin-bottom: .5em; }
.service-card p { color: var(--ink-soft); font-size: .93rem; margin: 0; }

/* ==========================================================================
   Companies
   ========================================================================== */
.companies-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.company-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.company-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.company-logo {
  width: 100%;
  height: 110px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  padding: 12px;
}
.company-logo img { max-height: 86px; max-width: 100%; object-fit: contain; }
.company-card h4 { font-size: 1.02rem; margin-bottom: 0; text-align: center; }
.company-card p { color: var(--ink-soft); font-size: .88rem; flex-grow: 1; margin: 0; }
.company-badge {
  align-self: flex-start;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--gold-500);
  background: rgba(26,143,209,.12);
  padding: 5px 12px;
  border-radius: 999px;
}

/* ==========================================================================
   Works gallery
   ========================================================================== */
.works-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.work-item {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--gray-100);
  border: none;
  padding: 0;
  display: block;
  width: 100%;
}
.work-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .45s var(--ease);
}
.work-item::after {
  content: "\f00e";
  font-family: "FontAwesome";
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  background: rgba(10,28,48,0);
  opacity: 0;
  transition: all .3s var(--ease);
}
.work-item:hover img { transform: scale(1.08); }
.work-item:hover::after { opacity: 1; background: rgba(10,28,48,.45); }
.work-item.hidden { display: none; }

.works-more { text-align: center; margin-top: 36px; }

.lightbox {
  position: fixed; inset: 0;
  background: rgba(6, 14, 24, .92);
  display: flex; align-items: center; justify-content: center;
  z-index: 2000;
  opacity: 0; visibility: hidden;
  transition: opacity .3s var(--ease);
  padding: 40px;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: min(90vw, 900px); max-height: 82vh; border-radius: 8px; box-shadow: var(--shadow-lg); }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.25);
  color: #fff;
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  transition: background .2s;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,.22); }
.lightbox-close { top: 24px; right: 24px; }
.lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  margin-bottom: 56px;
}
.contact-cards { display: flex; flex-direction: column; gap: 20px; }
.contact-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 26px 28px;
  box-shadow: var(--shadow-sm);
}
.contact-card h4 { display: flex; align-items: center; gap: 10px; font-size: 1rem; margin-bottom: 14px; color: var(--navy-800); }
.contact-card h4 i { color: var(--gold-500); }
.contact-line { display: flex; gap: 10px; font-size: .92rem; color: var(--ink-soft); margin-bottom: 8px; align-items: flex-start; }
.contact-line i { color: var(--blue-500); width: 16px; margin-top: 4px; flex-shrink: 0; }
.contact-line a { color: var(--blue-600); font-weight: 500; }
.contact-line a:hover { text-decoration: underline; }

.contact-form-wrap {
  background: var(--gray-50);
  border-radius: var(--radius);
  padding: 34px;
  border: 1px solid var(--gray-200);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: .82rem; font-weight: 600; margin-bottom: 6px; color: var(--navy-800); }
.form-control {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--gray-200);
  background: #fff;
  font-family: inherit;
  font-size: .95rem;
  color: var(--ink);
  transition: border-color .2s;
}
.form-control:focus { outline: none; border-color: var(--blue-500); }
textarea.form-control { resize: vertical; min-height: 130px; }
.form-msg { font-size: .9rem; font-weight: 600; margin-top: 10px; min-height: 1.4em; }
.form-msg.success { color: #1e7d4c; }
.form-msg.error { color: #c0392b; }

.maps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.maps-grid.single { grid-template-columns: 1fr; }
.map-frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--gray-200); }
.map-frame iframe { display: block; width: 100%; height: 340px; border: 0; }
.maps-grid.single .map-frame iframe { height: 420px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: #fff; color: var(--ink-soft); padding: 48px 0 24px; border-top: 1px solid var(--gray-200); }
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--gray-200);
}
.footer-brand img { height: 40px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 38px; height: 38px;
  border: 1px solid var(--gray-200);
  border-radius: 50%;
  color: var(--navy-800);
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, border-color .2s, color .2s;
}
.footer-social a:hover { background: var(--blue-600); border-color: var(--blue-600); color: #fff; }
.footer-bottom { padding-top: 22px; font-size: .84rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer-bottom a { color: var(--blue-600); font-weight: 600; }

.to-top {
  position: fixed;
  right: 24px; bottom: 24px;
  width: 50px; height: 50px;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .3s var(--ease), visibility .3s var(--ease), transform .3s var(--ease);
  z-index: 900;
  filter: drop-shadow(0 6px 14px rgba(10, 28, 48, 0.25));
}
.to-top img { width: 100%; height: 100%; object-fit: contain; }
.to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { transform: translateY(-2px); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 960px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-media img:first-child { height: 320px; }
  .about-media-logo { height: 260px; padding: 32px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .companies-grid { grid-template-columns: repeat(2, 1fr); }
  .works-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .site-nav {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(78vw, 320px);
    background: #fff;
    border-left: 1px solid var(--gray-200);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 28px;
    padding: 40px;
    transform: translateX(100%);
    transition: transform .35s var(--ease);
    box-shadow: var(--shadow-lg);
  }
  .site-nav.open { transform: translateX(0); }
  .site-nav a { font-size: 1.1rem; }
  .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .hero { padding-top: 120px; }
  .hero-content { padding-bottom: 40px; }
  .form-row { grid-template-columns: 1fr; }
  .maps-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 560px) {
  .section { padding: 64px 0; }
  .service-grid { grid-template-columns: 1fr; }
  .companies-grid { grid-template-columns: 1fr; }
  .works-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { grid-template-columns: repeat(2, 1fr); padding: 24px 16px; }
  .lightbox-prev, .lightbox-next { width: 38px; height: 38px; }
}
