/* ==========================================================================
   Vridhi Coordination & Services Pvt. Ltd. - Master Corporate Design System
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@500;600;700;800&family=Playfair+Display:ital,wght@0,600;0,700;1,400&display=swap');

:root {
  /* Primary Color Palette */
  --navy-deep: #050e1a;
  --navy-primary: #0b2242;
  --navy-surface: #112a4d;
  --navy-light: #1c3b68;
  
  /* Luxury Gold Accents */
  --gold-primary: #d4af37;
  --gold-light: #f5d061;
  --gold-dark: #aa8620;
  --gold-gradient: linear-gradient(135deg, #f5d061 0%, #d4af37 50%, #aa8620 100%);
  --amber-glow: rgba(212, 175, 55, 0.18);
  
  /* Text & Neutral Colors */
  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-light: #f8fafc;
  --text-dim: #94a3b8;
  
  /* Surface & Background Colors */
  --bg-light: #f8fafc;
  --bg-alt: #f1f5f9;
  --bg-card: #ffffff;
  --border-light: #e2e8f0;
  --border-gold: rgba(212, 175, 55, 0.3);
  
  /* Elevation Shadows */
  --shadow-sm: 0 4px 12px rgba(11, 34, 66, 0.05);
  --shadow-md: 0 10px 30px rgba(11, 34, 66, 0.09);
  --shadow-lg: 0 20px 40px rgba(11, 34, 66, 0.15);
  --shadow-gold: 0 10px 30px rgba(212, 175, 55, 0.25);
  
  /* Borders & Transitions */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --font-heading: 'Outfit', 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --max-width: 1280px;
}

/* Reset & Global Base Settings */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-light);
  color: var(--text-main);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

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

ul {
  list-style: none;
}

/* Containers */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--navy-primary);
  line-height: 1.25;
  font-weight: 700;
}

.text-gold {
  color: var(--gold-primary) !important;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-light {
  color: var(--text-light) !important;
}

.lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 780px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.85rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: var(--gold-gradient);
  color: var(--navy-deep);
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 35px rgba(212, 175, 55, 0.4);
  filter: brightness(1.08);
}

.btn-outline {
  background: transparent;
  border-color: var(--gold-primary);
  color: var(--gold-primary);
}

.btn-outline:hover {
  background: var(--gold-primary);
  color: var(--navy-deep);
  transform: translateY(-3px);
}

.btn-outline-white {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--text-light);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--text-light);
  transform: translateY(-3px);
}

/* ==========================================================================
   Top Announcement Bar & Header Navigation
   ========================================================================== */

.top-bar {
  background-color: var(--navy-deep);
  color: var(--text-dim);
  font-size: 0.85rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-info {
  display: flex;
  gap: 1.8rem;
  align-items: center;
}

.top-info item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.top-info i {
  color: var(--gold-primary);
}

.main-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(11, 34, 66, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  transition: var(--transition);
}

.main-header.scrolled {
  box-shadow: 0 10px 30px rgba(5, 14, 26, 0.5);
  padding: 0.2rem 0;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.brand-logo img {
  height: 48px;
  width: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  color: var(--text-light);
  font-weight: 500;
  font-size: 0.92rem;
  padding: 0.5rem 0.2rem;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--gold-gradient);
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: var(--gold-light);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

/* Mobile Nav Toggle */
.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-light);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Dropdown Menu for Services */
.nav-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 280px;
  background: var(--navy-primary);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  padding: 0.8rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.6rem 1.2rem;
  color: var(--text-light);
  font-size: 0.88rem;
  border-left: 3px solid transparent;
}

.dropdown-item:hover {
  background: var(--navy-surface);
  color: var(--gold-light);
  border-left-color: var(--gold-primary);
}

.dropdown-item i {
  color: var(--gold-primary);
  width: 18px;
}

/* ==========================================================================
   Hero Section Layout
   ========================================================================== */

.hero-section {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--text-light);
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(5, 14, 26, 0.92) 0%, rgba(11, 34, 66, 0.82) 60%, rgba(5, 14, 26, 0.9) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 4rem 0;
  max-width: 850px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 1.1rem;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid var(--gold-primary);
  border-radius: 50px;
  color: var(--gold-light);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 3.4rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1.2rem;
  line-height: 1.15;
}

.hero-subtext {
  font-size: 1.25rem;
  color: var(--text-dim);
  margin-bottom: 2.2rem;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}

/* Inner Page Hero (Shorter) */
.inner-hero {
  min-height: 48vh;
  padding: 3rem 0;
}

.inner-hero .hero-title {
  font-size: 2.8rem;
}

/* Breadcrumbs */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--text-dim);
  margin-top: 1rem;
}

.breadcrumb a:hover {
  color: var(--gold-light);
}

.breadcrumb i {
  font-size: 0.7rem;
  color: var(--gold-primary);
}

/* ==========================================================================
   Section Styling & Components
   ========================================================================== */

.section {
  padding: 5.5rem 0;
  position: relative;
}

.section-bg-alt {
  background-color: var(--bg-alt);
}

.section-dark {
  background-color: var(--navy-deep);
  color: var(--text-light);
}

.section-header {
  text-align: center;
  margin-bottom: 3.8rem;
}

.section-subtitle {
  color: var(--gold-primary);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  display: block;
  margin-bottom: 0.6rem;
}

.section-title {
  font-size: 2.3rem;
  color: var(--navy-primary);
}

.section-dark .section-title {
  color: #ffffff;
}

.title-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  margin: 1rem auto 0;
  width: 120px;
}

.title-divider span {
  height: 2px;
  flex: 1;
  background: var(--gold-gradient);
}

.title-divider i {
  color: var(--gold-primary);
  font-size: 0.75rem;
}

/* Cards Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 2.2rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gold-gradient);
  opacity: 0;
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-gold);
}

.card:hover::before {
  opacity: 1;
}

.card-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  background: var(--amber-glow);
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.card:hover .card-icon {
  background: var(--gold-gradient);
  color: var(--navy-deep);
}

.card-title {
  font-size: 1.35rem;
  margin-bottom: 0.8rem;
}

.card-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--navy-primary);
  font-weight: 700;
  font-size: 0.9rem;
}

.card-link i {
  color: var(--gold-primary);
  transition: var(--transition);
}

.card-link:hover i {
  transform: translateX(5px);
}

/* Dark Card Variant */
.card-dark {
  background: var(--navy-primary);
  border-color: rgba(212, 175, 55, 0.2);
  color: var(--text-light);
}

.card-dark .card-title {
  color: #ffffff;
}

.card-dark .card-text {
  color: var(--text-dim);
}

/* Feature List Cards (Checklist Icons) */
.feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 1.5rem;
}

.feature-item {
  display: flex;
  gap: 1.2rem;
  padding: 1.5rem;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.feature-item:hover {
  border-color: var(--gold-primary);
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.feature-content h4 {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}

.feature-content p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Process Flow Timeline */
.process-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  position: relative;
}

.process-step {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  text-align: center;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 1;
}

.step-num {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: var(--navy-deep);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  box-shadow: var(--shadow-gold);
}

.process-step h4 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.process-step p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Grid Lists (Who We Serve & Network) */
.badge-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.badge-item {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.9rem 1.6rem;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy-primary);
  transition: var(--transition);
}

.badge-item i {
  color: var(--gold-primary);
  font-size: 1.2rem;
}

.badge-item:hover {
  background: var(--navy-primary);
  color: var(--gold-light);
  border-color: var(--gold-primary);
  transform: translateY(-3px);
}

/* Values Strip */
.values-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-around;
  text-align: center;
}

.value-pill {
  flex: 1 1 160px;
  padding: 1.5rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(8px);
}

.value-pill i {
  font-size: 2rem;
  color: var(--gold-primary);
  margin-bottom: 0.8rem;
}

.value-pill h4 {
  color: var(--text-light);
  font-size: 1rem;
}

/* Banner CTA Block */
.cta-banner {
  background: linear-gradient(135deg, var(--navy-primary) 0%, var(--navy-deep) 100%);
  border-radius: var(--radius-lg);
  padding: 4rem 3rem;
  color: var(--text-light);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-gold);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cta-banner-content h3 {
  color: #ffffff;
  font-size: 2.2rem;
  margin-bottom: 0.6rem;
}

.cta-banner-content p {
  color: var(--text-dim);
  font-size: 1.1rem;
}

/* Contact Page Form & Details */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3rem;
}

.contact-info-card {
  background: var(--navy-primary);
  color: var(--text-light);
  padding: 3rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-gold);
}

.contact-info-card h3 {
  color: #ffffff;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.info-item {
  display: flex;
  gap: 1.2rem;
  margin-bottom: 1.8rem;
}

.info-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--amber-glow);
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.info-text h5 {
  color: var(--gold-light);
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.info-text p {
  color: var(--text-dim);
  font-size: 0.95rem;
}

/* Contact Form */
.form-card {
  background: var(--bg-card);
  padding: 3rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy-primary);
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  background-color: var(--bg-light);
  transition: var(--transition);
  color: var(--text-main);
}

.form-control:focus {
  outline: none;
  border-color: var(--gold-primary);
  background-color: #ffffff;
  box-shadow: 0 0 0 4px var(--amber-glow);
}

.form-control.error {
  border-color: #ef4444;
}

.error-msg {
  color: #ef4444;
  font-size: 0.82rem;
  margin-top: 0.3rem;
  display: none;
}

.form-control.error + .error-msg {
  display: block;
}

.map-container {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  height: 450px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Toast Feedback */
.toast-msg {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--navy-deep);
  color: var(--text-light);
  border: 1px solid var(--gold-primary);
  padding: 1.2rem 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 2000;
  transform: translateY(100px);
  opacity: 0;
  transition: var(--transition);
}

.toast-msg.show {
  transform: translateY(0);
  opacity: 1;
}

.toast-msg i {
  color: var(--gold-primary);
  font-size: 1.5rem;
}

/* ==========================================================================
   Footer Component
   ========================================================================== */

.main-footer {
  background-color: var(--navy-deep);
  color: var(--text-dim);
  border-top: 2px solid rgba(212, 175, 55, 0.25);
  padding: 5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.6rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--gold-gradient);
}

.footer-about p {
  font-size: 0.92rem;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.footer-links li {
  margin-bottom: 0.7rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-links a:hover {
  color: var(--gold-light);
  transform: translateX(4px);
}

.footer-contact-item {
  display: flex;
  gap: 0.8rem;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.footer-contact-item i {
  color: var(--gold-primary);
  margin-top: 0.2rem;
}

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

/* Scroll Reveal Animation Classes */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.active {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.8rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .top-bar-content {
    flex-direction: column;
    gap: 0.4rem;
    text-align: center;
  }
  .mobile-toggle {
    display: block;
  }
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: var(--navy-primary);
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem;
    gap: 1.2rem;
    transition: var(--transition);
    overflow-y: auto;
  }
  .nav-menu.open {
    left: 0;
  }
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    width: 100%;
    box-shadow: none;
    border: none;
    background: transparent;
    padding-left: 1rem;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-subtext {
    font-size: 1.05rem;
  }
  .cta-banner {
    flex-direction: column;
    text-align: center;
    padding: 2.5rem 1.5rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
