/* ========== BASE STYLES ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Colors */
  --primary-color: #0b2e65;
  --secondary-color: #041d88;
  --dark-color: #212121;
  --light-color: #faf9f4;
  --text-color: #333;
  --text-light: #ffffff;
  --accent-color: #604b33;
  
  /* Spacing */
  --section-padding: 80px;
  --border-radius: 8px;
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--light-color);
}

.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 72px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Mulish', sans-serif;
  font-weight: 700;
}

img {
  max-width: 100%;
  height: auto;
}

/* ========== UTILITY CLASSES ========== */
.cta-button {
  display: inline-block;
  padding: 12px 24px;
  background-color: var(--primary-color);
  color: var(--text-light);
  border-radius: var(--border-radius);
  font-family: 'Mulish', sans-serif;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
  border: 2px solid var(--primary-color);
  cursor: pointer;
}

.cta-button:hover {
  background-color: transparent;
  color: var(--primary-color);
  transform: translateY(-2px);
}

/* ========== HEADER SECTION ========== */
.header {
  position: relative;
  min-height: 400px;
  background: 
    linear-gradient(180deg, rgba(135, 134, 134, 0.5) 53.37%, rgba(33, 33, 33, 0.7) 100%),
    url('../assets/images/services-hero-bg.jpg') center/cover no-repeat;
  color: var(--text-light);
  display: flex;
  flex-direction: column;
}

.header-content {
  position: relative;
  z-index: 2;
  padding: 20px 72px;
  box-sizing: border-box;
  flex-direction: column;
  flex-grow: 1;
}

.logo-nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: auto;
  flex-wrap: wrap;
  gap: 20px;
}

/* Logo Brand Styles */
.logo-brand {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.logo {
  width: 102.5px;
  height: 55px;
  object-fit: contain;
}

.company-name {
  color: var(--text-light);
  text-align: left;
  white-space: nowrap;
  margin-left: -8px;
}

.company-name-main {
  font-family: 'Mulish', sans-serif;
  font-weight: 700;
  font-size: 18px;
  display: block;
  line-height: 1.2;
}

.company-name-sub {
  font-family: 'Mulish', sans-serif;
  font-weight: 700;
  font-size: 16px;
  display: block;
  line-height: 1.2;
}

/* Navigation and Button Container */
.nav-container {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: flex-end;
  flex-grow: 1;
}

.main-nav ul {
  display: flex;
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.main-nav li {
  flex-shrink: 0;
}

.main-nav a {
  color: var(--text-light);
  font-family: 'Mulish', sans-serif;
  font-weight: 700;
  font-size: 16px;
  transition: color 0.3s;
  text-decoration: none;
  white-space: nowrap;
  display: block;
  padding: 8px 0;
}

.main-nav a.active {
  color: var(--secondary-color);
  font-weight: 900;
}

.main-nav a:hover {
  color: var(--secondary-color);
}

/* Dropdown Menu */
.main-nav .dropdown {
  position: relative;
}

.main-nav .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: white;
  border-radius: 4px;
  padding: 10px 0;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  min-width: 200px;
  display: none;
  z-index: 1000;
}

.main-nav .dropdown:hover .dropdown-menu {
  display: block;
}

.main-nav .dropdown-menu li {
  padding: 8px 20px;
}

.main-nav .dropdown-menu li a {
  color: var(--dark-color);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  display: block;
}

.main-nav .dropdown-menu li a:hover {
  background-color: #f2f2f2;
  color: var(--primary-color);
}

/* Page Title */
.page-title {
  font-family: 'Mulish', sans-serif;
  font-weight: 800;
  font-size: 3.5rem;
  text-align: center;
  text-transform: uppercase;
  margin: 0 auto;
  max-width: 800px;
  width: 100%;
  padding: 0 20px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transform: scale(0.8) translate(-50%, -50%);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.page-title.animate {
  opacity: 1;
  transform: scale(1) translate(-50%, -50%);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
  padding: 5px;
}

.mobile-menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  margin: 2px 0;
  background-color: var(--text-light);
  transition: all 0.3s ease;
  border-radius: 2px;
}

/* ========== ABOUT CONTENT SECTION ========== */
.about-content {
  padding: var(--section-padding) 0;
}

.about-content .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 60px;
  overflow: hidden;
}

.about-text {
  flex: 1;
  max-width: 571px;
  transform: translateX(-50px);
  opacity: 0;
  transition: transform 0.8s ease-out, opacity 0.8s ease-out;
}

.about-text h2 {
  color: var(--primary-color);
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 40px;
  margin-bottom: 30px;
}

.about-text p {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 40px;
}

.about-content img {
  width: 50%;
  max-width: 636px;
  height: auto;
  aspect-ratio: 1/0.9;
  object-fit: cover;
  border-radius: var(--border-radius);
  transform: translateX(50px);
  opacity: 0;
  transition: transform 0.8s ease-out, opacity 0.8s ease-out;
}

.about-text.animate {
  transform: translateX(0);
  opacity: 1;
}

.about-image.animate {
  transform: translateX(0);
  opacity: 1;
}

/* ========== VIDEO & STATS SECTION ========== */
.video-stats-section {
  padding: var(--section-padding) 0;
}

.video-container {
  position: relative;
  height: 548px;
  background: linear-gradient(to left, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: var(--border-radius);
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
}

.play-button {
  background: var(--accent-color);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 2;
}

.play-button img {
  width: 30px;
}

.video-container h3 {
  position: absolute;
  bottom: 120px;
  color: white;
  font-family: 'Mulish', sans-serif;
  font-weight: 700;
  font-size: 32px;
  z-index: 2;
}

.video-container.animate {
  opacity: 1;
  transform: translateY(0);
}

/* Stats Container */
.stats-container {
  display: flex;
  justify-content: space-between;
  background: white;
  padding: 40px;
  margin-top: 20px;
  border-radius: var(--border-radius);
  opacity: 0;
  transition: opacity 0.8s ease-out;
}

.stats-container.animate {
  opacity: 1;
}

.stat-item {
  text-align: center;
  flex: 1;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.stat-item.animate {
  opacity: 1;
  transform: translateY(0);
}

.stat-number {
  display: block;
  color: var(--accent-color);
  font-family: 'Mulish', sans-serif;
  font-weight: 900;
  font-size: 40px;
  margin-bottom: 10px;
}

.stat-label {
  color: var(--dark-color);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 16px;
}

/* ========== TEAM SECTION ========== */
.team-section {
  padding: var(--section-padding) 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  color: var(--accent-color);
  font-family: 'Mulish', sans-serif;
  font-weight: 700;
  font-size: 40px;
}

.team-members {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

.team-card {
  background: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: transform 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.team-card.animate {
  opacity: 1;
  transform: translateY(0);
}

.team-card:hover {
  transform: translateY(-10px);
}

.team-photo {
  width: 100%;
  height: 350px;
  object-fit: cover;
}

.team-info {
  padding: 20px;
  text-align: center;
}

.team-info h3 {
  font-family: 'Mulish', sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: var(--dark-color);
  margin-bottom: 5px;
}

.team-info p {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: #94744e;
  margin-bottom: 15px;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.social-links a {
  display: inline-flex;
  width: 24px;
  height: 24px;
  background: white;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
}

.social-links img {
  width: 12px;
}

/* ========== MISSION SECTION ========== */
.mission-section {
  padding: var(--section-padding) 0;
}

.mission-content-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 60px;
  overflow: hidden;
}

.mission-image {
  width: 50%;
  max-width: 636px;
  height: auto;
  aspect-ratio: 1/0.9;
  object-fit: cover;
  border-radius: var(--border-radius);
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.mission-content {
  flex: 1;
  max-width: 571px;
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.mission-content h2 {
  color: var(--primary-color);
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 40px;
  margin-bottom: 30px;
}

.mission-content p {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 40px;
}

.mission-image.animate {
  opacity: 1;
  transform: translateX(0);
}

.mission-content.animate {
  opacity: 1;
  transform: translateX(0);
}

/* ========== FOOTER ========== */
.footer {
  background-color: dimgray;
  color: var(--text-light);
  padding: 60px 72px 20px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.footer.animate {
  opacity: 1;
  transform: translateY(0);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  margin-bottom: 60px;
  color: var(--text-light);
}

.footer-about {
  max-width: 418px;
  color: var(--text-light);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.footer.animate .footer-about {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}

.footer-about p {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 24px;
  color: var(--text-light);
}

.social-icons {
  display: flex;
  gap: 12px;
  align-items: center;
}

.social-icons a {
  display: inline-flex;
  width: 24px;
  height: 24px;
  background-color: var(--text-light);
  border-radius: 50%;
  padding: 5px;
  transition: transform 0.3s ease;
  justify-content: center;
  align-items: center;
  position: relative;
  top: -1px;
}

.social-icons a img {
  width: 12px;
  height: 12px;
  object-fit: contain;
  position: relative;
  top: -1px;
}

.social-icons a:hover {
  transform: scale(1.2);
}

.footer-links {
  display: flex;
  gap: 80px;
  color: var(--text-light);
}

.footer-services, .footer-contact, .footer-navigation {
  max-width: 250px;
  color: var(--text-light);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.footer.animate .footer-services {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.4s;
}

.footer.animate .footer-contact {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.6s;
}

.footer.animate .footer-navigation {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.8s;
}

.footer-services h3, .footer-contact h3, .footer-navigation h3 {
  font-family: 'Mulish', sans-serif;
  font-weight: 600;
  font-size: 20px;
  margin-bottom: 32px;
  color: var(--text-light);
}

.footer-services ul, .footer-navigation ul {
  display: flex;
  flex-direction: column;
  gap: 24px;
  color: var(--text-light);
}

.footer-services li, .footer-navigation li {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-light);
}

.footer-contact address, .footer-contact p {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 24px;
  color: var(--text-light);
}

/* Footer Contact Icons */
.footer-contact address {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  line-height: 1.4;
}

.contact-item i {
  color: var(--text-light);
  font-size: 16px;
  margin-top: 3px;
  flex-shrink: 0;
}

.contact-item span {
  flex: 1;
}

.footer-contact a, 
.footer-services a, 
.footer-navigation a {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-contact a:hover, 
.footer-services a:hover, 
.footer-navigation a:hover {
  color: var(--accent-color);
}

.footer-copyright {
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 16px;
  opacity: 0.5;
  color: var(--text-light);
}

.footer.animate .footer-copyright {
  opacity: 1;
  transition: opacity 0.8s ease-out 1s;
}

/* ========== RESPONSIVE STYLES ========== */
@media (max-width: 1200px) {
  .container {
    padding: 0 40px;
  }
  
  .header-content {
    padding: 20px 40px;
  }
  
  .about-content .container,
  .mission-content-wrapper {
    flex-direction: column;
  }
  
  .about-image,
  .mission-image {
    width: 100%;
    margin-top: 40px;
  }
  
  .stats-container {
    flex-wrap: wrap;
    gap: 20px;
  }
  
  .stat-item {
    flex: 0 0 calc(50% - 20px);
  }
  
  .footer-links {
    gap: 40px;
  }
}

@media (max-width: 992px) {
  .header {
    min-height: 400px;
  }
  
  .logo-nav-container {
    margin-bottom: 30px;
  }
  
  .page-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
  
  .header-content {
    padding: 15px 20px;
  }
  
  .logo-nav-container {
    margin-bottom: 20px;
  }
  
  .nav-container {
    justify-content: space-between;
    width: 100%;
    order: 1;
  }
  
  .main-nav {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .page-title {
    font-size: 1.8rem;
  }
  
  .cta-button {
    padding: 8px 16px;
    font-size: 14px;
  }
  
  .video-container {
    height: 300px;
  }
  
  .video-container h3 {
    font-size: 24px;
    bottom: 80px;
  }
  
  .play-button {
    width: 60px;
    height: 60px;
  }
  
  .play-button img {
    width: 20px;
  }
  
  .team-members {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 40px;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 40px;
  }
  
  .main-nav {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--dark-color);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: left 0.3s ease;
    padding: 40px 20px;
  }
  
  .main-nav.active {
    left: 0;
  }
  
  .main-nav ul {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }
  
  .main-nav a {
    font-size: 20px;
  }
}

@media (max-width: 576px) {
  .header {
    min-height: 300px;
  }
  
  .page-title {
    font-size: 1.5rem;
  }
  
  .logo {
    width: 80px;
    height: 43px;
  }
  
  .company-name-main {
    font-size: 16px;
  }
  
  .company-name-sub {
    font-size: 14px;
  }
  
  .logo-brand {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }
  
  .company-name {
    white-space: normal;
  }
  
  .stat-item {
    flex: 0 0 100%;
  }
  
  .stat-number {
    font-size: 32px;
  }
  
  .mission-content h2, 
  .about-text h2,
  .section-header h2 {
    font-size: 32px;
  }
  
  .mission-content p, 
  .about-text p {
    font-size: 16px;
  }
}