:root {
  --primary-color: #0b2e65;
  --secondary-color: #041d88;
  --dark-color: #212121;
  --light-color: #f9f8f5;
  --text-color: #333;
  --text-light: #ffffff;
  --accent-color: #f8edd6;
  --section-padding: 5rem;
  --border-radius: 8px;
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

/* ========== BASE STYLES ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #f9f8f5;
}

h1, h2, h3, h4, h5 {
  font-family: 'Mulish', sans-serif;
  font-weight: 700;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

section {
  scroll-margin-top: 100px;
}

@media (max-width: 768px) {
  section {
    scroll-margin-top: 80px;
  }
}

/* ========== HEADER & NAVIGATION ========== */
.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;
}

.nav-container {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: flex-end;
  flex-grow: 1;
}

.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;
}

.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;
}

.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);
}

.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: var(--transition);
  white-space: nowrap;
  border: 2px solid var(--primary-color);
  cursor: pointer;
}

.cta-button:hover {
  background-color: transparent;
  color: var(--primary-color);
  transform: translateY(-2px);
}

.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: var(--transition);
  border-radius: 2px;
}

/* 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 */
@keyframes zoomIn {
  0% {
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0;
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
}

.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%);
  animation: zoomIn 0.8s ease-out forwards;
}

.header-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

/* ========== HERO SECTION ========== */
.hero-section {
  background: url('hero0.png') center/cover no-repeat;
  position: relative;
  padding: 100px 0;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.hero-section.animate {
  opacity: 1;
  transform: translateY(0);
}

.hero-overlay {
  background: rgba(12, 37, 76, 0.8);
  max-width: 1440px;
  margin: 0 auto;
  padding: 60px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

.hero-content {
  flex: 1;
  min-width: 300px;
  max-width: 636px;
}

.hero-content h1 {
  color: white;
  font-size: 40px;
  margin-bottom: 60px;
  background: linear-gradient(180deg, white 0%, white 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out 0.3s, transform 0.8s ease-out 0.3s;
}

.hero-content h1.animate {
  opacity: 1;
  transform: translateY(0);
}

.contact-info-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out 0.3s, transform 0.8s ease-out 0.3s;
}

.contact-info-container.animate {
  opacity: 1;
  transform: translateY(0);
}

.contact-info-group {
  flex: 1;
  min-width: 250px;
}

.contact-info {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
}

.contact-info img {
  width: 36px;
  height: 36px;
}

.contact-info h3 {
  color: white;
  font-size: 24px;
  margin-bottom: 10px;
  background: linear-gradient(180deg, white 0%, white 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.contact-info p {
  color: white;
  font-size: 16px;
  line-height: 26px;
}

/* Contact Form */
.contact-form {
  background: white;
  padding: 40px;
  border-radius: 4px;
  flex: 1;
  min-width: 300px;
  max-width: 526px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out 0.3s, transform 0.8s ease-out 0.3s;
}

.contact-form.animate {
  opacity: 1;
  transform: translateY(0);
}

.form-row {
  display: flex;
  gap: 24px;
  margin-bottom: 24px;
}

.form-group {
  flex: 1;
}

.form-group label {
  display: block;
  color: #000;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #ddd;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #adb5bd;
}

.form-group select {
  appearance: none;
  background-image: url('selectarrow0.svg');
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
}

.form-group textarea {
  height: 194px;
  resize: none;
}

.submit-btn {
  background: #032a64;
  color: white;
  width: 100%;
  padding: 15px;
  border: none;
  font-family: 'Mulish', sans-serif;
  font-weight: 700;
  font-size: 20px;
  cursor: pointer;
  transition: background 0.3s;
}

.submit-btn:hover {
  background: #021d48;
}

/* ========== MAP SECTION ========== */
.map-section {
  position: relative;
  height: 526px;
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.map-section.animate {
  opacity: 1;
  transform: translateY(0);
}

.map-container {
  width: 100%;
  height: 100%;
  position: relative;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(20%) contrast(90%);
  opacity: 0;
  transition: opacity 1s ease-out 0.3s;
}

.map-section.animate .map-container iframe {
  opacity: 1;
}

/* ========== FOOTER ========== */
.footer {
  background-color: dimgray;
  color: var(--text-light);
  padding: 60px 72px 20px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.footer.animate {
  opacity: 1;
  transform: translateY(0);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  margin-bottom: 60px;
}

.footer-about {
  max-width: 418px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.footer.animate .footer-about {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}

.footer-about img {
  margin-bottom: 24px;
}

.footer-about p {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.social-icons {
  display: flex;
  gap: 12px;
}

.social-icons a {
  display: inline-block;
  width: 20px;
  height: 20px;
  background-color: var(--text-light);
  border-radius: 50%;
  padding: 4px;
}

.footer-links {
  display: flex;
  gap: 80px;
}

.footer-services, .footer-contact, .footer-navigation {
  max-width: 250px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s 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;
}

.footer-services ul, .footer-navigation ul {
  display: flex;
  flex-direction: column;
  gap: 24px;
  list-style-type: disc; 
  padding-left: 20px;
}

.footer-services li, .footer-navigation li {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  position: relative;
  padding-left: 10px;
}

.footer-contact address, .footer-contact p, .footer-contact a {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 0;
  text-decoration: none;
  color: var(--text-light);
  font-style: normal;
}

.footer-contact address {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.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 {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-contact a:hover {
  color: var(--accent-color);
  text-decoration: none;
}

.footer-copyright {
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 16px;
  opacity: 0.5;
  transition: opacity 0.6s ease-out 1s;
}

.footer.animate .footer-copyright {
  opacity: 1;
}

/* ========== RESPONSIVE STYLES ========== */
@media (max-width: 1200px) {
  .header-content {
    padding: 20px 40px;
  }
}

@media (max-width: 992px) {
  .header {
    min-height: 400px;
  }
  
  .logo-nav-container {
    margin-bottom: 30px;
  }
  
  .map-section {
    height: 450px;
  }
}

@media (max-width: 768px) {
  .page-title {
    font-size: 2.5rem;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    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;
    margin: 15px auto;
  }
  
  .cta-button {
    margin-left: 0;
    padding: 8px 16px;
    font-size: 14px;
  }
  
  .hero-overlay {
    padding: 40px 20px;
  }
  
  .form-row {
    flex-direction: column;
    gap: 24px;
  }
  
  .map-section {
    height: 400px;
  }
  
  .footer {
    padding: 60px 20px 20px;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 40px;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 40px;
  }
  
  .footer-contact address {
    gap: 20px;
  }

  .footer-services ul,
  .footer-navigation ul {
    padding-left: 15px;
  }
  
  .logo-brand {
    gap: 10px;
  }
  
  .logo {
    width: 80px;
    height: 43px;
  }
  
  .company-name-main {
    font-size: 16px;
  }
  
  .company-name-sub {
    font-size: 14px;
  }
}

@media (max-width: 576px) {
  .header {
    min-height: 300px;
  }
  
  .page-title {
    font-size: 1.5rem;
  }
  
  .logo-brand {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }
  
  .company-name {
    white-space: normal;
  }
  
  .map-section {
    height: 350px;
  }
}