:root {
  --bg-dark: #0b1329;
  --panel-bg: #15203d;
  --card-bg: #1e2d54;
  --border-color: #2a3d6e;
  --text-main: #ffffff;
  --text-muted: #94a3b8;

  /* Accent colors */
  --highlight-blue: #38bdf8;
  --highlight-purple: #c084fc;
  --highlight-teal: #2dd4bf;
  --highlight-rose: #fb7185;
  --highlight-green: #34d399;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

html {
  scroll-behavior: smooth;
  background-color: #0b1329;
  color: #ffffff;
  color-scheme: dark;
}

section[id] {
  scroll-margin-top: 90px;
}

/* Static, zero-glitch dark background */
body {
  font-family: 'Manrope', sans-serif;
  color: var(--text-main);
  overflow-x: hidden;
  min-height: 100vh;
  background-color: #0b1329;
  background: linear-gradient(180deg, #0b1329 0%, #111c38 100%);
}

/* Background shapes hidden completely */
.background-shapes,
.background-shapes * {
  display: none !important;
  visibility: hidden !important;
}

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
}

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

/* Static Solid Panels & Cards */
.glass-panel, .glass-card, .glass-footer {
  background: var(--panel-bg);
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  border-radius: 20px;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
              background 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-panel {
  background: var(--panel-bg) !important;
  border: 1px solid var(--border-color) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25) !important;
}

/* Inner cards inside panels & Standalone cards */
.glass-panel .glass-card,
.glass-panel .service-card,
.glass-panel .doc-card,
.glass-panel .stat-box,
.service-card,
.stat-box,
.doc-card,
.glass-card {
  background: var(--card-bg) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: 1px solid var(--border-color) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15) !important;
  border-radius: 16px;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
              background 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
  will-change: transform;
}

@media (hover: hover) {
  .glass-panel .glass-card:hover,
  .glass-panel .service-card:hover,
  .glass-panel .doc-card:hover,
  .glass-panel .stat-box:hover,
  .service-card:hover,
  .stat-box:hover,
  .doc-card:hover,
  .glass-card:hover {
    background: #23345e !important;
    border-color: #3b82f6 !important;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.25) !important;
    transform: translateY(-4px) !important;
  }
}

/* Header - Static Solid Dark Bar */
.glass-header {
  position: sticky;
  top: 15px;
  margin: 15px auto;
  width: calc(100% - 30px);
  max-width: 1440px;
  border-radius: 100px;
  z-index: 1000;
  background: #111c38;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  transition: border-radius 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 30px;
  flex-wrap: wrap;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: 1.8rem;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 8px;
  transition: transform 0.3s ease, color 0.3s ease;
  outline: none;
  line-height: 1;
}

.menu-toggle.active {
  transform: rotate(90deg);
}

/* Logo styling */
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-container {
  background: #ffffff !important;
  border-radius: 14px !important;
  padding: 4px 12px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: none !important;
  overflow: hidden !important;
  line-height: 0 !important;
  flex-shrink: 0 !important;
}

.logo img {
  height: 36px !important;
  width: auto !important;
  max-width: 140px !important;
  object-fit: contain !important;
  border-radius: 0 !important;
  display: block !important;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-links a {
  color: var(--text-main);
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--highlight-blue);
}

/* Main Sections */
main {
  padding-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 60px;
  margin-bottom: 60px;
}

.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 60px;
  gap: 40px;
  width: 100%;
}

.hero-content {
  flex: 1;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  line-height: 1.6;
}

.hero-stats {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 350px;
}

.stat-icon {
  font-size: 2rem;
  margin-bottom: 8px;
}

.stat-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 20px;
  text-align: center;
}

.stat-box h3 {
  font-size: 1.4rem;
  margin-top: 0;
  margin-bottom: 8px;
  color: var(--highlight-green);
  line-height: 1.25;
}

.stat-box p {
  font-size: 0.98rem;
  line-height: 1.45;
  margin: 0;
  color: var(--text-muted);
}

.about-section .glass-panel {
  padding: 60px;
  text-align: center;
}

.about-section h2, .contact-section h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.about-section p, .contact-section p {
  font-size: 1.2rem;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto;
}

/* Reusable Section Classes */
.section-title {
  font-size: 2.5rem;
  margin-bottom: 40px;
  overflow-wrap: break-word;
  word-break: break-word;
}

.section-panel {
  padding: 60px;
}

.cta-panel {
  padding: 50px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.services-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.services-wrapper.grid-4-cols {
  grid-template-columns: repeat(4, 1fr);
}

.services-wrapper.grid-3-cols {
  grid-template-columns: repeat(3, 1fr);
}

.service-card {
  padding: 40px 30px;
  text-align: center;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.service-card p {
  color: var(--text-muted);
  line-height: 1.6;
}

.contact-section .glass-panel {
  padding: 60px;
}

.contact-section button {
  margin-top: 30px;
}

.glass-footer {
  padding: 30px 0;
  margin-top: auto;
  border-radius: 20px 20px 0 0;
}

.glass-footer p {
  color: var(--text-muted);
  margin-bottom: 5px;
}

.glass-footer .small {
  font-size: 0.9rem;
  opacity: 0.7;
}

/* STANDARD BUTTON */
.glass-btn {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  color: white;
  padding: 16px 32px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-block;
}

.glass-btn:hover {
  background: #253866;
  transform: translateY(-2px);
  border-color: var(--highlight-blue);
}

/* PRIMARY ACTION BUTTON */
.pink-btn {
  display: inline-block;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  border: 1px solid #3b82f6;
  color: white;
  padding: 16px 48px;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
  transition: all 0.2s ease;
  outline: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.pink-btn:hover {
  background: linear-gradient(135deg, #1d4ed8, #1e40af);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.45);
  transform: translateY(-2px);
}

.pink-btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.5);
}

.pink-btn:active {
  transform: translateY(1px);
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.3);
}

@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 36px 24px;
    gap: 24px;
    width: 100%;
  }
  .hero-content {
    max-width: 100%;
    width: 100%;
  }
  .hero-stats {
    width: 100%;
    flex-direction: column;
    gap: 14px;
  }
  .stat-box {
    flex: 1;
    min-width: 0;
    padding: 16px 12px;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .nav-links {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(-10px);
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                opacity 0.35s ease, 
                transform 0.35s ease, 
                padding 0.35s ease;
    padding: 0;
    gap: 10px;
    text-align: center;
  }
  .nav-links.active {
    max-height: 400px;
    opacity: 1;
    transform: translateY(0);
    padding: 15px 0 10px;
  }
  .nav-links li a {
    display: block;
    padding: 10px 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    transition: background 0.2s ease;
  }
  .nav-links li a:active {
    background: rgba(255, 255, 255, 0.15);
  }
  .glass-header.expanded {
    border-radius: 28px;
    background: #111c38;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  }
  .services-wrapper.grid-4-cols {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  section[id] {
    scroll-margin-top: 80px;
  }
  .hero {
    padding: 30px 16px;
    gap: 20px;
    border-radius: 20px;
    width: 100%;
  }
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
  .hero h1 {
    font-size: 1.8rem;
    line-height: 1.25;
    margin-bottom: 14px;
  }
  .hero p {
    font-size: 0.98rem;
    line-height: 1.5;
    margin-bottom: 22px;
  }
  .hero-stats {
    flex-direction: column;
    gap: 14px;
    width: 90%;
    margin: 0 auto;
  }
  .stat-box {
    width: 100%;
    padding: 18px 16px;
    border-radius: 16px;
  }
  .stat-box h3 {
    font-size: 1.2rem;
    margin-top: 0;
    margin-bottom: 6px;
  }
  .stat-box p {
    font-size: 0.92rem;
    line-height: 1.4;
    margin: 0;
  }
  .pink-btn {
    padding: 14px 32px;
    font-size: 1rem;
    width: 100%;
    max-width: 280px;
  }
  .nav-wrapper {
    padding: 8px 15px;
  }
  main {
    gap: 35px;
    padding-top: 15px;
  }
  .about-section .glass-panel, 
  .contact-section .glass-panel {
    padding: 25px 18px;
  }
  .about-section h2, 
  .contact-section h2 {
    font-size: 1.6rem;
  }
  .about-section p, 
  .contact-section p {
    font-size: 0.98rem;
  }
  .section-title {
    font-size: 1.5rem;
    margin-bottom: 25px;
    overflow-wrap: break-word;
    word-break: break-word;
  }
  .section-panel {
    padding: 25px 18px;
  }
  .cta-panel {
    padding: 25px 18px;
  }
  .logo-container {
    padding: 5px 14px;
  }
  .logo img {
    height: 28px;
    max-width: 130px;
  }
  .services-wrapper,
  .services-wrapper.grid-4-cols,
  .services-wrapper.grid-3-cols,
  .docs-grid {
    grid-template-columns: 1fr;
  }
  .doc-card {
    padding: 18px 16px;
    gap: 14px;
  }
  .service-card {
    padding: 25px 18px;
  }
  .pink-btn {
    display: block;
    margin: 0 auto;
    padding: 14px 32px;
    font-size: 1rem;
    width: 100%;
    max-width: 280px;
  }
  .glass-header {
    width: calc(100% - 20px);
    margin: 10px auto;
  }
}

@media (max-width: 400px) {
  .container {
    padding: 0 12px;
  }
  .section-panel {
    padding: 20px 14px;
  }
  .section-title {
    font-size: 1.35rem;
  }
}

/* =========================================================
   FORM STYLING
   ========================================================= */
.form-container {
  max-width: 650px;
  margin: 40px auto 20px auto;
  padding: 40px;
  text-align: left;
}

.form-title {
  font-size: 2rem;
  margin-bottom: 10px;
  text-align: center;
  color: var(--text-main);
}

.form-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.5;
}

.form-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
}

.form-input, .form-select {
  width: 100%;
  padding: 14px 20px;
  background: #0b1329;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  color: var(--text-main);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
}

.form-select option {
  background-color: #0b1329;
  color: #ffffff;
}

.form-input::placeholder {
  color: #64748b;
}

.form-input:focus, .form-select:focus {
  background: #0f1c3f;
  border-color: #38bdf8;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.25);
}

.form-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-muted);
  cursor: pointer;
  margin-top: 10px;
  line-height: 1.4;
}

.form-checkbox-label input[type="checkbox"] {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  accent-color: #3b82f6;
  cursor: pointer;
}

.form-submit-wrapper {
  margin-top: 30px;
  text-align: center;
}

.form-submit-wrapper button {
  width: 100%;
}

/* =========================================================
   MODAL WINDOW (SUCCESS DIALOG)
   ========================================================= */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(11, 19, 41, 0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: var(--panel-bg);
  border: 1px solid var(--border-color);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  border-radius: 24px;
  padding: 40px;
  max-width: 500px;
  width: 90%;
  text-align: center;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
  transform: scale(1);
}

.modal-icon {
  font-size: 4rem;
  color: #10b981;
  margin-bottom: 20px;
  animation: scaleUp 0.4s ease-out;
}

@keyframes scaleUp {
  0% { transform: scale(0); }
  70% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

.modal-title {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: var(--text-main);
}

.modal-text {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 30px;
}

/* =========================================================
   DOCUMENTS SECTION STYLING
   ========================================================= */
.docs-section {
  margin-top: 50px;
  text-align: left;
}

.docs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.doc-card {
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: transform 0.2s ease, background 0.2s ease;
  height: 100%;
  min-width: 0;
}

.doc-card:hover {
  transform: translateY(-3px);
  background: #23345e;
}

.doc-icon {
  font-size: 2.2rem;
  color: #f43f5e;
  flex-shrink: 0;
}

.doc-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow: hidden;
  text-align: left;
}

.doc-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
  text-decoration: none;
  line-height: 1.4;
  word-break: break-word;
}

.doc-title:hover {
  color: var(--highlight-blue);
}

.doc-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* =========================================================
   READABILITY & CONTRAST OVERRIDES
   ========================================================= */
.service-card p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-muted);
  font-weight: 400;
}

.service-card ul {
  list-style: none;
  padding-left: 0;
  margin-top: 15px;
}

.service-card ul li {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-muted);
  font-weight: 400;
  margin-bottom: 10px;
  text-align: left;
}

.glass-panel p, .glass-card p {
  color: var(--text-muted);
}

.about-section p, .contact-section p {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text-muted);
}

.form-subtitle {
  font-size: 1.05rem !important;
  color: var(--text-muted) !important;
  line-height: 1.6;
}

.form-label {
  font-size: 1rem !important;
  color: #cbd5e1 !important;
  font-weight: 500;
}
