/*
Theme Name: SVSG Career Theme
Theme URI: https://svsgacademy.com/
Author: OpenAI Codex
Description: WordPress theme for an online career training and coaching website on Hostinger.
Version: 1.0.1
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 8.1
Text Domain: svsg-career
*/

:root {
  --svsg-navy: #0b2846;
  --svsg-navy-2: #103a63;
  --svsg-blue: #2b86c5;
  --svsg-blue-soft: #d9efff;
  --svsg-ink: #13273c;
  --svsg-muted: #5b6f81;
  --svsg-white: #ffffff;
  --svsg-bg: #f4f9ff;
  --svsg-border: #d7e5f3;
  --svsg-accent: #ff8f8f;
  --svsg-shadow: 0 24px 70px rgba(8, 28, 52, 0.12);
  --svsg-radius: 24px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Avenir Next", "Nunito Sans", "Segoe UI", sans-serif;
  color: var(--svsg-ink);
  background: linear-gradient(180deg, #f4f9ff 0%, #eff6fc 35%, #f9fbfe 100%);
}

body.admin-bar .svsg-site-header {
  top: 32px;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.svsg-shell {
  min-height: 100vh;
}

.svsg-container {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.svsg-site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(135deg, var(--svsg-navy) 0%, var(--svsg-navy-2) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 60px rgba(5, 16, 31, 0.18);
}

.svsg-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 84px;
}

.svsg-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--svsg-white);
}

.svsg-brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  background: radial-gradient(circle at top left, #53d0ff 0%, #2b93d8 42%, #0f2945 100%);
}

.svsg-brand-meta strong {
  display: block;
  font-size: 1rem;
}

.svsg-brand-meta span {
  display: block;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.68);
}

.svsg-main-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.svsg-main-nav a,
.svsg-nav-button {
  padding: 0.65rem 1rem;
  color: rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: 160ms ease;
}

.svsg-nav-button {
  border: 0;
  background: transparent;
  box-shadow: none;
  appearance: none;
}

.svsg-main-nav a:hover,
.svsg-nav-button:hover,
.svsg-main-nav .current-menu-item > a {
  background: rgba(255, 255, 255, 0.12);
  color: var(--svsg-white);
}

.svsg-nav-group {
  position: relative;
}

.svsg-nav-group:hover .svsg-nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.svsg-nav-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 240px;
  padding: 0.65rem;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(10, 38, 68, 0.98), rgba(12, 49, 85, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 60px rgba(4, 14, 28, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: 180ms ease;
}

.svsg-nav-dropdown a {
  display: block;
  border-radius: 16px;
}

.svsg-header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.svsg-button,
.wp-block-button__link,
input[type="submit"] {
  border: 0;
  border-radius: 18px;
  padding: 0.9rem 1.4rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.svsg-button:hover,
.wp-block-button__link:hover,
input[type="submit"]:hover {
  transform: translateY(-1px);
}

.svsg-button-primary {
  background: linear-gradient(135deg, var(--svsg-navy) 0%, #18456d 100%);
  color: var(--svsg-white);
}

.svsg-button-secondary {
  background: var(--svsg-white);
  color: var(--svsg-ink);
  border: 1px solid var(--svsg-border);
}

.svsg-button-outline {
  background: transparent;
  color: var(--svsg-white);
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.svsg-page-section {
  padding: 4.5rem 0;
}

.svsg-hero {
  position: relative;
  overflow: hidden;
  color: var(--svsg-white);
  background: linear-gradient(135deg, rgba(12, 55, 95, 0.92), rgba(43, 125, 190, 0.68));
}

.svsg-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(173, 230, 255, 0.24), transparent 28%),
    linear-gradient(90deg, rgba(10, 38, 68, 0.72), rgba(10, 38, 68, 0.2));
}

.svsg-hero-inner {
  position: relative;
  z-index: 1;
  padding: 6rem 0 7rem;
}

.svsg-page-hero .svsg-hero-inner {
  padding: 4.4rem 0 4.9rem;
}

.svsg-kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #a9ddff;
}

.svsg-hero h1,
.svsg-page-hero h1 {
  margin: 1.2rem 0 0;
  font-size: clamp(3rem, 7vw, 5.6rem);
  line-height: 0.92;
  letter-spacing: -0.06em;
}

.svsg-page-hero h1 {
  max-width: 12ch;
  font-size: clamp(2.7rem, 5vw, 4.5rem);
  line-height: 0.98;
}

.svsg-hero p,
.svsg-page-hero p {
  max-width: 720px;
  font-size: 1.05rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.84);
}

.svsg-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.svsg-dark-band {
  background: linear-gradient(180deg, #0b233d 0%, #0e2846 100%);
  color: var(--svsg-white);
}

.svsg-dark-band .svsg-section-title,
.svsg-dark-band p {
  color: var(--svsg-white);
}

.svsg-section-title {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.svsg-section-copy {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--svsg-muted);
}

.svsg-grid {
  display: grid;
  gap: 1.5rem;
}

.svsg-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.svsg-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.svsg-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.svsg-card {
  border-radius: var(--svsg-radius);
  background: var(--svsg-white);
  border: 1px solid var(--svsg-border);
  box-shadow: var(--svsg-shadow);
}

.svsg-card-pad {
  padding: 1.6rem;
}

.svsg-stat-card {
  text-align: center;
  padding: 1.6rem;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}

.svsg-stat-card strong {
  display: block;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: -0.06em;
  color: var(--svsg-accent);
}

.svsg-pricing {
  margin-top: 1rem;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.svsg-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  font-size: 0.78rem;
  font-weight: 700;
  background: #ebf6ff;
  color: var(--svsg-blue);
}

.svsg-listing-card h3 {
  margin: 1rem 0 0.6rem;
  font-size: 1.6rem;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.svsg-listing-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.svsg-listing-card .svsg-actions {
  margin-top: auto;
}

.svsg-video-frame,
.svsg-contact-form,
.svsg-portal-card {
  border-radius: 28px;
  background: var(--svsg-white);
  border: 1px solid var(--svsg-border);
  box-shadow: var(--svsg-shadow);
}

.svsg-video-frame {
  overflow: hidden;
}

.svsg-video-frame iframe,
.svsg-video-frame embed,
.svsg-video-frame object {
  display: block;
  width: 100% !important;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  height: auto !important;
  min-height: 0;
  border: 0;
  border-radius: 18px;
}

.svsg-contact-shell {
  align-items: start;
}

.svsg-contact-intro {
  min-height: 100%;
}

.svsg-contact-intro .svsg-section-title {
  max-width: 7ch;
  font-size: clamp(2.7rem, 5vw, 4.3rem);
  line-height: 0.96;
}

.svsg-form-grid {
  display: grid;
  gap: 1rem;
}

.svsg-input,
.svsg-contact-form input,
.svsg-contact-form textarea,
.svsg-contact-form select,
.svsg-portal-card input {
  width: 100%;
  border: 1px solid var(--svsg-border);
  border-radius: 18px;
  padding: 0.95rem 1rem;
  background: var(--svsg-white);
  color: var(--svsg-ink);
}

.svsg-contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.svsg-modal-card {
  position: fixed;
  inset: 0;
  z-index: 55;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(8, 18, 33, 0.68);
}

.svsg-modal-inner {
  width: min(760px, 100%);
  border-radius: 28px;
  background: var(--svsg-white);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 35px 120px rgba(5, 16, 31, 0.45);
  overflow: hidden;
}

.svsg-modal-top {
  padding: 1.8rem;
  color: var(--svsg-white);
  background: linear-gradient(135deg, #4b9be0 0%, #4194d7 56%, #68b7ee 100%);
}

.svsg-site-footer {
  margin-top: 4rem;
  background: linear-gradient(135deg, #0b233d 0%, #102d4d 100%);
  color: rgba(255, 255, 255, 0.76);
}

.svsg-footer-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.04);
  padding: 1.8rem;
}

@media (max-width: 980px) {
  body.admin-bar .svsg-site-header {
    top: 46px;
  }

  .svsg-header-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 0;
  }

  .svsg-main-nav,
  .svsg-header-actions {
    flex-wrap: wrap;
  }

  .svsg-grid-2,
  .svsg-grid-3,
  .svsg-grid-4 {
    grid-template-columns: 1fr;
  }

  .svsg-page-hero h1,
  .svsg-contact-intro .svsg-section-title {
    max-width: none;
  }
}
