body {
    scroll-behavior: smooth;
}

.blue-bg-color {
    background-color: #F6FAFE;
}

.white-bg-color {
    background-color: #FFF;
}

.h2-design {
    font-size: 36px;
    line-height: 48px;
    color: #3081BA;

    @media (width >= 768px) {
      font-size: 50px;
      line-height: 80px;
      letter-spacing: 0.15px;
    }

    @media (width >=991px) {
      font-size: 60px;
    }
}

.h3-design {
    font-size: 20px;
    line-height: 48px;
    color: #3081BA;

    @media (width >= 768px) {
        font-size: 30px;
        line-height: 80px;
        letter-spacing: 0.15px;
    }
}

.p-design {
    line-height: 20px;
    margin-bottom: 0;

    @media (width >= 768px) {
      .p-design {
        line-height: 24px;
      }
    }
}

.navbar {
    background-color: #fff;
    margin: 20px;
    border-radius: 16px;
    padding: 0.5rem;
}

.navbar-brand img {
    height: 60px;
}

.nav-link {
    color: #666777 !important;
    font-size: 18px !important;
    position: relative;
}

.navbar-nav .nav-item {
    padding-right: 5px;
}

.nav-link:hover, .nav-link.active {
    color: #000 !important;
}

.nav-link::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: #578CCF;
    visibility: hidden;
    transition: 0.3s ease-out;
}

.nav-link:hover::before, .nav-link.active::before {
    width: 100%;
    visibility: visible;
}

/* Fixed-height hero slides; object-fit crops instead of stretching */
.carousel-item img {
    width: 100%;
    height: clamp(260px, 60vw, 700px);
    object-fit: cover;
    object-position: center;
}

@media (width <= 1024px) {
    .offcanvas-body .nav-link:hover, .nav-link.active {
        color: #000 !important;
    }

    .offcanvas-body .navbar-nav {
        justify-content: center;
        align-items: center;
    }
    
    .offcanvas-body .navbar-nav .nav-link::before {
        content: "";
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 2px;
        background-color: #578CCF;
        visibility: hidden;
        transition: 0.3s ease-out;
    }
    
    .offcanvas-body .navbar-nav .nav-link:hover::before, .nav-link.active::before {
        width: 100%;
        visibility: visible;
    }
}

.carousel-item {
    background-size: cover;
}  

#side-img {
    border-radius: 1.5rem;

    @media (width <= 991px) {
        height: 400px;
        object-fit: cover;
    }
}

@media (width <= 768px) {
    #right-content {
        margin-top: 20px;
    }
}

.card {
    position: relative;
    overflow: hidden;
}

@media (width <= 768px) {
    .card {
        margin-bottom: 20px;
    }
}

.card img {
    object-fit: cover;
    border-radius: 1.5rem;
}

.card_body {
    width: 280px;
    background-color: #fff;
    padding: 1.5rem 2rem;
    box-shadow: 0 8px 24px hsla(0, 0%, 0%, .15);
    position: absolute;
    bottom: -9rem;
    left: 0;
    right: 0;
    margin-inline: auto;
    border-radius: 1.5rem;
    opacity: 0;
    transition: opacity 1s 1s;

    @media (width >= 768px) {
        width: 200px;
    }

    @media (width >= 1024px) {
        width: 250px;
    }  
}

.card_button {
    color: #000;
    font-weight: 500;
    text-decoration: none;
}

.card_button:hover {
    text-decoration: underline;
}

.card:hover .card_body {
    animation: show-data 1s forwards;
    opacity: 1;
    transition: opacity .3s;
}

.card:hover {
    animation: remove-overflow 2s forwards;
}

.card:not(:hover){
    animation: show-overflow 2s forwards;
}

.card:not(:hover) .card_body {
    animation: remove-data 1s forwards;
}

@keyframes show-data {
    50%{
        transform: translateY(-10rem);
    }
    100%{
        transform: translateY(-7rem);
    }
}

@keyframes remove-overflow {
    to{
        overflow: initial;
    }
}

@keyframes remove-data {
    0%{
        transform: translateY(-7rem);
    }
    50%{
        transform: translateY(-10rem);
    }
    100%{
        transform: translateY(.5rem);
    }
}

@keyframes show-overflow {
    0%{
        overflow: initial;
        pointer-events: none;
    }
    50%{
        overflow: hidden;
    }
}

.more-button {
    height: 100px;
    width: 100%;
    border-radius: 1.5rem;
    border: none;
    background-color: #FFF;
    font-size: 20px;
    box-shadow: 0 4px 16px hsla(29, 75%, 8%, .2);
}

.link-button {
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
    color: black;
    padding: 6px;
}

.footer-img svg {
    height: 30px;
}

.footer-link {
    color: #2F3D8E;
}

.logo {
    height: 70px;
}

.ofsted {
    height: 70px;
}

@media(width > 320px) {
    .ofsted {
        height: 70px;
    }
}

@media (width < 768px) {
    .in-touch a,  .logo img {
        margin-bottom: 10px;
    }

    .logo img {
        margin-top: 10px;
    }
}

@media (width >= 768px) and (width <= 1024px) {
    .footer-img svg {
        margin-top: 10px;
    }
}

.mission-section {
    border-top: 2px solid black;
    border-bottom: 2px solid black;
    padding-top: 64px;
}

.container h2 {
    position: relative;
    font-size: 28px;
    line-height: 48px;
    color: #000;
    margin-bottom: 60px;

    @media (width >= 768px) {
      font-size: 36px;
      line-height: 60px;
      letter-spacing: 0.15px;
    }
}

.container h2::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -5px;
    width: 100px;
    height: 5px;
    background: #3081BA;
}

.contact {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 30px;

    @media (width <= 768px) {
        display: flex;
        flex-direction: column;
    }
}

.contact-form {
    text-align: left;
}

.contact-form h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

input, textarea {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #061f31;
    background-color: #fff;
    color: #061f31 !important;
    margin-bottom: 20px;
}

input:focus,
textarea:focus {
    outline: none;
    box-shadow: 0 4px 16px hsla(0, 0%, 0%, 0.2);
}

.contact-btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: #fff;
    border: 1px solid #061f31;
    color: #061f31;
    cursor: pointer;
    transition: 0.3s ease;
    text-align: center;
}

.contact-btn:hover {
    background-color: #061f31;
    color: #fff;
    border-radius: 8px;
}

.book-btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: #061f31;
    border: 1px solid #fff;
    color: #fff;
    cursor: pointer;
    transition: 0.3s ease;
}

.book-btn:hover {
    border: 1px solid #061f31;
    background-color: #fff;
    color: #061f31;
    border-radius: 8px;
}

.contact-info {
    text-align: center;
}

.contact-info h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 10px;
    color: #061f31;
}

.contact-info svg {
    color: #061f31;
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.2s ease-in, transform 0.2s ease-in;
}

.fade-in.show {
    opacity: 1;
    transform: translateY(0);
}

.photo-gallery {
    display: flex;
    gap: 20px;

    @media(width <= 768px) {
        flex-direction: column;
    }
}

.column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.photo img {
    width: 100%;
    height: 100%;
    border-radius: 5px;
    object-fit: cover;
}

.badge-styles {
    background-color: #DBEAFE;
}

.consultancy-header {
    font-size: 54px;
    font-weight: 500;
}

.consultant-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
}

@media(width < 768px) {
    .right-section {
        padding-top: 20px;
    }
}

  .btn-contact {
    display: flex;
    justify-content: center;
    padding: 12px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 500;
  }

  .notice-section {
    border-top: 1px solid black;
  }

  .placeholder-img {
    width: 100%;
    height: 500px;
    border-radius: 16px;
  }
  
  .badge-box {
    position: relative;
  }

  .inner-section {
    box-shadow: 0 8px 24px hsla(0, 0%, 0%, .15);
    border-radius: 8px;
    padding: 20px;
    margin: 10px 0;
  }

  .circular-img {
    background-color: #DBEAFE;
    height: 60px;
    width: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .pricing-section {
    background-color: #F6FAFE;
    padding: 40px;
  }

  @media(width > 768px) {
    .pricing-section {
        padding: 60px;
        justify-items: center;
    }
  }
  
  .pricing-h3 {
    font-size: 36px;
    font-weight: 700;
  }

.pricing-p {
    font-size: 18px;
}

.start-mentoring-section {
    border-radius: 16px;
    border: 1px solid #eee;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: center;
    padding: 20px;
}


.mentoring-img img {
    width: 200px;
    height: 200px;
    object-fit: cover;
}

.mentoring-h6 {
    font-size: 20px;
    font-weight: 600;
    padding-top: 22px;
}

.amount-span {
    font-size: 30px;
    font-weight: 700;
    line-height: 36px;
}

.payment-period {
    font-size: 16px;
}

.criteria {
    font-size: 12px;
    color: #6B7280;
}

.package-feature li {
    font-size: 14px;
    color: #4B5563;
}

.growth-mentoring-section {
    border-radius: 16px;
    border: 1px solid #061f31;
    box-shadow: 0 8px 24px hsla(0, 0%, 0%, .15);
    display: flex;
    justify-content: center;
    padding: 20px;
}

.one-off-section {
    padding: 40px;
}

@media(width > 768px) {
    .one-off-section {
        padding: 60px;
    }
}

.session-cards {
    height: 400px;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 8px 24px hsla(0, 0%, 0%, .15);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

@media (width >= 1024px) {
    .session-cards {
        height: 300px;
    }
}

@media only screen and (min-width: 375px) and (max-width: 768px) {
    .session-cards {
        height: 300px;
    }
}

@media (width >= 768px) {
    .session-cards {
        height: 400px;
    }
}

.session-p {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.session-amount {
    font-size: 24px;
    font-weight: 700;
}

.session-amount span {
    font-size: 10px;
    color: #6b7280;
}

.session-btn {
    border-radius: 8px;
    background-color: #061f31;
    color: #fff;
    border: none;
    padding: 10px;
}

.booking-modal-title {
    font-size: 32px;
}

.summary-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f0f0f0;
}

  .summary-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.summary-item h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 600;
  }
