/* Navbar */
.navbar {
  background-color: #a02712;
  padding: 0;
  box-shadow: 0 2px 4px #0000001a;
  position: sticky;
  top: 0;
  z-index: 1000;
  overflow: visible;
}

.navbar-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  position: relative;
}

.navbar-left {
  display: flex;
  gap: 1.25rem;
  flex: 1;
  justify-content: flex-start;
}

.navbar-center {
  position: absolute;
  left: 50%;
  transform: translate(-50%);
  flex: 0 0 auto;
}

.navbar-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1.25rem;
  flex: 1;
}

.navbar-social-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.navbar-social-links .social-link {
  color: #fff;
  font-size: 1.1rem;
  text-decoration: none;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.navbar-social-links .social-link:hover {
  opacity: 0.8;
}

.nav-link {
  font-family: Castoro Titling, serif;
  color: #fff;
  text-decoration: none;
  font-weight: 400;
  font-size: 0.95rem;
  padding: 0.5rem 0.75rem;
  transition: opacity 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.nav-link:hover {
  opacity: 0.8;
}

.nav-link.active {
  border-bottom: 2px solid #ffffff;
  padding-bottom: 0.3rem;
}

.logo {
  text-decoration: none;
  display: block;
  transition: opacity 0.3s ease;
}

.logo:hover {
  opacity: 0.9;
}

.logo-image {
  height: 80px;
  width: auto;
  object-fit: contain;
  display: block;
}

.contact-button {
  font-family: Castoro Titling, serif;
  background-color: #fff;
  color: #a02712;
  border: 2px solid #ffffff;
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
  text-decoration: none;
  display: inline-block;
}

.contact-button:hover {
  background-color: #ffffffe6;
  border-color: #ffffffe6;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px #0003;
}

.hamburger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 30px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.hamburger-line {
  width: 100%;
  height: 3px;
  background-color: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.hamburger-line.open:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.hamburger-line.open:nth-child(2) {
  opacity: 0;
}

.hamburger-line.open:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  background-color: #a02712;
  width: 100%;
  padding: 1rem;
  box-shadow: 0 4px 6px #0000001a;
  position: absolute;
  top: 100%; /* Position it exactly at the bottom of the nav */
  left: 0;
  /* Change this: slide from above the view, not hidden behind the logo */
  transform: translateY(-20px); 
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999; /* Just below the hamburger button */
}

.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.mobile-nav-link {
  font-family: Castoro Titling, serif;
  color: #fff;
  text-decoration: none;
  font-weight: 400;
  font-size: 1.1rem;
  padding: 1rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color 0.3s ease;
}

.mobile-nav-link:hover {
  background-color: #ffffff1a;
}

.mobile-nav-link.active {
  background-color: #ffffff26;
  border-bottom: 2px solid #ffffff;
}

@media (max-width: 1200px) {
  .navbar-left,
  .navbar-right {
    gap: 1rem;
  }
  .navbar-social-links {
    gap: 0.5rem;
  }
  .navbar-social-links .social-link {
    font-size: 1rem;
    width: 28px;
    height: 28px;
  }
  .nav-link {
    font-size: 0.9rem;
    padding: 0.5rem;
  }
  .logo-image {
    height: 70px;
  }
  .contact-button {
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {
  .navbar-container {
    height: 80px; /* Force a consistent height */
    padding: 0 1rem;
  }

  .navbar-left, .navbar-right {
    display: none;
  }

  .navbar-center {
    position: static;
    transform: none;
    margin: 0 auto;
  }

  .hamburger-menu {
    display: flex;
    z-index: 1001; /* Ensure it stays on top */
  }

  .mobile-menu {
    display: flex;
    position: absolute;
    top: 80px; /* Match navbar height */
    left: 0;
    width: 100%;
    background-color: #a02712;
    flex-direction: column;
    overflow: hidden;
    max-height: 0; /* Start closed */
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease-in-out;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 1000;
  }

  .mobile-menu.open {
    max-height: 500px; /* Large enough for all links */
    opacity: 1;
    visibility: visible;
  }

  /* Hamburger Animation Fix */
  .hamburger-line.open:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
  }
  .hamburger-line.open:nth-child(2) {
    opacity: 0;
  }
  .hamburger-line.open:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
  }
}

/* Footer */
.footer {
  background-color: #a02712;
  color: #fff;
  padding: 1.5rem 0 0.75rem;
  margin-top: auto;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.footer-column {
  display: flex;
  flex-direction: column;
}

.footer-column-logo {
  max-width: 300px;
  align-items: flex-start;
}

.footer-logo {
  height: 70px;
  width: auto;
  object-fit: contain;
  display: block;
  margin-bottom: 1rem;
  align-self: flex-start;
}

.footer-company-name {
  font-family: Castoro Titling, serif;
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.5px;
  text-align: left;
}

.footer-description {
  font-family: Merriweather, serif;
  font-size: 0.9rem;
  color: #ffffffe6;
  margin: 0;
  line-height: 1.6;
}

.footer-section-title {
  font-family: Castoro Titling, serif;
  font-size: 1rem;
  color: #fff;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 400;
}

.footer-links-vertical {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  font-family: Merriweather, serif;
  color: #ffffffe6;
  text-decoration: none;
  font-size: 0.9rem;
  transition: opacity 0.3s ease;
  display: block;
}

.footer-link:hover {
  opacity: 1;
  text-decoration: underline;
}

.footer-contact {
  font-family: Merriweather, serif;
  font-size: 0.9rem;
  color: #ffffffe6;
  margin: 0 0 1rem;
  line-height: 1.6;
}

.footer-social-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.75rem;
}

.footer-social-link {
  color: #ffffffe6;
  font-size: 1.25rem;
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
}

.footer-social-link:hover {
  color: #fff;
  transform: translateY(-2px);
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  font-family: Merriweather, serif;
  color: #fff;
  text-decoration: none;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.footer-section ul li a:hover {
  opacity: 1;
}

.footer-bottom {
  font-family: Merriweather, serif;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 0.75rem;
  text-align: center;
  opacity: 0.8;
  font-size: 0.85rem;
}

@media (max-width: 1024px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .footer-column-logo {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .footer {
    padding: 1.5rem 0 0.75rem;
  }
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-logo {
    height: 60px;
  }
  .footer-company-name {
    font-size: 1.25rem;
  }
  .footer-description,
  .footer-contact,
  .footer-link {
    font-size: 0.85rem;
  }
}

/* Common Page Styles */
.page {
  width: 100%;
}

.main-content {
  flex: 1;
  width: 100%;
}

/* Hero Section */
.hero-section {
  background-color: #0a1b2a;
  background-image: url('Images/iStock-1736037997.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
  width: 100%;
  position: relative;
}

.hero-section:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #0a1b2a80, #0a325066, #0a1b2a80);
  z-index: 1;
  pointer-events: none;
}

.hero-section:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, #0a1b2ad9, #0a1b2abf, #0a1b2ad9);
  z-index: 1;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  padding: 2rem 0;
}

.hero-title {
  font-family: Castoro Titling, serif;
  font-size: 3.5rem;
  color: #fff;
  font-weight: 400;
  line-height: 1.2;
  margin: 0 0 1rem;
  letter-spacing: -0.5px;
  text-shadow: 2px 2px 12px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
  font-family: Merriweather, serif;
  font-size: 1.4rem;
  color: #fffffffa;
  line-height: 1.6;
  margin: 0 0 3rem;
  font-weight: 300;
  text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.8), 0 0 15px rgba(0, 0, 0, 0.4);
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-tagline {
  font-family: Castoro Titling, serif;
  font-size: 2rem;
  color: #fffffffa;
  line-height: 1.3;
  margin: 0 0 1.5rem;
  font-weight: 400;
  text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.8), 0 0 15px rgba(0, 0, 0, 0.4);
  animation: fadeInUp 0.8s ease-out 0.15s both;
  font-style: italic;
}

.hero-subtitle-2 {
  font-family: Merriweather, serif;
  font-size: 1rem;
  color: #fffffffa;
  line-height: 1.6;
  margin: 0 0 3rem;
  font-weight: 100;
  text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.8), 0 0 15px rgba(0, 0, 0, 0.4);
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-button {
  font-family: Castoro Titling, serif;
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 400;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 4px;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.hero-button.primary {
  background-color: #a02712;
  color: #fff;
  box-shadow: 0 4px 12px #a0271266;
}

.hero-button.primary:hover {
  background-color: #c0301a;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px #a0271280;
}

.hero-button.secondary {
  background-color: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.8);
}

.hero-button.secondary:hover {
  background-color: #ffffff1a;
  border-color: #fff;
  transform: translateY(-2px);
}

.hero-button-link {
  text-decoration: none;
  display: inline-block;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Page Sections */
.page-section {
  padding: 3rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.page-section:before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(to right, transparent, #a02712, transparent);
}

.page-section h1 {
  font-family: Castoro Titling, serif;
  font-size: 4rem;
  color: #0a1b2a;
  margin-bottom: 2rem;
  font-weight: 400;
  letter-spacing: -1px;
  line-height: 1.1;
  text-align: center;
}

.page-section .lead {
  font-family: Merriweather, serif;
  font-size: 1.4rem;
  line-height: 1.9;
  font-weight: 300;
  color: #0a1b2a;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

/* Service Sections */
.service-section-modern {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.service-section-left {
  flex-direction: row;
}

.service-section-right {
  flex-direction: row-reverse;
}

.service-image-full {
  position: relative;
  width: 55%;
  height: 600px;
  overflow: hidden;
  flex-shrink: 0;
}

.service-image-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.1);
  transition: transform 0.6s ease;
}

.service-section-modern:hover .service-image-bg {
  transform: scale(1);
}

.service-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.service-overlay-red {
  background: linear-gradient(135deg, rgba(160, 39, 18, 0.4) 0%, rgba(160, 39, 18, 0.2) 50%, transparent 100%);
}

.service-overlay-tan {
  background: linear-gradient(135deg, rgba(169, 154, 127, 0.5) 0%, rgba(169, 154, 127, 0.3) 50%, transparent 100%);
}

.service-overlay-dark {
  background: linear-gradient(135deg, rgba(10, 27, 42, 0.6) 0%, rgba(10, 27, 42, 0.3) 50%, transparent 100%);
}

.service-content-modern {
  flex: 1;
  padding: 5rem 4rem;
  display: flex;
  align-items: center;
  background-color: #f8f9fa;
  position: relative;
  z-index: 2;
}

.service-section-left .service-content-modern {
  background: linear-gradient(to right, #f8f9fa, #fff);
  border-left: 4px solid #a02712;
}

.service-section-right .service-content-modern {
  background: linear-gradient(to left, #f8f9fa, #fff);
  border-right: 4px solid #a02712;
}

.service-content-modern:before {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  border: 2px solid rgba(160, 39, 18, 0.1);
  border-radius: 50%;
  pointer-events: none;
}

.service-section-left .service-content-modern:before {
  top: -100px;
  right: -100px;
}

.service-section-right .service-content-modern:before {
  top: -100px;
  left: -100px;
}

.service-text-modern {
  max-width: 600px;
}

.service-label {
  font-family: Castoro Titling, serif;
  font-size: 0.9rem;
  color: #a02712;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 400;
  display: block;
  margin-bottom: 1rem;
}

.service-text-modern h2 {
  font-family: Castoro Titling, serif;
  font-size: 3rem;
  color: #0a1b2a;
  margin-bottom: 2rem;
  font-weight: 400;
  letter-spacing: -1px;
  line-height: 1.1;
}

.service-text-modern p {
  font-family: Merriweather, serif;
  font-size: 1.1rem;
  line-height: 1.9;
  color: #0a1b2a;
  margin-bottom: 1.5rem;
}

.service-text-modern p:last-child {
  margin-bottom: 0;
}

/* What We Do Section */
.what-we-do-section {
  background-color: #a99a7f;
  padding: 5rem 2rem;
  width: 100%;
}

.what-we-do-section .section-content {
  max-width: 1600px;
  margin: 0 auto;
  width: 100%;
}

.what-we-do-title {
  font-family: Castoro Titling, serif;
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 1rem;
  font-weight: 400;
  letter-spacing: -0.3px;
  text-align: center;
}

.what-we-do-subtitle {
  font-family: Merriweather, serif;
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 3rem;
  font-weight: 400;
  text-align: center;
  opacity: 0.95;
}

.what-we-do-subtitle-2 {
  font-family: Merriweather, serif;
  font-size: 1rem;
  color: #fffffffa;
  margin-bottom: 3rem;
  font-weight: 100;
  text-align: center;
}


.what-we-do-cards {
  display: grid;
  /* Default for mobile: 1 card per row */
  grid-template-columns: 1fr; 
  gap: 1.5rem;
  max-width: 1600px;
  margin: 0 auto;
}

/* Tablets: 2 cards per row */
@media (min-width: 769px) {
  .what-we-do-cards {
    grid-template-columns: 1fr; 
  }
}

/* Desktop: 4 cards per row */
@media (min-width: 1100px) {
  .what-we-do-cards {
    grid-template-columns: repeat(4, minmax(320px, 1fr));
  }
}

/* Extra Large Screens */
@media (min-width: 1600px) {
  .what-we-do-cards {
    grid-template-columns: repeat(4, minmax(350px, 1fr));
    gap: 2rem;
  }
}

.what-we-do-card {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px #00000026;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
}

.what-we-do-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px #0003;
}

.card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.what-we-do-card h3 {
  font-family: Castoro Titling, serif;
  font-size: 1.5rem;
  color: #a02712;
  margin: 1.5rem 1.5rem 1rem;
  padding-top: 0;
  line-height: 1.2;
  font-weight: 400;
}

.what-we-do-card p {
  font-family: Merriweather, serif;
  font-size: 1rem;
  line-height: 1.7;
  color: #0a1b2a;
  margin: 0 1.5rem 1.5rem;
  flex-grow: 1;
}

.card-button {
  font-family: Castoro Titling, serif;
  display: inline-block;
  padding: 0.75rem 2rem;
  margin: 0 1.5rem 1.5rem;
  background-color: #a02712;
  color: #fff;
  text-decoration: none;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 4px;
  transition: all 0.3s ease;
  border: 2px solid #a02712;
  align-self: flex-end;
}

.card-button:hover {
  background-color: #c0301a;
  border-color: #c0301a;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px #a027124d;
}

/* Why Choose Section */
.why-choose-section {
  background-color: #0a1b2a;
  background-image: url('Images/iStock-2227509596.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 6rem 2rem;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.why-choose-section:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #0a1b2ae6 0%, #0a1b2acc 50%, #0a1b2ae6 100%);
  z-index: 1;
}

.why-choose-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: start;
  position: relative;
  z-index: 2;
}

.why-choose-left {
  position: sticky;
  top: 120px;
  height: fit-content;
}

.why-choose-left-content {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.why-choose-title {
  font-family: Castoro Titling, serif;
  font-size: 3.5rem;
  color: #fff;
  font-weight: 400;
  letter-spacing: -1px;
  margin: 0;
  line-height: 1.1;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
  animation: slideInLeft 0.8s ease-out;
}

.why-choose-visual-elements {
  position: relative;
  height: 200px;
  width: 100%;
  margin: 1rem 0;
}

.visual-element {
  position: absolute;
  border: 2px solid rgba(169, 154, 127, 0.4);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

.visual-element-1 {
  width: 120px;
  height: 120px;
  top: 0;
  left: 0;
  border-color: rgba(169, 154, 127, 0.5);
  animation-delay: 0s;
}

.visual-element-2 {
  width: 80px;
  height: 80px;
  top: 40px;
  left: 80px;
  border-color: rgba(160, 39, 18, 0.4);
  animation-delay: 1s;
}

.visual-element-3 {
  width: 60px;
  height: 60px;
  top: 100px;
  left: 40px;
  border-color: rgba(169, 154, 127, 0.6);
  animation-delay: 2s;
}

.visual-element::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  background-color: #a99a7f;
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(169, 154, 127, 0.8);
}

.why-choose-tagline {
  font-family: Merriweather, serif;
  font-size: 1.1rem;
  color: #fffffffa;
  font-weight: 300;
  letter-spacing: 2px;
  margin: 0;
  opacity: 0.9;
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

.why-choose-right {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.why-choose-intro {
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.why-choose-text {
  font-family: Merriweather, serif;
  font-size: 1.25rem;
  color: #fff;
  line-height: 1.9;
  margin: 0;
  opacity: 0.95;
  font-weight: 300;
}

.why-choose-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.why-choose-feature {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-left: 3px solid transparent;
  border-radius: 8px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  animation: slideInRight 0.6s ease-out forwards;
  position: relative;
  overflow: hidden;
}

.why-choose-feature:nth-child(1) {
  animation-delay: 0.4s;
}

.why-choose-feature:nth-child(2) {
  animation-delay: 0.5s;
}

.why-choose-feature:nth-child(3) {
  animation-delay: 0.6s;
}

.why-choose-feature:nth-child(4) {
  animation-delay: 0.7s;
}

.why-choose-feature:nth-child(5) {
  animation-delay: 0.8s;
}

.why-choose-feature::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(to bottom, #a99a7f, #a02712);
  transform: scaleY(0);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: top;
}

.why-choose-feature:hover {
  background: rgba(255, 255, 255, 0.08);
  border-left-color: #a99a7f;
  transform: translateX(8px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.why-choose-feature:hover::before {
  transform: scaleY(1);
}

.feature-icon {
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  background: linear-gradient(135deg, #a99a7f, #a02712);
  border-radius: 50%;
  margin-top: 0.5rem;
  position: relative;
  box-shadow: 0 0 12px rgba(169, 154, 127, 0.6);
  animation: pulse 2s ease-in-out infinite;
}

.feature-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 6px;
  height: 6px;
  background-color: #fff;
  border-radius: 50%;
}

.feature-content {
  flex: 1;
}

.feature-title {
  font-family: Castoro Titling, serif;
  font-size: 1.2rem;
  color: #fff;
  margin: 0 0 0.75rem;
  font-weight: 400;
  letter-spacing: 0.3px;
  line-height: 1.3;
}

.feature-description {
  font-family: Merriweather, serif;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  margin: 0;
  font-weight: 300;
}

.why-choose-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 1s both;
}

.why-choose-button-link {
  text-decoration: none;
  display: inline-block;
}

.why-choose-button {
  font-family: Castoro Titling, serif;
  padding: 1rem 2.5rem;
  font-size: 1rem;
  font-weight: 400;
  border: 2px solid #ffffff;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}

.why-choose-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.why-choose-button:hover::before {
  left: 100%;
}

.why-choose-button.consult {
  background-color: #a99a7f;
  color: #fff;
  border-color: #a99a7f;
}

.why-choose-button.consult:hover {
  background-color: #b8a98d;
  border-color: #b8a98d;
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(169, 154, 127, 0.4);
}

.why-choose-button.learn {
  background-color: transparent;
  color: #fff;
}

.why-choose-button.learn:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(255, 255, 255, 0.2);
}

@keyframes slideInLeft {
  0% {
    opacity: 0;
    transform: translateX(-50px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  0% {
    opacity: 0;
    transform: translateX(50px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  33% {
    transform: translateY(-20px) rotate(120deg);
  }
  66% {
    transform: translateY(10px) rotate(240deg);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.8;
  }
}

/* Resources List */
.resources-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.resource-item {
  padding: 2.5rem;
  background: linear-gradient(to bottom, #faf8f3, #f5f2e8);
  border: 4px double #a02712;
  border-radius: 2px;
  position: relative;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px #0000001a, inset 0 1px #ffffff80;
  background-image: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(160, 39, 18, 0.03) 2px, rgba(160, 39, 18, 0.03) 4px);
}

.resource-item:before {
  content: "";
  position: absolute;
  top: 1rem;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  border: 1px solid rgba(160, 39, 18, 0.2);
  pointer-events: none;
}

.resource-item:hover {
  box-shadow: 0 8px 16px #00000026, inset 0 1px #ffffff80;
  transform: translateY(-2px);
  border-color: #c0301a;
}

.resource-item h3 {
  font-family: Castoro Titling, serif;
  color: #a02712;
  margin-bottom: 1rem;
  font-size: 1.4rem;
  text-align: center;
  letter-spacing: 0.5px;
  position: relative;
  padding-bottom: 0.75rem;
}

.resource-item h3:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%);
  width: 60px;
  height: 2px;
  background: linear-gradient(to right, transparent, #a02712, transparent);
}

.resource-item p {
  font-family: Merriweather, serif;
  font-size: 1rem;
  margin-bottom: 0;
  color: #0a1b2a;
  line-height: 1.7;
  text-align: center;
  padding-bottom: 1rem;
}

.resource-item .contract-code {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  position: relative;
  padding-bottom: 0.75rem;
  padding-top: 0.75rem;
  text-align: center;
  color: #faf8f3;
  background-color: #a02712;
  margin-bottom: 0;
  border: 1px solid #faf8f3;
}

.contact-details {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.contact-detail-item {
  text-align: center;
  width: 100%;
  max-width: 500px;
}

.contact-details h1,
.contact-details h2,
.contact-details h3 {
  font-weight: 100;
}

.contact-details a {
  color: #a02712;
  font-size: 1.1rem;
}

.contact-details a:hover {
  text-decoration: underline;
}

/* Flip Card Styles for Framework Alignment */
.framework-alignment-cards .flip-card {
  perspective: 1000px;
  height: 100%;
  min-height: 380px;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  background-image: none;
  position: relative;
}

.framework-alignment-cards .flip-card:before {
  display: none;
}

.framework-alignment-cards .flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.framework-alignment-cards .flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.framework-alignment-cards .flip-card-front,
.framework-alignment-cards .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem 1.75rem;
}

.framework-alignment-cards .flip-card-front {
  background: linear-gradient(to bottom, #faf8f3, #f5f2e8);
  border: 4px double #a02712;
  border-radius: 2px;
  box-shadow: 0 4px 8px #0000001a, inset 0 1px #ffffff80;
  background-image: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(160, 39, 18, 0.03) 2px, rgba(160, 39, 18, 0.03) 4px);
}

.framework-alignment-cards .flip-card-back {
  background: linear-gradient(to bottom, #faf8f3, #f5f2e8);
  border: 4px double #a02712;
  border-radius: 2px;
  box-shadow: 0 4px 8px #0000001a, inset 0 1px #ffffff80;
  background-image: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(160, 39, 18, 0.03) 2px, rgba(160, 39, 18, 0.03) 4px);
  transform: rotateY(180deg);
  overflow: hidden;
  justify-content: center;
  align-items: center;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.framework-alignment-cards .flip-card-front h3,
.framework-alignment-cards .flip-card-back h3 {
  font-family: Castoro Titling, serif;
  color: #a02712;
  margin-bottom: 0.75rem;
  font-size: 1.3rem;
  text-align: center;
  letter-spacing: 0.5px;
  position: relative;
  padding-bottom: 0.5rem;
}

.framework-alignment-cards .flip-card-front h3:after,
.framework-alignment-cards .flip-card-back h3:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%);
  width: 60px;
  height: 2px;
  background: linear-gradient(to right, transparent, #a02712, transparent);
}

.framework-alignment-cards .flip-card-front p,
.framework-alignment-cards .flip-card-back p {
  font-family: Merriweather, serif;
  font-size: 1rem;
  margin-bottom: 0;
  color: #0a1b2a;
  line-height: 1.7;
  text-align: center;
}

.framework-alignment-cards .flip-card-back ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
  width: 100%;
  max-height: 100%;
  overflow: visible;
}

/* Custom scrollbar for flip card back */
.framework-alignment-cards .flip-card-back::-webkit-scrollbar {
  width: 8px;
}

.framework-alignment-cards .flip-card-back::-webkit-scrollbar-track {
  background: rgba(160, 39, 18, 0.1);
  border-radius: 4px;
}

.framework-alignment-cards .flip-card-back::-webkit-scrollbar-thumb {
  background: rgba(160, 39, 18, 0.4);
  border-radius: 4px;
}

.framework-alignment-cards .flip-card-back::-webkit-scrollbar-thumb:hover {
  background: rgba(160, 39, 18, 0.6);
}

.framework-alignment-cards .certificate-icon {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  width: 2rem;
  height: 2rem;
  opacity: 0.3;
  pointer-events: none;
  z-index: 1;
  filter: brightness(0) saturate(100%) invert(77%) sepia(100%) saturate(10000%) hue-rotate(0deg);
}

.framework-alignment-cards .flip-card-back ul li {
  font-family: Merriweather, serif;
  font-size: 0.9rem;
  color: #0a1b2a;
  line-height: 1.5;
  margin-bottom: 0.5rem;
  padding-left: 1.25rem;
  position: relative;
  text-align: left;
}

.framework-alignment-cards .flip-card-back ul li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: #a02712;
  font-size: 1.2rem;
  line-height: 1.35;
}

.framework-alignment-cards .flip-card-back ul li:last-child {
  margin-bottom: 0;
}

.framework-alignment-cards .flip-card:hover {
  transform: none;
  box-shadow: none;
}

.framework-alignment-cards .flip-card:hover .flip-card-front {
  border-color: #c0301a;
  box-shadow: 0 8px 16px #00000026, inset 0 1px #ffffff80;
}

.framework-alignment-cards .flip-card:hover .flip-card-back {
  border-color: #c0301a;
  box-shadow: 0 8px 16px #00000026, inset 0 1px #ffffff80;
}

.resource-card-simple {
  padding: 2rem;
  background-color: #f8f9fa;
  border: 1px solid #e0e0e0;
  border-radius: 0;
  box-shadow: none;
  background-image: none;
}

.resource-card-simple:before {
  display: none;
}

.resource-card-simple h3 {
  font-size: 1.3rem;
  text-align: left;
  padding-bottom: 0;
  margin-bottom: 1rem;
}

.resource-card-simple h3:after {
  display: none;
}

.resource-card-simple p {
  text-align: left;
}

/* Operational Support Section */
.operational-support-section {
  position: relative;
  background-image: url('Images/flag-salute.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 2rem;
  width: 100%;
}

.operational-support-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, #0a1b2ad9, #0a1b2abf, #0a1b2ad9);
  z-index: 1;
}

.operational-support-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  text-align: center;
  color: #fff;
}

.operational-support-content h2 {
  font-family: Castoro Titling, serif;
  font-size: 3rem;
  color: #fff;
  margin-bottom: 2rem;
  font-weight: 400;
  letter-spacing: -1px;
  line-height: 1.2;
}

.operational-support-content p {
  font-family: Merriweather, serif;
  font-size: 1.15rem;
  line-height: 1.9;
  color: #fff;
  margin-bottom: 1.5rem;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.operational-support-button {
  font-family: Castoro Titling, serif;
  font-size: 1.1rem;
  font-weight: 400;
  padding: 1rem 2.5rem;
  background-color: #a99a7f;
  color: #fff;
  border: 2px solid #A99a7f;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 6px #0000004d;
  text-decoration: none;
  display: inline-block;
}

/* Contact Page Styles */
.contact-hero-section {
  background-color: #0a1b2a;
  padding: 5rem 2rem;
  text-align: center;
  width: 100%;
}

.contact-hero-title {
  font-family: Castoro Titling, serif;
  font-size: 3.5rem;
  color: #fff;
  margin-bottom: 1.5rem;
  font-weight: 400;
  letter-spacing: -0.5px;
}

.contact-section {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-container {
  display: grid;
  /* grid-template-columns: 1fr 1.5fr; */
  gap: 4rem;
  align-items: center;
  vertical-align: middle;
  text-align: center;
}

.contact-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  margin: 0 auto;
}

.contact-info h2 {
  font-family: Castoro Titling, serif;
  font-size: 2rem;
  color: #0a1b2a;
  margin-bottom: 1.5rem;
  font-weight: 400;
  text-align: center;
}

.contact-info p {
  font-family: Merriweather, serif;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #0a1b2a;
  margin-bottom: 2rem;
  text-align: center;
  max-width: 600px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin-top: 1rem;
}

.contact-detail-item {
  text-align: center;
  width: 100%;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-detail-item h3 {
  font-family: Castoro Titling, serif;
  font-size: 1.2rem;
  color: #a02712;
  margin-bottom: 0.5rem;
  font-weight: 400;
  text-align: center;
}

.contact-detail-item a {
  font-family: Merriweather, serif;
  font-size: 1.1rem;
  color: #a02712;
  text-decoration: none;
  transition: color 0.3s ease;
  text-align: center;
  word-break: break-word;
}

.contact-detail-item a:hover {
  text-decoration: underline;
}

.contact-form-container h2 {
  font-family: Castoro Titling, serif;
  font-size: 2rem;
  color: #0a1b2a;
  margin-bottom: 2rem;
  font-weight: 400;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-family: Merriweather, serif;
  font-size: 1rem;
  color: #0a1b2a;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: Merriweather, serif;
  font-size: 1rem;
  padding: 0.75rem;
  border: 2px solid #e0e0e0;
  border-radius: 4px;
  color: #0a1b2a;
  transition: border-color 0.3s ease;
  background-color: #fff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #a02712;
}

.contact-form-button {
  font-family: Castoro Titling, serif;
  background-color: #a02712;
  color: #fff;
  border: 2px solid #a02712;
  padding: 1rem 2.5rem;
  font-size: 1rem;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 4px;
  align-self: flex-start;
}

/* Skip to content link */
.skip-to-content {
  position: absolute;
  top: -40px;
  left: 0;
  background: #a02712;
  color: #fff;
  padding: 8px 16px;
  text-decoration: none;
  z-index: 10000;
  font-family: Castoro Titling, serif;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.skip-to-content:focus {
  top: 0;
}

/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Merriweather, serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #0a1b2a;
  background-color: #fff;
}

h1, h2, h3, h4, h5, h6 {
  font-family: Castoro Titling, serif;
}

#root {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.section-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, #A99a7f 20%, #A99a7f 80%, transparent);
  width: 100%;
  margin: 0;
  position: relative;
}

.section-divider:before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  background-color: #a99a7f;
  border-radius: 50%;
}

/* Mobile Responsive Adjustments */
@media (max-width: 1024px) {
  .why-choose-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .why-choose-left {
    position: static;
  }
  .why-choose-title {
    font-size: 2.8rem;
    text-align: center;
  }
  .why-choose-visual-elements {
    height: 150px;
    max-width: 300px;
    margin: 1rem auto;
  }
  .why-choose-tagline {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .hero-section {
    min-height: 90vh;
    background-attachment: scroll;
    padding: 2rem 1rem;
  }
  .hero-title {
    font-size: 2.5rem;
  }
  .page-section h1 {
    font-size: 2.5rem;
  }
  .service-section-modern {
    flex-direction: column;
  }
  .service-image-full {
    width: 100%;
    height: 400px;
  }
  .contact-hero-section {
    padding: 3rem 1.5rem;
  }
  .contact-hero-title {
    font-size: 2.5rem;
  }
  .contact-section {
    padding: 3rem 1.5rem;
  }
  .contact-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  .contact-info {
    width: 100%;
    align-items: center;
    text-align: center;
  }
  .contact-info h2 {
    font-size: 1.75rem;
    text-align: center;
  }
  .contact-info p {
    font-size: 1rem;
    text-align: center;
    max-width: 100%;
  }
  .contact-details {
    width: 100%;
    align-items: center;
  }
  .contact-detail-item {
    width: 100%;
    max-width: 100%;
    align-items: center;
    text-align: center;
  }
  .contact-detail-item h3 {
    font-size: 1.1rem;
    text-align: center;
  }
  .contact-detail-item a {
    font-size: 1rem;
    text-align: center;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .why-choose-section {
    padding: 4rem 1.5rem;
  }
  .why-choose-container {
    gap: 2.5rem;
  }
  .why-choose-title {
    font-size: 2.2rem;
  }
  .why-choose-text {
    font-size: 1.1rem;
  }
  .why-choose-feature {
    padding: 1.25rem;
    gap: 1rem;
  }
  .feature-title {
    font-size: 1.1rem;
  }
  .feature-description {
    font-size: 0.95rem;
  }
  .why-choose-buttons {
    flex-direction: column;
    width: 100%;
  }
  .why-choose-button {
    width: 100%;
    text-align: center;
  }
  .why-choose-visual-elements {
    height: 120px;
  }
  .visual-element-1 {
    width: 90px;
    height: 90px;
  }
  .visual-element-2 {
    width: 60px;
    height: 60px;
    left: 60px;
  }
  .visual-element-3 {
    width: 45px;
    height: 45px;
    top: 70px;
    left: 30px;
  }
  /* Flip card mobile adjustments */
  .framework-alignment-cards .flip-card {
    min-height: 320px;
  }
  .framework-alignment-cards .flip-card-front,
  .framework-alignment-cards .flip-card-back {
    padding: 1.5rem 1.25rem;
  }
  .framework-alignment-cards .flip-card-back {
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
  }
  .framework-alignment-cards .flip-card-front h3,
  .framework-alignment-cards .flip-card-back h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
  }
  .framework-alignment-cards .flip-card-back ul li {
    font-size: 0.85rem;
    line-height: 1.4;
    margin-bottom: 0.4rem;
  }
  .resources-list {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}
