/* ---------------------------- */
/* GLOBAL SETTINGS */
/* ---------------------------- */
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: "Helvetica Neue", Arial, sans-serif;
  background-color: #F8F9FA;
  color: #4A5568;
}

/* ---------------------------- */
/* NAVBAR */
/* ---------------------------- */
.top-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #F8F9FA;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 50px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  transition: background-color 0.3s ease;
}

.top-nav.scrolled {
  /*background-color: #FF7A00;*/
  background: linear-gradient(90deg, rgba(119, 119, 119, 1) 10%, rgba(33, 107, 128, 1) 79%, rgba(74, 74, 74, 1) 100%);
}

.logo {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 2px;
}

.nav-links {
  display: flex;
  gap: 25px;
  list-style: none;
}

.nav-links li a {
  text-decoration: none;
  color: #4A5568;
  font-size: 1rem;
  transition: opacity 0.2s ease, color 0.3s ease;
}

.top-nav.scrolled .nav-links li a {
  color: white;
}

.nav-links li a:hover {
  opacity: 0.6;
}

/* ---------------------------- */
/* HAMBURGER & CLOSE BUTTON */
/* ---------------------------- */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #4A5568;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.nav-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 28px;
  color: white;
  cursor: pointer;
  display: none; /* hidden on desktop */
  z-index: 1101;
}

/* ---------------------------- */
/* HERO CAROUSEL */
/* ---------------------------- */
.hero-carousel {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: flex;
  justify-content: center;
  align-items: center;
}

.slide.active {
  opacity: 1;
  z-index: 5;
}

.hero-video, .hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.45);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: white;
  padding: 20px;
}

.animated {
  animation: fadeUp 1.2s ease forwards;
  opacity: 0;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-content h1 { font-size: 3.2rem; margin-bottom: 15px; }
.hero-content h2 { font-size: 1.5rem; font-weight: 300; opacity: 0.9; margin-bottom: 35px; }

.cta-btn {
  display: inline-block;
  padding: 14px 32px;
  background-color: #008B8B;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.2s, transform 0.2s;
}

.cta-btn:hover {
  background-color: #006F6F;
  transform: translateY(-2px);
}

.cta-btn2 {
  display: inline-block;
  padding: 10px 15px;
  background-color: #008B8B;
  color: white;
  text-decoration: none;
  border-radius: 10px;
  transition: background-color 0.2s, transform 0.2s;
}

.cta-btn2:hover {
  background-color: #006F6F;
  transform: translateY(-2px);
}

.carousel-dots {
  position: absolute;
  bottom: 35px;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 10px;
  z-index: 10;
}

.dot {
  width: 12px;
  height: 12px;
  background: rgba(255,255,255,0.5);
  border-radius: 50%;
  transition: opacity 0.3s ease, transform 0.2s ease;
  cursor: pointer;
}

.dot.active { background: white; transform: scale(1.2); }

/* ---------------------------- */
/* SECTIONS */
/* ---------------------------- */
.section { padding: 100px 20px; max-width: 900px; margin: auto; text-align: center; }
.section h3 { font-size: 2rem; margin-bottom: 25px; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; margin-top: 40px; }
.service-card { background: white; padding: 30px; border-radius: 6px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); transition: transform 0.2s ease; }
.service-card:hover { transform: translateY(-5px); }

/* ---------------------------- */
/* FOOTER */
/* ---------------------------- */
.footer { background: #333333; color: white; text-align: center; padding: 40px 20px; margin-top: 80px; }
.footer p { margin: 8px 0; font-size: 0.95rem; opacity: 0.9; }
.footer-icons { display: flex; justify-content: center; gap: 20px; margin-top: 15px; }
.footer-icon svg { transition: opacity 0.3s ease, transform 0.2s ease; }
.footer-icon:hover svg { opacity: 0.7; transform: scale(1.1); }

/* ---------------------------- */
/* RESPONSIVE DESIGN */
/* ---------------------------- */
@media(max-width:1024px) { .services-grid { grid-template-columns: 1fr 1fr; } }
    
@media(max-width:768px) {
    .logo { 
        
        color:#4A5568 !important;
        
    }
  .services-grid { grid-template-columns: 1fr; }
  .top-nav { padding: 15px 25px; }

  .hamburger { display: flex; position: fixed; top: 25px; right: 25px; z-index: 1100; }

  .nav-links {
    position: fixed;
    top: -16px;
    right: -100%;
    height: 100vh;
    width: 20%;
    background: linear-gradient(90deg, rgba(119, 119, 119, 1) 10%, rgba(33, 107, 128, 1) 79%, rgba(74, 74, 74, 1) 100%);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    padding-top: 30px;
    padding-right: 25px;
    transition: right 0.3s ease;
    z-index: 1050;
  }

  .nav-links.active { right: 0; }

  .nav-links li a { color: white; font-size: 1.2rem; }
  /*.nav-close-btn { display: flex; color: white; }*/
}

@media(max-width:500px) {
  .logo { font-size: 1.3rem; 
      color:#4A5568 !important;
  }
  .hero-content h1 { font-size: 2rem; }
  .hero-content h2 { font-size: 1rem; }
  .nav-links li a { font-size: 1.1rem; }
}
