* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

}

body {
    overflow-x: hidden;
    font-family: "Inter", sans-serif;
}

/* HEADER */
.top-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 20;
}

.logo {
    font-size: 22px;
    font-weight: bold;
    color: white;
}

.menu-btn {
    font-size: 30px;
    background: white;
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    cursor: pointer;
}

/* SIDE MENU */
.side-menu {
    position: fixed;
    top: 0;
    right: -260px;
    width: 260px;
    height: 100%;
    background: white;
    padding: 30px;
    transition: 0.3s ease;
    z-index: 30;
}

.side-menu.open {
    right: 0;
}

.close-menu {
    font-size: 30px;
    background: none;
    border: none;
    cursor: pointer;
}



/**/

.top-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
}

.close-menu {
      position: absolute;
    top: 15px;
    right: 15px !important;
}
/***/



.side-menu ul {
    list-style: none;
    margin-top: 20px;
}

.side-menu li {
    margin: 20px 0;
}

.side-menu a {
    text-decoration: none;
    font-size: 18px;
    color: black;
}

/* SLIDER */
.slider {
    position: relative;
    width: 100%;
    height: 100vh;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

/* CONTENT */
.content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
}

h1 {
    font-size: 45px;
    margin-bottom: 20px;
}

.primary-btn,
.secondary-btn {
    display: block;
    width: 220px;
    margin: 10px auto;
    padding: 14px;
    border-radius: 12px;
    border: none;
    font-size: 16px;
    cursor: pointer;
}

.primary-btn {
    background: white;
    color: #333;
}

.secondary-btn {
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(7px);
    color: white;
}

/* DOTS */
.dots {
    position: absolute;
    bottom: 40px;
    width: 100%;
    text-align: center;
    z-index:999999;
}

.dot {
    height: 10px;
    width: 10px;
    margin: 5px;
    background: #ddd;
    display: inline-block;
    border-radius: 50%;
    cursor: pointer;
}

.dot.active {
    background: white;
}



/* Card animation */
    .program-card {
        border-radius: 20px;
        overflow: hidden;
        transition: transform .35s ease, box-shadow .35s ease;
        background: #fff;
        box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    }
    .program-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 12px 25px rgba(0,0,0,0.15);
    }

    /* Image container & zoom effect */
    .program-img-wrapper {
        position: relative;
        overflow: hidden;
    }
    .program-img-wrapper img {
        width: 100%;
        height: 230px;
        object-fit: cover;
        transition: transform 0.6s ease;
    }
    .program-card:hover .program-img-wrapper img {
        transform: scale(1.1);
    }

    /* Title inside picture */
    .program-title {
        position: absolute;
        bottom: 15px;
        left: 15px;
        padding: 6px 14px;
        color: #fff;
        font-size: 1.4rem;
        border-radius: 6px;
        font-weight: 700;
    }


    /* Buttons */
    .program-btn {
        border-radius: 10px;
        padding: 10px 18px;
        font-size: 1rem;
    background: linear-gradient(180deg, #7CD66D 0%, #63BD5A 100%);
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.10), 0 4px 6px -4px rgba(0, 0, 0, 0.10);
        border: none;
        color: #fff;
    }
    .program-btn:hover {
        background: #2ea137;
        color: #fff;
    }

  .contact-box {
            background: white;
            border-radius: 12px;
            padding: 30px;
            box-shadow: 0px 2px 10px rgba(0,0,0,0.1);
        }

        footer {
            background: #1a1a1a;
            color: white;
            padding: 40px 0;
            margin-top: auto;
        }

        .btn-custom {
            background: #4c89ff;
            color: white;
            width: 100%;
        }

        .btn-custom:hover {
            background: #3871d4;
        }


.lab-card {
    position: relative;
    overflow: hidden;
}

.lab-card .bg-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 70px;
    font-weight: 800;
    opacity: 0.08;
    text-transform: uppercase;
    pointer-events: none;
    white-space: nowrap;
}
.image-logo{
       width: 20%;
}
.section-title {
    font-family: serif;
    font-size: 1.75rem;
    font-weight: 700;
  }

  /* accent rounded box used inside the first card */
  .accent-box {
    background: #f3fbf6;           /* pale green background */
    border: 1px solid #e6f4ea;     /* soft border around box */
    border-radius: 12px;
    padding: 1rem;
    position: relative;
  }

  /* colored top border accent */
  .accent-top::before{
    content: "";
    position: absolute;
    left: 0.5rem;
    right: 0.5rem;
    top: 0; 
    height: 6px;                   /* thickness of top accent */
    background: linear-gradient(90deg,#7fcf88,#c3e9b8); /* gradient accent */
    border-top-left-radius: 11px;
    border-top-right-radius: 11px;
  }

  /* fine tuning for card titles and buttons */
  .card-title { font-weight:700; }
  .btn-outline-primary { border-radius: 30px; }
  
  .testimonial {
    font-size: 15px;
    line-height: 1.6;
    color: #333;
}

.green-left {
    border-left: 6px solid #2ecc71 !important;
    border-radius: 12px;
}
.card {
    border-radius: 16px;
}

  .border-left-green {
    border-left: 6px solid #32d074;   /* bright green like your screenshot */
}

img.rounded-4 {
    border-radius: 16px;
}

.shadow-sm {
    box-shadow: 0px 4px 18px rgba(0,0,0,0.08) !important;
}

.border-left-green {
    border-radius: 16px;
}
  
  .card img.custom-img {
    width: 80%;
    margin: 0 auto;
    display: block;
    border-radius: 20px;
}
  
  
 .sec-cards-program{
     background: linear-gradient(180deg, #EBFAD8 0%, #FFF 50%, #EBFAD8 100%);
 } 
  
  .title-border {
    position: relative;
   
    padding-bottom: 10px; /* space between text and border */
}

.title-border::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 250px;                       /* length of the line */
    height: 6px;                        /* thickness */
    border-radius: 41498100px;          /* your value */
    background: linear-gradient(180deg, #63BD5A 0%, #4290C7 100%);
}
.p-section{
        padding-top: 30px;
        padding-bottom: 30px;
}


.slider .slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(66, 144, 199, 0.40) 0%,
        rgba(99, 189, 90, 0.70) 50%,
        rgba(99, 189, 90, 0.40) 100%
    );
    z-index: 1;
}

/* Keep your content above the overlay */
.slider .slide .content {
    position: relative;
    z-index: 2;
}


.slide-subtitle {
    font-size: 12px;
    margin-bottom: 6px;
}


.avatars img {
    width: 38px;       /* smaller size */
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: -8px; /* slight overlap */
    border: 2px solid #fff;
}

.top-header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
   
    transition: background 0.3s ease;
}

/* Class added on scroll */
.top-header.scrolled {
    background: #bdd99c;
}



/* RESPONSIVE */
@media screen and (max-width: 600px) {
    h1 {
        font-size: 28px;
    }

    .primary-btn, .secondary-btn {
        width: 180px;
        font-size: 14px;
    }
}
