#hiddenContent {
    display: none;
}

#hiddenContent.show {
    display: block;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(90deg, #E2F3FB 10%, #F4F5FF 100%) !important;
    color: #1b1b1b;
    min-height: 100vh;
    margin: 0;
    justify-content: center;
    align-items: center;
}

.h1 {
    font-family: sans-serif;
    font-weight: 400;
    font-style: Bold;
    font-size: 24px;
    color: rgba(51, 51, 51, 1);
    padding-top: 50px;
}

.h13 {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    color: rgba(51, 51, 51, 1);
}

.h2 {
    font-family: sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 24px;
    color: rgba(51, 51, 51, 1);
    padding-top: 10px;
}

.h3 {
    font-family: sans-serif;
    font-weight: 600;
    font-style:Bold;
    font-size: 24px;
    color: rgba(5, 132, 125, 0.65);

}

p {
    font-family: Inter;
    font-weight: 400;
    font-style: Regular;
    font-size: 16px;
    text-align: justify;


}

h4 {
    font-family: Inter;
    font-weight: 600;
    font-style: Semi Bold;
    font-size: 64px;
    color: rgba(5, 132, 125, 1);

}

h5 {
    font-family: Inter;
    font-weight: 600;
    font-style: Semi Bold;
    font-size: 16px;
    color: rgba(85, 85, 85, 1);

}



.logo-img {
    width: 171px;
    height: 121px;
}

.navbar {
    background: transparent;
}

.nav-link {
    font-family: "Inter";
    position: relative;
    font-size: 16px;
    text-decoration: none;
    color: rgba(51, 51, 51, 1);
    font-weight: 400px;
    margin-top: 40px;
}

.nav-link i {
    color: #05847D;
    height: 22px;
    width: 22px;
    font-weight: bold;
}

.nav-link::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    left: 0;
    bottom: -3px;
    background-color: #05847D;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.navbar-brand {
    font-weight: 700;
    color: #05847D !important;
}

.navbar-nav .nav-item {
    margin: 0 18px;
}

.auth-buttons {
    display: flex;
    align-items: center;
    color: rgba(51, 51, 51, 1);
    gap: 30px;
    margin-left: auto;
}

/* Buttons */
.btn-signup {
    border: 1px solid #05847D;
    color: #05847D;
    border-radius: 30px;
    padding: 8px 20px;
    font-size: 13px;
    transition: 0.3s;
    margin-top: 40px;
    margin-right: 0px;
}

.btn-signup:hover {
    background-color: #05847D;
    color: #fff;
}


.carousel-container {
    position: relative;
    width: 900px;
    height: 380px;
    /* enough space for dots */
    margin: 0 auto;
}

.carousel {
    width: 100%;
    height: 320px;
}

.carousel-card {
    position: absolute;
    width: 220px;
    height: 258px;
    background: #d6eff5;
    border-radius: 16px;
    border: 5px solid #F4F5FF;
    border-bottom: 50px solid #eef7f9;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
    top: 20px;
    left: 50%;
    transform-origin: center center;
    opacity: 0;
    transition: all 0.5s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.carousel-card img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    margin-bottom: 12px;
}

.carousel-card .name {
    font-weight: bold;
    font-size: 1rem;
    color: #222;
}

.carousel-card .role {
    font-size: 0.9rem;
    color: #555;
}

/* Positions */
.pos0 {
    transform: translateX(calc(-130px * 2)) scale(0.85);
    opacity: 0.6;
    z-index: 1;
}

.pos1 {
    transform: translateX(-130px) scale(0.95);
    opacity: 0.8;
    z-index: 2;
}

.pos2 {
    transform: translateX(0) scale(1);
    opacity: 1;
    z-index: 3;
}

.pos3 {
    transform: translateX(130px) scale(0.95);
    opacity: 0.8;
    z-index: 2;
}

.pos4 {
    transform: translateX(calc(130px * 2)) scale(0.85);
    opacity: 0.6;
    z-index: 1;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #007b7b;
    color: white;
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s;
}

.carousel-btn:hover {
    background: #005f5f;
}

.carousel-btn.left {
    left: 10px;
}

.carousel-btn.right {
    right: 10px;
}

.dots {
    text-align: center;
    margin-top: 10px;
}

.dot {
    height: 7px;
    width: 7px;
    margin: 0 5px;
    display: inline-block;
    border-radius: 50%;
    background-color: #ccc;
    transition: background 0.3s;
}

.dot.active {
    background-color: rgba(5, 132, 125, 1);
}

.btn-main {
    background: #05847D;
    color: rgba(255, 255, 255, 1);
    border-radius: 30px;
    padding: 6px 22px;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    margin-top: 20px;

}

.btn-main:hover {
    background: #eef7f9;
    color: #05847D;
    border: 1px solid #05847D;
}

.card {
    width: 220px;
    height: 258px;
    background: #d6eff5;
    border-radius: 16px;
    border: 5px solid #F4F5FF;
    border-bottom: 50px solid #eef7f9;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.card img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    margin-bottom: 12px;
}

.card .name {
    font-weight: bold;
    font-size: 1rem;
    color: #222;
}

.card .role {
    font-size: 0.9rem;
    color: #555;
}

.carousel-container {
    position: relative;
    width: 100%;
    text-align: center;
}

.carousel {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: max-content;
    margin: 0 auto;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    border: 0;
    cursor: pointer;
}

.carousel-btn.left {
    left: 300px;
}

.carousel-btn.right {
    right: 200px;
}

.carousel-container .dots {
    display: inline-block;
    margin-top: 12px;
}

.profile-circle {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background-color: #05847eab; /* green shade, change if needed */
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 11px;
  margin-top: 50px;
  margin-left: 100px;
}
.profile-name {
  font-size: 12px;
  font-weight: 500;
  margin-left: 100px;
}

/* Mobile Profile Styling */
.mobile-profile {
  z-index: 1050; /* Above navbar */
}
.mobile-profile .profile-circle {
  background: #05847D; /* green */
  color: white;
  font-weight: bold;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-profile .profile-name {
  font-size: 14px;
  font-weight: 500;
}


@media (max-width: 992px) {
    .carousel-container {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .carousel {
        display: flex;
        justify-content: center;
        width: 100%;
        margin: 0 auto;
    }

    .carousel-card,
    .card {
        width: 180px;
        height: 220px;
    }

    .carousel-btn.left {
        left: 20px;
    }

    .carousel-btn.right {
        right: 20px;
    }
}

@media (max-width: 576px) {

    .carousel-card,
    .card {
        width: 150px;
        height: 200px;
    }

    h1 {
        font-size: 18px;
    }

    h4 {
        font-size: 32px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .carousel-btn.left {
        left: 10px;
    }

    .carousel-btn.right {
        right: 10px;
    }
}

/* ---------------------------- */
/* Mobile & Tablet Navbar Only  */
/* ---------------------------- */

/* Tablets (≤ 991px) */
@media (max-width: 991px) {

    /* Overlay menu */
    .navbar-collapse {
        position: fixed;
        top: 0;
        left: 0;
        width: 75%;
        height: 100%;
        background-color: rgba(5, 132, 125, 0.95);
        padding: 20px;
        transition: transform 0.3s ease-in-out;
        transform: translateX(-100%);
        z-index: 9999;
    }

    /* Show menu when collapsed */
    .navbar-collapse.show {
        transform: translateX(0);
    }

    /* Close button inside menu */
    .close-menu {
        position: absolute;
        top: 15px;
        right: 15px;
        font-size: 28px;
        color: #fff;
        background: none;
        border: none;
        cursor: pointer;
        z-index: 10000;
    }

    /* Blur background when menu open */
    body.menu-open .hero,
    body.menu-open main,
    body.menu-open footer {
        filter: blur(6px);
        transition: filter 0.3s ease;
    }

    /* Mobile nav links color & spacing */
    .navbar-nav .nav-link {
        color: #fff !important;
        font-size: 18px;
        margin: 10px 0;
    }

    /* Mobile logout button */
    .mobile-logout {
        position: absolute;
        bottom: 20px;
        left: 20px;
        right: 20px;
    }

    .mobile-logout .btn {
        background-color: #E2F3FB;
        color: rgb(243, 10, 10) !important;
        font-weight: 600;
        font-size: 18px;
    }

      /* Navbar adjustments */
  .logo-img {
    width: 120px;
    height: auto;
    margin-left: 10px;
  }
}

/* Mobiles (≤ 576px) */
@media (max-width: 576px) {

    /* Navbar adjustments */
    .navbar {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .h13 {
    font-family: 'Inter', sans-serif;
    text-align: justify !important;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    color: rgba(51, 51, 51, 1);
    padding: 20px;
    }

    .navbar .navbar-toggler {
        margin-left: 10px;
        order: -1;
        /* move toggler to left */
        border: none;
        padding: 2px 6px;
        /* smaller toggler */
    }

    /* Custom toggler lines */
    .navbar-toggler-icon {
        background-image: none;
        width: 20px;
        height: 2px;
        background-color: #05847D;
        display: block;
        position: relative;
    }

    .navbar-toggler-icon::before,
    .navbar-toggler-icon::after {
        content: "";
        position: absolute;
        width: 24px;
        height: 2px;
        background-color: #05847D;
        left: 0;
    }

    .navbar-toggler-icon::before {
        top: -7px;
    }

    .navbar-toggler-icon::after {
        top: 7px;
    }

    /* Mobile profile circle */
      .profile-user{
    margin-top: -25px;
    margin-right: 20px;
  }

  #profile-circle {
    width: 32px;
    height: 32px;
    font-size: 14px;
    background-color: #05847D;
  }

    .login-text {
    color: #05847D;
    font-weight: 500;
    text-decoration: none;
    margin-top: 41px;
    margin-right: 18px !important;
  }

    /* Prevent horizontal scroll on mobile */
    body {
        overflow-x: hidden;
    }
}

/* Mobile view (≤576px) */
@media (max-width: 576px) {
  #hiddenContent .row {
    display: flex;
    flex-direction: column;
    text-align: center;
    padding: 0 35px;
    margin-left: -55px !important;
  }

    #hiddenContent .col-md-5 {
    order: -1; /* force number block to top */
  }

  #hiddenContent h4 {
    color: #05847D;
    font-size: 32px; /* smaller for mobile */
    margin-bottom: 5px;
    padding: 0 190px !important;
  }

  #hiddenContent h5 {
    font-size: 14px;
    margin-bottom: 15px;
    color: #555;
    margin-left: 50px;
  }

  #hiddenContent p {
    margin-top: 10px;
    text-align: justify;
    font-size: 14px;
    line-height: 1.5;
  }

  #hiddenContent h1 {
    font-size: 18px;
    text-align: center;
    margin-bottom: 15px;
  }

    #hiddenContent h1.text-muted {
    display: none !important;
  }
}
