
html{

scroll-behavior:smooth;

}

::selection{

background:#0f6b4b;

color:#fff;

}

html,
body{

    overflow-x:hidden;

}

/* ==========================================================
NIH OFFICIAL WEBSITE - Cleaned Style.css
Version : 1.1
========================================================== */

@import url("variables.css");
@import url("animations.css");

*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{
    font-family:var(--body-font);
    color:var(--text);
    background:#fff;
    overflow-x:hidden;
}
img{max-width:100%;display:block}
a{text-decoration:none}
ul{list-style:none}

.container{
    width:min(1320px,92%);
    margin:auto;
}

/* Global Sections */
section:not(.hero){
    padding:110px 0;
}

/* ================= TOP BAR ================= */

.top-bar{
    background:#0f6b4b;
    color:#fff;
    font-size:14px;
    padding:10px 0;
}

.top-bar-container{
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.top-left,.top-right{
    display:flex;
    align-items:center;
    gap:20px;
}

.top-bar a{
    color:#fff;
    transition:.3s;
}

.top-bar a:hover{
    color:#ffd86b;
}

/* ================= HEADER ================= */

.header{
    position:sticky;
    top:0;
    z-index:999;
    background:#fff;
    box-shadow:0 5px 20px rgba(0,0,0,.08);
    transition:.35s;
}

.header.scrolled{
    box-shadow:0 10px 30px rgba(0,0,0,.15);
}

.header-container{
    display:flex;
    justify-content:space-between;
    align-items:center;
    min-height:90px;
}

.logo img{
    height:70px;
    width:auto;
}

.navbar ul{
    display:flex;
    gap:35px;
}

.navbar a{
    color:#222;
    font-weight:600;
    position:relative;
    transition:.3s;
}

.navbar a:hover,
.navbar a.active{
    color:#0f6b4b;
}

.navbar a::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-6px;
    width:0;
    height:2px;
    background:#0f6b4b;
    transition:.3s;
}

.navbar a:hover::after,
.navbar a.active::after{
    width:100%;
}

.btn-primary{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:14px 30px;
    border-radius:40px;
    background:#0f6b4b;
    color:#fff;
    font-weight:600;
    transition:.3s;
}

.btn-primary:hover{
    background:#09553a;
    color:#fff;
}

.btn-outline{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:14px 30px;
    border:2px solid #fff;
    color:#fff;
    border-radius:40px;
    transition:.3s;
}

.btn-outline:hover{
    background:#fff;
    color:#111;
}

.menu-toggle{
    display:none;
    border:none;
    background:none;
    font-size:28px;
    cursor:pointer;
}

/* ================= HERO ================= */

.hero{
    position:relative;
    width:100%;
    height:100vh;
    min-height:750px;
    overflow:hidden;
    padding:0;
}

.heroSwiper,
.heroSwiper .swiper-wrapper,
.heroSwiper .swiper-slide{
    width:100%;
    height:100%;
}

.hero-slide{
    position:relative;
    width:100%;
    height:100%;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
    background:#111;
}
@media (max-width: 768px) {

    .hero-image-wrap {
        width: 100%;
        height: auto;
    }

    .hero-image-wrap img {
        width: 100%;
        height: auto;
        object-fit: contain;
        object-position: center;
    }

}
/* ==========================================================
   HERO IMAGE
   ----------------------------------------------------------
   You can use ANY JPG / JPEG / PNG / WEBP image.
   The image is never stretched or distorted.
   It automatically fills the banner and crops only the
   excess edges when the image ratio is different.
========================================================== */

.hero-image{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    display:block;
    object-fit:cover;
    object-position:center center;
}

/* Optional: move the image focus point if needed.
   Example:
   .hero-slide:nth-child(1) .hero-image{
       object-position:center top;
   }
*/

.hero-overlay{
    position:absolute;
    inset:0;
    z-index:1;
    pointer-events:none;
    background:linear-gradient(
        90deg,
        rgba(0,0,0,.72) 0%,
        rgba(0,0,0,.45) 45%,
        rgba(0,0,0,.20) 100%
    );
}

/* If you want the image completely clear with NO dark overlay,
   change the above background to:
   background:transparent;
*/

.hero-slide .container{
    height:100%;
    display:flex;
    align-items:center;
    position:relative;
    z-index:2;
}

.hero-content{
    max-width:650px;
    color:#fff;
    position:relative;
    z-index:3;
    padding-top:0;
}

.hero-content h1{
    color:#fff;
    font-size:68px;
    line-height:1.08;
    margin:20px 0;
}

.hero-content p{
    color:#f3f3f3;
    font-size:20px;
    line-height:1.8;
}

.hero-buttons{
    display:flex;
    gap:20px;
    margin-top:40px;
}

.hero-stats{
    display:flex;
    gap:60px;
    margin-top:60px;
}

.hero-stats h3{
    color:#fff;
    font-size:42px;
}

.hero-stats span{
    color:#ddd;
}

.swiper-pagination-bullet{
    background:#fff;
}

.swiper-pagination-bullet-active{
    background:#d4af37;
}


/*=====================================
        BACK TO TOP
=====================================*/

#backToTop{

    position:fixed;

    right:30px;

    bottom:30px;

    width:55px;

    height:55px;

    border:none;

    border-radius:50%;

    background:#0f6b4b;

    color:#fff;

    cursor:pointer;

    font-size:20px;

    box-shadow:0 15px 30px rgba(0,0,0,.25);

    opacity:0;

    visibility:hidden;

    transition:.35s;

    z-index:9999;

}

#backToTop.show{

    opacity:1;

    visibility:visible;

}

#backToTop:hover{

    background:#FFD86B;

    color:#0f6b4b;

    transform:translateY(-5px);

}


/*==================================
        COURSE FAQ
==================================*/

.course-faq{
    padding:90px 0;
    background:#f8faf8;
}

.course-faq .title{
    text-align:center;
    margin-bottom:55px;
}

.course-faq .title h2{
    font-family:'Playfair Display',serif;
    font-size:48px;
    color:#0B5D3B;
    margin-bottom:15px;
}

.course-faq .title p{
    color:#666;
    font-size:18px;
}

.course-faq .accordion-item{

    border:none;

    border-radius:16px;

    overflow:hidden;

    margin-bottom:20px;

    box-shadow:0 12px 30px rgba(0,0,0,.08);

}

.course-faq .accordion-button{

    background:#fff;

    color:#0B5D3B;

    font-size:19px;

    font-weight:600;

    padding:22px 28px;

    box-shadow:none;

    border:none;

}

.course-faq .accordion-button:hover{

    background:#f2faf5;

}

.course-faq .accordion-button:not(.collapsed){

    background:#0B5D3B;

    color:#fff;

}

.course-faq .accordion-button:focus{

    box-shadow:none;

}

.course-faq .accordion-button::after{

    filter:brightness(.3);

    transition:.3s;

}

.course-faq .accordion-button:not(.collapsed)::after{

    filter:brightness(0) invert(1);

}

.course-faq .accordion-body{

    background:#fff;

    padding:25px 30px;

    color:#555;

    line-height:1.9;

    font-size:16px;

}

/* E-Magazine homepage CTA */
.emag-home-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    margin-top:10px;
    text-decoration:none;
}


