:root {
  --svnyc-navy: #102a43;
  --svnyc-blue: #174a7e;
  --svnyc-saffron: #e87516;
  --svnyc-light: #f5f7fa;
  --svnyc-dark: #17202a;
  --svnyc-muted: #687786;
  --svnyc-border: #e1e7eb;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--svnyc-dark);
  background: #fff;
}

img {
  max-width: 100%;
}

.navbar {
  box-shadow: 0 3px 20px rgba(0, 0, 0, 0.08);
}

.navbar .brand-short {
  flex: 0 0 54px;
  width: 54px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--svnyc-saffron);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
  border-radius: 12px;
  letter-spacing: -0.5px;
  line-height: 1;
  white-space: nowrap;
}

footer .brand-short {
  flex: 0 0 54px;
  width: 54px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--svnyc-saffron);
  border-radius: 12px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1;
  white-space: nowrap;
}

.brand-name {
  color: var(--svnyc-navy);
  font-size: 0.95rem;
  line-height: 1.2;
  font-weight: 700;
}

.navbar .nav-link {
  color: #34495e;
  font-size: 0.9rem;
  font-weight: 600;
  padding-left: 0.65rem !important;
  padding-right: 0.65rem !important;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: var(--svnyc-saffron);
}

.btn-saffron,
.btn-outline-saffron {
  border-radius: 8px;
  font-weight: 700;
}

.btn-saffron {
  color: #fff;
  background: var(--svnyc-saffron);
  border: 1px solid var(--svnyc-saffron);
}

.btn-saffron:hover {
  color: #fff;
  background: #c95f0d;
  border-color: #c95f0d;
}

.btn-outline-saffron {
  color: var(--svnyc-saffron);
  border: 1px solid var(--svnyc-saffron);
}

.btn-outline-saffron:hover {
  color: #fff;
  background: var(--svnyc-saffron);
}

.hero,
.page-hero {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background-color: var(--svnyc-navy);
  background-position: center;
  background-size: cover;
}

.hero {
  min-height: 650px;
  background-image:
    linear-gradient(90deg, rgba(7, 28, 49, 0.94), rgba(10, 42, 70, 0.48)),
    url("../assets/images/hero-computer-training.jpg");
}

.page-hero {
  min-height: 390px;
  background-image:
    linear-gradient(90deg, rgba(8, 31, 51, 0.95), rgba(16, 54, 86, 0.82)),
    url("../assets/images/about-hero.jpg");
}

.hero-content,
.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero h1,
.page-hero h1,
.cta-section h2 {
  font-family: "Playfair Display", serif;
  font-weight: 700;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  line-height: 1.1;
}

.page-hero h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.15;
}

.hero p,
.page-hero p {
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.8;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  margin-bottom: 20px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
}

.breadcrumb-item,
.breadcrumb-item a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
}

.breadcrumb-item.active {
  color: #fff;
}

.section-padding {
  padding: 90px 0;
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 50px;
  text-align: center;
}

.section-eyebrow,
.section-heading .eyebrow,
.page-eyebrow {
  color: var(--svnyc-saffron);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.section-heading h2,
.section-title {
  color: var(--svnyc-navy);
  font-weight: 800;
  line-height: 1.2;
}

.section-heading p,
.section-text,
.muted-text {
  color: var(--svnyc-muted);
  line-height: 1.85;
}

.about-image,
.about-main-image {
  width: 100%;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(16, 42, 67, 0.15);
}

.about-image {
  min-height: 420px;
}

.about-main-image {
  height: 500px;
}

.feature-card,
.course-card,
.highlight-card,
.info-card {
  height: 100%;
  background: #fff;
  border: 1px solid #e7edf2;
  border-radius: 12px;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.feature-card,
.highlight-card,
.info-card {
  padding: 30px;
}

.course-card {
  padding: 25px;
}

.feature-card:hover,
.course-card:hover,
.highlight-card:hover,
.info-card:hover {
  transform: translateY(-6px);
  border-color: rgba(232, 117, 22, 0.25);
  box-shadow: 0 18px 40px rgba(16, 42, 67, 0.12);
}

.feature-icon,
.course-icon,
.info-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin-bottom: 22px;
  color: var(--svnyc-saffron);
  background: #fff4e9;
  border-radius: 14px;
  font-size: 1.5rem;
}

.feature-card h3,
.course-card h3,
.info-card h3 {
  color: var(--svnyc-navy);
  font-weight: 800;
}

.feature-card p,
.course-card p,
.info-card p {
  color: var(--svnyc-muted);
  line-height: 1.7;
}

.course-meta,
.quick-info-value,
.verification-field {
  color: var(--svnyc-muted);
}

.stats-section {
  color: #fff;
  background: var(--svnyc-navy);
}

.stat-box {
  padding: 20px;
  text-align: center;
}

.stat-number {
  margin-bottom: 5px;
  font-size: 2.8rem;
  font-weight: 800;
}

.stat-label {
  color: rgba(255, 255, 255, 0.72);
}

.verification-section {
  background: linear-gradient(135deg, #f8fafc, #fff7ef);
}

.verification-card,
.search-panel,
.table-card,
.certificate-result-card {
  background: #fff;
  border: 1px solid var(--svnyc-border);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(16, 42, 67, 0.08);
}

.verification-card {
  padding: 40px;
}

.search-panel,
.table-card {
  padding: 24px;
}

.notice-card {
  padding: 22px;
  background: #fff;
  border-left: 4px solid var(--svnyc-saffron);
  border-radius: 8px;
  box-shadow: 0 8px 25px rgba(16, 42, 67, 0.07);
}

.notice-date {
  color: var(--svnyc-saffron);
  font-size: 0.8rem;
  font-weight: 700;
}

.gallery-image {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: 12px;
}

.gallery-image-wrapper {
  overflow: hidden;
  border-radius: 12px;
}

.gallery-image:hover {
  transform: scale(1.02);
}

.cta-section {
  color: #fff;
  background: linear-gradient(
    135deg,
    rgba(16, 42, 67, 0.97),
    rgba(23, 74, 126, 0.96)
  );
}

.cta-section h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

footer {
  color: rgba(255, 255, 255, 0.75);
  background: #0b1d2d;
}

footer h5 {
  color: #fff;
  font-weight: 700;
}

footer a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}

footer a:hover {
  color: #fff;
}

.floating-contact {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.floating-contact a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  color: #fff;
  border-radius: 50%;
  font-size: 1.3rem;
  text-decoration: none;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.whatsapp-btn {
  background: #25d366;
}

.call-btn {
  background: var(--svnyc-blue);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

#backToTop {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

#backToTop.show {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 767px) {
  .section-padding {
    padding: 65px 0;
  }

  .hero {
    min-height: 620px;
  }

  .hero h1 {
    font-size: 2.35rem;
  }

  .verification-card {
    padding: 25px;
  }

  .about-image {
    min-height: 300px;
  }

  .floating-contact {
    right: 12px;
    bottom: 12px;
  }

  .floating-contact a {
    width: 46px;
    height: 46px;
  }
}

@media print {
  .no-print,
  .navbar,
  footer,
  .floating-contact {
    display: none !important;
  }

  .certificate-result-card {
    border: 0;
    box-shadow: none;
  }
}
