@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --primary: #10233E;
  --primary-light: #1A345B;
  --secondary: #264B73;
  --secondary-light: #396494;
  --accent: #D4AF37;
  --accent-light: #E5C158;
  --bg-main: #F8FAFC;
  --white: #FFFFFF;
  --text-main: #1F2937;
  --text-muted: #4B5563;
  --border-subtle: #E2E8F0;
  --border-focus: #264B73;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --shadow-sm: 0 4px 6px -1px rgba(16, 35, 62, 0.05);
  --shadow-md: 0 10px 30px -5px rgba(16, 35, 62, 0.08);
  --shadow-lg: 0 20px 40px -10px rgba(16, 35, 62, 0.12);
  --glass-bg: rgba(255, 255, 255, 0.9);
  --glass-border: rgba(255, 255, 255, 0.5);
  --transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* CUSTOM SCROLLBAR */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #F1F5F9;
}
::-webkit-scrollbar-thumb {
  background: var(--secondary);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  color: var(--primary);
  font-weight: 700;
  line-height: 1.25;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-padding {
  padding: 7rem 0;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(38, 75, 115, 0.1);
  color: var(--secondary);
  padding: 0.45rem 1.1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.2rem;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
}

.section-title {
  font-size: 2.6rem;
  margin-bottom: 1.2rem;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 760px;
}

.section-header-top {
  margin-bottom: 4rem;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem 2.2rem;
  border-radius: var(--radius-sm);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--secondary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.btn-accent {
  background-color: var(--accent);
  color: var(--primary);
}

.btn-accent:hover {
  background-color: var(--accent-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  border-color: var(--primary);
  color: var(--primary);
  background: transparent;
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

/* STICKY HEADER */
.sticky-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.logo-badge {
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  box-shadow: var(--shadow-sm);
}

.logo-text-wrapper {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--primary);
  line-height: 1.1;
}

.logo-sub {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--text-main);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--secondary);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
}

.nav-auth {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.btn-nav-login {
  font-weight: 600;
  color: var(--primary);
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-sm);
}

.btn-nav-login:hover {
  background: rgba(38, 75, 115, 0.08);
}

.btn-nav-register {
  background: var(--primary);
  color: var(--white);
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.btn-nav-register:hover {
  background: var(--secondary);
}

#userGreetingNav {
  display: none;
  align-items: center;
  gap: 0.8rem;
  background: rgba(38, 75, 115, 0.08);
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  border: 1px solid rgba(38, 75, 115, 0.15);
}

.btn-logout {
  color: #DC2626;
  cursor: pointer;
  font-weight: 700;
  margin-left: 0.3rem;
}

.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
}

.nav-hamburger span {
  width: 26px;
  height: 3px;
  background: var(--primary);
  border-radius: 3px;
  transition: var(--transition);
}

/* FORM ELEMENTS */
.form-group {
  margin-bottom: 1.6rem;
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 1rem 1.3rem;
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--text-main);
  background: var(--white);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 4px rgba(38, 75, 115, 0.12);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin: 1.6rem 0;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.checkbox-group input[type="checkbox"] {
  margin-top: 0.25rem;
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
  cursor: pointer;
}

/* PREMIUM GLASS CARD UTILITY */
.glass-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 2.8rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.glass-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(38, 75, 115, 0.35);
}

/* TOAST CONTAINER & NOTIFICATION */
.toast-container {
  position: fixed;
  bottom: 2.5rem;
  right: 2.5rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.toast {
  background: var(--primary);
  color: var(--white);
  padding: 1.1rem 2rem;
  border-radius: var(--radius-sm);
  border-left: 5px solid var(--accent);
  box-shadow: var(--shadow-lg);
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* SITE FOOTER */
.site-footer {
  background: var(--primary);
  color: #D1D5DB;
  padding: 6rem 0 2rem 0;
  border-top: 5px solid var(--accent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.4fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand p {
  font-size: 0.94rem;
  line-height: 1.75;
  color: #9CA3AF;
  margin-top: 1.2rem;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 1.6rem;
  font-family: 'Outfit', sans-serif;
  letter-spacing: 0.03em;
}

.footer-links li {
  margin-bottom: 0.9rem;
}

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

.footer-contact-list li {
  display: flex;
  gap: 0.8rem;
  margin-bottom: 1.2rem;
  font-size: 0.94rem;
  color: #9CA3AF;
}

.footer-contact-list span:first-child {
  color: var(--accent);
  font-size: 1.1rem;
}

.footer-bottom {
  padding-top: 2.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  color: #9CA3AF;
}

/* RESPONSIVE STRUCTURE */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .nav-menu, .nav-auth {
    display: none;
  }
  .nav-hamburger {
    display: flex;
  }
  .nav-menu.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 90px;
    left: 0;
    width: 100%;
    background: var(--white);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    border-bottom: 3px solid var(--secondary);
    gap: 1.5rem;
    z-index: 999;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1.2rem;
    text-align: center;
  }
}
