/* ==========================================
   EOD BASE & DESIGN SYSTEM
   ========================================== */
:root {
  --color-primary: #0A2540;
  --color-secondary: #10B981;
  --color-accent: #3B82F6;
  --color-surface: #FFFFFF;
  --color-bg: #F8F9FA;
  --color-text-main: #1E293B;
  --color-text-muted: #64748B;
  --color-light-green: #E6F4EA;
  --shadow-sm: 0 2px 8px rgba(10, 37, 64, 0.05);
  --shadow-md: 0 8px 24px rgba(10, 37, 64, 0.08);
  --shadow-lg: 0 16px 48px rgba(10, 37, 64, 0.12);
  --border-radius: 12px;
  --transition: all 0.3s ease;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', sans-serif, system-ui;
  color: var(--color-text-main);
  background-color: var(--color-surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ==========================================
   HEADER & NAVIGATION (Full Width & Single Line)
   ========================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  transition: var(--transition);
}
.header.scrolled {
  box-shadow: var(--shadow-md);
  padding: 0.25rem 0;
}
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  max-width: 100% !important;
  padding: 0 2.5rem;
}
.logo {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-primary);
  text-decoration: none;
  white-space: nowrap;
}
.logo span {
  color: var(--color-secondary);
}
.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.nav-list {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-link {
  color: var(--color-text-main);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  white-space: nowrap;
  padding: 0.4rem 0.25rem;
  transition: color 0.2s;
}
.nav-link:hover, .nav-link.active {
  color: var(--color-secondary);
}

/* Dropdown / Mega Menu */
.dropdown {
  position: relative;
}
.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: none;
  border: none;
  font: inherit;
  cursor: pointer;
  color: var(--color-text-main);
  white-space: nowrap;
}
.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--color-surface);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: repeat(2, 300px);
  gap: 1.5rem;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 100;
}
.dropdown:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.mega-menu-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  font-weight: 700;
  margin-bottom: 0.75rem;
  display: block;
}
.mega-menu-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.mega-menu-list a {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.5rem;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s;
}
.mega-menu-list a:hover {
  background: var(--color-bg);
}
.menu-item-icon {
  font-size: 1.25rem;
}
.menu-item-heading {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-primary);
}
.menu-item-desc {
  display: block;
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

/* User Greeting Dropdown */
.user-menu {
  position: relative;
}
.user-greeting {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-light-green);
  border: none;
  padding: 0.4rem 0.9rem;
  border-radius: 50px;
  font-weight: 600;
  color: var(--color-primary);
  cursor: pointer;
  white-space: nowrap;
}
.user-dropdown {
  position: absolute;
  right: 0;
  top: 100%;
  background: var(--color-surface);
  box-shadow: var(--shadow-md);
  border-radius: 8px;
  list-style: none;
  width: 180px;
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 100;
}
.user-dropdown.open {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
}
.user-dropdown li a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  color: var(--color-text-main);
  text-decoration: none;
  font-size: 0.9rem;
}
.user-dropdown li a:hover {
  background: var(--color-bg);
  color: var(--color-secondary);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}
.btn-primary {
  background: var(--color-secondary);
  color: #fff;
  white-space: nowrap;
  flex-shrink: 0;
}
.btn-primary:hover {
  background: #059669;
  transform: translateY(-2px);
}
.btn-secondary {
  background: transparent;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  white-space: nowrap;
}
.btn-secondary:hover {
  background: var(--color-primary);
  color: #fff;
}

/* Hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}
.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* ==========================================
   SECTIONS & GRIDS
   ========================================== */
.section { padding: 5rem 0; }
.bg-tint { background-color: var(--color-bg); }
.section-header { text-align: center; max-width: 700px; margin: 0 auto 3rem; }
.section-header h2 { font-size: 2.25rem; color: var(--color-primary); margin-bottom: 0.75rem; }
.section-header p { color: var(--color-text-muted); font-size: 1.1rem; }

.card {
  background: var(--color-surface);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(10, 37, 64, 0.06);
  transition: var(--transition);
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }

.why-grid, .services-overview-grid, .team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}
.team-card { text-align: center; }
.team-avatar {
  width: 100px; height: 100px; border-radius: 50%;
  object-fit: cover; margin: 0 auto 1.25rem; box-shadow: var(--shadow-sm);
}
.team-role { color: var(--color-secondary); font-weight: 600; font-size: 0.85rem; margin-bottom: 0.75rem; }
.team-bio { font-size: 0.9rem; color: var(--color-text-muted); }

.form-container {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
  background: var(--color-bg); border-radius: 24px; padding: 4rem;
}
.form-wrapper { background: var(--color-surface); }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-weight: 600; font-size: 0.85rem; color: var(--color-primary); margin-bottom: 0.4rem; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 0.85rem 1rem; border: 1.5px solid #e2e8f0; border-radius: 10px;
  font-family: inherit; font-size: 0.95rem; background: #f8fafc; box-sizing: border-box; transition: all 0.3s ease;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--color-secondary); background: #fff; box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.12);
}

.about-container { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 4rem; align-items: center; }
.about-visual-card { background: var(--color-primary); color: #fff; border-radius: 20px; padding: 2.5rem; box-shadow: var(--shadow-lg); }
.avc-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 2rem; }
.avc-icon { font-size: 2.5rem; }
.avc-title { font-weight: 700; font-size: 1.1rem; }
.avc-sub { color: rgba(255,255,255,0.6); font-size: 0.85rem; }
.avc-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 2rem; text-align: center; background: rgba(255,255,255,0.05); padding: 1rem; border-radius: 12px; }
.avc-m-val { display: block; font-size: 1.5rem; font-weight: 800; color: var(--color-secondary); }
.avc-m-lab { font-size: 0.7rem; color: rgba(255,255,255,0.7); text-transform: uppercase; }
.avc-features { display: flex; flex-direction: column; gap: 0.75rem; }
.avc-feat { font-size: 0.9rem; color: rgba(255,255,255,0.9); }

/* ==========================================
   FOOTER
   ========================================== */
.footer {
  width: 100%;
  background: var(--color-primary);
  color: #fff;
  padding: 5rem 0 2rem;
  margin-top: 4rem;
}

.footer-container {
  max-width: 100% !important; /* Ensures it spans the entire width of the page */
  padding: 0 3rem;           /* Adds clean side margins so text doesn't touch the screen edges */
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin: 1rem 0 1.5rem;
  line-height: 1.6;
}
.footer-contact p {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}
.footer-contact a { color: #fff; text-decoration: none; }
.footer-contact a:hover { color: var(--color-secondary); }
.footer-links h4, .footer-cta h4 { font-size: 1.1rem; margin-bottom: 1.25rem; color: #fff; }
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.footer-links a { color: rgba(255, 255, 255, 0.7); text-decoration: none; font-size: 0.9rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--color-secondary); }
.footer-cta p { color: rgba(255, 255, 255, 0.7); font-size: 0.9rem; margin-bottom: 1.25rem; }
.cta-actions { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}

/* ==========================================
   PRODUCTION ADDITIONS & HELPERS
   ========================================== */
.skip-link {
  position: absolute; left: -9999px; top: 0; background: #0A2540; color: #fff;
  padding: 0.75rem 1.25rem; z-index: 100000; border-radius: 0 0 8px 0; font-weight: 600;
}
.skip-link:focus { left: 0; }

.flash-message {
  position: fixed; top: 100px; left: 50%; transform: translateX(-50%); z-index: 9999;
  display: flex; align-items: center; gap: 0.75rem; padding: 1rem 3rem 1rem 1.5rem;
  border-radius: 12px; box-shadow: 0 12px 30px rgba(10, 37, 64, 0.15); font-weight: 500; font-size: 0.95rem;
  max-width: 500px; width: calc(100% - 2rem); animation: flashSlideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes flashSlideIn {
  from { opacity: 0; transform: translate(-50%, -20px); }
  to   { opacity: 1; transform: translate(-50%, 0); }
}
.flash-success { background:#d1fae5; color:#065f46; border:1px solid #6ee7b7; }
.flash-error   { background:#fee2e2; color:#991b1b; border:1px solid #fca5a5; }
.flash-warning { background:#fef3c7; color:#92400e; border:1px solid #fcd34d; }
.flash-info    { background:#dbeafe; color:#1e40af; border:1px solid #93c5fd; }
.flash-close {
  position: absolute; right: 0.75rem; top: 50%; transform: translateY(-50%);
  background: none; border: none; font-size: 1.4rem; cursor: pointer; opacity: 0.6; color: inherit;
}
.flash-close:hover { opacity: 1; }

.whatsapp-float {
  position: fixed; right: 20px; bottom: 20px; width: 56px; height: 56px;
  background: #25D366; color: #fff !important; border-radius: 50%; display: flex;
  align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 900; transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 12px 32px rgba(37, 211, 102, 0.55); }

.form-submit-btn {
  width: 100%; padding: 1rem 1.5rem; border-radius: 10px; font-size: 1rem; font-weight: 600;
  background: #10B981; color: #fff; border: none; cursor: pointer; transition: all 0.3s ease;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.75rem;
}
.form-submit-btn:hover:not(:disabled) {
  background: #059669; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(16, 185, 129, 0.35);
}

/* ==========================================
   RESPONSIVE MEDIA QUERIES
   ========================================== */
@media (max-width: 1150px) {
  .nav {
    display: none; position: absolute; top: 100%; left: 0; width: 100%;
    background: var(--color-surface); flex-direction: column; padding: 2rem;
    box-shadow: var(--shadow-lg); align-items: flex-start;
  }
  .nav.active { display: flex; }
  .nav-list { flex-direction: column; align-items: flex-start; width: 100%; gap: 1rem; }
  .hamburger { display: flex; }
  .mega-menu {
    position: static; transform: none; box-shadow: none; grid-template-columns: 1fr;
    padding: 0.5rem 0 0.5rem 1rem; display: none;
  }
  .dropdown.active .mega-menu { display: grid; }
  .form-container, .about-container { grid-template-columns: 1fr; padding: 2rem 1rem; }
}

@media (max-width: 1100px) {
  .footer-container { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 600px) {
  .footer-container { grid-template-columns: 1fr; }
}

/* ==========================================
   INBDE PAGE COMPREHENSIVE LAYOUT FIXES
   ========================================== */
/* ==========================================
   INBDE HERO SECTION ALIGNMENT & BUTTON FIXES
   ========================================== */
.inbde-section-hero {
  padding: 8rem 0 5rem 0;
  background: linear-gradient(135deg, #051626 0%, #0A2540 100%);
  color: #F8F9FA;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 480px; /* Ensures balanced height */
}

.inbde-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-cta {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 2rem;
}

/* Fix for dark secondary button on dark backgrounds */
.inbde-section-hero .btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: #FFFFFF !important; /* Makes button text clear and visible */
  backdrop-filter: blur(6px);
  transition: all 0.3s ease;
}

.inbde-section-hero .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #FFFFFF;
  transform: translateY(-2px);
}

.inbde-hero-image-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.inbde-hero-image-wrap img {
  width: 100%;
  height: auto;
  max-height: 380px;
  object-fit: cover;
  display: block;
}

.inbde-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.inbde-image-card {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(10, 37, 64, 0.08);
}

.inbde-image-card img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.inbde-table-wrapper {
  width: 100%;
  overflow-x: auto;
  margin: 1.75rem 0;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(10, 37, 64, 0.08);
  background-color: var(--color-surface);
}

.inbde-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}

.inbde-table th {
  background-color: var(--color-primary);
  color: var(--color-surface);
  padding: 1rem 1.25rem;
  font-weight: 600;
}

.inbde-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(10, 37, 64, 0.06);
  color: var(--color-text-main);
}

.inbde-table tr:last-child td {
  border-bottom: none;
}

.inbde-table tr:nth-child(even) {
  background-color: rgba(10, 37, 64, 0.02);
}

.warning-callout {
  background-color: #FFFBEB;
  border-left: 4px solid #F59E0B;
  padding: 1.5rem;
  border-radius: 8px;
  margin: 2rem 0;
}

.warning-callout h4 {
  color: #92400E;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.warning-callout p {
  color: #78350F;
  font-size: 0.95rem;
  margin: 0;
}

.timeline-steps {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: relative;
  margin: 2rem 0;
}

.timeline-steps::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: var(--color-light-green);
  z-index: 0;
}

.timeline-step {
  display: flex;
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: var(--color-secondary);
  color: var(--color-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
  box-shadow: 0 0 0 6px var(--color-light-green);
}

.step-content {
  background-color: var(--color-surface);
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(10, 37, 64, 0.05);
  flex-grow: 1;
}

.step-content h3 {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.accent-line {
  display: block;
  width: 50px;
  height: 4px;
  background-color: var(--color-secondary);
  border-radius: 2px;
  margin-bottom: 1rem;
}

.btn-large {
  padding: 1rem 2.25rem;
  font-size: 1.05rem;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 992px) {
  .inbde-hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  .inbde-hero-content {
    text-align: center;
  }
  .hero-cta {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .inbde-grid-2,
  .comparison-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

