/* --- Variables (Theme Colors) --- */
:root {
  --primary-color: #ff7f00 !important; /* Orange */
  --secondary-color: #007acc !important; /* Blue, for contrast/highlights */
  --heading-color: #ffffff !important;
  --text-color: #ffffff !important;
  --background-white: #022b58 !important;
  --background-light: #0c359e !important; /* Lighter background for sections */
  --border-color: #eee !important;
  --shadow-light: 0 4px 10px rgba(0, 0, 0, 0.05) !important;
  --shadow-hover: 0 10px 20px rgba(0, 0, 0, 0.1) !important; /* General hover shadow */

  --accent-color: #ff7f00; /* or any glowing border color you want */
  --contrast-color: #ffffff;
  --surface-color: #0c359e; /* can be your light section bg */
  --default-color: #ffffff;
}

/* --- Base Styles --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  overflow-x: hidden;

  font-family: "Roboto", sans-serif; /* Using Roboto as per your HTML */
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* For preventing scroll when mobile menu is open */
body.no-scroll {
  overflow: hidden;
}

.container {
  max-width: 2000px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-padding {
  padding: 80px 0;
}

.bg-light {
  background-color: var(--background-light);
}

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

/* h1, h2, h3, h4, h5, h6 {
    color: var(--heading-color);
    margin-bottom: 1rem;
    font-weight: 700;
} */

h1 {
  font-size: 3.5rem;
  line-height: 1.2;
}
h2 {
  font-size: 2.8rem;
  margin-bottom: 2rem;
}
h3 {
  font-size: 2.2rem;
}
h4 {
  font-size: 1.8rem;
}

p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--secondary-color);
}

ul {
  list-style: none;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  text-transform: uppercase;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-size: 1rem;
  background-color: var(--primary-color);
  color: var(--background-white);
  box-shadow: var(--shadow-light);
}

.btn:hover {
  background-color: #cc6600; /* Darker orange */
  color: var(--background-white);
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary-color); /* Orange border/text */
  border: 2px solid var(--primary-color);
  box-shadow: none; /* Remove default button shadow */
}

.btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--background-white);
  transform: translateY(-3px);
  box-shadow: var(--shadow-light);
}

/* --- Header / Navbar --- */
#main-header {
  width: 100%;
  position: absolute; /* Starts absolute on top of hero */
  top: 0;
  left: 0;
  z-index: 1000;
  background: transparent;
  padding: 2.5rem 0; /* Large initial padding */
  transition: all 0.6s ease-in-out;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#main-header .logo {
  display: flex; /* For controlling both logo images */
  align-items: center;
}

#main-header .logo .logo-light {
  display: block; /* Initially visible */
}

#main-header .logo .logo-dark {
  display: none; /* Initially hidden */
}

#main-header .logo img {
  height: 120px; /* Large initial logo */
  transition: height 0.6s ease-in-out;
}

.main-nav {
  display: flex;
  align-items: center;
}

.main-nav .nav-links {
  display: flex;
  list-style: none;
}

.main-nav .nav-links li {
  margin-left: 30px;
}

.main-nav .nav-links a {
  color: white; /* White links initially */
  font-weight: 600;
  font-size: 1.05rem;
  position: relative;
  padding-bottom: 5px; /* Space for underline effect */
}

.main-nav .nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color); /* Orange underline */
  transition: width 0.3s ease;
}

.main-nav .nav-links a:hover::after {
  width: 100%;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none; /* Hidden on desktop */
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  cursor: pointer;
  background: none; /* Remove button default styles */
  border: none;
  padding: 0;
  margin-left: 20px; /* Space between nav links and toggle */
  z-index: 1001; /* Above nav links on mobile */
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--background-white); /* White lines initially */
  transition: all 0.3s ease-in-out;
}

/* Scrolled header state */
body.scrolled #main-header {
  position: fixed; /* Becomes fixed */
  background: var(--background-white); /* White background */
  box-shadow: var(--shadow-light);
  border-bottom: 1px solid var(--border-color);
  padding: 0.8rem 0; /* Smaller padding */
}

body.scrolled #main-header .logo .logo-light {
  display: none; /* Hide light logo */
}

body.scrolled #main-header .logo .logo-dark {
  display: block; /* Show dark logo */
}

body.scrolled #main-header .logo img {
  height: 55px; /* Smaller logo */
}

body.scrolled #main-header .main-nav .nav-links a {
  color: var(--heading-color); /* Darker links when scrolled */
}

body.scrolled .menu-toggle span {
  background-color: var(--heading-color); /* Darker lines for toggle */
}

/* Add margin-top to main content when header is fixed to prevent jump */
main {
  margin-top: 0; /* Default */
  transition: margin-top 0.6s ease-in-out; /* Smooth transition */
}

body.scrolled main {
  margin-top: 71px; /* Adjust this value to match your fixed header height + padding */
}

/* --- Hero Section --- */
#home.hero-section {
  /* Using #home ID for specificity */
  /* Using dark overlay to ensure text readability over various images */

  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("images/WEBSITE-Blog-image-Files-5.png") no-repeat center center/cover; /* Make sure you have hero-bg.jpg */
  color: var(--background-white);
  text-align: center;
  padding: 13rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background-attachment: fixed; /* Parallax effect */
}

.hero-content {
  max-width: 900px;
  z-index: 1; /* Above background, below header */
}

#home.hero-section h1 {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  color: white;
}

#home.hero-section p {
  font-size: 1.3rem;
  margin-bottom: 2.5rem;
  opacity: 0.9;
  color: var(--border-color);
}

/* --- Service Grid Section (#services) --- */
/* No AOS-specific initial hidden states needed here as AOS handles it. */

#services .service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

#services .service-item {
  background: var(--background-white);
  padding: 2.5rem;
  border-radius: 12px;
  text-align: center;
  border-color: var(--primary-color);
  box-shadow: rgb(12, 11, 11);
  /* border: none; */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  /* Transition for hover only */
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

#services .service-item:hover {
  transform: translateY(-8px); /* Just lifts slightly */
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15); /* Subtle shadow increase */
  border-color: var(--primary-color);
  background-color: #cc7a28c2;
}

#services .service-item .service-icon {
  margin-bottom: 1.5rem;
  height: 60px; /* Fixed height for icon container */
  display: flex;
  justify-content: center;
  align-items: center;
}

#services .service-item .service-icon img {
  height: 100%; /* Make icon/image fill its container */
  width: auto;
  max-width: 80px; /* Limit icon width */
}

#services .service-item h3 {
  color: var(--primary-color); /* Orange heading for services */
  margin-bottom: 1rem;
  font-size: 1.6rem;
}

#services .service-item p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  flex-grow: 1; /* Allows paragraph to take up space if needed */
}

#services .service-item ul {
  margin-top: 1rem;
  margin-bottom: 1.5rem;
  text-align: left; /* Lists align left within the centered card */
  padding-left: 1.5rem; /* Indent for list bullets/checkmarks */
  list-style: none; /* Remove default bullets */
  font-size: 0.95rem;
}

#services .service-item ul li {
  position: relative;
  padding-left: 1.8rem; /* Space for the custom checkmark */
  margin-bottom: 0.5rem;
  color: var(--text-color);
}

#services .service-item ul li::before {
  content: "✓"; /* Custom checkmark */
  color: var(--primary-color);
  font-size: 1.1rem;
  position: absolute;
  left: 0;
  top: 0; /* Align to top of text */
  font-weight: bold;
}

#services .service-item .read-more {
  font-weight: 600;
  color: var(--primary-color);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 1rem; /* Ensure space above the button */
}
#services .service-item .read-more:hover {
  text-decoration: none;
  color: #cc6600;
}

/* --- Advantage Grid Section (#company) --- */

#company .advantage-item h4 {
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

#company .advantage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
  text-align: center;
}

#company .advantage-item {
  background: var(--background-white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow-light);
  border: 1px solid var(--border-color);
  /* Transition for hover effects */
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

#company .advantage-item:hover {
  transform: translateY(-12px) rotate(4deg) scale(1.07); /* Pop up, rotate slightly right, slightly scale */
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.2); /* More pronounced shadow */
  border-color: var(--primary-color); /* Highlight border on hover */
}

#company .advantage-item:hover h4 {
  color: #cc6600; /* Only h4 turns orange on hover */
}

#company .advantage-item {
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

#company .advantage-item h4 {
  transition: color 0.3s ease;
}

/* --- Industry Grid Section (#industries) --- */
#industries .industry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

#industries .industry-item {
  background: var(--background-white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow-light);
  border: 1px solid var(--border-color);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#industries .industry-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

#industries .industry-item h3 {
  color: var(--secondary-color);
  font-size: 1.5rem;
}

#industries .industry-item p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* --- Insights Section (#insights) --- */
#insights .insight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

#insights .insight-item {
  background: var(--background-white);
  border-radius: 12px;
  box-shadow: var(--shadow-light);
  overflow: hidden; /* Ensures image corners are rounded */
  text-align: left; /* Text within item is left-aligned */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#insights .insight-item:hover {
  transform: translateY(-15px);
  box-shadow: var(--shadow-hover);
}

#insights .insight-item img {
  width: 100%;
  height: 200px; /* Fixed height for consistent image size */
  object-fit: cover; /* Covers the area, cropping if necessary */
  display: block;
}

#insights .insight-item h3 {
  font-size: 1.4rem;
  margin: 1.5rem 1.5rem 0.5rem;
  color: var(--heading-color);
}

#insights .insight-item h3 a {
  color: inherit; /* Link color from parent */
}

#insights .insight-item h3 a:hover {
  color: var(--primary-color);
}

#insights .insight-item p {
  font-size: 0.95rem;
  margin: 0 1.5rem 1rem;
}

#insights .insight-item .date {
  display: block;
  font-size: 0.85rem;
  color: #888;
  margin: 0 1.5rem 1.5rem;
}

#insights .btn-secondary {
  margin-top: 3rem;
}

/* --- Contact Section (#contact) --- */
#contact .contact-flex {
  display: flex;
  flex-wrap: wrap; /* Allows wrapping on smaller screens */
  gap: 3rem;
  margin-top: 3rem;
  justify-content: center; /* Center items when they wrap */
  align-items: flex-start;
  text-align: left; /* Reset text alignment for flex items */
}

#contact .contact-form,
#contact .contact-info {
  flex: 1; /* Allows items to grow and shrink */
  min-width: 300px; /* Minimum width before wrapping */
  background: var(--background-white);
  padding: 3rem;
  border-radius: 12px;
  box-shadow: var(--shadow-light);
  border: 1px solid var(--border-color);
}

#contact .contact-form h3,
#contact .contact-info h3 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
  text-align: center; /* Center headings within form/info boxes */
}

#contact .contact-form form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

#contact .contact-form input,
#contact .contact-form textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-family: "Open Sans", sans-serif;
  font-size: 1rem;
  color: black;
  background-color: whitesmoke;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#contact .contact-form input:focus,
#contact .contact-form textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(255, 127, 0, 0.2);
  outline: none;
}

#contact .contact-form textarea {
  resize: vertical; /* Allow vertical resizing */
}

#contact .contact-form .btn {
  width: auto; /* Button doesn't take full width of form */
  align-self: center; /* Center the button in the form */
  margin-top: 1rem;
}

#contact .contact-info p {
  margin-bottom: 1rem;
  font-size: 1rem;
}

#contact .contact-info strong {
  color: var(--heading-color);
}

#contact .contact-info address {
  font-style: normal; /* Remove italic from address */
  margin-top: 1.5rem;
  line-height: 1.8;
}

#contact .contact-info .social-links {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  justify-content: center; /* Center social icons */
}

#contact .contact-info .social-links a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: var(--border-color);
  color: var(--heading-color);
  font-size: 1.3rem;
  transition: background-color 0.3s ease, color 0.3s ease;
}

#contact .contact-info .social-links a:hover {
  background-color: var(--primary-color);
  color: var(--background-white);
}

/* --- Footer --- */
.footer {
  background: #121212;
  color: #eee7e7;
  padding: 70px 20px 20px;
  font-family: "Open Sans", sans-serif;
}

#footer-para {
  margin-bottom: 10%;
  font-weight: 400px;
}
.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40%;
  max-width: 1200px;
  margin: auto;
  flex-direction: column;
}

.footer-col {
  flex: 1;
  min-width: 100px;
}

.footer-logo {
  max-width: 750px;
  margin-bottom: 10px;
  margin-left: 40%;
}

.footer-col h4 {
  color: #fbf8f8;
  margin-bottom: 20px;
  font-size: 18px;
  border-bottom: 2px solid #ff8000;
  display: inline-block;
  padding-bottom: 5px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-col ul li a:hover {
  color: #ff8000;
}

.footer-col p {
  margin-bottom: 10px;
  font-size: 14px;
  margin-left: 13%;
}

.footer-col i {
  margin-right: 8px;
  color: #ff8000;
}

.social-icons a {
  color: #fff;
  margin-right: 15px;
  font-size: 18px;
  transition: transform 0.3s, color 0.3s;
}

.social-icons a:hover {
  color: #ff8000;
  transform: scale(1.2);
}

.footer-bottom {
  border-top: 1px solid #333;
  margin-top: 40px;
  text-align: center;
  padding-top: 15px;
  font-size: 14px;
  color: #8d8c8c;
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
  .footer-para {
    margin-bottom: 50%;
    font-size: 1rem; /* Smaller font size for mobile */
  }
  .footer-logo {
    max-width: 750px;
    margin-bottom: 10px;
    margin-left: 22%;
  }

  .footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    max-width: 1200px;
    margin: auto;
  }

  h1 {
    font-size: 3rem;
  }
  h2 {
    font-size: 2.2rem;
  }
  h3 {
    font-size: 1.8rem;
  }
  p {
    font-size: 1rem;
  }

  #main-header {
    padding: 1.5rem 0;
  }
  #main-header .logo img {
    height: 90px;
  }
  body.scrolled #main-header .logo img {
    height: 50px;
  }

  #home.hero-section {
    padding: 8rem 0;
  }
  #home.hero-section h1 {
    font-size: 3.2rem;
  }
  #home.hero-section p {
    font-size: 1.1rem;
  }

  /* Services section */
  #services .service-grid {
    gap: 2rem;
  }
  #services .service-item {
    padding: 2rem;
  }

  /* Company section */
  #company .advantage-grid {
    gap: 1rem;
  }
  #company .advantage-item {
    padding: 1.5rem;
  }

  /* Industries section */
  #industries .industry-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
  }

  /* Insights section */
  #insights .insight-grid {
    gap: 1.5rem;
  }
  #insights .insight-item {
    padding-bottom: 1.5rem;
  }
  #insights .insight-item img {
    height: 180px;
  }

  /* Contact section */
  #contact .contact-flex {
    flex-direction: column;
    align-items: center;
  }
  #contact .contact-form,
  #contact .contact-info {
    width: 100%;
    max-width: 500px; /* Keep a max width for form/info boxes on larger screens */
  }
  #contact .contact-form h3,
  #contact .contact-info h3 {
    font-size: 1.6rem;
  }
}

@media (max-width: 768px) {
  .header-inner {
    padding: 0 15px; /* Adjust padding for smaller screens */
  }

  .main-nav .nav-links {
    /* Mobile menu styles */
    flex-direction: column;
    position: fixed;
    top: 0;
    right: -100%; /* Start off-screen */
    width: 70%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9); /* Dark overlay for menu */
    padding-top: 100px;
    align-items: center;
    transition: right 0.4s ease-in-out;
    z-index: 999; /* Below toggle, above content */
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
  }

  .main-nav .nav-links.active {
    right: 0; /* Slide in */
  }

  .main-nav .nav-links li {
    margin: 20px 0;
  }

  .main-nav .nav-links a {
    color: var(--background-white);
    font-size: 1.3rem;
    padding-bottom: 8px;
  }

  .main-nav .nav-links a::after {
    background-color: var(--primary-color); /* Orange underline */
  }

  .menu-toggle {
    display: flex; /* Show toggle button */
  }

  /* Animate toggle icon to an 'X' */
  .menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }

  h1 {
    font-size: 2.8rem;
  }
  h2 {
    font-size: 2rem;
  }
  p {
    font-size: 0.95rem;
  }

  .section-padding {
    padding: 60px 0;
  }

  #home.hero-section {
    padding: 6rem 0;
  }
  #home.hero-section h1 {
    font-size: 2.5rem;
  }

  /* Services section for tablets/larger phones (2 columns) */
  #services .service-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
  }
  #services .service-item {
    padding: 1.8rem;
  }

  /* Company section for tablets/larger phones (2 columns) */
  #company .advantage-grid {
    grid-template-columns: repeat(
      auto-fit,
      minmax(150px, 1fr)
    ); /* Could be 2 columns if items are small enough */
    gap: 1rem;
  }
  #company .advantage-item {
    padding: 1.2rem;
  }

  /* Industries section */
  #industries .industry-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  /* Insights section */
  #insights .insight-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  #insights .insight-item img {
    height: 150px;
  }
  #insights .insight-item h3 {
    font-size: 1.2rem;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 2.2rem;
  }
  h2 {
    font-size: 1.8rem;
  }

  #home.hero-section h1 {
    font-size: 2rem;
  }
}

/* ocea wrapper  */
.ocean-wrapper {
  position: relative;
  width: 100%;
  height: 130px;
  overflow: hidden;
  /* background removed */
}

/* .ocean-wrapper {
  position: absolute; /* ✨ magic change */
/* bottom: 0; */
/* left: 0; */
/* width: 100%; */
/* height: 80px; or adjust for thinner waves */
/* overflow: hidden; */
/* so it doesn’t interfere with clicks */

.ocean-layer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 340%;
  height: 170%;
  animation: horizontalWave 20s linear infinite;
}

.layer1 {
  z-index: 5;
  animation-duration: 8s;
}

.layer2 {
  z-index: 4;
  animation-duration: 10s;
}

.layer3 {
  z-index: 3;
  animation-duration: 12s;
}

.layer4 {
  z-index: 2;
  animation-duration: 14s;
}

.layer5 {
  z-index: 1;
  animation-duration: 9s;
}

@keyframes horizontalWave {
  0% {
    transform: translateX(45%);
  }
  100% {
    transform: translateX(-80%);
  }
}

.services-headingus-harmoney {
  position: relative;
  display: inline-block;
  font-size: 2.5rem;
  font-weight: bold;
  color: #fff7f7;
  margin-bottom: 2rem;
  padding-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.services-headingus-harmoney::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40%;
  height: 4px;
  background: rgb(225, 111, 145);
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(225, 111, 145, 0.6);
  animation: underlineGlowServices-harmoney 3s infinite ease-in-out;
}

@keyframes underlineGlowServices-harmoney {
  0%,
  100% {
    width: 60%;
    opacity: 1;
  }
  50% {
    width: 80%;
    opacity: 0.6;
  }
}

.services-featured-harmoney {
  font-size: 1.8rem;
  font-weight: 600;
  color: rgb(225, 111, 145);
  text-align: center;
  letter-spacing: 1px;
  margin-top: 1rem;
  margin-bottom: 2rem;
  text-transform: uppercase;
  background: linear-gradient(to right, rgb(225, 111, 145), #ffafbd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fadeInSlideUp-harmoney 1.2s ease-out forwards;
  opacity: 0;
}

@keyframes fadeInSlideUp-harmoney {
  0% {
    transform: translateY(20px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.services-harmoney .img-harmoney {
  border-radius: 8px;
  overflow: hidden;
  width: 310px;
  height: 250px;
}

.services-harmoney .img-harmoney img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.6s;
}

.services-harmoney .details-harmoney {
  background: color-mix(in srgb, var(--surface-color), transparent 5%);
  padding: 50px 30px;
  margin: -100px 30px 0 30px;
  transition: all ease-in-out 0.3s;
  position: relative;
  text-align: center;
  border-radius: 8px;
  box-shadow: 0px 0 25px rgba(0, 0, 0, 0.1);
}

.services-harmoney .details-harmoney .icon-harmoney {
  margin: 0;
  width: 72px;
  height: 72px;
  background: var(--accent-color);
  color: var(--contrast-color);
  border: 6px solid var(--contrast-color);
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 28px;
  transition: ease-in-out 0.3s;
  position: absolute;
  top: -36px;
  left: calc(50% - 36px);
}

.services-harmoney .details-harmoney h3 {
  font-weight: 700;
  margin: 10px 0 15px 0;
  font-size: 22px;
  transition: ease-in-out 0.3s;
}

.services-harmoney .details-harmoney p {
  color: color-mix(in srgb, var(--default-color), transparent 10%);
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

.services-harmoney .service-item-harmoney:hover .details-harmoney h3 {
  color: var(--accent-color);
}

.services-harmoney
  .service-item-harmoney:hover
  .details-harmoney
  .icon-harmoney {
  background: var(--surface-color);
  border: 2px solid var(--accent-color);
}

.services-harmoney
  .service-item-harmoney:hover
  .details-harmoney
  .icon-harmoney
  i {
  color: white;
}

.services-harmoney .service-item-harmoney:hover .img-harmoney img {
  transform: scale(1.2);
}

.services-harmoney .details-harmoney {
  background-color: #11295a !important;
  color: white;
  padding: 50px 30px;
  margin: -100px 30px 0 30px;
  transition: all ease-in-out 0.3s;
  position: relative;
  text-align: center;
  border-radius: 8px;
  box-shadow: 0px 0 25px rgba(0, 0, 0, 0.3);
}

.services-harmoney .details-harmoney h3,
.services-harmoney .details-harmoney p {
  color: white !important;
}

.services-harmoney .details-harmoney .icon-harmoney {
  background: #0d1f4c;
  border: 2px solid white;
  color: rgb(207, 205, 205);
}

.services-harmoney .service-item-harmoney:hover .details-harmoney {
  background-color: #11295a !important;
}

.services-harmoney .service-item-harmoney:hover .details-harmoney h3 {
  color: #ff7f00 !important;
}

.services-harmoney
  .service-item-harmoney:hover
  .details-harmoney
  .icon-harmoney {
  background: #ff7f00;
  border-color: #a0c1ff;
  color: #11295a;
}

/* Tablets and below (max-width: 991px) */
@media (max-width: 991px) {
  .services-harmoney .img-harmoney {
    width: 340px !important;
    height: 180px !important;
  }
  .services-harmoney .details-harmoney {
    padding: 40px 20px !important;
    margin: -80px 20px 0 20px !important;
  }
  .services-harmoney .details-harmoney h3 {
    font-size: 18px !important;
  }
  .services-harmoney .details-harmoney p {
    font-size: 12px !important;
    line-height: 20px !important;
  }
  .services-harmoney .details-harmoney .icon-harmoney {
    width: 60px !important;
    height: 60px !important;
    font-size: 24px !important;
    top: -30px !important;
    left: calc(50% - 30px) !important;
    border-width: 4px !important;
  }
}

/* Small phones and below (max-width: 575px) */
@media (max-width: 575px) {
  .services-harmoney .img-harmoney {
    width: 100% !important;
    max-width: 400px !important;
    height: 140px !important;
  }
  .services-harmoney .details-harmoney {
    padding: 30px 10px !important;
    margin: -60px 10px 0 10px !important;
  }
  .services-harmoney .details-harmoney h3 {
    font-size: 15px !important;
  }
  .services-harmoney .details-harmoney p {
    font-size: 10px !important;
    line-height: 16px !important;
  }
  .services-harmoney .details-harmoney .icon-harmoney {
    width: 45px !important;
    height: 45px !important;
    font-size: 18px !important;
    top: -22px !important;
    left: calc(50% - 22.5px) !important;
    border-width: 2px !important;
  }
}

.services-harmoney .img-harmoney {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  width: 100%;
  height: 250px;
}

/* The animated gradient border */
.services-harmoney .img-harmoney::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: 10px;
  padding: 5.5px;
  background: linear-gradient(
    270deg,
    #f9ff4e,
    #f99523,
    #24c6dc,
    #544ac1,
    #ff4e50
  );
  background-size: 1000% 1000%;
  animation: gradientAnimation-harmoney 8s ease infinite;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  pointer-events: none;
}

/* The keyframe animation */
@keyframes gradientAnimation-harmoney {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Harmonize Bootstrap-style 3-column layout with your dark theme */
#services-harmoney .row {
  margin-top: 3rem;
  --bs-gutter-x: 2rem; /* Custom spacing between cols */
}

#services-harmoney .col-lg-4 {
  margin-bottom: 2rem;
}

#services-harmoney .card {
  background-color: #11295a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  color: white;
}

#services-harmoney .card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 40px rgba(0, 0, 0, 0.35);
}

#services-harmoney .card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

#services-harmoney .card-body {
  padding: 1.5rem;
  text-align: center;
}

#services-harmoney .card-title {
  font-size: 1.4rem;

  margin-bottom: 0.8rem;
  font-weight: 700;
}

#services-harmoney .card-text {
  font-size: 1rem;
  color: #ddd;
}

.services-row-harmoney {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.service-col-harmoney {
  flex: 1 1 calc(33.333% - 2rem);
  max-width: calc(33.333% - 2rem);
}

@media (max-width: 992px) {
  .service-col-harmoney {
    flex: 1 1 calc(50% - 2rem);
    max-width: calc(50% - 2rem);
  }
}

@media (max-width: 576px) {
  .service-col-harmoney {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

.social-icons {
  display: flex;
  gap: 15px;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}

.social-icons a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 45px;
  height: 45px;
  background-color: #1a1a1a;
  border-radius: 50%;
  color: white;
  text-decoration: none;
  font-size: 20px;
  transition: 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.social-icons a:hover {
  transform: scale(1.1);
  box-shadow: 0 0 12px #00ffcc, 0 0 20px #00ffcc;
}

/* Optional: brand colors */
.facebook:hover {
  background: #3b5998;
}
.instagram:hover {
  background: radial-gradient(circle at 30% 30%, #feda75, #d62976, #962fbf);
}
.linkedin:hover {
  background: #0077b5;
}
.twitter:hover {
  background: #1da1f2;
}

/* Location Section Styles - Dark Blue Theme */
.custom-location-section {
  background: linear-gradient(135deg, #0d1b2a, #1b263b);
  padding-bottom: 5%;
  margin-bottom: 40px;
  color: #ffffff;
  font-family: "Segoe UI", sans-serif;
}

.custom-location-container {
  max-width: 1200px;
  margin: auto;
  text-align: center;
  padding: 0 10px;
  margin-bottom: 20px;
}

.custom-location-header h2 {
  font-size: clamp(1.8rem, 5vw, 2.5rem); /* fluid text */
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

.custom-location-header p {
  font-size: clamp(0.9rem, 2.5vw, 1rem);
  color: #a0b9d0;
  margin-bottom: 40px;
}

.custom-location-card {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0; /* gap removed to avoid white lines when stacked */
  background: #022b58;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  flex-direction: row;
}

.custom-location-map {
  flex: 1 1 60%;
  /* min-height: 350px; */
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 20px 0 0 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.custom-location-map iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

.custom-location-info {
  flex: 1 1 40%;
  padding: 40px;
  text-align: left;
  background: rgba(255, 255, 255, 0.07);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.custom-location-info h3 {
  font-size: clamp(1.4rem, 4vw, 1.8rem);
  font-weight: bold;
  margin-bottom: 20px;
  color: #ff7f00;
}

.custom-location-info p {
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  line-height: 1.6;
  color: #dce6f9;
}

/* Tablet and below */
@media (max-width: 992px) {
  .custom-location-info {
    padding: 30px;
  }
}

/* Mobile view */
@media (max-width: 768px) {
  .custom-location-card {
    flex-direction: column;
  }

  .custom-location-map {
    border-radius: 20px 20px 0 0;
    /* min-height: 250px; */
    /* width: 450px; */
    aspect-ratio: auto;
  }

  .custom-location-info {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0 0 20px 20px;
    text-align: left;
  }
}

/* Super small devices */
@media (max-width: 480px) {
  .custom-location-info {
    padding: 20px;
  }

  .custom-location-header p {
    margin-bottom: 30px;
  }
}

.nav-links a {
  overflow: hidden;
  position: relative;
  text-decoration: none;
  color: #333;
  padding: 5px 10px;
  transition: all 0.3s;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: orange; /* Or your brand color */
  transition: width 0.3s;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* cookie accept */
.cookie-popup {
  display: none; /* Initially hidden */
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: #151515;
  color: #ffffff;
  border: 2px solid #00e0d7;
  padding: 15px 20px;
  border-radius: 10px;
  /* display: flex; */
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
  font-size: 14px;
  animation: slideUp 0.5s ease-in-out;
}

.cookie-popup.show {
  display: flex; /* Show when needed */
}

.cookie-popup p {
  margin: 0;
  flex: 1;
}

.cookie-popup a {
  color: #00e0d7;
  text-decoration: underline;
}

.cookie-popup button {
  background: #00e0d7;
  color: #000;
  border: none;
  padding: 8px 16px;
  margin-left: 20px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s ease;
}

.cookie-popup button:hover {
  background: #00c0b7;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
