:root {
  --primary-bg: #181f4b;
  --accent: #ffb43a;
  --white: #fff;
  --text: #222;
  --header-height: 100px;
  --font-main: Arial,Helvetica,sans-serif;
  --focus-outline: 3px solid #4a90e2;
  --focus-outline-offset: 2px;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font-main);
  background: var(--white);
  color: var(--text);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.site-header {
  background: var(--primary-bg);
  color: var(--white);
  height: var(--header-height);
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--white);
  transition: opacity 0.2s ease;
}

.logo-link:hover {
  opacity: 0.9;
}
.logo img {
  height: calc(var(--header-height) - 16px);
  width: auto;
}
.logo-text {
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 1px;
}
.logo-text .subtitle {
  display: block;
  font-weight: 400;
  font-size: 0.9rem;
  color: var(--accent);
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 32px;
  margin: 0;
  padding: 0;
  align-items: center;
  height: 100%;
}
.main-nav a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.2s, transform 0.2s ease;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  height: 100%;
}

.main-nav a:hover {
  transform: scale(1.05);
  opacity: 0.8;
}

.main-nav a.active, .main-nav a:hover {
  color: var(--accent);
}

.cta-header {
  background: var(--accent);
  color: var(--primary-bg);
  padding: 10px 24px;
  border-radius: 24px;
  font-weight: 700;
  text-decoration: none;
  margin-left: 24px;
  transition: background 0.2s;
}
.cta-header:hover {
  background: #ffd580;
}

.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-bg);
  color: var(--white);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('../img/backgroup/hero-bg1.gif') center/cover no-repeat;
  filter: blur(2px) brightness(0.5);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}
.hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.hero-sub {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}
.cta-main {
  background: var(--accent);
  color: var(--primary-bg);
  padding: 14px 36px;
  border-radius: 28px;
  font-weight: 700;
  text-decoration: none;
  font-size: 1.1rem;
  transition: background 0.2s;
  display: inline-block;
  margin-bottom: 2rem;
}
.cta-main:hover {
  background: #ffd580;
}

@media (max-width: 800px) {
  .header-flex {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    height: auto;
    padding: 12px 0;
  }
  .logo {
    justify-content: flex-start;
    margin-bottom: 0;
  }
  .hamburger {
    display: flex;
    position: static;
    margin-left: auto;
  }
  .desktop-menu {
    display: none !important;
  }
}

/* About/Value Section */
.about-values {
  background: #f7f8fa;
  padding: 60px 0;
}
.about-grid {
  display: flex;
  gap: 32px;
  justify-content: space-between;
  flex-wrap: wrap;
}
.about-item {
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(24,31,75,0.06);
  flex: 1 1 250px;
  min-width: 250px;
  max-width: 340px;
  padding: 32px 24px;
  text-align: center;
  margin: 0 auto;
}
.about-icon {
  font-size: 2.2rem;
  color: var(--accent);
  margin-bottom: 16px;
}
.about-item h3 {
  margin: 0 0 12px 0;
  font-size: 1.2rem;
}

.about-values-list {
  list-style-type: disc;
  padding-left: 1.5em;
  margin: 1em 0 0 0;
  text-align: left;
}
.about-values-list li {
  text-align: left;
}

/* How We Work Section */
.how-we-work {
  background: #fff;
  padding: 60px 0 40px 0;
}
.how-we-work h2 {
  text-align: center;
  color: var(--primary-bg);
  margin-bottom: 40px;
}
.work-flex {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
}
.work-item {
  background: #f7f8fa;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(24,31,75,0.04);
  flex: 1 1 300px;
  min-width: 260px;
  max-width: 400px;
  padding: 32px 24px;
  text-align: center;
  margin: 0 auto;
}
.work-icon {
  font-size: 2.2rem;
  color: var(--accent);
  margin-bottom: 16px;
}
.work-item h3 {
  margin: 0 0 12px 0;
  font-size: 1.2rem;
  color: var(--primary-bg);
}

/* Divider Section */
.divider {
  background: var(--accent);
  color: var(--primary-bg);
  padding: 32px 0;
  text-align: center;
}
.divider .divider-box p {
  text-align: left;
  margin-left: 20px;
}
.divider-box {
  background: #fffbe6;
  display: inline-block;
  padding: 32px 48px;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(24,31,75,0.04);
}
.divider-title {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--accent);
}
.divider-box h3 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
}

/* Contact/CTA Section */
.contact-cta {
  background: #f7f8fa;
  padding: 60px 0;
}
.contact-flex {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
}
.contact-form-box {
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(24,31,75,0.06);
  padding: 32px 24px;
  flex: 1 1 340px;
  min-width: 300px;
  max-width: 420px;
}
.contact-form-box h2 {
  margin-top: 0;
  color: var(--primary-bg);
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 16px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 12px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  font-family: var(--font-main);
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
  resize: none;
}
.contact-form textarea {
  min-height: 120px;
}
.contact-form button {
  background: var(--accent);
  color: var(--primary-bg);
  border: none;
  border-radius: 24px;
  padding: 12px 0;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.2s;
}
.contact-form button:hover {
  background: #ffd580;
}

/* Footer */
.site-footer {
  background: var(--primary-bg);
  color: var(--white);
  text-align: center;
  padding: 20px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 60px;
}
.footer-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 16px;
}
.footer-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
.footer-nav a:hover {
  color: var(--accent);
}
.footer-social {
  display: flex;
  gap: 16px;
}
.footer-social a {
  color: var(--accent);
  font-size: 1.5rem;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-social a:hover {
  color: #ffd580;
}
.footer-copy {
  text-align: left;
  margin-left: 20px;
  color: #bfc3d1;
  font-size: 0.95rem;
  padding: 16px 0 0 0;
}

@media (max-width: 1000px) {
  .about-grid, .work-flex, .contact-flex, .footer-flex {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
  }
  .about-item, .work-item, .contact-form-box {
    max-width: 100%;
  }
}

.division-group {
  background: #fffbe6;
  border-radius: 24px;
  box-shadow: 0 4px 24px rgba(24,31,75,0.08);
  padding: 48px 0 32px 0;
  margin: 48px auto 0 auto;
  max-width: 1100px;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 120;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  margin: 4px 0;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}
.mobile-menu-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--primary-bg);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: opacity 0.3s;
}
.mobile-menu-overlay.open {
  display: flex;
}
.mobile-menu-overlay ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 100vh;
}
.mobile-menu-overlay li {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-menu-overlay a {
  color: var(--white);
  font-size: 1.5rem;
  text-decoration: none;
  font-weight: 700;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  padding: 8px 0;
}
.mobile-menu-overlay a:hover {
  color: var(--accent);
}
.close-mobile-menu {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2.5rem;
  cursor: pointer;
  z-index: 210;
}
@media (max-width: 800px) {
  .desktop-menu {
    display: none !important;
  }
  .hamburger {
    display: flex;
  }
}

.about-title {
  color: #334CAA;
}

.lang-switch {
  display: inline-flex;
  margin-left: 8px;
  align-items: center;
}

.lang-switch span {
  margin: 0 8px;
  cursor: pointer;
  transition: transform 0.2s ease;
  font-size: 2rem;
}

.lang-switch span:hover {
  transform: scale(1.1);
  opacity: 0.8;
}
@media (max-width: 800px) {
  .desktop-menu .lang-switch {
    display: none !important;
  }
  .mobile-menu-overlay .lang-switch {
    display: block;
    text-align: center;
    margin: 16px 0 0 0;
  }
}
@media (min-width: 801px) {
  .mobile-menu-overlay .lang-switch {
    display: none !important;
  }
}

/* Focus States */
a:focus,
button:focus,
input:focus,
textarea:focus {
  outline: var(--focus-outline);
  outline-offset: var(--focus-outline-offset);
}

/* Skip to main content link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--primary-bg);
  color: var(--white);
  padding: 8px;
  z-index: 100;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 0;
}

/* Form Accessibility */
.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #4a90e2;
  box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.2);
}

/* Error States - Only show after user interaction */
.form-group input:invalid:not(:placeholder-shown),
.form-group textarea:invalid:not(:placeholder-shown) {
  border-color: #dc3545;
}

.form-group input:invalid:not(:placeholder-shown):focus,
.form-group textarea:invalid:not(:placeholder-shown):focus {
  box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.2);
}

/* Success States - Only show after user interaction */
.form-group input:valid:not(:placeholder-shown),
.form-group textarea:valid:not(:placeholder-shown) {
  border-color: #28a745;
}

.form-group input:valid:not(:placeholder-shown):focus,
.form-group textarea:valid:not(:placeholder-shown):focus {
  box-shadow: 0 0 0 2px rgba(40, 167, 69, 0.2);
}

/* Add placeholder to inputs to enable :placeholder-shown */
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #999;
  opacity: 1;
}

/* Button States */
button {
  cursor: pointer;
}

button:focus:not(:focus-visible) {
  outline: none;
}

button:focus-visible {
  outline: var(--focus-outline);
  outline-offset: var(--focus-outline-offset);
}

/* Mobile Menu Accessibility */
.mobile-menu-overlay {
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s, visibility 0.3s;
}

.mobile-menu-overlay.open {
  visibility: visible;
  opacity: 1;
}

/* High Contrast Mode Support */
@media (forced-colors: active) {
  .main-nav a,
  .footer-nav a {
    border: 1px solid transparent;
  }
  
  .main-nav a:focus,
  .footer-nav a:focus {
    border-color: CanvasText;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.about-mission,
.about-vision,
.about-values-list li {
  text-align: justify;
} 