
.topbar {
    background: #333333;
    color: #fff;
    padding: 8px 40px;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

.topbar-right span {
    margin-left: 20px;
}

/* NAVBAR */
.navbar {
    position: absolute;
    top: 45px;
    left: 0;
    width: 100%;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
    flex-wrap: wrap;
    box-sizing: border-box;
    transition: background 0.25s ease;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: white;
    letter-spacing: 1px;
}
.logo span { color: white; }

.nav-links {
    display: flex;
    align-items: center;
}

.navbar ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
    align-items: center;
}

.navbar ul li a {
    color: #fff;
    font-size: 18px;
    text-decoration: none;
    transition: color 0.25s;
    padding: 4px 6px;
}
.navbar ul li a:hover,
.navbar ul li a.active {
    color: #00c6b1;
}

/* CTA */
.cta-btn {
    background: #333;
    padding: 10px 22px;
    border-radius: 4px;
    border: 1px solid;
    border-color: white;
    color: white;
    font-size: 20px;
    text-decoration: none;
}

/* HAMBURGER - hidden on desktop */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 999;
}
.hamburger span {
    width: 26px;
    height: 3px;
    background: #fff;
    border-radius: 2px;
    transition: 0.3s;
}

/* hamburger active state */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Responsive nav: show hamburger under 900px */
@media (max-width: 900px) {
    .hamburger {
        display: flex;
    }

    .cta-btn {
        display: none;
    }

    .nav-links {
        position: absolute;
        top: 85px;
        right: 0;
        width: 100%;
        background: #333333;
        text-align: center;
        display: none;
        padding: 20px 0;
        box-shadow: 0 6px 18px rgba(0,0,0,0.2);
    }

    .nav-links ul {
        flex-direction: column;
        gap: 20px;
        padding: 0;
        margin: 0;
    }

    .nav-links.show {
        display: block;
    }

    .navbar {
        padding: 15px 25px;
        justify-content: space-between;
    }
}

/* General smaller adjustments for tablet */
@media (max-width: 992px) {
    .navbar {
        padding: 15px 25px;
    }
}


/* ABOUT HERO - medium height, contained background */
.about-hero {
  position: relative;
  height: 45vh;               /* medium height */
  min-height: 220px;         /* prevents too small on phones */
  max-height: 380px;
  width: 100%;
  overflow: hidden;          /* image won't bleed out */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* background image contained to section */
.about-bg {
  position: absolute;
  inset: 0;                 /* top:0; right:0; bottom:0; left:0; */
  width: 100%;
  height: 100%;
  object-fit: cover;        /* fill area but clipped inside section */
  object-position: center;
  z-index: 1;
}

/* optional darker overlay so white text is readable */
.about-overlay {
  position: absolute;
  inset: 0;
   background: rgba(0, 0, 0, 0.87);
  z-index: 2;
}

.about-text {
  position: relative;
  z-index: 3;
  text-align: center;
  color: #fff;
  padding: 0 20px;
}

.about-text h1 {
  font-size: 48px;
  margin: 0;
  font-weight: 800;
  letter-spacing: 0.4px;
}

/* MAIN ABOUT CONTENT (below the hero) */
.about-main {
  max-width: 1200px;
  margin: 50px auto;
  padding: 0 24px;
}

.about-content {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  flex-wrap: wrap;
  justify-content: space-between;
}

.about-text-block {
  flex: 1 1 420px;
  color: #222;
}

.about-text-block h2 {
  font-size: 30px;
  margin-bottom: 18px;
  color: #111;
}

.about-text-block p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 12px;
  color: #444;
}

/* simple slider (same behaviour as earlier) */
.about-slider {
  position: relative;
  flex: 1 1 420px;
  max-width: 600px;
  height: 340px;
  border-radius: 10px;
  overflow: hidden;
  background: #f3f3f3;
}

.about-slider img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: aboutSlide 12s infinite;
}

/* stagger delays for 4 images */
.about-slider img:nth-child(1) { animation-delay: 0s; }
.about-slider img:nth-child(2) { animation-delay: 3s; }
.about-slider img:nth-child(3) { animation-delay: 6s; }
.about-slider img:nth-child(4) { animation-delay: 9s; }

@keyframes aboutSlide {
  0%   { opacity: 0; transform: scale(1); }
  8%   { opacity: 1; transform: scale(1.02); }
  25%  { opacity: 1; transform: scale(1.02); }
  33%  { opacity: 0; transform: scale(1); }
  100% { opacity: 0; transform: scale(1); }
}

/* small hover lift */
.about-slider img:hover {
  transform: scale(1.03);
  transition: transform 0.35s ease;
}

.join-network-section {
    background: #ffffff;
    color: #333333;
    padding: 80px 24px;
    text-align: center;
}

.join-network-section h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
}

.join-network-section h3 {
    font-size: 24px;
    font-weight: 600;
    margin: 30px 0 15px 0;
}

.join-network-section p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.join-network-section ul {
    list-style: disc;
    text-align: left;
    max-width: 600px;
    margin: 0 auto 30px auto;
    padding-left: 20px;
}

.join-network-section ul li {
    font-size: 18px;
    margin-bottom: 10px;
}

.join-network-btn {
    display: inline-block;
    padding: 14px 40px;
    font-size: 18px;
    font-weight: 600;
    background: black;
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.join-network-btn:hover {
    background: #555555;
    color: #ffffff;
}








/* FOOTER ADJUSTMENTS - (keeps original look but ensure z-index stacking) */
.footer-section {
  position: relative;
  background: url('../img/1.jpg') center/cover no-repeat;
  padding: 80px 40px 40px 40px;
  color: #fff;
  overflow: hidden;
}

.footer-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.97);
  z-index: 1;
}

.footer-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  z-index: 2;
  gap: 40px;
}

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
}

.contact-item i {
  font-size: 20px;
  color: #fff;
}

/* SOCIAL ICONS */
.footer-social {
  display: flex;
  gap: 35px;
  margin-top: 20px;
}

.social-icon {
  width: 50px;
  height: 50px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: #000;
  font-size: 20px;
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
  .about-text h1 { font-size: 36px; }
  .about-slider { height: 300px; }
}

@media (max-width: 768px) {
  .about-hero { height: 40vh; min-height: 180px; }
  .about-text h1 { font-size: 28px; }
  .about-content { flex-direction: column-reverse; align-items: center; }
  .about-slider { width: 90%; height: 260px; }
  .about-text-block { text-align: center; }
}

.social-icon {
    width: 50px;
    height: 50px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: #000;
    font-size: 20px;
    opacity: 1;
    animation: iconFloat 5s infinite ease-in-out;
    transform: translateY(0);
}

/* Delay each icon so they animate one by one */
.social-icon:nth-child(1) { animation-delay: 0s; }
.social-icon:nth-child(2) { animation-delay: 1s; }
.social-icon:nth-child(3) { animation-delay: 2s; }
.social-icon:nth-child(4) { animation-delay: 3s; }
.social-icon:nth-child(5) { animation-delay: 4s; }

/* keyframes for smooth floating */
@keyframes iconFloat {
    0%   { transform: translateY(0); }
    50%  { transform: translateY(-12px); }
    100% { transform: translateY(0); }
}