/* ===== EK Zilla Technologies - Global Styles ===== */
:root {
  --ek-deep: #0b4f6c;
  --ek-ocean: #0a7e8c;
  --ek-electric: #246eb9;
  --ek-soft: #eef7fc;
  --ek-accent: #ff6b4a;
  --ek-dark: #1e2f4e;
  --ek-gray: #4a6a7a;
  --ek-light: #f8fafc;
  --ek-border: rgba(10,126,140,0.1);
  --ek-shadow: 0 15px 30px -12px rgba(0,80,100,0.06);
  --ek-shadow-hover: 0 22px 35px -10px rgba(11,79,108,0.12);
  --ek-gradient: linear-gradient(145deg, var(--ek-ocean), var(--ek-electric));
  --ek-gradient-dark: linear-gradient(145deg, var(--ek-ocean), var(--ek-deep));
}

/* ===== Base Styles ===== */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ek-dark);
  background-color: #ffffff;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  letter-spacing: -0.02em;
}

a {
  text-decoration: none;
}

/* ===== Background Utilities ===== */
.bg-soft {
  background-color: var(--ek-soft) !important;
}

.bg-gradient {
  background: var(--ek-gradient) !important;
}

.bg-white {
  background-color: #ffffff !important;
}

/* ===== Buttons ===== */
.btn-ek {
  background: var(--ek-gradient-dark);
  border: none;
  color: white;
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: 40px;
  box-shadow: 0 8px 18px rgba(11, 79, 108, 0.15);
  transition: all 0.2s ease;
}

.btn-ek:hover {
  background: linear-gradient(145deg, var(--ek-deep), #063a4f);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 16px 25px rgba(10,126,140,0.25);
}

.btn-ek:active {
  transform: translateY(-1px);
}

.btn-outline-ek {
  border: 2px solid var(--ek-ocean);
  color: var(--ek-deep);
  font-weight: 600;
  border-radius: 40px;
  padding: 0.7rem 2rem;
  background: transparent;
  transition: all 0.2s ease;
}

.btn-outline-ek:hover {
  background-color: var(--ek-ocean);
  color: white;
  transform: translateY(-2px);
}

.btn-outline-ek:active {
  transform: translateY(0);
}

.btn-ek-sm {
  padding: 0.5rem 1.5rem;
  font-size: 0.9rem;
}

.btn-ek-lg {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

/* ===== Navbar ===== */
.navbar {
  padding: 0.8rem 0;
  background: rgba(255, 255, 255, 0.96) !important;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--ek-deep) !important;
  letter-spacing: -0.02em;
}

.navbar-brand span {
  color: var(--ek-electric);
  font-weight: 300;
}

.nav-link {
  font-weight: 500;
  color: #1e3b4f !important;
  margin: 0 0.4rem;
  padding: 0.8rem 0.4rem !important;
  font-size: 0.98rem;
  position: relative;
}

.nav-link.active {
  color: var(--ek-ocean) !important;
  font-weight: 600;
}

.nav-link.active:after {
  content: '';
  position: absolute;
  bottom: 0.5rem;
  left: 0.4rem;
  right: 0.4rem;
  height: 2px;
  background: var(--ek-ocean);
  border-radius: 2px;
}

/* ===== Dropdown Menus ===== */
.dropdown-menu {
  border: none;
  box-shadow: 0 18px 35px -12px rgba(0, 50, 70, 0.18);
  border-radius: 20px;
  padding: 1.2rem 0.8rem;
  background: white;
  border: 1px solid var(--ek-border);
  margin-top: 0.5rem;
}

.dropdown-item {
  font-size: 0.9rem;
  padding: 0.55rem 1.4rem;
  font-weight: 500;
  color: #1e3f52;
  border-radius: 12px;
  transition: all 0.15s;
}

.dropdown-item:hover {
  background: var(--ek-soft);
  color: var(--ek-deep);
  transform: translateX(5px);
}

.dropdown-toggle::after {
  margin-left: 0.6em;
  vertical-align: 0.15em;
  color: var(--ek-ocean);
}

/* Active dropdown items */
.dropdown-item.active {
  background: var(--ek-soft);
  color: var(--ek-deep);
  font-weight: 600;
  position: relative;
}

.dropdown-item.active:before {
  content: '•';
  position: absolute;
  left: 0.5rem;
  color: var(--ek-ocean);
  font-weight: bold;
}

/* Parent dropdown active state */
.nav-link.dropdown-toggle.active {
  color: var(--ek-ocean) !important;
  font-weight: 600;
}

.nav-link.dropdown-toggle.active:after {
  color: var(--ek-ocean);
}

/* ===== Cards & Containers ===== */
.stat-card {
  background: white;
  border-radius: 28px;
  padding: 1.8rem 1.2rem;
  box-shadow: var(--ek-shadow);
  transition: 0.2s;
  border: 1px solid var(--ek-border);
}

.stat-card:hover {
  border-color: var(--ek-ocean);
  box-shadow: var(--ek-shadow-hover);
}

.stat-number {
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--ek-deep);
  line-height: 1;
}

.service-icon {
  font-size: 2.2rem;
  color: white;
  background: var(--ek-gradient);
  width: 80px;
  height: 80px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  box-shadow: 0 12px 22px -8px rgba(36, 110, 185, 0.3);
}

.approach-card {
  background: white;
  border-radius: 28px;
  padding: 2rem;
  height: 100%;
  border: 1px solid var(--ek-border);
  transition: 0.2s;
}

.approach-card:hover {
  border-color: var(--ek-ocean);
  box-shadow: var(--ek-shadow-hover);
}

.approach-icon {
  font-size: 2.2rem;
  color: white;
  background: var(--ek-gradient);
  width: 70px;
  height: 70px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.team-card {
  background: white;
  border-radius: 28px;
  padding: 1.5rem;
  border: 1px solid var(--ek-border);
  transition: 0.2s;
}

.team-card:hover {
  border-color: var(--ek-ocean);
  box-shadow: var(--ek-shadow-hover);
}

.team-img-placeholder {
  width: 120px;
  height: 120px;
  background: var(--ek-gradient);
  border-radius: 50%;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2.5rem;
  font-weight: 600;
}

.client-logo-placeholder {
  background: white;
  padding: 1.5rem 1rem;
  border-radius: 16px;
  border: 1px solid #e3ecf2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: #2c6072;
  transition: all 0.15s;
}

.client-logo-placeholder:hover {
  border-color: var(--ek-ocean);
  background: #f6fcff;
}

/* ===== Page Headers ===== */
.page-header {
  padding: 8rem 0 3rem;
  background: linear-gradient(145deg, #ffffff 30%, #f4fbfe 100%);
}

.pill-badge {
  background: rgba(10, 126, 140, 0.08);
  color: var(--ek-deep);
  padding: 0.4rem 1.1rem;
  border-radius: 60px;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.4px;
  border: 1px solid rgba(10, 126, 140, 0.2);
  display: inline-block;
  margin-bottom: 1rem;
}

.section-title {
  position: relative;
  margin-bottom: 1.2rem;
}

.section-title:after {
  content: '';
  display: block;
  width: 70px;
  height: 4px;
  background: linear-gradient(90deg, var(--ek-ocean), var(--ek-electric));
  border-radius: 4px;
  margin-top: 0.6rem;
}

.section-title.text-center:after {
  margin-left: auto;
  margin-right: auto;
}

/* ===== Timeline ===== */
.timeline-item {
  position: relative;
  padding-left: 3rem;
  margin-bottom: 2.5rem;
}

.timeline-item:before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--ek-gradient);
  border: 3px solid white;
  box-shadow: 0 0 0 3px rgba(10, 126, 140, 0.2);
  z-index: 1;
}

.timeline-item:after {
  content: '';
  position: absolute;
  left: 0.7rem;
  top: 2.2rem;
  width: 2px;
  height: calc(100% - 0.5rem);
  background: linear-gradient(to bottom, var(--ek-ocean), transparent);
}

.timeline-item:last-child:after {
  display: none;
}

/* ===== Pricing Tables ===== */
.pricing-card {
  background: white;
  border-radius: 28px;
  padding: 2rem;
  border: 1px solid var(--ek-border);
  transition: 0.2s;
  height: 100%;
}

.pricing-card:hover {
  border-color: var(--ek-ocean);
  box-shadow: var(--ek-shadow-hover);
}

.pricing-card.featured {
  border: 2px solid var(--ek-ocean);
  transform: scale(1.02);
}

.pricing-price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--ek-deep);
}

.pricing-period {
  font-size: 1rem;
  color: var(--ek-gray);
  font-weight: 400;
}

/* ===== Contact Form ===== */
.contact-info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: var(--ek-soft);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ek-ocean);
  font-size: 1.5rem;
  margin-right: 1rem;
}

.form-control, .form-select {
  border-radius: 16px;
  padding: 0.75rem 1.2rem;
  border: 1px solid #e0e9ef;
}

.form-control:focus, .form-select:focus {
  border-color: var(--ek-ocean);
  box-shadow: 0 0 0 0.25rem rgba(10, 126, 140, 0.1);
}

/* ===== Footer ===== */
.footer {
  background: #0a2c3b;
  color: #cddfe6;
  padding: 4rem 0 2rem;
  border-top: 5px solid var(--ek-ocean);
}

.footer a {
  color: #b0d4dd;
  text-decoration: none;
  transition: color 0.2s;
}

.footer a:hover {
  color: white;
}

.footer .navbar-brand {
  color: white !important;
  font-size: 2rem;
  padding: 0;
}

.footer .navbar-brand span {
  color: #59b9c7;
}

/* ===== Utilities ===== */
.hover-scale {
  transition: transform 0.2s;
}

.hover-scale:hover {
  transform: scale(1.02);
}

.shadow-hover {
  transition: box-shadow 0.2s;
}

.shadow-hover:hover {
  box-shadow: var(--ek-shadow-hover);
}

/* ===== Responsive Adjustments ===== */
@media (max-width: 991.98px) {
  .navbar {
    padding: 0.5rem 0;
  }
  
  .nav-link.active:after {
    display: none;
  }
  
  .page-header {
    padding: 6rem 0 2rem;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .pricing-card.featured {
    transform: none;
  }
}

@media (max-width: 767.98px) {
  .timeline-item {
    padding-left: 2.5rem;
  }
  
  .service-icon {
    width: 60px;
    height: 60px;
    font-size: 1.8rem;
  }
}

/* ===== Animations ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

/* ===== Print Styles ===== */
@media print {
  .navbar, .footer, .btn-ek, .btn-outline-ek {
    display: none;
  }
}