/* Dinesha Engineering Services — Premium Minimalist Design System */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Refined Executive Color Palette */
  --maroon-deep: #4A071E;
  --maroon-dark: #630C2E;
  --maroon-primary: #7C1237;
  --maroon-light: #9B1D48;
  --maroon-subtle: rgba(124, 18, 55, 0.05);

  --amber-dark: #B45309;
  --amber-primary: #D97706;
  --amber-gold: #F59E0B;
  --amber-light: #FBBF24;
  --amber-subtle: rgba(217, 119, 6, 0.08);

  --dark-slate: #0F172A;
  --dark-card: #1E293B;
  
  --steel-900: #0F172A;
  --steel-800: #1E293B;
  --steel-700: #334155;
  --steel-600: #475569;
  --steel-500: #64748B;
  --steel-400: #94A3B8;
  --steel-300: #CBD5E1;
  --steel-200: #E2E8F0;
  --steel-100: #F1F5F9;
  --steel-50: #F8FAFC;
  --white: #FFFFFF;

  /* Gradients */
  --gradient-maroon: linear-gradient(135deg, #630C2E 0%, #7C1237 60%, #9B1D48 100%);
  --gradient-amber: linear-gradient(135deg, #D97706 0%, #F59E0B 100%);
  --gradient-hero: linear-gradient(180deg, rgba(15, 23, 42, 0.88) 0%, rgba(15, 23, 42, 0.96) 100%);

  /* Typography */
  --font-family: 'Manrope', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Subtle Premium Shadows */
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.04), 0 1px 2px rgba(15, 23, 42, 0.02);
  --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.05), 0 2px 6px rgba(15, 23, 42, 0.03);
  --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.08);
  --shadow-xl: 0 20px 48px rgba(124, 18, 55, 0.12);

  /* Radius & Spacing */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  --transition-smooth: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Yellow Hexagon Badge (Matching Reference Image) */
.hexagon-icon-badge {
  width: 56px;
  height: 62px;
  background-color: #F7941E;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000000;
  font-size: 1.4rem;
  flex-shrink: 0;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hexagon-icon-badge:hover {
  transform: scale(1.08);
}

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

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

body {
  font-family: var(--font-family);
  background-color: var(--white);
  color: var(--steel-700);
  line-height: 1.7;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Reusable Typography & Hierarchy */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family);
  color: var(--steel-900);
  font-weight: 700; /* Bold titles for high visual punch */
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.hero-title {
  font-weight: 800 !important;
  letter-spacing: -0.03em !important;
}

.section-title {
  font-weight: 700 !important;
}

.page-header-title {
  font-weight: 800 !important;
}

p {
  font-weight: 400;
  color: var(--steel-600);
}

strong {
  font-weight: 600; /* Subtle emphasis instead of heavy black bold */
  color: var(--steel-900);
}

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

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Modern Gradient Text */
.text-gradient {
  background: var(--gradient-amber);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.icon-amber {
  color: var(--amber-gold);
}

.icon-sm {
  font-size: 0.75rem;
  margin-right: 0.25rem;
}

/* Minimal Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.badge-maroon {
  background: var(--maroon-subtle);
  color: var(--maroon-primary);
  border: 1px solid rgba(124, 18, 55, 0.15);
}

.badge-amber {
  background: var(--amber-subtle);
  color: var(--amber-dark);
  border: 1px solid rgba(217, 119, 6, 0.2);
}

/* Sleek Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-family);
  font-size: 0.95rem;
  font-weight: 500; /* Balanced medium weight */
  cursor: pointer;
  border: none;
  transition: var(--transition-smooth);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-amber);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(217, 119, 6, 0.4);
}

.btn-maroon {
  background: var(--gradient-maroon);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(99, 12, 46, 0.2);
}

.btn-maroon:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99, 12, 46, 0.35);
}

.btn-outline {
  border: 1px solid var(--steel-300);
  color: var(--steel-800);
  background: var(--white);
}

.btn-outline:hover {
  border-color: var(--maroon-primary);
  color: var(--maroon-primary);
  background: var(--steel-50);
  transform: translateY(-2px);
}

.btn-outline-white {
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  background: rgba(255, 255, 255, 0.05);
}

.btn-outline-white:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.w-full { width: 100%; }

/* Header Navigation */
.navbar-wrapper {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--steel-200);
}

.top-bar {
  background: var(--dark-slate);
  color: var(--steel-400);
  font-size: 0.82rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.top-bar-item a {
  color: var(--steel-300);
  font-weight: 400;
}

.top-bar-item a:hover {
  color: var(--amber-gold);
}

.top-bar-divider { opacity: 0.2; }

.cert-badge-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--white);
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 0.2rem 0.7rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
}

.cert-badge-btn:hover {
  background: rgba(245, 158, 11, 0.25);
}

.location-pill {
  color: var(--amber-gold);
  font-weight: 500;
  font-size: 0.78rem;
  background: rgba(255, 255, 255, 0.06);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
}

.main-navbar {
  padding: 0.85rem 0;
  background: transparent;
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--steel-700);
  padding: 0.4rem 0;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--maroon-primary);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gradient-maroon);
  border-radius: 1px;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--steel-800);
  cursor: pointer;
}

/* Mobile Drawer */
.mobile-drawer {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: var(--white);
  box-shadow: var(--shadow-xl);
  border-bottom: 2px solid var(--maroon-primary);
  padding: 1.5rem;
}

.mobile-drawer.is-open { display: block; }

.mobile-nav-item {
  display: block;
  padding: 0.8rem 1rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--steel-800);
  background: var(--steel-50);
  margin-bottom: 0.5rem;
  border-radius: var(--radius-sm);
}

.mobile-nav-item.active {
  background: var(--gradient-maroon);
  color: var(--white);
}

/* Header Banner */
.page-header-banner {
  background: var(--gradient-maroon);
  color: var(--white);
  padding: 4rem 0 3.5rem 0;
}

.header-breadcrumbs {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.75rem;
}

.header-breadcrumbs a { color: rgba(255, 255, 255, 0.7); }
.header-breadcrumbs .current { color: var(--amber-gold); font-weight: 500; }

.page-header-title {
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.page-header-lead {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 400;
  max-width: 720px;
}

/* Section Header */
.section-header {
  margin-bottom: 3.5rem;
}

.text-center { text-align: center; }

.section-title {
  font-size: 2.1rem;
  font-weight: 600;
  color: var(--steel-900);
  margin-top: 0.5rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--steel-600);
  font-weight: 400;
  max-width: 620px;
  margin: 0.5rem auto 0 auto;
}

/* Minimal Premium Cards */
.clean-card {
  background: var(--white);
  border: 1px solid var(--steel-200);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.clean-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--steel-300);
}

/* Footer */
.footer-section {
  background: var(--dark-slate);
  color: var(--steel-400);
  padding: 4.5rem 0 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 1fr 1.1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-logo {
  height: 48px;
  background: var(--white);
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.2rem;
}

.footer-tagline {
  font-size: 0.88rem;
  color: var(--steel-400);
  line-height: 1.6;
  margin-bottom: 1.2rem;
}

.footer-heading {
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  color: var(--steel-400);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--amber-gold);
}

.reg-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0.65rem 0.9rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.6rem;
}

.reg-label { display: block; font-size: 0.78rem; color: var(--steel-500); }
.reg-val { color: var(--amber-gold); font-size: 0.88rem; font-weight: 500; }

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

/* Modals */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-overlay.is-active { display: flex; }

.modal-content {
  background: var(--white);
  width: 100%;
  max-width: 580px;
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--steel-100);
  border: none;
  font-size: 1rem;
  cursor: pointer;
  color: var(--steel-600);
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1500;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25D366;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.6rem;
  text-decoration: none;
  transition: transform 0.25s ease;
}

.whatsapp-float:hover {
  transform: scale(1.08);
}

/* Form Styling */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--steel-800);
}

.form-group input, .form-group select, .form-group textarea {
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--steel-300);
  font-family: var(--font-family);
  font-size: 0.92rem;
  background: var(--steel-50);
  transition: var(--transition-smooth);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--amber-primary);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.12);
}

/* Filter Pills */
.cat-pill {
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  background: var(--white);
  border: 1px solid var(--steel-300);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--steel-700);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.cat-pill:hover {
  border-color: var(--maroon-primary);
  color: var(--maroon-primary);
}

.cat-pill.active {
  background: var(--gradient-maroon);
  color: var(--white);
  border-color: var(--maroon-dark);
}

/* Responsive */
@media (max-width: 992px) {
  .top-bar-right, .desktop-nav { display: none; }
  .mobile-toggle { display: block; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .container { padding: 0 1.25rem; }
  .footer-grid, .form-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}
