/*--navbar--*/
.navbar-1 {
    background-color: #181832;
    color: white;
    height: 50px;
    text-align: left;
}
.navbar-1 .phone-tag{
    font-size: 16px;
}
.navbar-1 .address-tag{
    font-size: 16px;
}

.navbar-1 .container-fluid {
    display: flex;
    justify-content:space-between;
    align-items: center;
    height: 100%;
}

.navbar-2 {
    background-color: white;
    color: black;
    padding: 0 20px;
}

.navbar-2 .navbar-toggler {
    color: black;
}

.navbar-2 .navbar-nav .nav-link {
    margin: 0 10px;
}

@media (max-width: 768px) {
    .navbar-1 .phone-tag{
    font-size: 13px;
}
.navbar-1 .address-tag{
    font-size: 13px;
}
}
/*--navbar--*/

/*--main-image--*/
.background-image {
    background-image: url('../images/JHS_SHS-web-banner.jpg');
    background-size: cover;
    background-position: center;
    height: 600px;
    position: relative;
    text-align: left;
    color: rgb(255, 255, 255);
    font-size: 48px;
    font-weight: normal;
    display: flex;
    justify-content: center;
    align-items: center;
}

.scroll-down-btn {
    position: absolute;
    left: 50%;
    bottom: 38px;   /* Controls how far from the bottom; adjust as needed */
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

.scroll-down-btn img {
    width: 196px;   /* Adjust size as needed */
    height: auto;
    display: block;
    opacity: 0.94;
    filter: drop-shadow(0 1px 6px rgba(0,0,0,0.11));
    transition: opacity 0.18s;
}
.scroll-down-btn:hover img {
    opacity: 1;
}

/* On mobile, make button smaller and closer to bottom */
@media (max-width: 768px) {
    .scroll-down-btn {
        bottom: 15px;
    }
    .scroll-down-btn img {
        width: 100px;
    }
}


/* Media query for smaller screens */
@media (max-width: 768px) {
    .background-image {
        height: 550px;
        background-image: url(../images/SHS-JHS-BANNER.jpg);
    }

    .text-overlay {
        font-size: 33px;
        left: 40%;
        transform: translate(-22%, -44%);
    }
}

/*--main-image--*/



/*--Blog-section--*/
.new-c h2 {
    font-size: 40px;
    text-decoration: underline red;
}

.section-2 {

    background-color: #eff0f7db;

}

#blog-grid-1 .band {
    width: 80%;
    max-width: 1240px;
    margin: 0 auto;

    display: grid;

    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-gap: 60px;

    @media (min-width: 30em) {
        grid-template-columns: 1fr 1fr;
    }

    @media (min-width: 60em) {
        grid-template-columns: repeat(3, 1fr);
    }
}

#blog-grid-1 .card {
    background: #ffffff;
    text-decoration: none;
    color: #444;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    min-height: 100%;


    position: relative;
    top: 0;
    transition: all .1s ease-in;

    &:hover {
        top: -2px;
        box-shadow: 0 4px 5px rgba(0, 0, 0, 0.2);
    }

    &:hover h1 {
        text-decoration: underline;
    }

    article {
        padding: 40px;
        flex: 1;

        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    h6 {
        font-size: medium;
        color: red;
        text-decoration: underline;
    }

    .bl-only {
        font-size: 19px;
        font-weight: bold;
        margin: 0;
        color: #333;
    }

    .bl-only h3 {
        font-size: 10px;
        font-weight: bold;
        margin: 0;
        color: #333;
    }


    p {
        flex: 1;
        line-height: 1.4;
    }

    span {
        font-size: 12px;
        font-weight: bold;
        color: #999;
        text-transform: uppercase;
        letter-spacing: .05em;
        margin: 2em 0 0 0;
    }

    .thumb {
        padding-bottom: 60%;
        background-size: cover;
        background-position: center center;
    }
}

/*--Blog-section--*/


/*--SECTION-3-TAB STARTS--*/
.section-3 {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', sans-serif;
    background: #ffffff;
}

.container-coursetab {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 50px auto;
    background: #ffffff;
    border-radius: 5px;
    border: 1px solid red;
    overflow: hidden;
}

.tabs {
    flex: 1;
    min-width: 250px;
    background: #f7f7fc;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.tab {
    padding: 20px;
    background: #fff;
    border-radius: 5px;
    border: 1px solid rgba(255, 0, 0, 0.114);
    cursor: pointer;
    transition: 0.3s;
    font-weight: 500;
}

.tab.active {
    background: #fe0d1de4;
    color: #ffffff;
}

.content {
    flex: 2;
    padding: 30px;
    background: #f7f7fc;
}

.content img {
    max-width: 100%;
    border-radius: 8px;
    margin-bottom: 20px;
}

.content h2 {
    margin-bottom: 10px;
    color: #000000;
    text-decoration: underline red;
}

.content p {
    color: #333;
    line-height: 1.6;
    font-size: large;
}

/*--Responsive Styling section 3 tab--*/

@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }

    .tabs{
        width: 100%;
        gap: 20px;
        order: 1;
    
    }
    .content {
        width: 100%;
        padding-bottom: 0px;
    }
    .content h2{
        font-size: 22px;
    }
}
/*--Responsive Styling section 3 tab--*/

/*--SECTION-3-TAB ENDS--*/


/*--Common-heading and paragraph--*/
@media (max-width: 650px) {
    .new-c h2 {
        font-size: 35px;
    }
    .new-c p{
        text-align: justify;
    }
}
/*--Common-heading and paragraph--*/








/*--SLICK SLIDER STARTS--*/
.custom-slider-wrapper {
    max-width: 80vw;
    width: 100%;
    overflow: hidden;
    font-family: 'Inter', Arial, sans-serif;
    background: #fff;
    align-items: center;
}

.custom-slider {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    height: 520px;
}

.custom-slider-slide {
    min-width: 100%;
    display: flex;
    align-items: stretch;
    height: 520px;
}

.custom-slider-content {
    flex: 1 1 70%;
    padding: 3.5rem 2rem 2rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background: #ffffff00;
    box-sizing: border-box;
    min-width: 0;
}

.custom-slider-content h2 {
    font-size: 3.4rem;
    font-weight: 400;
    margin: 0 0 0.9rem 0;
    color: #1a1731;
    text-decoration: none;
    line-height: 1.15;
}

.custom-slider-content p {
    color: #555a66;
    font-size: 1.1rem;
    margin-bottom: 1.3rem;
}

.custom-slider-btn {
    background: #ff0606;
    color: #fff;
    border: none;
    border-radius: 0.3rem;
    font-size: 1rem;
    padding: 0.7rem 1.5rem;
    cursor: pointer;
    margin-top: 1rem;
    width: fit-content;
    transition: background 0.2s;
}

.custom-slider-btn:hover {
    background: #ff0606;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.custom-slider-btn a {
    text-decoration: none;
    color: white;
}

.custom-slider-image {
    flex: 1 1 50%;
    height: 110%;
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    overflow: hidden;
    padding: 0;
}

.custom-slider-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Navigation Tabs slick-slider */
.custom-slider-nav {
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    gap: 2rem;
    margin: -4rem 0 0 1.5rem;
}

.custom-slider-tab {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 120px;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.custom-slider-tab.active {
    opacity: 1;
    font-weight: 700;
}

.custom-slider-tab span {
    font-size: 1.07rem;
    margin-bottom: 0.23rem;
    font-weight: 500;
}

.custom-slider-tab.active span {
    color: #231e4f;
    font-weight: 700;
}

.custom-slider-tab:not(.active) span {
    color: #b3b3b3;
}
/* Navigation Tabs slick-slider */

/* Progress Bar-slick-slider */
.custom-slider-progress {
    background: #ececec;
    height: 4px;
    width: 100%;
    border-radius: 5px;
    overflow: hidden;
    margin-top: 2px;
    position: relative;
}

.custom-slider-bar {
    background: #231e4f;
    height: 100%;
    width: 0;
    transition: width 0.2s linear;
    border-radius: 5px;
}
/* Progress Bar-slick-slider */

/* Play/pause button-slick-slider */
.custom-slider-playpause {
    display: inline-flex;
    align-items: center;
    width: 10%;
    gap: 4px;
    background: #f7f7fb;
    border: 2px dashed #311717;
    border-radius: 8px;
    padding: 0.5rem 1.1rem 0.5rem 0.9rem;
    font-size: 1rem;
    color: #1a1731;
    font-family: inherit;
    font-weight: 500;
    margin-top: 1rem;
    cursor: pointer;
    transition: box-shadow 0.18s, border-color 0.15s, background 0.18s;
    box-shadow: 0 1px 7px 0 rgba(34, 34, 34, 0.04);
    outline: none;
    min-width: 105px;
    min-height: 40px;
    user-select: none;
}

.custom-slider-playpause:hover,
.custom-slider-playpause:focus {
    border-color: #4326d7;
    background: #f2f2fb;
}

.custom-slider-playpause svg {
    display: block;
    margin-right: 0.2em;
}

.playpause-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.playpause-text {
    display: inline-block;
    vertical-align: middle;
}
/* Play/pause button-slick-slider */

/* Responsive slick slider */
@media (max-width: 900px) {
    .custom-slider {
        height: 340px;
    }

    .custom-slider-slide {
        height: 340px;
    }

    .custom-slider-content {
        padding: 2rem 1rem 1.3rem 1.1rem;
    }
}

@media (max-width: 650px) {
    .custom-slider-wrapper {
        max-width: 100vw;
    }

    .custom-slider {
        height: 500px;
    }

    .custom-slider-slide {
        flex-direction: column;
        height: 450px;
    }

    .custom-slider-content {
        flex: 1 1 100%;
        width: 100%;
        padding: 20px;
    }

    .custom-slider-image {
        flex: 1 1 100%;
        width: 100%;
        min-width: 0;
        padding: 5px;
    }

    .custom-slider-image {
        order: 1;
        min-height: 260px;
    }

    .custom-slider-image img {
        height: 125%;
    }

    .custom-slider-content {
        order: 2;
        padding-bottom: 0.7rem;
    }

    .custom-slider-content h2 {
        font-size: 1.2rem;
        font-weight: 600;
    }

    .custom-slider-content p {
        font-size: 0.8rem;
    }

    .custom-slider-btn {
        margin-top: 0px;
    }

    .custom-slider-nav {
        margin: -1.8rem 0 0 1rem;
        gap: 15px;
    }

    .custom-slider-tab {
        min-width: 70px;
    }

    .custom-slider-tab:not(.active) span {
        display: none;
    }

    .custom-slider-tab.active span {
        display: none;
    }

    .custom-slider-progress {
        width: 100%;
    }
}
/* Responsive slick slider */


/*--SLICK SLIDER ENDS--*/






/*--FAQ TAB SECTION STARTS*/
#accordion {
    .card-header {
        margin-bottom: 8px;
        box-shadow: 2px 8px 10px rgba(0, 0, 0, .02);
    }

    .accordion-title {
        position: relative;
        display: block;
        padding: 35px 0px 15px 41px;
        background: #eff0f7;
        overflow: hidden;
        text-decoration: none;
        color: #000000;
        font-size: 16px;
        font-weight: 500;
        width: 100%;
        text-align: left;
        transition: all .4s ease-in-out;

        i {
            position: absolute;
            width: 40px;
            height: 100%;
            left: 0;
            top: 0;
            color: #000000;
            background: #eff0f7;
            text-align: center;
            border-right: 1px solid transparent;
        }
    }

    [aria-expanded="true"] {
        background: #eff0f7;
        color: #000000;

        i {
            background: #eff0f7;
            color: #000000;

            &:before {
                content: "\f068";
            }
        }
    }

    .accordion-body {
        padding: 20px 35px;
        text-align: justify;
        background-color: #e9edff;
    }

    .btn-check:focus+.btn,
    .btn:focus {
        border: 2px dashed #ff0505 !important;
        outline: 0;
        box-shadow: none;
    }
}

/*--FAQ TAB SECTION STARTS*/




/*CTA SECTION STARTS*/

.advance .section {
    padding-top: 90px;
    padding-bottom: 90px;
}

.advance .bg-primary {
    background: #ff0000d9 !important;
}

.advance .font-secondary {
    font-family: "futura-bold";
    font-weight: bold;
}

.advance .section-title {
    margin-bottom: 30px;
    font-family: "futura-bold";
    font-size: 30px;
}

/* Button style */
.advance .btn {
    font-size: 16px;
    margin-top: 20px;
    font-family: "Poppins", sans-serif;
    text-transform: capitalize;
    padding: 15px 40px;
    border-radius: 0;
    font-weight: 900;
    border: 0;
    position: relative;
    z-index: 1;
    transition: 0.2s ease;
    overflow: hidden;
    white-space: nowrap;
}

.advance .btn-light {
    color: #ff0000d9;
    background-color: #fff;
    border: 1px solid #fff;
}

.advance .btn-light::before {
    background-color: #ff0000d9;
}

.advance .btn-light:active,
.btn-light:hover,
.btn-light.focus,
.btn-light:focus,
.btn-light.active {
    color: #fff !important;
    background-color: #ff3a3a !important;
    border: 1px solid #fff !important;
}


@media (max-width: 768px) {
    .advance .btn {
        font-size: 10px;
        padding: 10px 30px;
        margin-bottom: 20px;
    }
}

/*CTA SECTION ENDS*/






/*FORM SECTION STARTS*/
.form-app {
    font-family: 'Poppins', sans-serif;
    display: flex;
    justify-content: center;
    margin-top: 10%;
    align-items: center;
}

.form-app .container {
    width: 100%;
    max-width: 800px;
    display: flex;
    justify-content: center;
}

.form-container {
    background: white;
    /* White Form Background */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 800px;
    text-align: center;
    animation: fadeIn 0.5s ease-in-out;
}

.form-container h2 {
    color: #000000;
    text-decoration: underline red;
    font-size: 24px;
    font-weight: 600;
    text-transform: uppercase;
}

.form-container label {
    display: block;
    font-weight: 600;
    text-align: left;
    margin: 10px 0 5px;
    color: #000000;
}

input,
select,
textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    outline: none;
    transition: 0.3s;
}

input:focus,
select:focus,
textarea:focus {
    border: 1px solid #ff0000;
    box-shadow: 0px 0px 5px rgba(255, 0, 0, 0.3);
}

.form-container textarea {
    height: 80px;
    resize: none;
}

.form-container button {
    width: 100%;
    background: #ff0000;
    color: white;
    border: none;
    padding: 12px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 5px;
    transition: 0.3s;
    text-transform: uppercase;
}

.form-container button:hover {
    background: #cc0000;
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design form section */
@media (max-width: 500px) {
    .form-container {
        width: 100%;
        max-width: 600px;
        padding: 25px;
    }
    .form-app{
        margin-top: 10%;
    }

    .form-container h2 {
        font-size: 16px;
    }
    .advance .section-title{
        font-size: 18px;
    }
}
/* Responsive Design form section */

/* IPMC form Modal Styles */
.ipmc-modal-overlay {
  position: fixed;
  top: 0; left: 0; right:0; bottom:0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  background: rgba(60,60,60, 0.40);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ipmc-modal {
  background: #fff;
  border-radius: 16px;
  padding: 2.4rem 2.1rem 2.1rem 2.1rem;
  box-shadow: 0 6px 32px 0 rgba(28,28,28,0.21);
  position: relative;
  max-width: 430px;
  width: 98%;
  text-align: left;
  animation: ipmc-fade-in 0.25s;
}
@keyframes ipmc-fade-in {
  from { transform: scale(0.96) translateY(20px); opacity: 0; }
  to   { transform: scale(1) translateY(0); opacity: 1; }
}
.ipmc-modal-logo {
  width: 110px;
  height: auto;
  display: block;
  margin: 0 auto 1.25rem auto;
}
.ipmc-modal-close {
  position: absolute;
  top: 14px;
  right: 15px;
  background: transparent;
  border: none;
  font-size: 2.1rem;
  color: #787878;
  cursor: pointer;
  transition: color 0.16s;
  z-index: 2;
}
.ipmc-modal-close:hover { color: #ff0606; }
.ipmc-modal-text {
  font-size: 1.13rem;
  color: #292929;
  margin-top: 0.8rem;
  line-height: 1.6;
  font-weight: 500;
}
@media (max-width: 550px) {
  .ipmc-modal { padding: 1.25rem 0.7rem; }
  .ipmc-modal-logo { width: 88px; }
  .ipmc-modal-text { font-size: 1rem; }
}
/* IPMC form Modal Styles */







/*CTA SECTION STARTS*/
@media (max-width: 650px){
    .advance .section{
        padding-top: 10%;
    }
}
/*CTA SECTION STARTS*/






/*** Footer ***/

@media (max-width: 576px){
    .footer-1{
      position: relative;
      top: 250px;
    }
  }
  @media (min-width: 576px){
    .footer-1{
      position: relative;
      top: 200px;
    }
  }
  
  @media (max-width: 576px){
    .copyright-1{
      position: relative;
      top: 200px;
    }
  }
  @media (min-width: 576px){
    .copyright-1{
      position: relative;
      top: 200px;
    }
  }
  
  .footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--light);
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
  }
  
  .footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
  }
  
  .footer .btn.btn-link:hover {
    color: var(--primary);
    letter-spacing: 1px;
    box-shadow: none;
  }
  
  .copyright {
    color: white;
    background: #000000;;
  }
  
  .copyright a {
    color: var(--light);
  }
  
  .copyright a:hover {
    color: var(--primary);
  }
  
  
  /* Style for the back-to-top button */
  #backToTopBtn {
    display: none;
    position: fixed;
    bottom: 95px;
    width: 55px;
    right: 30px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: #ff0000;
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 50%;
  }
  
  #backToTopBtn:hover {
    background-color: #ff0000;
  }
  