/* ========== // Globle // ========== */
:root {
    --primary: #ef5b70;
    --secondary: #73CDE1;
    --yellow: #f7eb61;
    --brand: #7C3B47;
    --orange: #f7a480;
    --font-body: 'Circe Rounded';
    --font-heading: 'BubbleGum';
}

.text-primary {
    color: var(--primary) !important;
}

.text-secondary {
    color: var(--secondary) !important;
}

.text-yellow {
    color: var(--yellow) !important;
}

.text-brand {
    color: var(--brand) !important;
}

.bg-yellow {
    background-color: var(--yellow) !important;
}

.bg-primary{
    background-color: var(--primary) !important;
}

.bg-secondary {
    background-color: var(--secondary) !important;
}

.bg-brand {
    background-color: var(--brand) !important;
}

.bg-orange{
    background-color: var(--orange) !important;
}

button:focus {
    box-shadow: none;
    border: none;
    outline: none;
}

img {
    max-width: 100%;
}

img#soci {
    max-width: 30px;
}

section {
    padding: 50px 0;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

a {
    color: var(--primary);
}

.close {
    opacity: 1 !important;
}

ul{
    padding: 0;
    margin: 0;
    list-style: none;
}

p{
    margin-bottom: 10px;
}

/* ----- Form ----- */

.btn-primary.focus, 
.btn-primary:focus,
.btn-primary:not(:disabled):not(.disabled).active:focus, .btn-primary:not(:disabled):not(.disabled):active:focus, .show>.btn-primary.dropdown-toggle:focus{
    outline: none;
    box-shadow: none;
    background-color: var(--brand);
}

.btn.btn-primary{
    background-color: var(--brand);
    border: none;
    padding: 10px;
    border-radius: 355px 45px 225px 75px/15px 225px 15px 255px;
    color: #fff;
    transition: all 0.5s ease-in;
    box-shadow: 5px 5px 0 rgba(124, 59, 71, 0.3);
    min-width: 125px;
    min-height: 50px;
}

.btn.btn-primary:hover{
    color: var(--dark);
    background-color: var(--yellow);
}

.form-control,
.form-control:focus{
    box-shadow: 5px 5px 0 #D7D4B9;
    min-height: 50px;
    border-radius: 10px;
    border: 1px solid #ddd;
}

.form-control::placeholder{
    color: #999;
    font-weight: normal;
}

.form-control:focus{
    box-shadow: 5px 5px 0 var(--yellow);
}

/* ========== // Typography // ========== */
body {
    font-family: var(--font-body);
    font-size: 16px;
    color: #333;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
}

.main-discr {
    font-size: 18px;
    font-weight: bold;
}

/* ========== // Custom Fonts // ========== */
@font-face {
    font-family: 'BubbleGum';
    src: url(../fonts/Bubblegum.ttf);
}

@font-face {
    font-family: 'Circe Rounded';
    src: url(../fonts/CirceRounded-Regular.otf);
}

.font-body {
    font-family: var(--font-body) !important;
}

.font-heading {
    font-family: var(--font-heading) !important;
}

.animate-img img{
    filter: drop-shadow(0 3px 6px rgba(0,0,0,0.1));
}

/* ========== // Header // ========== */

.logo {
    max-width: 100px;
}

header{
    height: 98px;
}

/* ----- Nav ----- */
#mainNav{
    background-color: #fff;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

#navbarResponsive ul li a i {
    color: var(--yellow);
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease-in-out;
    position: absolute;
    left: -15;
}

#navbarResponsive ul li a {
    color: #252525;
    padding: 7px 5px;
    font-size: 16px;
    letter-spacing: 1px;
    position: relative;
}

#navbarResponsive ul li:not(:last-child) a{
    margin-right: 20px;
}

#navbarResponsive ul li a:after{
    content: "";
    width: 0;
    height: 7px;
    position: absolute;
    left: 0;
    top: 55%;
    background-color: var(--yellow);
    transition: all 0.2s ease-in-out;
    z-index: -9;
}

#navbarResponsive ul li a:hover:after,
#navbarResponsive ul li a.active:after{
    width: 100%;
}

/* ========== // Hero Section // ========== */
.hero {
    background-color: var(--yellow);
    min-height: calc(100vh - 98px);
}

.hero .animate-img span {
    display: flex;
    position: absolute;
    top: 0;
}

.hero .animate-img span:nth-child(1) {
    margin-left: 12%;
}

.hero .animate-img span:nth-child(2) {
    margin-left: 20%;
}

.hero-content ul{
    margin-bottom: 15px;
}

/* ========== // About Section // ========== */
.about{
    padding-top: 95px;
}

.about-content {
    max-width: 900px;
    margin: auto;
}

.about .animate-img img{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: auto;
    max-width: 90%;
}

/* ========== // Programme Section // ========== */
.programme {
    flex-direction: column;
    justify-content: center;
}

.programme-top .container {
    background-image: url(../images/programme/programme-img5.png);
    background-repeat: no-repeat;
    background-position: right top;
}

.programme .animate-img {
    position: absolute;
    top: 0;
    width: calc(100% - 30px);
    max-width: 1140px;
    text-align: right;
}

/* ----- Programme bot ----- */
.tab-pane{
    padding: 40px;
    color: #fff;
    border-radius: 10px;
    background-color: var(--primary);
    box-shadow: 5px 5px 0 #D7D4B9;
    margin-top: 10px;
}

.tab-pane[aria-labelledby="school-program"]{
    background-color: var(--secondary);
}

.tab-pane[aria-labelledby="corporates"]{
    background-color: #f58251;
}

#nav-tab{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
    border: none;
    grid-gap: 10px;
}

#nav-tab > a{
    font-size: 20px;
    border: none;
    border-radius: 10px;
    color: #000000;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    box-shadow: 5px 5px 0 #D7D4B9;
}

#nav-tab > a.active#school-program{
    background-color: var(--secondary);
}

#nav-tab > a.active#corporates{
    background-color: #f58251;
}

#nav-tab > a.active{
    background-color: var(--primary);
    color: #fff;
}

#owl-demo{
    margin-top: 20px;
    text-align: center;
    max-width: calc(100% - 100px);
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
}

#owl-demo .item{
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 160px;
    background-color: #fff;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 5px 5px 0 #D7D4B9;
}

#owl-demo .item img{
    max-height: 50px;
    margin: 0 auto;
}

#owl-demo .item span{
    min-height: 70px;
    display: flex;
    align-items: center;
}

#owl-demo .item p{
    font-size: 16px;
}

.owl-wrapper{
    padding-top: 15px;
    padding-bottom: 15px;
}

.owl-wrapper .owl-item .item{
    margin-right: 15px;
}

.owl-prev,
.owl-next{
    width: 50px;
    height: 50px;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    margin: auto !important;
    transform: translateX(-50px);
    background-color: #fff !important;
    opacity: 1 !important;
    box-shadow: 3px 3px 0 #D7D4B9;
}

.owl-next{
    right: 0;
    left: inherit;
    transform: translateX(50px);
}

.owl-prev:before{
    content: url(../images/left-arrow.svg);
    display: flex;
    margin-top: 5px;
}

.owl-next:after{
    content: url(../images/right-arrow.svg);
    display: flex;
    margin-top: 5px;
}

/* ========== // Why us Section // ========== */
.why{
    padding-top: 80px;
    background-color: #F8F5E3;
}

.why .animate-img img{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: auto;
    max-width: 90%;
}

.why-box{
    background-color: #fff;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all 0.5s ease-in-out;
    box-shadow: 5px 5px 0 #D7D4B9;
}

.why-box img{
    max-width: 70px;
}

.why-box p{
    margin-bottom: 0;
    margin-top: 15px;
    font-weight: bold;
    font-size: 20px;
    max-width: 205px;
}

/* ========== // Register Section // ========== */
.child-box{
    text-align: center;
    min-height: 150px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 230px;
    margin: auto;
}

.child-box p{
    font-size: 14px;
    margin-top: 15px;
}

.child-box h5{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.child-box.child-box-mid{
    max-width: initial;
}

/* ========== // Contact Section // ========== */

.contact{
    background-color: #F8F5E3;
}

.contact-details{
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    grid-gap: 10px;
    margin-bottom: 15px;
    background-color: #fff;
    border-radius: 10px;
    height: 100%;
    justify-content: center;
    text-align: center;
    padding: 25px 40px;
    box-shadow: 5px 5px 0 #D7D4B9;
    font-size: 18px;
}

.contact-details a{
    color: #252525;
    word-break: break-all;
}

.contact-details img{
    width: 45px;
}

iframe{
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 7px 7px 0 #D7D4B9;
}

.text-add{
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 7px 7px 0 #D7D4B9;
    margin-top: 20px;
}

/* ----- Footer ----- */
footer a{
    color: var(--yellow);
    text-decoration: underline;
}

footer a:hover{
    color: var(--secondary);
    text-decoration: underline;
}

.social-icon a img{
    max-width: 24px;
}

/* ----- Gallery ----- */
.gallery-sec{
    padding-top: 80px;
    padding-bottom: 80px;
    background-color: var(--yellow);
}

.gallery-sec .animate-img img{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: auto;
    max-width: 90%;
}

.gallery-box{
    display: grid;
    grid-template-columns: 23% auto 23%;
    grid-gap: 30px;
    align-items: center;
    margin-top: 30px;
}

.gallery-box img{
    border-radius: 130px 35px 100px 35px/15px 225px 15px 255px;
    box-shadow: 7px 7px 0 rgba(0,0,0,0.2);
}

.gallery-box-2{
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 30px;
}

.gallery-container{
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 25px;
    padding-right: 25px;
}

/* ----- 404 Page ----- */
.page-404{
    min-height: 75vh;
}

.page-404 h1{
    font-size: 12em;
    color: var(--brand);
    font-family: inherit;
    font-weight: bold;
}

.page-404 h4{
    font-size: 5em;
    font-family: inherit;
    font-weight: bold;
    margin-bottom: 30px;
}

/* ----- Responsive ----- */
@media (min-width: 768px){
    .child-box-mid{
        margin: -25px;
    }

    .programme-bot-inner{
        background: var(--yellow);
        padding: 60px;
        box-shadow: 5px 5px 0 #D7D4B9;
        border-radius: 355px 45px 225px 75px/15px 225px 15px 255px;
    }
} 

@media (min-width: 992px){
    .process-bg-img{
        position: absolute;
        bottom: 0;
    }
}

@media (max-width: 991px) {
    #navbarResponsive {
        flex-grow: inherit;
        justify-content: flex-end;
        display: flex;
    }

    #navbarResponsive ul {
        flex-direction: column;
        position: absolute;
        top: 100%;
        width: calc(100% - 30px);
        max-width: 100%;
        border-radius: 20px;
        padding: 20px 30px;
        background-color: #fff;
        opacity: 0;
        visibility: hidden;
        transition: all 0.5s ease-in-out;
        transform: translatey(-50px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.15); 
    }

    #navbarResponsive.show ul {
        opacity: 1;
        visibility: visible;
        transform: translatey(-15px);
    }

    #navbarResponsive ul li a{
        display: inline-flex;
    }
}

@media (max-width:767px){
    .programme-bot .animate-img span{
        padding-left: 0;
    }

    .programme-bot .animate-img .row .col-4{
        text-align: center;
    }

    .process-head-bot ul{
        flex-direction: column;
    }

    .process-head-bot ul li span{
        max-width: inherit;
    }

    .process-head-bot ul li{
        display: block;
        max-width: 100%;
    }

    .process-head-bot ul li span:before{
        top: 2px;
    }

    .contact-details{
        justify-content: flex-start;
    }

    #nav-tab > a{
        font-size: 18px;
    }

    #owl-demo .item,
    .owl-prev, .owl-next{
        border: 1px solid #ddd;
    }
}

@media (max-width: 576px){
    .programme-offered .table p{
        font-size: 14px;
    }

    .process,
    .about{
        padding-top: 100px;
    }

    .contact{
        padding: 25px 0;
    }

    .gallery-box,
    .gallery-box-2{
        grid-template-columns: auto;
    }
} 