/* Font Face */
@font-face {
  font-family: 'United Kingdom';
  src: url('../images/fonts/UnitedKingdom.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* CSS Variables */
:root {
  --brand-primary: #C00000;
  --brand-secondary: #FFC000;
  --brand-beige: #EBE6D5;
  --brand-dark: #181F26;
  --brand-light: #EFEFEF;
  --font-display: 'United Kingdom', serif;
  --font-body: 'Century Gothic', Arial, sans-serif;
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  line-height: 1.6;
  color: var(--brand-dark);
  overflow-x: hidden;
}

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

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

/* Navigation */
.nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 32px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 100;
}

.hamburger-line {
  width: 28px;
  height: 3px;
  background-color: white;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

.nav-link {
  color: white;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.1em;
  transition: color 0.3s ease;
}

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

/* Hero Section */
.hero {
  position: relative;
  background-color: var(--brand-dark);
  background-image: linear-gradient(to right, rgba(24, 31, 38, 0.85) 0%, rgba(24, 31, 38, 0.5) 40%, rgba(24, 31, 38, 0.2) 70%, transparent 100%), url('../images/hero-bg.svg');
  background-size: cover;
  background-position: center;
}

.hero-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 96px 24px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-logo {
  width: 128px;
  height: 128px;
  margin-bottom: 32px;
}

.hero-title {
  font-family: var(--font-display);
  color: white;
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: 0.05em;
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.25rem;
  max-width: 560px;
  line-height: 1.7;
}

/* About Section */
.about {
  background-color: white;
  padding: 80px 0;
}

.section-title {
  font-family: var(--font-display);
  color: var(--brand-dark);
  font-size: 3rem;
  margin-bottom: 64px;
  text-align: center;
}

.about-title {
  text-transform: uppercase;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

.about-header {
  margin-bottom: 24px;
}

.about-subtitle {
  font-family: var(--font-display);
  color: var(--brand-primary);
  font-size: 2rem;
  text-transform: uppercase;
}

.underline {
  width: 128px;
  height: 4px;
  background-color: var(--brand-primary);
  margin-top: 8px;
}

.underline-light {
  width: 128px;
  height: 4px;
  background-color: #FFC000;
  margin-top: 0;
  margin-bottom: 24px;
}

.about-text {
  color: var(--brand-dark);
}

.about-text p {
  margin-bottom: 16px;
  line-height: 1.8;
}

/* Core Values Grid */
.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.value-card {
  background-color: var(--brand-light);
  border: 1px solid #D5D5D5;
  border-radius: 16px;
  padding: 20px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.value-icon {
  width: 48px;
  height: 48px;
  background-color: var(--brand-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.value-icon-custom {
  width: 40px;
  height: 40px;
}

.value-title {
  color: var(--brand-dark);
  font-weight: 700;
}

/* Mission Section */
.mission {
  background-color: var(--brand-dark);
  padding: 80px 0;
}

.mission-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.mission-image-wrapper {
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
}

.mission-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.mission-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.section-title-light {
  font-family: var(--font-display);
  color: white;
  font-size: 2.5rem;
  margin-bottom: 8px;
}

.mission-text {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.125rem;
  line-height: 1.8;
  text-align: left;
}

.mission-text p {
  margin-bottom: 24px;
}

/* Vision Section */
.vision {
  background-color: #FFFFFF;
  padding: 80px 0;
}

.vision-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.vision-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.vision-title {
  color: #C00000;
  text-align: left;
  margin-bottom: 8px;
}

.underline-red {
  width: 128px;
  height: 4px;
  background-color: #C00000;
  margin-top: 8px;
  margin-bottom: 32px;
}

.vision-text {
  color: #333333;
  font-size: 1.125rem;
  line-height: 1.8;
}

.vision-text p {
  margin-bottom: 24px;
}

.vision-image-wrapper {
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
}

.vision-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

/* Services Section */
.services {
  background-color: #181F26;
  padding: 80px 0;
}

.services-title {
  color: white;
  margin-bottom: 8px;
}

.underline-gold-center {
  width: 128px;
  height: 4px;
  background-color: #FFC000;
  margin: 8px auto 48px auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  background-color: #EFEFEF;
  padding: 32px 24px;
  border-radius: 16px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.service-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 20px auto;
}

.service-icon img {
  width: 100%;
  height: 100%;
}

.service-title {
  color: var(--brand-dark);
  font-weight: 900;
  font-size: 1.125rem;
  margin-bottom: 16px;
  line-height: 1.4;
}

.service-description {
  color: rgba(24, 31, 38, 0.7);
  font-size: 0.875rem;
  line-height: 1.7;
  font-weight: 500;
}

/* Careers Section */
.careers {
  background-color: white;
  padding: 80px 0;
}

.careers-title {
  font-family: var(--font-display);
  color: #C00000;
  font-size: 3rem;
  margin-bottom: 8px;
}

.underline-red-center {
  width: 128px;
  height: 4px;
  background-color: #C00000;
  margin: 8px auto 48px auto;
}

.careers-container {
  max-width: 896px;
  text-align: center;
}

.careers-highlight {
  color: var(--brand-dark);
  font-size: 1.5rem;
  font-weight: 900;
  margin-bottom: 24px;
}

.careers-text {
  color: rgba(24, 31, 38, 0.8);
  line-height: 1.8;
  margin-bottom: 32px;
}

.careers-email {
  color: #181F26;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.careers-email:hover {
  color: #C00000;
}

.careers-button {
  display: inline-block;
  background-color: #FFC000;
  border: none;
  color: #181F26;
  padding: 12px 32px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: all 0.3s ease;
}

.careers-button:hover {
  background-color: #C00000;
  color: #FFC000;
}

/* Footer */
.footer {
  background-color: #EFEFEF;
  padding: 48px 0;
  border-top: 1px solid rgba(24, 31, 38, 0.1);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}

.footer-left {
  display: flex;
  align-items: center;
}

.footer-center {
  flex: 1;
  text-align: center;
}

.footer-logo {
  width: 128px;
  height: 128px;
}

.footer-contact {
  text-align: center;
}

.footer-contact p {
  color: #181F26;
  margin-bottom: 8px;
}

.footer-email {
  color: #181F26;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.footer-email:hover {
  color: #C00000;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.footer-link {
  color: #181F26;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: var(--brand-secondary);
}

.footer-social {
  padding: 0;
  margin: 0;
}

.linkedin-icon {
  width: 80px;
  height: auto;
  display: block;
}

.footer-bottom {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(24, 31, 38, 0.1);
  text-align: center;
}

.copyright {
  color: #181F26;
  font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .mission-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .vision-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.1rem;
  }
  
  .hero-logo {
    width: 100px;
    height: 100px;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .section-title-light {
    font-size: 2rem;
  }
  
  .about-subtitle {
    font-size: 1.5rem;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .values-grid {
    grid-template-columns: 1fr;
  }
  
  .hamburger {
    display: flex;
  }
  
  .nav-container {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background-color: rgba(24, 31, 38, 0.95);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    text-align: center;
  }
  
  .nav-container.active {
    display: flex;
  }
  
  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .footer-left {
    flex-direction: column;
    align-items: center;
  }
  
  .footer-nav {
    align-items: center;
  }
  
  .mission {
    padding: 60px 0;
  }
  
  .mission-container {
    text-align: center;
  }
  
  .mission-header {
    align-items: center;
  }
  
  .mission-text {
    text-align: center;
  }
  
  .mission-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .vision {
    padding: 60px 0;
  }
  
  .vision-container {
    text-align: center;
  }
  
  .vision-content {
    align-items: center;
  }
  
  .vision-text {
    text-align: center;
  }
  
  .vision-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .underline-red {
    margin-left: auto;
    margin-right: auto;
  }
  
  .careers-title {
    font-size: 2rem;
  }
}