html {
    scroll-behavior: smooth;
}

/* ================================
   Welcome Section
   ================================ */
   
@media (max-width: 300px) {
  
   .pt-900, .py-900 {
    padding-top: 300px;
}
  }  
  

  
 @media (max-width: 640px) {
  
   .pt-900, .py-900 {
    padding-top: 350px;
}  
  }  
  
@media (min-width: 768px) {
  
   .pt-900, .py-900 {
    padding-top: 490px;
}
  
  }  
  
 @media screen and (max-width: 991px) {
    .video-container ,img {
    max-width: 100%;
    height: auto;
}
    }

  
@media (min-width: 992px) {
  
   .pt-900, .py-900 {
    padding-top: 400px;
}
    .video-container {
        margin-bottom:0px;
    }
  }  
  
@media (min-width: 1100px) {
  
   .pt-900, .py-900 {
    padding-top: 740px;
}

  } 
  
  @media (min-width: 1280px) {
  
   .pt-900, .py-900 {
    padding-top: 540px;
}
  } 
  
   @media (min-width: 1381px) {
  
   .pt-900, .py-900 {
    padding-top: 550px;
}
  }
 
    @media (min-width: 1366px) {
  
   .pt-900, .py-900 {
    padding-top: 550px;
}
  } 
  
    @media (min-width: 1600px) {
  
   .pt-900, .py-900 {
    padding-top: 650px;
}
  }
  
  @media (min-width: 1620px) {
  
   .pt-900, .py-900 {
    padding-top: 640px;
}
  } 
  
    @media (min-width: 1919px) {
  
   .pt-900, .py-900 {
    padding-top: 730px;
}
  } 


  
 @media (min-width: 3100px) {
  
   .pt-900, .py-900 {
    padding-top: 770px;
}
  }
  
   @media (min-width: 4480px) {
  
   .pt-900, .py-900 {
    padding-top: 1470px;
}

  }
  
  
   /*style for backgound */
#process{
    background: url(./assets/images/bg-01.webp) !important;
    display: flex;
    justify-content: center !important;
    align-items: center !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
}
/*style for youtube video*/
.video-container {
    width: 100%;
    height: auto;
    overflow: hidden;
    object-position: top;
}
.video-container .youtube-video {
    width: 100%;
    object-fit: contain; 
}

/* Container for the welcome section with background image */
/* .welcome-container {
    position: relative;
    display: flex;
    flex-direction: column;
    height: calc(100vh - 143px);
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
} */

/* Styling for the welcome text */
/* .welcome-text {
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    flex: 0 0 25%;
    color: #092F57;
    text-align: center;
    font-size: 8rem;
    font-family: 'Apercu Pro', sans-serif;
    font-weight: 600;
    bottom: -40px;
    position: relative;
    z-index: 1;
} */

/* Arrow image inside the welcome container */
/* .welcome-container a.arrow img {
    width: 25px;
    position: relative;
    z-index: 1;
} */

/* Paragraph styling for dimension text */
p.dimensions {
    /* padding-top: 100px; */
    margin-bottom: 10px;
    z-index: 1;
    color: #092F57;
}

/* ================================
   About us page
   ================================ */
/* Styling for the about us right sidebar menu links */
.lqd-fancy-menu.lqd-custom-menu.menu-items-has-border.lqd-menu-td-none.relative {
    text-transform: uppercase;
}

/* Styling for banner section in about us page */
section.hero {
    width: 62%;
    margin: 0 auto;
}

/* Banner heading section*/
section.hero .ld-fancy-heading {
    position: absolute;
    top: 264px;
    left: 100px;
    z-index: 99;
}

/* About us right sidebar menus section*/
#at {
    scroll-margin-top: 27vh !important; 
}
#vm {
    scroll-margin-top: 20vh !important; 
}
#team {
    scroll-margin-top: 25vh !important; 
}
#fd{
    scroll-margin-top: 27vh !important;  
}
.right-icon.icon-push-to-edge {
    position: absolute;
    width: 100%;
}

/* ================================ */

/* ================================
   Header
   ================================ */
/* Styling for the logo in the header */
header span.navbar-brand-inner img.img-fluid {
    height: 120px;
    width: 300px;
}
.module-logo.py-45{
    padding: 30px 0px !important;
}
ul.main-nav>li.menu-item>a {
    padding: 20px;
}
ul.main-nav>li.menu-item>a span:hover {
    color: var(--lqd-color-primary);
}
.right-scroller {
    width: 70px;
}

/* Mobile menu section */
.submenu-expand {
    display: flex;
    width: 36px;
    height: 36px;
    flex: 0 0 auto;
    margin-inline-start: auto;
    border-radius: 3px;
    align-items: center;
    justify-content: center;
    z-index: 3;
    font-size: 18px;
}
.lqd-mobile-sec .submenu-expand {
    top: 10px;
    right: 25px;
}
.submenu-expand::before {
    content: '\ea2f';
    display: inline-flex;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    align-items: center;
    justify-content: center;
    font: normal 1em/1 lqd-essentials;
    transition: transform 0.3s ease;
}

/*red color on hover submenus*/
.submenu .submenu-item a:hover{
    /* background-color: var(--lqd-color-primary); */
    color: var(--lqd-color-primary);
}
.menu-item a.menu-name span::first-letter {
    text-transform: lowercase;
    font-weight: 900;
    font-size: 30px;
}


/*   =================================
     Desktop Left menu CSS under 1200px
     ================================= */
.left-menu li > a .submenu-expand {
    left: 270px;
}
.left-menu li {
    padding: 15px 25px;
    margin-bottom: 0;
}
.left-menu li>a:hover{
    color: var(--lqd-color-primary);
}
/*  ============================== */

/*  ==============================
    Mobile menu CSS
    ============================== */

.mobile-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s ease, opacity 0.6s ease;
    opacity: 0;
    list-style: none;
    padding-left: 20px;
}
.mobile-submenu li {
    padding: 8px 15px;
    color: #ccc;
}
.mobile-submenu a:hover {
    color: #fff;
}

/* Rotate arrow when submenu is open */
li.active .submenu-expand::before {
    transform: rotate(180deg);
}

/* Show submenu when active */
li.active .mobile-submenu {
    max-height: 500px;
    opacity: 1;
}

/* margin to last menu */
ul#mobile-primary-nav a:last-child {
    margin-top: 20px;
}
/* ================================ */

/* ================================
   Animation CSS
   ================================ */
/* 
.welcome-container {
    background: linear-gradient(315deg, #51595b28 93%, #7f877e2f 98%, #74788027 68%, #6f67671c 98%);
    animation: gradient 15s ease infinite;
    background-size: 600% 600%;
    background-attachment: fixed;
}

.wave-container {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 70%; 
    overflow: hidden;
    z-index: 1;
}

@keyframes gradient {
    0% { background-position: 0% 0%; }
    50% { background-position: 100% 100%; }
    100% { background-position: 0% 0%; }
}

.wave {
    background: rgba(0, 0, 0, 0.100);
    border-radius: 700% 200% 0% 0%;
    position: absolute;
    width: 300%;
    height: 90%;
    animation: wave 10s -3s ease-in-out infinite;
    transform: translate3d(0, 0, 0);
    opacity: 1;
    bottom: 0;
    left: 0;
    z-index: -1;
}
.wave:nth-of-type(2) {
    bottom: -1em;
    animation: wave 14s ease-in-out reverse infinite;
    opacity: 0.7;
}

.wave:nth-of-type(3) {
    bottom: -2em;
    animation: wave 16s ease-in-out infinite;
    opacity: 0.6;
}

.wave:nth-of-type(4) {
    bottom: -3em;
    animation: wave 18s ease-in-out reverse infinite;
    opacity: 0.5;
}

.wave:nth-of-type(5) {
    bottom: -4em;
    animation: wave 20s ease-in-out infinite;
    opacity: 0.4;
}
@keyframes wave {
    0% { transform: translateX(0); }
    25% { transform: translateX(-25%); }
    50% { transform: translateX(-50%); }
    75% { transform: translateX(-25%); }
    100% { transform: translateX(0); }
}
 */

/* ================================ */


/* ================================
   Media Queries
   ================================ */
/* CSS for large screens (width >= 992px) */
@media screen and (min-width: 992px) {

    /* Hide slider menu link text inside the banner */
    #banner .lqd-vslider-menu .lqd-webgl-slideshow-link .inline-flex {
        display: none;
    }

    /*Center-align the studio logos*/
    .clients .container{
        max-width: 100%;
    }
    .clients{
        margin:0px;
    }
    .clients .container .items-center .col-md-3 {
        flex: 0 0 auto;
        width: 15%;
    }
    .clients .items-center {
        justify-content: space-evenly;    
        align-items: center;
        gap: 20px;
    }
    .clients .container{
        width:unset !important;
    }
    /* Footer Carousel */
    body.page-about section.lqd-section.carousel-image {
        margin-top: -11%;
        bottom: -210px;
    }
    body.page-about footer.main-footer .module-top {
        padding-top: 3% !important;
    }

    /* ================================
   Main Navigation
   ================================ */
    /* Hide all submenus initially */
    .main-nav .submenu {
        display: none;
        position: absolute;
        background-color: #F9F9F9;
        list-style: none;
        text-align: left;
        padding: 10px 0;
        margin: 0;
        border: 1px solid #ddd;
        z-index: 1;
        box-sizing: border-box;
        white-space: nowrap;
    }

    /* Target the last li that has a submenu inside the main navigation ul */
    .main-nav > li.menu-item:last-of-type ul.submenu {
        right: 0;
    }

    /* Show the submenu on hover of the parent menu item */
    .menu-item:hover>.submenu {
        display: flex;
        margin-top: 105px;
        flex-direction: column;
        flex-wrap: wrap;
    }
    .menu-item:not(:first-child)>a::after {
        content: "";
        display: inline-block;
        margin-left: 1px;
        width: 12px;
        height: 12px;
        background-image: url('../images/arrow-down-sign-to-navigate.png');
        /* path to down arrow image */
        background-size: contain;
        background-repeat: no-repeat;
        transition: transform 0.3s ease;
    }
    .menu-item:not(:first-child):hover>a::after {
        transform: rotate(180deg);
        /* rotate arrow 180 degrees on hover */
    }

    /* Ensure the submenu aligns properly under the parent menu item */
    .menu-item {
        position: relative;
        justify-content: center;
        flex-direction: row !important;
    }

    /* Style submenu items */
    .submenu-item {
        padding: 5px 20px;
        white-space: nowrap;
    }

    /* Change background color of submenu items on hover */
    .submenu-item:hover {
        background-color: #F0F0F0;
        cursor: pointer;
    }
}

/* Utility class to remove elements */
.d-none {
    display: none !important;
}

/* Utility class to remove elements */
.visually-hidden {
    visibility: hidden !important;
    opacity: 0 !important;
}
.banner-text{
    color: #ffab40;
    font-size: 65px;
    line-height: 42px;
    text-transform:uppercase;
    font-stretch: condensed;
    font-family: system-ui;
}

@media screen and (min-width: 992px) and (max-width: 1500px) {
    .menu-item:not(:first-child)>a::after {
        margin-left: 0px;
        width: 6px;
        height: 6px;
    }
    #site-header .justify-end{
        padding: 0px;
    }
    #site-header .justify-start{
        padding: 0px;
    }
    .main-nav>li>a {
        padding: 10px 8px !important;
    }

    /*header logo height width*/
    header span.navbar-brand-inner img.img-fluid {
        height: 110px;
        width: 240px;
    }
    /*About us page Who We Are text on banner*/
    section.hero .ld-fancy-heading {
        position: absolute;
        top: 100px;
        left: 30px;
        z-index: 99;
    }
}
/* CSS for small devices (width b/w 1200px to 1280px) */
@media screen and (min-width: 1500px) and (max-width: 1600px) {
    ul.main-nav>li.menu-item>a {
        padding: 20px 14px !important;
    }
}

/* CSS for small devices (width b/w 1200px to 1280px) */
@media screen and (min-width: 1200px) and (max-width: 1280px) {
    #site-header .pl-125 {
        padding-left: 110px;
    }
}

/* CSS for small devices (width <= 767px) */
@media screen and (max-width: 767px) {

    /* Adjust welcome text size and padding for small screens */
    .welcome-text {
        font-size: 4rem;
        padding: 50px 40px;
    }

    /* Adjust font size for dimension paragraph on small screens */
    p.dimensions {
        font-size: 13px;
    }

    .col-12 .lqd-lp-grid .lqd-lp-row.row.-mx-10 .lqd-lp-column{
        position: static !important ;
        height: 200px;
    }
    .lqd-overlay {
        height: 200px;
    }
    #banner {
        scroll-margin-top: 120px !important;
    }

    /*****************/

    /*Partners carousal styling  */
    .carousel-item-inner.inner-image{
        height: 90px !important ;
        width: 180px !important;
    }
    .partner-carousal{
        height: 130px !important;
    }

}
p{
    text-align: justify;
    }

.text-white {
    color: white !important;
}
.theme-color {
    color: #092f57 !important;
}
.alfaisal-edu {
    width: 100%;
    font-size: 12px;
    text-align: end;
    background: #f8f9f8;
    position: absolute;
    padding: 3px;
    z-index: 3;
    left:0px;
    padding-right: 80px;
    text-decoration: underline;
}
.right-arrow{
    width:28px;
    height:18px;
    padding-right:5px;
}
.more-btn {
    text-align: end;
}
.more-btn .btn {
    border: none;
}
.f-weight-600 {
    font-weight: 600;
}
.text-45 {
    font-size: 45px !important;
}
.text-32 {
    font-size: 32px !important;
}

/* ================================
   Media Queries
   ================================ */
/* CSS for large screens (width 992px to 1200px) */

/* To fix Header Enroll cropping issue*/
@media screen and (min-width: 992px) and (max-width: 1200px) {

    /*style for youtube video*/
    .video-container {
        width: 100%;
        height: unset;
        aspect-ratio: 16 / 9;
    }
    .video-container .youtube-video {
        width: 100%;
        object-fit: contain; 
    }
    #site-header .justify-end{
        justify-content: center;
        padding: 0px;
    }
    #site-header .justify-start{
        padding: 0px;
    }
    .main-nav>li>a {
        padding: 10px 7px !important;
    }

    /*hide the left navbar under device width 1200*/
    .ld-module-sd.header-module-rotate.ld-module-sd-hover.ld-module-sd-right.py-10 {
        display: none;
    }

    .banner-text {
        font-size: 60px !important;
    }
    .menu-item a.menu-name span::first-letter {
        font-size: 16px;
    }
}

/* ================================
   Media Queries
   ================================ */
/* CSS for large screens (width =<= 992px) */

@media screen and (max-width: 991px) {
    /* Banner section on Homepage */
    #banner {
        scroll-margin-top: 150px;
    }

    /* mobile header css */
    .is-stuck {
        background: white;
    }

    /* Right nav bar alfaisal button */
    .alf-mob-menu {
        width: fit-content;
        position: absolute;
        top: -37px;
        margin-left: 40px;
        padding: 4px 10px;
        font-size: 14px;
    }

    /* Welcome section */
    .welcome-container {
        height: calc(100vh - 90px);
    }

    /*style for youtube video*/
    .video-container {
        width: 100%;
        height: unset;
        aspect-ratio: 16 / 9;
    }
    .video-container .youtube-video {
        width: 100%;
        object-fit: contain; 
    }
    /*about us page heading section*/
    section.hero .ld-fancy-heading {
        position: absolute;
        top: 68px;
        left: 10px;
        z-index: 99;
    }
    .background-section {
        height: 248px !important;
    }

    /*news page styling */
    .col.col-lg-6.col-md-10.col-12.offset-lg-0.offset-md-1.offset-0 {
    margin-top: 40px;
    text-align: center;
    }
    .col.col-lg-6.col-md-10.col-12.offset-lg-0.offset-md-1.text-end.offset-0 {
        order: 1;
    }
    .col.col-xl-6.col-lg-6.col-12 {
        order: 2;
    }

    /*New pages banner text*/
    .banner-text {
        font-size: 56px !important;
        /* line-height: 50px !important; */
    }
}

/* ================================
   Media Queries
   ================================ */
/* CSS for large screens (width =< 768px) */

/* Media queries for devices with a max-width of 768px */
@media screen and (max-width: 768px) {

    /* studio logo responsivness */
    figure.studio-logo img {
        width: 224px;
    }

    /* Ensure tab navigation doesn't wrap */
    .lqd-tabs-style-3 .lqd-tabs-nav {
        flex-wrap: nowrap !important;
    }

    /* To add left padding in text in Newsroom section */
    /* Newsroom text limited to 3 lines */
    .lqd-lp-style-14 h2.lqd-lp-title {
        font-size: 20px;
        padding-left: 7px;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
        line-clamp: 3;
        overflow: hidden;
        text-overflow: ellipsis;
        max-height: calc(3* 1.2em);
        line-height: 1.2em;
        color: white;
    }

    /* Center content within the specified container */
    .contents {
        text-align: center;
    }

    /* Adjust alignment for .text-start class */
    .text-start {
        align-items: center;
    }

    /* Reduce font size for h5 inside a specific span structure */
    span.contents.flex.flex-col.relative.z-2 h5 {
        font-size: 20px;
    }

    /* Reduce h1 font size on mobile devices */
    h2.text-45 {
        font-size: 40px !important;
    }

    /* Adjust width for .md\:w-40percent class */
    /* .md\:w-40percent { */
    .carousel-image .carousel-item {
        width: 66%;
    }
    .text-65 {
        font-size: 55px;
    }

    /*At Dimension font size fixed for mobile*/
    .lqd-vslider-ext h2 {
        font-size: 70px !important;
    }

    /* To add the gap between text and the right slidebar on mobile screen  */
    .about-us .container .row.items-center {
        gap: 25px;
    }
    .offset-md-1 {
        margin-left: 0% !important;
    }
    h4.ld-fh-element.mb-0\/5em.text-26.font-normal.sm\:mb-0 {
        margin: 10px 0px;
    }
    header span.navbar-brand-inner{
        height: 116px;
        width: 260px;
    }
    header a.text-start.navbar-brand {
        padding: 0px;
    }
    .banner-text {
        font-size: 45px !important;
        line-height: 50px !important;
    }
    .sub-heading{
        font-size: 20px !important;
    }
    /*About page Who We Are section */
    section.hero {
        width: 100%;
        margin: 0 auto;
    }
    section.hero .ld-fancy-heading {
        position: absolute;
        top: 68px;
        left: 19px;
        z-index: 99;
    }

    .main-container{
        margin-top:unset !important;
    }

    /*News page styling */
    .news-article .container .row.justify-between{
        justify-content: center;
    }

    /*FAQ page styling*/
    .faq-question {
        font-size: 10px !important;
    }
    .faq-answer {
        font-size: 14px !important;
    }
    .mt-3em{
        margin: 70px 0px !important;
    }

    /*Carousal styling for student and partners page*/
    /* .carousel-item-inner.inner-image{
        height: 90px ;
        width: auto ;
    } */
    .para-carousal {
        width: 100% !important;
    }
    .line-container{
        display: none;
    }
}

/* ================================
   Media Queries
   ================================ */
/* CSS for large screens (width =< 480px) */

/* Media queries for devices with a max-width of 480px */
@media screen and (max-width: 480px) {

    /* Further reduce font size for h5 */
    span.contents.flex.flex-col.relative.z-2 h5 {
        font-size: 15px;
    }
    /* Further reduce h1 font size */
    h2.text-45 {
        font-size: 34px !important;
    }
    /* Reduce font size for h2 */
    h2.text-22 {
        font-size: 18px;
    }
    /* Adjust paragraph font sizes */
    p.text-22 {
        font-size: 18px;
    }
    p.text-24 {
        font-size: 20px;
    }
    /* Adjust width for .md\:w-40percent class */
    .carousel-image .carousel-item {
        width: 80%;
    }
    /* Further reduce large text */
    .text-65 {
        font-size: 45px;
    }
    /*At Dimension font size fixed for mobile*/
    .lqd-vslider-ext h2 {
        font-size: 58px !important;
    }
    /*To fix text overlapping on AT Dimensions section*/
    ul li.pt-4rem {
        padding-top: 2rem;
    }
    #banner {
        scroll-margin-top: 100px !important;
    }
}

/* ================================
   Media Queries
   ================================ */
/* CSS for large screens (width =< 360px and => 600px) */

@media screen and (min-width: 360px) and (max-width: 600px) {
    #banner {
        scroll-margin-top: 90px !important;
    }
}
/* ================================
   Styling for new pages
   ================================ */
/* New page styling */

.sub-heading{
    color: #fff;
    font-size: 24px;
    font-weight: 400;
    word-spacing:4px;
}

/*Banner brightness styling*/
figure.row-bg.absolute.-top-5.-right-5.-bottom-5.-left-5.bg-no-reapet.bg-cover.bg-center {
    filter: brightness(70%);
}

/* ================================
   News page styling
   ================================ */
/* CSS for pagination */

.article-container {
    display: flex;
    flex-wrap: wrap;
}
.news-article {
    display: none;
    width: 100%;
    padding: 50px 0px;
}
.pagination {
    margin: 20px 0px 70px 0px;
    text-align: center;
}
.carousel-btn {
    width: 40px;
    margin: 5px;
    padding: 5px 10px;
    background-color: #cee0f3;
    color: white;
    border: none;
    cursor: pointer;
}
#nextBtn,#prevBtn{
    width:100px;
}
.carousel-btn.active {
    background-color: #092f57;
}
/*End pagination */

.main-container{
    margin-top: 80px;
}
.background-section{
    width:100%;
    height: calc(300px + (812 - 300) * ((100vw - 992px) / (2560 - 992)));
    background-color: #ffab40;
    position: absolute;
    overflow: hidden;
}
.background-section img{
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: auto;
    max-width: 100%;
}
.text-end{
    text-align: end;
}

/* ===============================================
   Partners & students-spotlight page styling
   =============================================== */
/* CSS for carousal  */

.carousal-div .text-container{
    padding: 50px;
    font-size: 22px;
    font-family:;
}
.carousal-div{
    margin-bottom: 40px;
}
.partners-carousel section{
    position: relative !important;
}
.img-carousel{
    width: 100%;
    height:340px;
    border: solid rgba(153, 153, 153, 0.349) 1px;
    border-radius: 5px;
    object-fit: contain;
}

/*partners page text styling */
.para-carousal{
    font-size: 20px;
    line-height: 1em;
    color: black;
    width:70%;
}
.heading-text{
    margin-bottom: 40px;
}
.full-line{
    margin-left: 10px;
    display: inline-block;
    width: 88%;
    border-bottom: solid black 1px;
    margin-bottom: 4px;
}

/*carousal partner logo styling */
.carousel-item.has-width.items-center.has-one-child.w-25percent.px-15.mx-15.md\:w-40percent.align-items-center{
    mix-blend-mode: color-burn;
}
.carousel-item-content.flex-grow-1{
    border: solid rgba(153, 153, 153, 0.349) 1px;
    border-radius: 5px;
}
.carousel-item-inner.inner-image{
    height: 190px ;
    width: auto ;
}
.image-gallery{
    justify-content: center;
}
.single-image img{
    height: auto !important;
    width: 350px !important;
}
/* ================================
   FAQ page styling
   ================================ */
/* CSS for FAQ page */

.faq-question {
    letter-spacing: .05em;
    color: #ff4337;
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 1em;
    text-transform: uppercase;
}
.faq-answer {
    margin-top: 10px;
    word-wrap: break-word;
    font-size: 18px;
    color: #000000
}
.faq-answer a {
    color: #000000; 
    text-decoration: none;
    text-decoration: underline;
}
.faq-answer a:hover {
    text-decoration: underline;
}
.mt-3em{
    margin: 100px 0px;
}



li.mb-10 span::first-letter {
    text-transform: lowercase;
    font-weight: 900;
    font-size: 25px;
	color: white;
}