.service-section {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.service-section .row {
  width: 100%;
  height: 100%;
  margin: 0;
}

.service-img {
  height: 100vh;
  width: 100%;
  object-fit: cover;
}

.content-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 2;
  padding: 80px; /* Increased desktop padding */
}

.content-box h1 {
  font-size: 4.5rem; /* Larger desktop title */
  font-weight: 300;
  line-height: 1.1;
}

.content-box .lead {
  font-size: 1.4rem; /* Larger desktop lead */
  margin-bottom: 2rem;
}

.content-box p:not(.lead) {
  font-size: 1.1rem; /* Larger desktop paragraph */
  line-height: 1.7;
  opacity: 0.8;
}

.reveal-text {
  opacity: 0;
  transform: translateY(30px);
}

/* Responsive Adjustments */
@media (max-width: 1400px) {
  .content-box h1 {
    font-size: 3.8rem;
  }
}

@media (max-width: 1200px) {
  .content-box {
    padding: 40px;
  }
  .content-box h1 {
    font-size: 3.2rem;
  }
  .content-box .lead {
    font-size: 1.25rem;
  }
}

@media (max-width: 991.98px) {
  .content-box h1 {
    font-size: 2.8rem;
  }
  .content-box .lead {
    font-size: 1.15rem;
  }
}

@media (max-width: 767.98px) {
  .service-section {
    height: auto;
    min-height: 100vh;
    display: block; /* Stack vertically */
  }
  
  .service-section .row {
    height: auto;
  }

  .service-img {
    height: 45vh;
    min-height: 300px;
  }

  .content-box {
    padding: 20px 20px 100px 20px; /* Space for fixed navbar and bottom nav */
    padding-top: 80px; 
    text-align: center !important;
  }

  .content-box h1 {
    font-size: 1.75rem; /* Smaller mobile title */
    margin-bottom: 0.8rem !important;
  }

  .content-box .lead {
    font-size: 0.95rem; /* Smaller mobile lead */
    margin-bottom: 1rem;
  }

  .content-box p:not(.lead) {
    font-size: 0.85rem; /* Smaller mobile paragraph */
    line-height: 1.6;
  }

  .services-nav {
    right: 50%;
    bottom: 20px;
    transform: translateX(50%) scale(0.9);
    flex-direction: row;
    padding: 10px 20px;
    width: auto;
    max-width: 90%;
  }

  .nav-indicator {
    flex-direction: row;
    gap: 5px;
  }

  .nav-indicator .divider {
    margin: 0 5px;
  }
}

/* Scroll Navigation Buttons */
.services-nav {
  position: fixed;
  right: 40px;
  bottom: 40px;
  z-index: 2001;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  padding: 20px 10px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-arrow-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.nav-arrow-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #000;
}

.nav-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: monospace;
  font-weight: 500;
}

.nav-indicator .current {
  color: var(--accent);
  font-size: 1.2rem;
}

.nav-indicator .divider {
  opacity: 0.3;
  margin: 2px 0;
  font-weight: 200;
}

.nav-indicator .total {
  opacity: 0.5;
  font-size: 0.9rem;
}

@media (max-width: 767.98px) {
  .services-nav {
    right: 20px;
    bottom: 20px;
    padding: 15px 8px;
    transform: scale(0.85);
  }
}

/* Contact Floating Menu */
.contact-menu {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 2001;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.contact-trigger {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: var(--accent);
  border: none;
  color: #000;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(45, 212, 191, 0.4);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 10;
  order: 2; /* Ensure trigger is always at bottom */
}

.contact-trigger:hover {
  transform: scale(1.1) rotate(15deg);
}

.contact-trigger.active {
  background: #fff;
  transform: rotate(90deg);
}

.contact-links {
  display: flex;
  flex-direction: column-reverse; /* Icons in links flow upwards */
  gap: 12px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  order: 1; /* Links above trigger */
}

.contact-links.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.contact-links.active .contact-item:nth-child(1) { transition-delay: 0.1s; }
.contact-links.active .contact-item:nth-child(2) { transition-delay: 0.15s; }
.contact-links.active .contact-item:nth-child(3) { transition-delay: 0.2s; }

.contact-item {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.contact-item:hover {
  background: var(--accent);
  color: #000;
  transform: scale(1.1);
  border-color: var(--accent);
}

@media (max-width: 767.98px) {
  .contact-trigger {
    width: 48px;
    height: 48px;
    font-size: 1.3rem;
  }
}

