:root {
  --bg: #0b1220;
  --bg-elev: #0f172a;
  --text: #e5e7eb;
  --muted: #94a3b8;
  --brand: #60a5fa;
  --brand-dark: #3b82f6;
  --surface: #0f172a;
  --border: #1f2937;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: radial-gradient(1200px 600px at 20% -10%, #1e293b 0%, transparent 70%),
              radial-gradient(800px 500px at 120% 10%, #0ea5e9 0%, transparent 60%),
              linear-gradient(180deg, #0b1220 0%, #0b1220 100%);
  line-height: 1.6;
}

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

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.site-header {
  position: sticky;
  top: 0;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 20;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  font-weight: 700;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--brand);
  color: #0b1220;
  font-weight: 800;
}

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

.nav ul {
  list-style: none;
  display: flex;
  gap: 16px;
  margin: 0;
  padding: 0;
}

.nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #0b1220;
  color: var(--text);
  text-decoration: none;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand) 0%, #3b82f6 50%, #1d4ed8 100%);
  color: #fff;
  border: none;
  box-shadow: 0 4px 15px rgba(96, 165, 250, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 14px;
  padding: 16px 28px;
  border-radius: 12px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 50%, var(--brand) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(96, 165, 250, 0.4);
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 4px 15px rgba(96, 165, 250, 0.3);
}

.btn-primary:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.3), 0 8px 25px rgba(96, 165, 250, 0.4);
}

/* Enhanced button icon animation */
.btn-primary i {
  transition: all 0.3s ease;
  margin-right: 10px;
}

.btn-primary:hover i {
  transform: translateX(3px) scale(1.1);
  color: #ffffff;
}

/* Button pulse animation on page load */
@keyframes buttonPulse {
  0% {
    box-shadow: 0 4px 15px rgba(96, 165, 250, 0.3);
  }
  50% {
    box-shadow: 0 4px 25px rgba(96, 165, 250, 0.6);
  }
  100% {
    box-shadow: 0 4px 15px rgba(96, 165, 250, 0.3);
  }
}

.btn-primary {
  animation: buttonPulse 2s ease-in-out infinite;
}

.btn-primary:hover {
  animation: none;
}

/* Button ripple effect */
.btn-primary {
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-primary:active::after {
  width: 300px;
  height: 300px;
}

/* Floating particles animation */
@keyframes float {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
    opacity: 0;
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
    opacity: 1;
  }
}

/* Button glow effect */
.btn-primary {
  position: relative;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #60a5fa, #3b82f6, #1d4ed8, #60a5fa);
  border-radius: 14px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-primary:hover::before {
  opacity: 1;
}

/* Enhanced button text shadow */
.btn-primary {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Button focus ring enhancement */
.btn-primary:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(96, 165, 250, 0.2), 0 8px 25px rgba(96, 165, 250, 0.4);
}



.nav-toggle {
  display: none;
  width: 44px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #0b1220;
  position: relative;
}

.nav-toggle .bar {
  position: absolute;
  left: 50%;
  width: 20px;
  height: 2px;
  background: var(--text);
  transform: translateX(-50%);
  transition: transform .3s ease, opacity .3s ease, top .3s ease, bottom .3s ease;
}
.nav-toggle .bar:nth-child(1) { top: 10px; }
.nav-toggle .bar:nth-child(2) { top: 17px; }
.nav-toggle .bar:nth-child(3) { bottom: 10px; }
.nav-toggle.open .bar:nth-child(1) { top: 17px; transform: translateX(-50%) rotate(45deg); }
.nav-toggle.open .bar:nth-child(2) { opacity: 0; }
.nav-toggle.open .bar:nth-child(3) { bottom: auto; top: 17px; transform: translateX(-50%) rotate(-45deg); }

.site-main .section {
  padding: 56px 0;
}

.display {
  font-size: 44px;
  line-height: 1.1;
  margin: 0 0 16px;
}

.h5 {
  font-size: 18px;
  margin: 24px 0 8px;
}

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

.grid-2 {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 28px;
  align-items: start;
}

.about .about-text p {
  color: #1f2937;
}

.about-media .photo-card {
  margin: 0;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-card figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  background: #0b1220;
  color: #cbd5e1;
}

.badge {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 999px;
  background: #10b981;
  color: white;
  font-size: 12px;
}

.caption {
  font-size: 12px;
  color: #94a3b8;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  display: grid;
  gap: 8px;
}

.checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.checklist i {
  color: #16a34a;
}

.features {
  background: linear-gradient(180deg, #0f172a 0%, #0b1220 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 28px;
}

.section-head .eyebrow {
  display: inline-block;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--brand-dark);
  margin-bottom: 6px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature {
  background: #fff;
  background: #0f172a;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
}

.feature .icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: #111827;
  border-radius: 10px;
  color: var(--brand-dark);
  margin-bottom: 10px;
}

.approvals .grid-badges {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.approvals .grid-badges li {
  background: #0f172a;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.card {
  background: #0f172a;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
}

.note {
  background: rgba(99, 102, 241, 0.08);
  border-color: #312e81;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  display: grid;
  gap: 8px;
}

.contact-form .field {
  display: grid;
  gap: 6px;
  margin: 10px 0;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  font-family: inherit;
  font-size: 14px;
  background: #0b1220;
  color: var(--text);
  transition: border-color 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.1);
}

.contact-form select {
  cursor: pointer;
}

.contact-form label {
  font-weight: 500;
  color: var(--text);
}

.contact-form label::after {
  content: " *";
  color: #ef4444;
  font-weight: 400;
}

.contact-form label:not([for="email"]):not([for="course"]):not([for="message"])::after {
  content: " *";
  color: #ef4444;
  font-weight: 400;
}

.contact-form .field-error {
  color: #ef4444;
  font-size: 12px;
  margin-top: 4px;
  font-weight: 500;
}

.contact-form .btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.contact-form .btn i {
  transition: transform 0.2s ease;
}

.contact-form .btn:hover:not(:disabled) i {
  transform: translateX(2px);
}



.form-status {
  margin-top: 10px;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 6px;
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid var(--border);
}

.form-status.success {
  background: rgba(16, 185, 129, 0.1);
  border-color: #10b981;
  color: #10b981;
}

.form-status.error {
  background: rgba(239, 68, 68, 0.1);
  border-color: #ef4444;
  color: #ef4444;
}



.form-status.loading {
  background: rgba(96, 165, 250, 0.1);
  border-color: #60a5fa;
  color: #60a5fa;
}

/* Common Footer */
.footer {
    background: linear-gradient(135deg, #1e3c72 0%, #2b4c8a 100%);
    color: white;
    padding: 60px 0 20px;
    position: relative;
    border-top: 2px solid rgba(102, 126, 234, 0.3);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3,
.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
}

.footer-section p {
    color: #b8c5d6;
    margin-bottom: 0.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #b8c5d6;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #667eea;
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: #b8c5d6;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

/* Certifications */
.certifications .cert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.cert-card {
  background: #0f172a;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.cert-media img { width: 100%; height: 180px; object-fit: cover; }
.cert-body { padding: 14px; }
.cert-body h3 { margin: 0 0 6px; }

@media (max-width: 980px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .certifications .cert-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .display {
    font-size: 34px;
  }
  .nav-toggle {
    display: inline-block;
  }
  .nav {
    position: absolute;
    right: 20px;
    top: 60px;
    background: #0b1220;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px;
    display: none;
    flex-direction: column;
    width: 220px;
  }
  .nav.open {
    display: flex;
  }
  .nav ul {
    flex-direction: column;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .certifications .cert-grid {
    grid-template-columns: 1fr;
  }
  
  /* Footer responsive */
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-links {
    justify-content: center;
  }
}

/* Feature Photos */
.feature-photos .photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.photo-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.photo-item img { width: 100%; height: 220px; object-fit: cover; display: block; }
.photo-item .overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: end start;
  padding: 12px;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(11,18,32,.9) 100%);
  color: #cbd5e1;
  font-weight: 600;
  opacity: 0;
  transition: opacity .35s ease;
}
.photo-item:hover .overlay { opacity: 1; }

@media (max-width: 980px) {
  .feature-photos .photo-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .feature-photos .photo-grid { grid-template-columns: 1fr; }
}

