/* ========== GLOBAL STYLES ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

: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;
}

html {
  scroll-behavior: smooth;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--light-color);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--secondary-color);
}

/* ========== 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 {
  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;
}

.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: translate(-50%, -50%) scale(0.8);
  animation: zoomIn 0.8s ease-out forwards;
}

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

/* ========== SERVICES INTRODUCTION SECTION ========== */
.services-intro {
  padding: 60px 72px 100px;
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  gap: 60px;
  align-items: flex-start;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease-out 0.3s forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.services-intro h2 {
  color: var(--primary-color);
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 40px;
  max-width: 526px;
  flex: 1;
  margin: 0;
  opacity: 0;
  transform: translateX(-50px);
  animation: slideInFromLeft 0.8s ease-out 0.3s forwards;
}

.services-intro p {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  max-width: 664px;
  flex: 1;
  margin: 0;
  align-self: flex-start;
  opacity: 0;
  transform: translateX(50px);
  animation: slideInFromRight 0.8s ease-out 0.3s forwards;
}

@keyframes slideInFromLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInFromRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ========== SERVICES GRID SECTION ========== */
.services-grid {
  padding: 60px 72px;
  max-width: 1440px;
  margin: 0 auto;
}

.service-categories {
  display: flex;
  gap: 20px;
  margin-bottom: 60px;
  flex-wrap: wrap;
  justify-content: center;
}

.service-category {
  flex: 1;
  min-width: 200px;
  max-width: 300px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease-out forwards;
}

.service-category:nth-child(1) {
  animation-delay: 0.1s;
}
.service-category:nth-child(2) {
  animation-delay: 0.2s;
}
.service-category:nth-child(3) {
  animation-delay: 0.3s;
}
.service-category:nth-child(4) {
  animation-delay: 0.4s;
}
.service-category:nth-child(5) {
  animation-delay: 0.5s;
}

.category-card {
  background: var(--text-light);
  border-radius: var(--border-radius);
  padding: 20px;
  box-shadow: var(--box-shadow);
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transform: translateY(0);
  transition: all 0.3s ease;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.service-category.active .category-card {
  background-color: var(--primary-color);
  color: var(--text-light);
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(11, 46, 101, 0.3);
}

.service-category h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 18px;
  margin: 0;
}

.service-details {
  display: flex;
  gap: 60px;
  margin-top: 40px;
  background-color: var(--text-light);
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.service-content {
  flex: 2;
}

.service-content h3 {
  color: var(--primary-color);
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 30px;
  margin-bottom: 20px;
}

.service-content p {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 30px;
}

.service-features, .service-benefits {
  margin-bottom: 30px;
  padding-left: 20px;
}

.service-features li, .service-benefits li {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 15px;
  list-style-type: disc;
}

/* USP Section Styles */
.usp-row {
    display: flex;
    gap: 30px;
    margin: 40px 0;
    justify-content: space-between;
}

.usp-card {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: var(--light-color);
    border-radius: var(--border-radius);
    padding: 30px 20px;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease;
}

.usp-card:hover {
    transform: translateY(-5px);
}

.usp-image-container {
    width: 120px;
    height: 120px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.usp-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.usp-text {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 18px;
    color: var(--primary-color);
    line-height: 1.4;
}

/* ========== FAQ SECTION ========== */
.faq-section {
  background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), 
              url('../assets/images/faq-bg.jpg') center/cover no-repeat;
  padding: 120px 72px;
  color: var(--text-light);
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.faq-section.animate {
  opacity: 1;
  transform: translateY(0);
}

.faq-section h2 {
  font-family: 'Mulish', sans-serif;
  font-weight: 700;
  font-size: 40px;
  text-align: center;
  margin-bottom: 60px;
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.8s ease-out 0.3s, transform 0.8s ease-out 0.3s;
}

.faq-section.animate h2 {
  opacity: 1;
  transform: scale(1);
}

.faq-container {
  max-width: 1076px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding: 24px 0;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.faq-section.animate .faq-item:nth-child(1) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.4s;
}
.faq-section.animate .faq-item:nth-child(2) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.5s;
}
.faq-section.animate .faq-item:nth-child(3) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.6s;
}
.faq-section.animate .faq-item:nth-child(4) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.7s;
}
.faq-section.animate .faq-item:nth-child(5) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.8s;
}
.faq-section.animate .faq-item:nth-child(6) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.9s;
}

.faq-question {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq-question:hover {
  opacity: 0.9;
}

.faq-question h3 {
  font-family: 'Mulish', sans-serif;
  font-weight: 700;
  font-size: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.faq-question span {
  min-width: 21px;
}

.faq-toggle {
  width: 24px;
  height: 24px;
  transition: var(--transition);
}

.faq-item.active .faq-toggle {
  transform: rotate(180deg);
}

.faq-answer {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.6;
  padding-top: 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding-top 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding-top: 20px;
}

.faq-item.active {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  margin: 10px -20px;
  padding: 24px 20px;
  transition: all 0.3s ease;
}

/* ========== FOOTER SECTION ========== */
.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 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;
  color: var(--text-light);
}

.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;
  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 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) {
  .header-content {
    padding: 20px 40px;
  }
  
  .service-details {
    flex-direction: column;
  }
  
  .service-graphics {
    flex-direction: row;
    justify-content: center;
    margin-top: 30px;
  }
}

@media (max-width: 992px) {
  .header {
    min-height: 400px;
  }
  
  .logo-nav-container {
    margin-bottom: 30px;
  }
  
  .services-intro,
  .services-grid,
  .faq-section {
    padding: 80px 40px;
  }
  
  .service-categories {
    gap: 15px;
  }
  
  .faq-section h2 {
    font-size: 36px;
    margin-bottom: 50px;
  }
  
  .faq-question h3 {
    font-size: 22px;
  }
  
  .faq-answer {
    font-size: 17px;
  }
  
  .footer-links {
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .header {
    min-height: 350px;
  }
  
  .header-content {
    padding: 15px 20px;
  }
  
  .logo-nav-container {
    margin-bottom: 40px;
  }
  
  .page-title {
    font-size: 2.5rem;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    padding: 0 20px;
  }
  
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    padding: 20px;
    flex-direction: column;
    align-items: center;
    z-index: 10;
  }
  
  .main-nav.active {
    display: flex;
  }
  
  .main-nav ul {
    flex-direction: column;
    gap: 20px;
    width: 100%;
    text-align: center;
  }
  
  .main-nav li {
    width: 100%;
  }
  
  .main-nav a {
    padding: 15px 20px;
    font-size: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .services-intro {
    flex-direction: column;
    gap: 30px;
  }
  
  .services-intro h2 {
    font-size: 32px;
  }
  
  .service-categories {
    flex-direction: column;
    align-items: center;
  }
  
  .service-category {
    width: 100%;
    max-width: 400px;
  }
  
  .faq-section {
    padding: 60px 20px;
  }
  
  .faq-question h3 {
    font-size: 20px;
  }
  
  .footer {
    padding: 40px 20px 20px;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 40px;
  }
  
  .footer-services, .footer-contact, .footer-navigation {
    max-width: 100%;
    flex: 1 1 200px;
  }
  
  .footer.animate .footer-about,
  .footer.animate .footer-services,
  .footer.animate .footer-contact,
  .footer.animate .footer-navigation {
    transition-delay: 0.2s !important;
  }
  
  .contact-item {
    margin-bottom: 16px;
  }
  
  .usp-row {
    flex-wrap: wrap;
  }
  
  .usp-card {
    flex: 1 1 calc(50% - 15px);
    min-width: 200px;
  }
}

@media (max-width: 576px) {
  .header {
    min-height: 300px;
  }
  
  .page-title {
    font-size: 2rem;
  }
  
  .services-intro,
  .services-grid {
    padding: 60px 20px;
  }
  
  .services-intro h2 {
    font-size: 32px;
  }
  
  .faq-question h3 {
    font-size: 18px;
  }
  
  .faq-answer {
    font-size: 16px;
  }
  
  .footer {
    padding: 40px 20px 20px;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 30px;
  }
  
  .contact-item {
    margin-bottom: 12px;
  }
  
  .logo {
    width: 80px;
    height: 43px;
  }
  
  .company-name-main {
    font-size: 16px;
  }
  
  .company-name-sub {
    font-size: 14px;
  }
  
  .usp-card {
    flex: 1 1 100%;
  }
  
  .usp-image-container {
    width: 80px;
    height: 80px;
  }
}