:root {
  --primary: #1f6feb;
  --primary-dark: #124fb3;
  --secondary: #0ea5e9;
  --accent: #22d3ee;
  --bg: #f8fbff;
  --surface: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --border: #dbe7ff;
  --success: #0f9d58;
  --error: #d93025;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

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

html,
body {
  font-family: "Poppins", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.site-main {
  min-height: 70vh;
}

.section {
  padding: 72px 0;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.2;
  margin-bottom: 12px;
}

.section-subtitle {
  color: var(--muted);
  max-width: 760px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 12px 24px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  box-shadow: 0 8px 24px rgba(31, 111, 235, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 12px 32px rgba(31, 111, 235, 0.45);
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}

.btn-outline {
  color: var(--primary);
  background: #fff;
  border: 2px solid var(--border);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.btn-outline:hover {
  border-color: var(--primary);
  background: rgba(31, 111, 235, 0.05);
  box-shadow: 0 6px 20px rgba(31, 111, 235, 0.15);
}

.chip {
  display: inline-block;
  background: linear-gradient(135deg, rgba(31,111,235,0.3), rgba(34,211,238,0.2));
  color: #fff;
  border: 1px solid rgba(34,211,238,0.4);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.85rem;
  margin-bottom: 16px;
  backdrop-filter: blur(4px);
}

/* Highlighted text in hero */
.highlight {
  color: var(--accent);
  background: linear-gradient(135deg, rgba(34,211,238,0.15), rgba(31,111,235,0.08));
  padding: 2px 12px;
  border-radius: 8px;
  border-bottom: 3px solid var(--accent);
  text-shadow: 0 0 30px rgba(34,211,238,0.4);
}

/* Navbar */
.navbar-wrap {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(248, 251, 255, 0.92);
  border-bottom: 1px solid rgba(219, 231, 255, 0.8);
  box-shadow: 0 1px 20px rgba(15, 23, 42, 0.06);
}

.navbar {
  min-height: 72px;
  padding: 8px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  z-index: 1001;
}

.logo {
  height: 48px;
  width: auto;
}

.brand-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.95)) drop-shadow(0 0 1px rgba(0, 0, 0, 0.45));
  transition: transform 0.3s ease;
}

.brand:hover .brand-logo {
  transform: scale(1.03);
}

.brand-badge {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(140deg, var(--primary), var(--accent));
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.hamburger {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  position: relative;
  transition: background 0.3s ease;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 2px;
  background: var(--text);
  left: 0;
  transition: transform 0.3s ease, top 0.3s ease;
}

.hamburger::before {
  top: -7px;
}

.hamburger::after {
  top: 7px;
}

.nav-toggle[aria-expanded="true"] .hamburger {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .hamburger::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .hamburger::after {
  top: 0;
  transform: rotate(-45deg);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  color: var(--muted);
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: all 0.25s ease;
  font-size: 0.95rem;
}

.nav-link:hover {
  color: var(--primary);
  background: rgba(31, 111, 235, 0.08);
}

.nav-link.active {
  color: var(--primary);
  background: rgba(31, 111, 235, 0.1);
}

/* Hero */
.hero {
  background: 
    linear-gradient(135deg, rgba(10,14,26,0.75) 0%, rgba(15,22,40,0.7) 50%, rgba(26,39,68,0.65) 100%),
    url('../images/hero-pattern.svg');
  background-size: cover;
  background-position: center bottom;
  color: #fff;
  padding: 100px 0 110px;
  overflow: hidden;
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(ellipse at 20% 30%, rgba(31,111,235,0.2) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(34,211,238,0.15) 0%, transparent 45%);
  pointer-events: none;
  animation: ambientPulse 8s ease-in-out infinite;
}

@keyframes ambientPulse {
  0%, 100% { opacity: 0.8; }
  50% { opacity: 1; }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  line-height: 1.1;
  margin-bottom: 20px;
  animation: slideUp 0.8s ease-out;
}

.hero h1 span {
  background: linear-gradient(135deg, #22d3ee, #1f6feb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero > .container > div > p {
  font-size: 1.1rem;
  max-width: 550px;
  opacity: 0.9;
  line-height: 1.7;
  animation: slideUp 0.8s ease-out 0.1s both;
}

.hero-actions {
  margin-top: 32px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: slideUp 0.8s ease-out 0.2s both;
}

.hero-panel {
  background: linear-gradient(145deg, rgba(31,111,235,0.12), rgba(34,211,238,0.06));
  border: 1px solid rgba(34,211,238,0.2);
  border-radius: 16px;
  padding: 28px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.3);
  animation: slideLeft 0.8s ease-out 0.3s both;
}

.hero-panel h3 {
  font-size: 1.15rem;
  margin-bottom: 16px;
  color: #fff;
}

.hero-list {
  list-style: none;
  display: grid;
  gap: 14px;
}

.hero-list li {
  padding: 12px 16px;
  border-radius: 10px;
  background: rgba(31,111,235,0.12);
  border-left: 3px solid #22d3ee;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.hero-list li:hover {
  background: rgba(31,111,235,0.2);
  transform: translateX(4px);
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideLeft {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Cards / grids */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
  border-color: rgba(31, 111, 235, 0.3);
}

.card:hover::before {
  opacity: 1;
}

.card h3 {
  color: var(--text);
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.stat-number {
  color: var(--primary);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.muted {
  color: var(--muted);
}

.gallery-placeholder,
.logo-placeholder,
.map-placeholder {
  width: 100%;
  min-height: 170px;
  border-radius: 12px;
  border: 2px dashed #a5c8ff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4a84db;
  font-weight: 500;
  background: #f2f7ff;
}

.gallery-placeholder {
  min-height: 220px;
}

.gallery-card {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #edf5ff;
  min-height: 220px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.15);
}

.gallery-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.map-card {
  min-height: 0;
  background: #fff;
}

.map-image {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: contain;
  display: block;
}

.trust-logos {
  margin-top: 20px;
}

.cta-strip {
  padding: 40px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #0a1628 0%, #0f2847 50%, #1a3a5c 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(10, 22, 40, 0.3);
}

.cta-strip::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(ellipse at 20% 50%, rgba(31,111,235,0.2) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(34,211,238,0.15) 0%, transparent 50%);
  pointer-events: none;
}

.cta-strip > * {
  position: relative;
  z-index: 1;
}

.cta-strip h3 {
  font-size: 1.35rem;
  margin-bottom: 6px;
}

.cta-strip p {
  opacity: 0.85;
}

/* Forms */
.form-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.08);
  padding: 32px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

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

.form-group.full {
  grid-column: 1 / -1;
}

label {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
}

input,
select,
textarea {
  border: 1px solid #d4e3ff;
  border-radius: 10px;
  padding: 12px 14px;
  font: inherit;
  font-size: 0.95rem;
  color: var(--text);
  background: #fafcff;
  transition: all 0.25s ease;
}

input:hover,
select:hover,
textarea:hover {
  border-color: #a8c8ff;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(31, 111, 235, 0.1);
}

input::placeholder,
textarea::placeholder {
  color: #94a3b8;
}

.form-message {
  margin-top: 14px;
  font-weight: 500;
}

.form-message.success {
  color: var(--success);
}

.form-message.error {
  color: var(--error);
}

/* Footer */
.footer {
  margin-top: 60px;
  background: linear-gradient(180deg, #091b39 0%, #061222 100%);
  color: #b8cce8;
  padding: 48px 0 0;
}

.footer > .container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.footer-grid {
  display: grid !important;
  grid-template-columns: 1.5fr 1fr 1.2fr !important;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  width: 100%;
}

.footer-col {
  display: flex !important;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  visibility: visible !important;
  opacity: 1 !important;
}

.footer-title {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  opacity: 0.85;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b8cce8;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-3px);
  border-color: var(--primary);
}

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

.footer-links a {
  color: #b8cce8;
  font-size: 0.92rem;
  transition: color 0.25s ease, padding-left 0.25s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 6px;
}

.footer-contact {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
}

.footer-contact li svg {
  flex-shrink: 0;
  margin-top: 3px;
  opacity: 0.7;
}

.footer-contact a {
  color: #b8cce8;
  transition: color 0.25s ease;
}

.footer-contact a:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  font-size: 0.85rem;
  opacity: 0.75;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-powered {
  display: flex;
  align-items: center;
  gap: 8px;
}

.adonmo-logo {
  height: 22px;
  width: auto;
  opacity: 0.9;
  transition: opacity 0.25s ease;
}

.adonmo-logo:hover {
  opacity: 1;
}

.adonmo-brand {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  transition: transform 0.25s ease;
}

.adonmo-brand:hover {
  transform: scale(1.05);
}

.adonmo-brand svg {
  height: 20px;
  width: auto;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.small {
  font-size: 0.92rem;
}

/* Utility */
.page-hero {
  background: 
    linear-gradient(135deg, rgba(10,22,40,0.95) 0%, rgba(15,40,71,0.92) 50%, rgba(26,58,92,0.9) 100%),
    url('../images/hero-pattern.svg');
  background-size: cover;
  background-position: center top;
  color: #fff;
  padding: 64px 0;
  position: relative;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(31,111,235,0.12) 0%, transparent 50%);
  pointer-events: none;
}

.page-hero > * {
  position: relative;
  z-index: 1;
}

.stack {
  display: grid;
  gap: 18px;
}

@media (max-width: 960px) {
  .hero-grid,
  .grid-3 {
    grid-template-columns: 1fr 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 30px;
  }
  
  .footer-col:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: block;
    position: relative;
    z-index: 1002;
  }
  
  .navbar {
    padding: 12px 0;
    position: relative;
  }
  
  .brand {
    position: relative;
    z-index: 1002;
  }
  
  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100vh;
    background-color: #0f172a;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0;
    padding-top: 80px;
    z-index: 1000;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .nav-link {
    display: block;
    font-size: 1.1rem;
    padding: 18px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    text-align: left;
    width: 100%;
    color: #ffffff;
    background-color: transparent;
    border-radius: 0;
  }
  
  .nav-link:hover,
  .nav-link:focus,
  .nav-link.active {
    background-color: rgba(255,255,255,0.1);
    color: #22d3ee;
  }
  
  .nav-link:last-child {
    border-bottom: none;
  }
  
  .navbar-wrap {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    background-color: #ffffff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  
  body {
    padding-top: 72px;
  }

  .logo,
  .brand-logo {
    height: 40px;
  }

  .hero-grid,
  .grid-3,
  .grid-2,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 48px 0;
  }
  
  .hero h1 {
    font-size: 1.65rem;
    line-height: 1.2;
  }
  
  .hero p {
    font-size: 0.95rem;
  }
  
  .hero-panel {
    padding: 16px;
  }
  
  .hero-panel h3 {
    font-size: 1.05rem;
  }
  
  .hero-list li {
    padding: 8px 10px;
    font-size: 0.88rem;
  }
  
  .hero-actions {
    flex-direction: column;
  }
  
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
  
  .section {
    padding: 40px 0;
  }
  
  .section-title {
    font-size: 1.35rem;
  }
  
  .page-hero {
    padding: 48px 0;
  }
  
  .page-hero h1 {
    font-size: 1.5rem;
  }

  .map-image {
    max-height: 320px;
  }

  .cta-strip {
    padding: 24px 20px;
    text-align: center;
    flex-direction: column;
    border-radius: 12px;
  }
  
  .cta-strip h3 {
    font-size: 1.15rem;
  }
  
  .cta-strip > div {
    text-align: center;
  }
  
  .footer {
    margin-top: 40px;
    padding: 36px 0 0;
  }
  
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 32px;
    text-align: left;
  }
  
  .footer-col:first-child {
    grid-column: auto;
  }
  
  .footer-title {
    font-size: 1.1rem;
    margin-bottom: 16px;
  }
  
  .footer-social {
    justify-content: flex-start;
  }
  
  .footer-links,
  .footer-contact {
    align-items: flex-start;
  }
  
  .footer-links li,
  .footer-contact li {
    padding: 6px 0;
  }
  
  .footer-contact li {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: 10px;
  }
  
  .footer-contact li svg {
    flex-shrink: 0;
    margin-top: 2px;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 16px;
    padding: 24px 0;
  }
  
  .card {
    padding: 18px;
  }
  
  .card h3 {
    font-size: 1.05rem;
  }
  
  .stat-number {
    font-size: 1.5rem;
  }
  
  .btn {
    padding: 10px 18px;
    font-size: 0.9rem;
  }
  
  .form-wrap {
    padding: 20px;
  }
  
  .gallery-image {
    height: 180px;
  }
}

/* Smooth scroll */
html {
  scroll-behavior: smooth;
}

/* Focus states for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card,
.gallery-card,
.form-wrap {
  animation: fadeInUp 0.5s ease-out;
}

/* Selection color */
::selection {
  background: var(--primary);
  color: #fff;
}