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

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

.min-h-screen {
  min-height: 100vh;
}

.bg-white {
  background-color: #fff;
}

.pt-4 {
  padding-top: 1rem;
}

/* Container and Layout */
.max-w-7xl {
  max-width: 80rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.sm\:px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.lg\:px-8 {
  padding-left: 2rem;
  padding-right: 2rem;
}

/* Navigation Styles - FIXED */
nav {
  background-color: #fff;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid #e5e7eb;
}

nav .flex {
  display: flex;
}

nav .justify-between {
  justify-content: space-between;
}

nav .items-center {
  align-items: center;
}

nav .h-20 {
  height: 5rem;
}

nav .h-28 {
  height: 7rem;
}

nav .w-auto {
  width: auto;
}

/* FIXED NAVIGATION MENU - This will show properly */
.navigation-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

@media (max-width: 767px) {
  .navigation-menu {
    display: none;
  }
}

/* Menu Link Styles - FIXED */
.menu-link {
  color: #374151;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease;
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
}

.menu-link:hover {
  color: #ea580c;
}

.menu-link.current-page {
  color: #ea580c;
  border-bottom-color: #ea580c;
}

/* Dropdown Styles */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-trigger {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  font-size: inherit;
  font-weight: 500;
  color: #374151;
  font-family: inherit;
}

.chevron-down {
  margin-left: 0.25rem;
  font-size: 0.75rem;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #fff;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
  border-radius: 4px;
  top: 100%;
  left: 0;
}

.dropdown-content a {
  color: #374151;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  font-weight: 500;
  font-size: 1rem;
  font-family: inherit;
}

.dropdown-content a:hover {
  background-color: #f3f4f6;
  color: #ea580c;
}

.dropdown:hover .dropdown-content {
  display: block;
}







.search-icon {
  cursor: pointer;
  font-size: 1.25rem;
  color: #6b7280;
}

.search-icon:hover {
  color: #ea580c;
}

/* Hero Slider Styles */
.hero-slider {
  position: relative;
  height: 600px;
  overflow: hidden;
}

.carousel-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-track {
  display: flex;
  width: 400%;
  height: 100%;
  transition: transform 0.5s ease-in-out;
}

.carousel-slide {
  width: 25%;
  height: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
  flex-shrink: 0;
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.3);
}

.slide-box {
  position: absolute;
  bottom: 8rem;
  left: 0;
  background-color: rgba(255, 255, 255, 0.75);
  border-radius: 0.5rem 0.5rem 0 0;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  width: 550px;
  height: 160px;
  overflow: hidden;
}

.slide-content {
  display: flex;
  height: calc(100% - 4px);
}

.slide-title {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.slide-title h1 {
  font-size: 1.5rem;
  font-weight: 300;
  color: #6b7280;
  line-height: 1.2;
  text-align: center;
  white-space: pre-line;
}

.slide-divider {
  width: 2px;
  background-color: #f7931e;
  margin: 2rem 0;
}

.slide-caption {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.slide-caption p {
  font-size: 0.875rem;
  color: #374151;
  line-height: 1.5;
  text-align: center;
  font-weight: 500;
}

.slide-bottom-colors {
  position: absolute;
  bottom: 0;
  left: 0;
  display: flex;
  width: 100%;
  height: 4px;
}

.color-cyan {
  width: 33.333%;
  background-color: #00b0f0;
}

.color-orange {
  width: 33.333%;
  background-color: #f7931e;
}

.color-grey {
  width: 33.333%;
  background-color: #36454f;
}

/* Carousel Navigation */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 3rem;
  height: 3rem;
  background-color: rgba(255, 255, 255, 0.8);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.5rem;
  color: #374151;
  z-index: 10;
  transition: background-color 0.3s ease;
}

.carousel-btn:hover {
  background-color: rgba(255, 255, 255, 1);
}

.carousel-prev {
  left: 1.5rem;
}

.carousel-next {
  right: 1.5rem;
}

/* Services Section */
.services-section {
  padding: 4rem 0;
  background-color: #fff;
  opacity: 0;
  transform: translateY(2.5rem);
  transition: all 1s ease-out;
}

.services-section.visible {
  opacity: 1;
  transform: translateY(0);
}

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

.mb-12 {
  margin-bottom: 3rem;
}

.services-title {
  font-size: 2.25rem;
  font-weight: 400;
  color: #111827;
  margin-bottom: 0.75rem;
  font-family: "Arial", sans-serif;
  letter-spacing: 0.5px;
  opacity: 0;
  transform: translateY(1.25rem) scale(0.95);
  transition: all 0.8s ease-out;
}

.services-section.visible .services-title {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition-delay: 200ms;
}

.services-underline {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 2rem;
  opacity: 0;
  transform: scale(0.75);
  transition: all 0.7s ease-out;
}

.services-section.visible .services-underline {
  opacity: 1;
  transform: scale(1);
  transition-delay: 400ms;
}

.underline-line {
  height: 1px;
  background-color: #d1d5db;
  transition: all 0.5s ease-out;
}

.left-line,
.right-line {
  width: 0;
}

.services-section.visible .left-line,
.services-section.visible .right-line {
  width: 4rem;
  transition-delay: 600ms;
}

.underline-dots {
  display: flex;
  align-items: center;
  margin: 0 0.75rem;
}

.dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  margin: 0 0.25rem;
  opacity: 0;
  transform: scale(0);
  transition: all 0.3s ease-out;
}

.dot-cyan {
  background-color: #06b6d4;
}

.dot-orange {
  background-color: #ea580c;
}

.dot-grey {
  background-color: #4b5563;
}

.services-section.visible .dot {
  opacity: 1;
  transform: scale(1);
}

.services-section.visible .dot:nth-child(1) {
  transition-delay: 800ms;
}

.services-section.visible .dot:nth-child(2) {
  transition-delay: 900ms;
}

.services-section.visible .dot:nth-child(3) {
  transition-delay: 1000ms;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background-color: #fff;
  transition: all 0.7s ease-out;
  opacity: 0;
  transform: translateY(2rem);
}

.services-section.visible .service-card {
  opacity: 1;
  transform: translateY(0);
}

.services-section.visible .service-card:nth-child(1) {
  transition-delay: 500ms;
}

.services-section.visible .service-card:nth-child(2) {
  transition-delay: 700ms;
}

.services-section.visible .service-card:nth-child(3) {
  transition-delay: 900ms;
}

.service-card:hover {
  transform: scale(1.05);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.service-image {
  position: relative;
  margin-bottom: 1.5rem;
  overflow: hidden;
  border-radius: 0.5rem;
}

.service-image img {
  width: 100%;
  height: 16rem;
  object-fit: cover;
  border-radius: 0.5rem;
  transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
  transform: scale(1.1);
}

.service-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(234, 88, 12, 0);
  transition: all 0.3s ease;
  border-radius: 0.5rem;
}

.service-card:hover .service-overlay {
  background-color: rgba(234, 88, 12, 0.2);
}

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

.service-title {
  color: #111827;
  margin-bottom: 0.5rem;
  font-family: "Arial", sans-serif;
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}

.service-card:hover .service-title {
  color: #ea580c;
}

.service-underline {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.5rem;
}

.service-line {
  width: 2rem;
  height: 1px;
  background-color: #d1d5db;
  transition: background-color 0.3s ease;
}

.service-card:hover .service-line {
  background-color: #fb923c;
}

.service-dots {
  display: flex;
  align-items: center;
  margin: 0 0.5rem;
}

.service-dot {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  margin: 0 0.125rem;
}

.service-dot-cyan {
  background-color: #06b6d4;
}

.service-dot-orange {
  background-color: #ea580c;
}

.service-dot-grey {
  background-color: #4b5563;
}

.service-card:hover .service-dot {
  animation: pulse 1s infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.service-description {
  color: #4b5563;
  font-size: 0.875rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
  padding: 0 1rem;
  transition: color 0.3s ease;
}

.service-card:hover .service-description {
  color: #374151;
}

.service-btn {
	  text-decoration: none;     /* Removes underline */

  background-color: #ea580c;
  color: #fff;
  padding: 0.5rem 1.5rem;
  border: none;
  border-radius: 0.25rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
}

.service-btn:hover {
  background-color: #c2410c;
  transform: scale(1.05);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Why Novick Section */
.why-novick-section {
  background-color: #ff681f;
  color: #fff;
  padding: 10rem 1.25rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(2.5rem);
  transition: all 1s ease-out;
}

.why-novick-section.visible {
  opacity: 1;
  transform: translateY(0);
}

.container {
  position: relative;
  z-index: 10;
}

.section-heading {
  font-size: 2rem;
  font-weight: bold;
  color: #fff;
  margin-top: -5.625rem;
  font-family: "Arial", sans-serif;
  letter-spacing: 0.5px;
  margin-bottom: 0.625rem;
  opacity: 0;
  transform: translateY(1.25rem) scale(0.95);
  transition: all 0.8s ease-out;
}

.why-novick-section.visible .section-heading {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition-delay: 200ms;
}

.why-underline {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 4rem;
  margin-top: 0.625rem;
  opacity: 0;
  transform: scale(0.75);
  transition: all 0.7s ease-out;
}

.why-novick-section.visible .why-underline {
  opacity: 1;
  transform: scale(1);
  transition-delay: 400ms;
}

.why-line {
  height: 1px;
  background-color: rgba(255, 255, 255, 0.5);
  transition: all 0.5s ease-out;
}

.why-novick-section .left-line,
.why-novick-section .right-line {
  width: 0;
}

.why-novick-section.visible .left-line,
.why-novick-section.visible .right-line {
  width: 4rem;
  transition-delay: 600ms;
}

.why-dots {
  display: flex;
  align-items: center;
  margin: 0 0.75rem;
}

.why-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  margin: 0 0.25rem;
  opacity: 0;
  transform: scale(0);
  transition: all 0.3s ease-out;
}

.why-dot-cyan {
  background-color: #22d3ee;
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.why-dot-orange {
  background-color: #fb923c;
  box-shadow: 0 0 10px rgba(255, 165, 0, 0.5);
}

.why-dot-grey {
  background-color: #4b5563;
  box-shadow: 0 0 10px rgba(128, 128, 128, 0.5);
}

.why-novick-section.visible .why-dot {
  opacity: 1;
  transform: scale(1);
}

.why-novick-section.visible .why-dot:nth-child(1) {
  transition-delay: 800ms;
}

.why-novick-section.visible .why-dot:nth-child(2) {
  transition-delay: 900ms;
}

.why-novick-section.visible .why-dot:nth-child(3) {
  transition-delay: 1000ms;
}

.why-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 5.625rem;
  justify-content: center;
  align-items: center;
  margin-top: 3.75rem;
}

.why-item {
  max-width: 12.5rem;
  text-align: center;
  color: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(2rem) scale(0.95);
  transition: all 0.7s ease-out;
}

.why-novick-section.visible .why-item {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.why-novick-section.visible .why-item:nth-child(1) {
  transition-delay: 450ms;
}

.why-novick-section.visible .why-item:nth-child(2) {
  transition-delay: 600ms;
}

.why-novick-section.visible .why-item:nth-child(3) {
  transition-delay: 750ms;
}

.why-novick-section.visible .why-item:nth-child(4) {
  transition-delay: 900ms;
}

.why-item:hover {
  transform: scale(1.1);
}

.why-icon {
  position: relative;
}

.why-icon img {
  width: 6.25rem;
  height: 6.25rem;
  margin-bottom: 0.9375rem;
  filter: brightness(0) invert(1);
  display: block;
  transition: all 0.5s ease;
}

.why-item:hover .why-icon img {
  transform: rotate(12deg) scale(1.1);
}

.why-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0);
  transition: all 0.3s ease;
  filter: blur(0.125rem);
}

.why-item:hover .why-icon::after {
  background-color: rgba(255, 255, 255, 0.2);
}

.why-item p {
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.2;
  transition: color 0.3s ease;
}

.why-item:hover p {
  color: #fef3c7;
}

/* Life@Novick Section */
.life-novick-section {
  position: relative;
  color: #fff;
  overflow: hidden;
  background-image: url("images/life-at-novick.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 3.125rem 0;
  opacity: 0;
  transform: translateY(2.5rem);
  transition: all 1s ease-out;
}

.life-novick-section.visible {
  opacity: 1;
  transform: translateY(0);
}

.life-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
  transition: opacity 1s ease;
}

.life-novick-section.visible .life-overlay {
  background-color: rgba(0, 0, 0, 0.4);
}

.life-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.life-content {
  padding: 1.25rem 1.25rem 1.875rem 1.25rem;
}

.life-heading {
  font-size: 2.25rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 0.625rem;
  margin-top: 0;
  padding-top: 0;
  font-family: "Arial", sans-serif;
  letter-spacing: 0.5px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: translateY(1.25rem) scale(0.95);
  transition: all 0.8s ease-out;
}

.life-novick-section.visible .life-heading {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition-delay: 200ms;
}

.life-underline {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 2rem;
  opacity: 0;
  transform: scale(0.75);
  transition: all 0.7s ease-out;
}

.life-novick-section.visible .life-underline {
  opacity: 1;
  transform: scale(1);
  transition-delay: 400ms;
}

.life-line {
  height: 1px;
  background-color: rgba(255, 255, 255, 0.5);
  transition: all 0.5s ease-out;
}

.life-novick-section .left-line,
.life-novick-section .right-line {
  width: 0;
}

.life-novick-section.visible .left-line,
.life-novick-section.visible .right-line {
  width: 4rem;
  transition-delay: 600ms;
}

.life-dots {
  display: flex;
  align-items: center;
  margin: 0 0.75rem;
}

.life-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  margin: 0 0.25rem;
  opacity: 0;
  transform: scale(0);
  transition: all 0.3s ease-out;
}

.life-dot-cyan {
  background-color: #22d3ee;
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.7);
}

.life-dot-orange {
  background-color: #fb923c;
  box-shadow: 0 0 15px rgba(255, 165, 0, 0.7);
}

.life-dot-grey {
  background-color: #4b5563;
  box-shadow: 0 0 15px rgba(128, 128, 128, 0.7);
}

.life-novick-section.visible .life-dot {
  opacity: 1;
  transform: scale(1);
}

.life-novick-section.visible .life-dot:nth-child(1) {
  transition-delay: 800ms;
}

.life-novick-section.visible .life-dot:nth-child(2) {
  transition-delay: 900ms;
}

.life-novick-section.visible .life-dot:nth-child(3) {
  transition-delay: 1000ms;
}

.life-description {
  max-width: 56.25rem;
  margin: 0 auto 1.875rem auto;
  text-align: center;
  font-size: 0.875rem;
  line-height: 1.6;
  color: #fff;
  font-family: "Arial", sans-serif;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
  opacity: 0;
  transform: translateY(1.25rem);
  transition: all 0.8s ease-out;
}

.life-novick-section.visible .life-description {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 600ms;
}

.life-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  max-width: 56.25rem;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(1.25rem);
  transition: all 0.8s ease-out;
}

.life-novick-section.visible .life-actions {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 800ms;
}

.connect-text {
  font-size: 1rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.connect-text:hover span {
  color: #67e8f9;
  transition: color 0.3s ease;
}

.linkedin-badge {
  background-color: #0077b5;
  color: #fff;
  padding: 0.25rem 0.5rem;
  border-radius: 0.125rem;
  font-weight: bold;
  font-size: 0.875rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.connect-text:hover .linkedin-badge {
  transform: scale(1.1);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.position-btn {
  border: 1px solid #f7931e;
  padding: 0.75rem 1.5rem;
  color: #fff;
  background: transparent;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  position: relative;
}

.position-btn:hover {
  background: #f7931e;
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(247, 147, 30, 0.3);
}

/* Colorful Particles Animation */
.particle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.6;
  animation: colorfulFloat 3s ease-in-out infinite;
}

@keyframes colorfulFloat {
  0%,
  100% {
    transform: translateY(0px) translateX(0px) scale(1);
    opacity: 0.6;
  }
  25% {
    transform: translateY(-20px) translateX(10px) scale(1.2);
    opacity: 0.8;
  }
  50% {
    transform: translateY(-40px) translateX(-5px) scale(0.8);
    opacity: 1;
  }
  75% {
    transform: translateY(-20px) translateX(-15px) scale(1.1);
    opacity: 0.7;
  }
}

/* Footer Styles */
.footer {
  background-color: #000;
  color: #fff;
  padding: 3.75rem 1.25rem;
  font-family: Arial, sans-serif;
  position: relative;
  z-index: 1;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2.5rem;
  max-width: 75rem;
  margin: auto;
}

.footer-contact {
  color: #ccc;
  font-size: 0.875rem;
  font-family: Arial, sans-serif;
  max-width: 18.75rem;
}

.footer-contact h4 {
  color: #fff;
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 0.3125rem;
  text-transform: uppercase;
}

.footer-divider {
  width: 2.5rem;
  height: 2px;
  background-color: #f7931e;
  margin: 0.625rem 0 1.5625rem 0;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.25rem;
  line-height: 1.6;
  color: #ccc;
  gap: 0.75rem;
}

.contact-icon {
  color: #f7931e;
  font-size: 1rem;
  margin-top: 0.25rem;
  padding-right: 0.625rem;
  position: relative;
  display: flex;              /* NEW */
  align-items: center;        /* NEW */
  justify-content: center;    /* NEW */
  width: 20px;               /* NEW */
  height: 20px;              /* NEW */
}

.contact-icon svg {           /* NEW */
  color: #f7931e;
  stroke: #f7931e;
}

.contact-icon::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 1px;
  background-color: #f7931e;
}

.footer-form h4 {
  color: #fff;
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 0.3125rem;
  text-transform: uppercase;
}

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

.form-row {
  display: flex;
  gap: 0.9375rem;
  flex-wrap: wrap;
}

.form-input {
  background: transparent;
  border: 1px solid #fff;
  padding: 0.625rem;
  color: #fff;
  font-size: 0.875rem;
  width: 12.5rem;
  flex: 1;
}

.form-input::placeholder {
  color: #ccc;
}

.form-textarea {
  background: transparent;
  border: 1px solid #fff;
  padding: 0.625rem;
  color: #fff;
  font-size: 0.875rem;
  width: 18.75rem;
  flex: 1;
  resize: vertical;
  height: 6.25rem;
}

.form-textarea::placeholder {
  color: #ccc;
}

.form-submit {
  align-self: flex-start;
  padding: 0.625rem 1.25rem;
  border: 1px solid #f7931e;
  background: transparent;
  color: #fff;
  cursor: pointer;
  transition: background 0.3s ease;
}

.form-submit:hover {
  background-color: #f7931e;
  color: #000;
}

.footer-nav {
  border-top: 1px solid #333;
  padding-top: 1.875rem;
  margin-top: 2.5rem;
  text-align: center;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.875rem;
  font-size: 0.875rem;
}

.nav-links a {
  color: #ccc;
  text-decoration: none;
  font-weight: bold;
  font-family: Arial, sans-serif;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #f7931e;
}

.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 3rem;
  height: 3rem;
  background-color: #f7931e;
  color: #fff;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: background-color 0.3s ease;
  z-index: 50;
}

.back-to-top:hover {
  background-color: #e6831a;
}

/* Advantages Page Specific Styles */
.advantages-nav {
  background-color: #fff;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 50;
}

.advantages-nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 8rem;
}

.advantages-logo {
  height: 7rem;
  width: auto;
}

.advantages-hero {
  position: relative;
  height: 37.5rem;
  background-image: url("images/our-advantage-bg.png");
  background-size: cover;
  background-position: center 20%;
  margin-top: 0;
  overflow: hidden;
}

.Overview-hero {
  position: relative;
  height: 37.5rem;
  background-image: url("images/Fina-overview.png");
  background-size: cover;
  background-position: center 20%;
  margin-top: 0;
  overflow: hidden;
}
.Ourteam-hero {
  position: relative;
  height: 37.5rem;
  background-image: url("images/OurTeam.png");
  background-size: cover;
  background-position: center 20%;
  margin-top: 0;
  overflow: hidden;
}
.Career-hero {
  position: relative;
  height: 37.5rem;
  background-image: url("images/Career slide.png");
  background-size: cover;
  background-position: center 20%;
  margin-top: 0;
  overflow: hidden;
}
.Scientific-hero {
  position: relative;
  height: 37.5rem;
  background-image: url("images/scientific-team.png");
  background-size: cover;
  background-position: center 20%;
  margin-top: 0;
  overflow: hidden;
}
.Discovery-hero {
  position: relative;
  height: 37.5rem;
  background-image: url("images/Discovery.png");
  background-size: cover;
  background-position: center 20%;
  margin-top: 0;
  overflow: hidden;
}
.Process-hero {
  position: relative;
  height: 37.5rem;
  background-image: url("images/Process-chem.png");
  background-size: cover;
  background-position: center 20%;
  margin-top: 0;
  overflow: hidden;
}
.Vitro-hero {
  position: relative;
  height: 37.5rem;
  background-image: url("images/vitro.png");
  background-size: cover;
  background-position: center 20%;
  margin-top: 0;
  overflow: hidden;
}
.Analytical-hero {
  position: relative;
  height: 37.5rem;
  background-image: url("images/Analytical-cover.png");
  background-size: cover;
  background-position: center 20%;
  margin-top: 0;
  overflow: hidden;
}
.Formulation-hero {
  position: relative;
  height: 37.5rem;
  background-image: url("images/FRD-Pic.png");
  background-size: cover;
  background-position: center 20%;
  margin-top: 0;
  overflow: hidden;
}
.Casestudies-hero {
  position: relative;
  height: 37.5rem;
  background-image: url("images/Casestudies.png");
  background-size: cover;
  background-position: center 20%;
  margin-top: 0;
  overflow: hidden;
}
.Contact-hero {
  position: relative;
  height: 37.5rem;
  background-image: url("images/contact us.png");
  background-size: cover;
  background-position: center 20%;
  margin-top: 0;
  overflow: hidden;
}
.advantages-hero-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.2);
}

/* FIXED CAPTION BOX STRUCTURE */
.caption-box-wrapper {
  position: absolute;
  bottom: 1rem;
  right: 0;
  z-index: 10;
}

.caption-box-main {
  background-color: rgba(255, 255, 255, 0.85);
  width: 40.625rem;
  height: 11.25rem;
  border-top-left-radius: 0.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.caption-header-colors {
  display: flex;
  width: 100%;
  height: 0.5rem;
}

.header-cyan {
  width: 33.333%;
  background-color: #00b0f0;
}

.header-orange {
  width: 33.333%;
  background-color: #f7931e;
}

.header-grey {
  width: 33.333%;
  background-color: #36454f;
}

.caption-main-content {
  display: flex;
  align-items: center;
  justify-content: center;
  height: calc(100% - 0.5rem);
  padding: 2rem;
  text-align: center;
  flex-direction: column;
}

.caption-title {
  font-size: 2.25rem;
  font-weight: 600;
  color: #333333;
  margin-bottom: 0.25rem;
}

.caption-underline {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 0.5rem;
}

.caption-line {
  width: 4rem;
  height: 2px;
  background-color: #707070;
  box-shadow: 0 0 8px rgba(187, 187, 187, 0.8); /* optional glow */
}

.caption-dots {
  display: flex;
  align-items: center;
  margin: 0 0.75rem;
}

.caption-dot {
  width: 0.52rem;              /* larger */
  height: 0.52rem;
  border-radius: 50%;
  margin: 0 0.3rem;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.5); /* glow effect for brightness */
}

.advantages-content {
  padding: 6rem 0;
  background-color: #fff;
  opacity: 0;
  transform: translateY(2.5rem);
  transition: all 1s ease-out;
}

.advantages-content.visible {
  opacity: 1;
  transform: translateY(0);
}

.content-section {
  margin-bottom: 4rem;
  opacity: 0;
  transform: translateY(1.25rem);
  transition: all 0.8s ease-out;
}

.advantages-content.visible .content-section {
  opacity: 1;
  transform: translateY(0);
}

.advantages-content.visible .content-section:nth-child(1) {
  transition-delay: 200ms;
}

.advantages-content.visible .content-section:nth-child(2) {
  transition-delay: 800ms;
}

.advantages-content.visible .content-section:nth-child(3) {
  transition-delay: 1400ms;
}

.advantages-content.visible .content-section:nth-child(4) {
  transition-delay: 2000ms;
}

.advantages-content.visible .content-section:nth-child(5) {
  transition-delay: 2600ms;
}

.section-title {
  margin-bottom: 2rem;
  text-align: center;
  position: relative;
  padding-bottom: 0.75rem;
  font-family: "Open Sans", "Arial", sans-serif;
  font-size: 1.8em;
  font-weight: 600;
  color: #333;
  letter-spacing: 0.3px;
  opacity: 0;
  transform: translateY(1.25rem) scale(0.95);
  transition: all 0.8s ease-out;
}

.advantages-content.visible .section-title {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition-delay: 400ms;
}

.section-underline {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 8rem;
  height: 0.25rem;
  display: flex;
  opacity: 0;
  transform: translateX(-50%) scaleX(0);
  transition: all 0.5s ease-out;
}

.advantages-content.visible .section-underline {
  opacity: 1;
  transform: translateX(-50%) scaleX(1);
  transition-delay: 600ms;
}

.section-color-cyan {
  width: 33.333%;
  height: 100%;
  background-color: #00b0f0;
}

.section-color-orange {
  width: 33.333%;
  height: 100%;
  background-color: #f7931e;
}

.section-color-grey {
  width: 33.333%;
  height: 100%;
  background-color: #36454f;
}

.section-content {
  max-width: 48rem;
  margin: 0 auto;
}

.section-intro {
  margin-bottom: 1.5rem;
  line-height: 1.7;
  text-align: left;
  font-size: 0.95em;
  font-family: "Open Sans", "Arial", sans-serif;
  color: #4a4a4a;
}

.section-list {
  list-style: disc;
  padding-left: 1.5rem;
  margin: 0;
}

.section-list li {
  margin-bottom: 0.75rem;
  line-height: 1.7;
  font-size: 0.95em;
  font-family: "Open Sans", "Arial", sans-serif;
  color: #4a4a4a;
  opacity: 0;
  transform: translateX(1rem);
  transition: all 0.5s ease-out;
}

.advantages-content.visible .section-list li {
  opacity: 1;
  transform: translateX(0);
}

.advantages-content.visible .section-list li:nth-child(1) {
  transition-delay: 600ms;
}

.advantages-content.visible .section-list li:nth-child(2) {
  transition-delay: 700ms;
}

.advantages-content.visible .section-list li:nth-child(3) {
  transition-delay: 800ms;
}

.advantages-content.visible .section-list li:nth-child(4) {
  transition-delay: 900ms;
}

.advantages-content.visible .section-list li:nth-child(5) {
  transition-delay: 1000ms;
}

.advantages-content.visible .section-list li:nth-child(6) {
  transition-delay: 1100ms;
}

.advantages-content.visible .section-list li:nth-child(7) {
  transition-delay: 1200ms;
}

.section-list li strong {
  color: #333;
  font-weight: 600;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .navigation-menu {
    display: none;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .why-grid {
    gap: 2rem;
  }

  .footer-content {
    flex-direction: column;
  }

  .form-row {
    flex-direction: column;
  }

  .nav-links {
    flex-direction: column;
    gap: 1rem;
  }

  .caption-box-main {
    width: 90%;
    right: 5%;
  }

  .caption-title {
    font-size: 1.8rem;
  }
}

/* --- BEGIN: Submenu Behavior Fix --- */
.dropdown-content .dropdown {
  position: relative;
}

.dropdown-content .dropdown .sub-dropdown {
  display: none;
  position: absolute;
  top: 0;
  left: 100%;
  background-color: #fff;
  min-width: 180px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  border-radius: 0.25rem;
  z-index: 2;
}

.dropdown-content .dropdown:hover > .sub-dropdown {
  display: block;
}

.dropdown-content .dropdown .dropdown-trigger {
  display: flex;
  justify-content: space-between;
  width: 100%;
  cursor: pointer;
  background: none;
  border: none;
  padding: 12px 16px;
  color: #374151;
  font-weight: 500;
  text-align: left;
}

.dropdown-content .dropdown .dropdown-trigger:hover {
  background-color: #f3f4f6;
  color: #ea580c;
}

.dropdown-trigger .chevron-right {
  font-size: 0.75rem;
  margin-left: auto;
  color: #6b7280;
}
/* --- END: Submenu Behavior Fix --- */