/* ===============================
   ARSH Analytics Group - STYLE
   Clean + Responsive + Hover Dropdown
   =============================== */

/* --- Root Colors and Global Reset --- */
:root {
  --navy: #0b2f59;
  --light: #f7f9fb;
  --accent: #0b3f6b;
  --max-width: 1100px;
}

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

body {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color: var(--navy);
  line-height: 1.6;
  background: #fff;
}

/* --- Layout Helpers --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 40px 20px;
}

/* ===============================
   HEADER + NAVIGATION
   =============================== */

.site-header {
  position: relative;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 1px 6px rgba(11, 47, 89, 0.06);
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 40px;
}

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

.logo {
  height: 70px;
  width: auto;
  object-fit: contain;
}

.brand-text h1 {
  font-size: 20px;
  letter-spacing: 1px;
  margin-bottom: 2px;
}

.tagline {
  font-size: 13px;
  color: var(--accent);
  margin-top: 0;
}

/* --- Main Navigation --- */
.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.main-nav a {
  text-decoration: none;
  color: var(--navy);
  font-weight: 600;
  position: relative;
  padding: 6px 8px;
  transition: color 0.3s ease;
}

.main-nav a:hover {
  color: var(--accent);
}

/* --- Dropdown (Submenu) --- */
.has-submenu {
  position: relative;
}

.submenu {
  display: none;
  position: absolute;
  background: #fff;
  top: 100%;
  left: 0;
  min-width: 240px;
  box-shadow: 0 8px 20px rgba(11, 47, 89, 0.1);
  border-radius: 8px;
  padding: 10px 0;
  z-index: 999;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.25s ease-in-out;
}

/* Show submenu on hover */
.has-submenu:hover > .submenu {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.submenu a {
  display: block;
  padding: 10px 18px;
  color: var(--navy);
  font-weight: 500;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
}

.submenu a:hover {
  background: var(--light);
  color: var(--accent);
}

/* ===============================
   HERO
   =============================== */

.hero {
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background-image: linear-gradient(rgba(11,47,89,0.28), rgba(11,47,89,0.28)), 
    url('https://images.unsplash.com/photo-1542744173-8e7e53415bb0?q=80&w=1600&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  color: #fff;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,47,89,0.45), rgba(11,47,89,0.35));
}

.hero-content {
  position: relative;
  text-align: center;
  max-width: 900px;
  padding: 30px;
}

.hero h2 {
  font-size: 36px;
  margin-bottom: 12px;
}

.hero p {
  font-size: 16px;
  margin-bottom: 18px;
  opacity: 0.95;
}

.cta {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 6px;
  background: #fff;
  color: var(--navy);
  text-decoration: none;
  font-weight: 700;
  transition: background 0.3s ease, color 0.3s ease;
}

.cta:hover {
  background: var(--navy);
  color: #fff;
}

/* ===============================
   SECTIONS + CARDS
   =============================== */

.section {
  padding: 60px 0;
}

.section.light {
  background: var(--light);
}

h3 {
  font-size: 22px;
  margin-bottom: 18px;
  color: var(--navy);
}

/* --- Grid & Cards --- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.card {
  background: #fff;
  border-radius: 10px;
  padding: 22px;
  box-shadow: 0 6px 18px rgba(11,47,89,0.06);
}

.card h4 {
  margin-bottom: 8px;
  color: var(--navy);
}

/* --- Industries List --- */
.industries {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.industries li {
  background: var(--light);
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 600;
}

/* --- Approach grid --- */
.approach-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.approach-item {
  background: #fff;
  border-radius: 8px;
  padding: 18px;
  box-shadow: 0 6px 14px rgba(11,47,89,0.04);
}

/* ===============================
   CONTACT FORM
   =============================== */

.contact-form {
  max-width: 720px;
  margin-top: 18px;
  display: grid;
  gap: 12px;
}

.contact-form label {
  display: block;
  font-size: 13px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #dfe7ef;
  border-radius: 6px;
}

.btn {
  background: var(--navy);
  color: #fff;
  padding: 12px 16px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-weight: 700;
  transition: background 0.3s ease;
}

.btn:hover {
  background: var(--accent);
}

/* ===============================
   FOOTER
   =============================== */

.site-footer {
  border-top: 1px solid #eef3f7;
  padding: 18px 0;
  text-align: center;
  color: #617089;
  font-size: 14px;
}

/* ===============================
   ANIMATIONS
   =============================== */

.fade-up {
  opacity: 0;
  transform: translateY(18px);
  transition: all 560ms cubic-bezier(.2, .9, .2, 1);
}

.fade-up.visible {
  opacity: 1;
  transform: none;
}

.delay { transition-delay: 160ms; }
.delay-2 { transition-delay: 320ms; }

/* ===============================
   RESPONSIVE
   =============================== */

@media (max-width: 800px) {
  .nav-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 20px;
  }

  .main-nav {
    flex-direction: column;
    gap: 10px;
  }

  .submenu {
    position: static;
    box-shadow: none;
    transform: none;
    opacity: 1;
    display: none;
  }

  .has-submenu:focus-within > .submenu,
  .has-submenu:hover > .submenu {
    display: block;
  }

  .submenu a {
    padding: 8px 14px;
  }

  .logo {
    height: 56px;
  }

  .hero {
    height: 360px;
  }

  .brand-text h1 {
    font-size: 16px;
  }
}
