:root {
  --color-white: #ffffff;
  --color-black: #0f172a;
  --color-accent: #22c55e;
  --color-accent-light: #c7e3a2;
  --color-gray: #64748b;
  --color-light-gray: #f8fafc;
  --color-border: #e5e7eb;
  --btn-gradient: linear-gradient(135deg, #4ade80, #14b8a6);
  --whatsapp-gradient: linear-gradient(135deg, #34d399, #22c55e);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

body {
  background: radial-gradient(circle at top left, #0f172a, #020617);
  color: #e5e7eb;
  min-height: 100vh;
}
/* ==========================
   NAVBAR
========================== */
.dc-navbar-wrapper {
  position: fixed;
  top: 20px;
  width: 100%;
  z-index: 999;
  display: flex;
  justify-content: center;
}

.dc-navbar {
  width: 92%;
  max-width: 1280px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.dc-logo img {
  height: 48px;
}

.dc-nav-links {
  list-style: none;
  display: flex;
  gap: 36px;
}

.dc-nav-links a {
  text-decoration: none;
  font-size: 16px;
  color: #475569;
  font-weight: 500;
  transition: color 0.3s ease;
}

.dc-nav-links a:hover {
  color: #0f172a;
}

.dc-apply-btn {
  padding: 10px 22px;
  background: var(--btn-gradient);
  color: #fff;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.dc-apply-btn:hover {
  transform: translateY(-2px);
}

.dc-navbar-spacer {
  height: 120px;
}

/* ==========================
   HERO BANNER
========================== */
.hero-banner-exact {
  position: relative;
  height: 100vh;
  min-height: 600px;
  margin: 0;
  overflow: hidden;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.65);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.75) 35%, rgba(0,0,0,0.2) 70%);
  display: flex;
  align-items: center;
  padding-left: 80px;
  z-index: 2;
}

.hero-text h1 {
  font-size: 68px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 28px;
}


.hero-btn:hover {
  transform: translateY(-3px);
}

/* ==========================
   CURVED SERVICES SECTION (Exact Match to Reference Image)
   ========================== */
.curved-section {
  background: #ffffff;
  margin-top: -100px;
  padding: 140px 0 100px;
  border-top-left-radius: 48px;
  border-top-right-radius: 48px;
  position: relative;
  z-index: 3;
}

.curved-container {
  max-width: 1280px;
  margin: auto;
  padding: 0 24px;
  display: flex;
  gap: 40px;
  align-items: stretch;
}

.services-list {
  flex: 1;                  /* Keeps left column stable */
  min-width: 280px;
}

.services-list h4 {
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 32px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

#servicesMenu li {
  padding: 16px 0;
  font-size: 18px;
  color: #0f172a;
  cursor: pointer;
  transition: all 0.3s ease;
}

#servicesMenu li.active {
  color: #0f172a;
  font-weight: 700;
  padding-left: 12px;
}

#servicesMenu li:hover:not(.active) {
  color: #0f172a;
  padding-left: 12px;
  opacity: 0.8;
}
.service-card.middle-card {
  flex: 1.1;                /* Slightly narrower than before */
}

.service-card.wide-card {
  flex: 1.6;                /* Wider card – adjust this value as needed */
  /* Example: 1.8 for even wider, 1.4 for subtler increase */
}

.service-card {
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-card.light {
  background: #ffffff;
  padding: 48px;
}

.service-card.dark {
  background: linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.75)), 
              url('https://images.unsplash.com/photo-1552664730-d307ca884978?ixlib=rb-4.0.3&auto=format&fit=crop&q=80');
  background-size: cover;
  background-position: center;
  color: #ffffff;
  padding: 48px;
}

.service-card h3 {
  font-size: 40px; /* Slightly larger to match reference */
  font-weight: 800;
  margin-bottom: 24px;
  line-height: 1.2;
}

.service-card.light h3 {
  color: #0f172a;
}

.service-card p {
  font-size: 16px;
  line-height: 1.7;
  opacity: 0.85;
  margin-bottom: 40px;
  flex-grow: 1;
}

.service-card.light p {
  color: #64748b;
}

.service-card button {
  align-self: flex-start;
  padding: 14px 36px;
  border: none;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.service-card.light button {
  background: #0f172a;
  color: #fff;
}

.service-card.dark button.white-btn {
  background: #ffffff;
  color: #0f172a;
}

.service-card button:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

  .service-item {
    cursor: pointer;
    padding: 0.75rem 1rem;
    padding-left: 1.5rem; /* Space for the left line */
    position: relative;
    transition: color 0.3s ease;
  }

  /* Left border line */
  .service-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0; /* Starts invisible */
    background: #12DE9A; /* Your brand accent */
    border-radius: 2px;
    transition: height 0.3s ease;
  }

  /* Hover: small line appears */
  .service-item:hover::before {
    height: 20px;
  }

  .service-item:hover {
    color: #116E80; /* Slightly darker text on hover */
  }

  /* Active: full taller line */
  .service-item.active::before {
    height: 36px;
    background: #12DE9A;
  }

  .service-item.active {
    color: #116E80;
    font-weight: 600;
  }
/* ==========================
   THIN CENTERED GREY DIVIDER (Properly Constrained & No Side Bleed)
   ========================== */
.section-divider-container {
  width: 100%;
  background: #ffffff;               /* Ensures clean white base */
  padding: 40px 0 80px;             /* Vertical spacing – adjust as needed */
  display: flex;
  justify-content: center;
}

.section-divider {
  max-width: 1280px;                 /* Matches your main container width */
  width: 100%;
  padding: 0 24px;                   /* Same side padding as your content */
  display: flex;
  justify-content: center;
}

.divider-line {
  width: 100%;
  max-width: 1200px;                  /* Controls visible line length – try 500px or 700px */
  height: 1px;                       /* Thin */
  background-color: #e2e8f0;         /* Soft light grey */
  border: none;
  box-shadow: none;                  /* Prevents any glow/shadow artifacts */
  overflow: hidden;                  /* Clips any potential side bleed */
}

/* ==========================
   FINAL REFINED CAPABILITIES SECTION (Smaller fonts & reduced top space)
   ========================== */
.capabilities-section-final {
  background: #ffffff;
  padding: 80px 0 140px;
}

.capabilities-container-final {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.capabilities-header-final {
  margin-bottom: 70px;
  text-align: left;
}

.capabilities-title-final {
  font-size: 44px;
  font-weight: 900;
  color: #0f172a;
  line-height: 1.1;
}

.capabilities-grid-final {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 48px;
}

/* Ensure full card height and flex column layout */
.capability-card-final {
  background: #ffffff;
  border-radius: 40px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,0.09);
  transition: all 0.4s ease;
  border: 1px solid #f1f5f9;
  display: flex;
  flex-direction: column;
  height: 100%; /* Critical: makes all cards equal height */
}

.capability-card-final:hover {
  transform: translateY(-16px);
  box-shadow: 0 30px 60px rgba(0,0,0,0.15);
  border-color: #e2e8f0;
}

.card-image-wrapper-final {
  height: 220px;
  overflow: hidden;
}

.card-image-wrapper-final img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.capability-card-final:hover .card-image-wrapper-final img {
  transform: scale(1.12);
}

/* Make content area flexible and push button to bottom */
.card-content-final {
  padding: 36px;
  display: flex;
  flex-direction: column;
  flex-grow: 1; /* Takes all available space */
  justify-content: space-between; /* Pushes button to bottom */
}

.card-text-content {
  flex-grow: 1; /* Allows text to expand, keeping button at bottom */
}

.card-title-final {
  font-size: 24px;
  font-weight: 750;
  color: #0f172a;
  margin-bottom: 14px;
}

.card-desc-final {
  font-size: 15.5px;
  line-height: 1.7;
  color: #64748b;
  margin-bottom: 0; /* Remove bottom margin — spacing now controlled by flex */
}

/* Fixed-position CTA button at the bottom */
.cta-button {
  display: block;
  width: 100%;
  padding: 18px 24px;
  margin-top: 32px; /* Consistent spacing from text */
  background: linear-gradient(135deg, #4fc3b0, #1e9e8c);
  color: #ffffff;
  font-weight: 700;
  font-size: 1.15em;
  text-align: center;
  border-radius: 16px;
  text-decoration: none;
  transition: all 0.35s ease;
  box-shadow: 0 6px 20px rgba(79, 195, 176, 0.3);
  position: relative;
  overflow: hidden;
}

.cta-button::after {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
}

.cta-button:hover {
  background: linear-gradient(135deg, #1e9e8c, #167d6f);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(79, 195, 176, 0.45);
}

.cta-button:hover::after {
  left: 125%;
}

.cta-button:active {
  transform: translateY(-1px);
}

/* Optional: Remove old unused link styles if not using .card-link-final */
.card-link-final {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: gap 0.3s ease, color 0.3s ease;
}

.card-link-final:hover {
  gap: 18px;
  color: #2563eb;
}

.card-link-final::after {
  content: '→';
  font-size: 20px;
  transition: transform 0.3s ease;
}

.card-link-final:hover::after {
  transform: translateX(4px);
}
/* Responsive */
@media (max-width: 768px) {
  .capabilities-title-final {
    font-size: 38px;
  }
  .capabilities-grid-final {
    gap: 40px;
  }
  .card-content-final {
    padding: 28px;
  }
}
/* ==========================
   FOOTER (Exact Match to Your Screenshot)
========================== */
.dc-footer {
  background: #0a0e1a;
  padding: 80px 0 40px;
  color: #cbd5e1;
}

.dc-footer-container {
  max-width: 1280px;
  margin: auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 60px;
  align-items: start;
}

.dc-footer-brand {
  display: flex;
  flex-direction: column;
}

.dc-footer-logo {
  height: 56px;
  margin-bottom: 24px;
}

.dc-footer-brand p {
  font-size: 16px;
  line-height: 1.7;
  color: #94a3b8;
  margin-bottom: 32px;
  max-width: 380px;
}

.dc-socials {
  display: flex;
  gap: 16px;
}

.dc-socials a {
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #22c55e;
  font-size: 20px;
  transition: all 0.3s ease;
}

.dc-socials a:hover {
  background: #22c55e;
  color: #0f172a;
  transform: translateY(-4px);
}

.dc-footer-links h4,
.dc-footer-cta h4 {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 24px;
}

.dc-footer-links ul {
  list-style: none;
}

.dc-footer-links a {
  display: block;
  color: #94a3b8;
  text-decoration: none;
  font-size: 16px;
  margin-bottom: 16px;
  transition: color 0.3s;
}

.dc-footer-links a:hover {
  color: #ffffff;
}

.dc-footer-cta p {
  font-size: 15px;
  line-height: 1.7;
  color: #94a3b8;
  margin-bottom: 28px;
}

.dc-whatsapp-btn {
  display: inline-block;
  padding: 14px 32px;
  background: var(--whatsapp-gradient);
  color: #0f172a;
  font-weight: 600;
  font-size: 16px;
  border-radius: 16px;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.dc-whatsapp-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(34, 211, 153, 0.3);
}

.dc-footer-bottom {
  margin-top: 80px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  font-size: 15px;
  color: #64748b;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .curved-container, .dc-footer-container {
    flex-direction: column;
    gap: 48px;
  }
  .hero-text h1 { font-size: 52px; }
  .hero-overlay { padding-left: 40px; }
  .dc-footer-container { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .hero-text h1 { font-size: 44px; }
  .hero-overlay { padding: 0 32px; }
  .curved-section { margin-top: -60px; padding: 100px 0 80px; }
  .dc-footer-container { grid-template-columns: 1fr; }
}


/* Popup Overlay */
/* Popup Overlay */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  padding: 20px;
  box-sizing: border-box;
}

.popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

.popup-content {
  background: white;
  padding: 40px;
  border-radius: 24px;
  max-width: 500px;
  width: 100%;
  max-height: 90vh; /* Safe height */
  position: relative;
  transform: scale(0.9);
  transition: transform 0.4s ease;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  overflow: hidden; /* Hide scrollbar by default */
  display: flex;
  flex-direction: column;
}

/* Inner wrapper — enables scrolling only when content overflows */
.popup-form-inner {
  overflow-y: auto; /* Enables scroll when needed */
  padding-right: 12px; /* Space for scrollbar */
  margin-right: -12px; /* Hide default scrollbar visually */
  max-height: calc(90vh - 80px); /* Adjust for header + padding */
  scrollbar-width: none; /* Firefox: completely hide scrollbar */
  -ms-overflow-style: none; /* IE/Edge: hide scrollbar */
}

/* Hide scrollbar but keep functionality (Chrome, Safari, Edge) */
.popup-form-inner::-webkit-scrollbar {
  width: 0;
  background: transparent;
}

/* Optional: Show a subtle custom scrollbar on hover (uncomment if you want it visible on hover) */
/*
.popup-form-inner:hover {
  scrollbar-width: thin;
  scrollbar-color: #12DE9A transparent;
}
.popup-form-inner:hover::-webkit-scrollbar {
  width: 6px;
}
.popup-form-inner:hover::-webkit-scrollbar-thumb {
  background: #12DE9A;
  border-radius: 10px;
}
*/

/* Mobile adjustments */
@media (max-width: 640px) {
  .popup-content {
    padding: 30px 20px;
    border-radius: 16px;
    max-height: 95vh;
  }
  
  .popup-form-inner {
    max-height: calc(95vh - 60px);
    padding-right: 16px;
    margin-right: -16px;
  }
  
  .popup-content h3 {
    font-size: 24px;
  }
  
  .popup-content p {
    font-size: 15px;
  }
  
  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 12px 14px;
    font-size: 16px;
  }
  
  .submit-btn {
    padding: 14px;
    font-size: 17px;
  }
}

.popup-overlay.active .popup-content {
  transform: scale(1);
}

.popup-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 32px;
  color: #94a3b8;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.popup-close:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.popup-content h3 {
  font-size: 28px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #12DE9A, #116E80);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.popup-content p {
  color: #64748b;
  margin-bottom: 28px;
  font-size: 16px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #0f172a;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  font-size: 16px;
  transition: all 0.3s ease;
  background: white; /* Ensures field background is white */
  color: #0f172a;
}

/* Fix dropdown visibility & custom arrow */
.form-group select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23116E80'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 40px !important; /* Space for custom arrow */
}

/* Ensure dropdown options are visible */
.form-group select option {
  background: white !important;
  color: #0f172a !important;
  padding: 10px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #12DE9A;
  box-shadow: 0 0 0 4px rgba(18, 222, 154, 0.15);
}

.submit-btn {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, #12DE9A, #116E80);
  color: white;
  border: none;
  border-radius: 16px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(18, 222, 154, 0.3);
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(18, 222, 154, 0.4);
}