/* CSS Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fbfbfb;
  overflow-x: hidden;
}

/* Fix logo image */
.logo-text img {
  max-width: 100%;
  height: auto;
  max-height: 70px;
}

/* Color Variables */
:root {
  --primary-dark: #313c50;
  --primary-gold: #e0ba3e;
  --primary-blue: #3a7cbd;
  --text-dark: #333;
  --text-light: #fff;
  --bg-light: #fbfbfb;
  --bg-gray: #f5f5f5;
  --border-color: #ddd;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1.3;
  color: var(--primary-dark);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 1rem;
  color: #666;
}

a {
  text-decoration: none;
  color: var(--primary-blue);
  transition: color 0.3s ease;
}

a:hover {
  color: var(--primary-dark);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
.header {
  background-color: #26354f;
  top: 0;
  z-index: 1000;
}

.header-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.full-width-line {
  border: none;
  border-bottom: 3px solid #ffffff;
  width: 100%;
  margin: 0;
  position: relative;
  left: 0;

  height: 2px;
  background-color: rgb(255, 255, 255);
}

.logo-holder {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-holder hr {
  width: 0;
  height: 83px;
}

.logo-bar {
  width: 4px;
  height: 50px;
  background: linear-gradient(to bottom, #1a4480, #e0ba3e);
}

.logo img {
  height: 50px;
  width: auto;
}

.logo-text {
  margin: 0;
  padding: 0;
}

.logo-text span {
  color: var(--primary-gold);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.language-selector {
  display: flex;
  gap: 10px;
}

.language-selector a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  padding: 5px 8px;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.language-selector a:hover,
.language-selector a.active {
  color: white;
  background-color: rgba(255, 255, 255, 0.1);
}

.btn-login {
  background-color: #ffffff;
  border: 2px solid white;
  color: rgb(45, 101, 221);
  padding: 12px 24px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 15px;
  white-space: nowrap;
}

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

/* Navigation */
.nav-menu {
  color: #ffffff;
  display: flex;
  justify-content: space-between;

  margin: 0;
  padding: 0;
}

.nav-menu hr {
  right: 30px;
}

.nav-menu ul {
  display: flex;
  list-style: none;
  gap: 30px;

  font-size: 12px;
  padding: 18px;
}

/* Hero Section */
.hero {
  background: url("Hero Section img.png");
  background-size: cover;
  background-position: center;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  padding: 120px 20px;
}

.hero-content {
  max-width: 800px;
}

.hero h1 {
  color: white;
  font-size: 3rem;
  font-weight: 400;
  margin-bottom: 20px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  font-weight: 500;
}

/* Main Section */
.main-section {
  padding: 80px 0;
  background-color: white;
}

.main-content {
  display: flex;
  gap: 60px;
}

.main-title {
  flex: 0 0 280px;
}

.main-title h3 {
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.4;
  max-width: 220px;
}

.services-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.service-item {
  padding-left: 20px;
  border-left: 4px solid var(--primary-blue);
}

.service-item h4 {
  color: var(--primary-dark);
  font-size: 1.4rem;
  margin-bottom: 15px;
}

.service-item p {
  color: #666;
  margin-bottom: 10px;
  line-height: 1.7;
}

.service-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 20px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 4px;
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-align: center;
}

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

.btn-dark:hover {
  background-color: #252d3d;
  color: white;
}

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

.btn-primary:hover {
  background-color: #2d6499;
  color: white;
}

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

.btn-gold:hover {
  background-color: #c9a635;
}

.link-register {
  color: var(--primary-blue);
  font-weight: 500;
}

.link-register:hover {
  text-decoration: underline;
}

.service-actions button a {
  color: #ffffff;
}

/* Banner Section */
.banner-section {
  max-width: 800px;
  width: 90%;
  margin: 20px auto;
  padding: 30px;
  background-color: var(--primary-gold);
  border-radius: 8px;
  box-sizing: border-box;
}

.banner-content {
  display: flex;
  align-items: center;
  gap: 60px;
}

.banner-image {
  flex: 0 0 200px;
  display: flex;
  gap: 10px;
}

.banner-bar {
  width: 60px;
  height: 150px;
  background-color: var(--primary-gold);
}

.banner-bar.gold {
  background-color: var(--primary-gold);
  opacity: 0.7;
}

.banner-text {
  flex: 1;
}

.banner-text h1 {
  color: #000000;
  font-size: 35px;
  margin-bottom: 15px;
  max-width: 100%;
}

.banner-text p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 20px;
  font-size: 1.05rem;
  max-width: 100%;
}

/* Support Section */
.support-section {
  padding: 80px 0;
  margin: 110px 0 0 0;
  background-color: #ccd4e2;
}

.support-content {
  display: flex;
  align-items: center;
  gap: 80px;
}

.support-title {
  flex: 0 0 250px;
}

.support-title h4 {
  color: var(--primary-blue);
  font-size: 1.8rem;
}

.support-text {
  flex: 1;
}

.support-text p {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 20px;
  max-width: 100%;
}

/* Footer */
.footer {
  color: white;
}

.footer-top {
  background-color: var(--primary-dark);
  padding: 15px 0;
  text-align: right;
}

.back-to-top {
  color: white;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  cursor: pointer;
}

.back-to-top:hover {
  color: var(--primary-gold);
}

.footer-content {
  padding: 40px 0;
  display: flex;
  align-items: flex-start;
  gap: 30px;
}

.footer-logo {
  width: 60px;
  height: auto;
}

.footer-info {
  flex: 1;
}

.footer-info .title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 5px;
  color: #000000;
}

.footer-info .subtitle {
  font-size: 1rem;
  margin-bottom: 15px;
  color: #000000;
}

.footer-info .text {
  font-size: 0.85rem;
  color: rgb(129, 129, 129);
  margin-bottom: 15px;
  max-width: 430px;
  width: 100%;
}

.footer-info .text a {
  color: #000000;
  text-decoration: underline;
}

.footer-info .privacy-link {
  color: var(--primary-blue);
  font-size: 1.1rem;
}

/* Modal Styles */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 2000;
  justify-content: center;
  align-items: center;
}

.modal-overlay.active {
  display: flex;
}

.modal {
  background-color: white;
  border-radius: 8px;
  width: 90%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.modal-header {
  background-color: var(--primary-dark);
  color: white;
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  color: white;
  font-size: 1.3rem;
}

.modal-close {
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.modal-close:hover {
  opacity: 1;
}

.modal-body {
  padding: 30px 25px;
}

/* Form Styles */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--primary-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(58, 124, 189, 0.1);
}

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

.form-row {
  display: flex;
  gap: 15px;
}

.form-row .form-group {
  flex: 1;
}

.form-actions {
  margin-top: 25px;
}

.form-actions .btn {
  width: 100%;
}

.form-footer {
  text-align: center;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
}

.form-footer p {
  color: #666;
  font-size: 0.9rem;
}

/* Alert Messages */
.alert {
  padding: 15px 20px;
  border-radius: 4px;
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.alert-success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.alert-error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* Page Styles */
.page {
  display: none;
  min-height: calc(100vh - 200px);
}

.page.active {
  display: block;
}

/* Services Page */
.services-page {
  padding: 60px 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.service-card {
  background-color: white;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
  border-left: 4px solid var(--primary-blue);
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.service-card h4 {
  margin-bottom: 15px;
}

.service-card .details {
  display: flex;
  gap: 20px;
  margin: 20px 0;
  padding: 15px;
  background-color: var(--bg-gray);
  border-radius: 4px;
}

.service-card .detail-item {
  text-align: center;
}

.service-card .detail-item span {
  display: block;
  font-size: 0.8rem;
  color: #888;
  margin-bottom: 5px;
}

.service-card .detail-item strong {
  color: var(--primary-dark);
  font-size: 1.1rem;
}

/* Application Status Page */
.status-page {
  padding: 60px 0;
}

.status-checker {
  max-width: 600px;
  margin: 0 auto;
  background-color: white;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.status-result {
  margin-top: 30px;
  padding: 20px;
  background-color: var(--bg-gray);
  border-radius: 4px;
  display: none;
}

.status-result.active {
  display: block;
}

.status-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
}

.status-pending {
  background-color: #fff3cd;
  color: #856404;
}

.status-approved {
  background-color: #d4edda;
  color: #155724;
}

.status-rejected {
  background-color: #f8d7da;
  color: #721c24;
}

/* Contact Page */
.contact-page {
  padding: 60px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 40px;
}

.contact-info h4 {
  margin-bottom: 20px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 25px;
}

.contact-icon {
  width: 45px;
  height: 45px;
  background-color: var(--primary-blue);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-details h5 {
  font-size: 1rem;
  margin-bottom: 5px;
  color: var(--primary-dark);
}

.contact-details p {
  color: #666;
  margin: 0;
  font-size: 0.95rem;
}

.contact-form {
  background-color: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .main-content {
    flex-direction: column;
    gap: 30px;
  }

  .main-title {
    flex: auto;
  }

  .main-title h3 {
    max-width: 100%;
  }

  .support-content {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .banner-text h1 {
    font-size: 26px;
  }
}

@media (max-width: 768px) {
  .header-main {
    flex-wrap: wrap;
    gap: 10px;
  }

  .logo-holder hr {
    display: none;
  }

  .header-actions {
    order: 3;
    width: 100%;
    justify-content: space-between;
  }

  .btn-login {
    padding: 10px 18px;
    font-size: 14px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .banner-section {
    width: 95%;
    padding: 20px;
  }

  .banner-content {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .banner-image {
    display: none;
  }

  .banner-text h1 {
    font-size: 22px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    flex-direction: column;
    gap: 0;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .support-section {
    margin: 40px 0 0 0;
    padding: 40px 0;
  }

  .support-title {
    flex: auto;
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: 300px;
    padding: 40px 15px;
  }

  .hero h1 {
    font-size: 1.6rem;
  }

  .hero p {
    font-size: 0.95rem;
  }

  .service-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .main-section {
    padding: 40px 0;
  }

  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.3rem;
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mb-0 {
  margin-bottom: 0;
}

.mt-20 {
  margin-top: 20px;
}

.hidden {
  display: none;
}

/* Loading Spinner */
.spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: white;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Smooth transitions for page changes */
.fade-in {
  animation: fadeIn 0.3s ease-in;
}

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