@font-face {
    font-family: 'Raleway Regular';
    src: url('../font/Raleway/Raleway-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'Raleway Medium';
    src: url('../font/Raleway/Raleway-Medium.ttf') format('truetype');
}

@font-face {
    font-family: 'Raleway SemiBold';
    src: url('../font/Raleway/Raleway-SemiBold.ttf') format('truetype');
}

@font-face {
    font-family: 'Raleway Bold';
    src: url('../font/Raleway/Raleway-Bold.ttf') format('truetype');
}

@font-face {
    font-family: 'Raleway Light';
    src: url('../font/Raleway/Raleway-Light.ttf') format('truetype');
}

@font-face {
    font-family: 'BookWorm';
    src: url('../font/BookWorm.otf') format('opentype');
}

body, html {
    width: 100%;
    font-size: 16px;
    color: #000000;
    font-family: 'Raleway Regular';
}

html {
    height: 100%;
    box-sizing: border-box;
}

*, *:before, *:after {
    box-sizing: inherit;
}

body {
    position: relative;
    margin: 0;
    min-height: 100%;
}

.hide {
    display: none;
}

.clear {
    clear: both;
}

header {
    position: relative;
    z-index: 999;
    background: white;
}

#main-navbar {
    padding: 1% 5%;
}

#banner {
    background: url('../img/wondrous-mind-banner-2.png');
    background-repeat: no-repeat;
    background-size: 100% auto;
    width: 100%;
    height: calc( (1072 / 2880) * 100vw );
    /* top: -135px; */
    position: relative;
    /* margin-bottom: -135px; */
}

/* #logo {
    width: 215px;
    height: auto;
    padding: 20px 0;
} */

#logo img, #mobile-log img {
    width: 80%;
    height: auto;
}

/* nav.navbar {
    float: right;
} */

.navbar-nav {
    align-items: center;
    justify-content: center;
}

ul#main-navlinks {
    color: #454545;
    font-size: 22px;
    font-family: 'Raleway Medium';
    /* padding-top: 45px; */
}

ul#main-navlinks > li {
    margin-right: 50px;
    padding-top: 2%;
}

ul#main-navlinks > li:nth-last-child(1) {
    margin-right: 0px;
    padding-top: 0;
}

ul#main-navlinks > li a, ul#main-navlinks > li a:hover {
    color: #454545;
    text-decoration: none;
}

ul#main-navlinks > li a:after {
    border-bottom: 3px solid #F2D6B8;
    opacity: 0;
    content: "";
    display: block;
    width: 0px;
    border-radius: 50px;
    -webkit-transition: width 0.2s ease;
    -moz-transition: width 0.2s ease;
    -o-transition: width 0.2s ease;
    -ms-transition: width 0.2s ease;
    transition: width 0.2s ease;  
}

ul#main-navlinks > li a.cta:hover:after {
    border: none;
    display: none;
}

ul#main-navlinks > li a.cta {
    color: #3049EE;
    border: 4px solid #3049EE;
    border-radius: 40px;
    padding: 15px 35px;
}

ul#main-navlinks > li a.cta:after {
    display: none;
}

ul#main-navlinks > li a.active:after {
    opacity: 1;
    border-bottom: 3px solid #F2D6B8;
    content: "";
    display: block;
    width: 30px;
    border-radius: 50px;
}

ul#main-navlinks > li a:hover:after {
    opacity: 1;
    width: 30px;
}

#banner h1 {
    font-size: 75px;
    padding-top: 10%;
    text-shadow: 0px 2px 2px rgba(0, 0, 0, 0.4); 
}

#banner img {
    width: 18%;
    text-align: center;
}

.gold-text {
    color: #AA814F;
}

.tagline {
    font-family: 'Raleway SemiBold';
    font-size: 22px;
    color: white;
    margin-top: 25px;
    text-shadow: 0px 2px 2px rgba(0, 0, 0, 0.4); 
}

h1 {
    font-family: 'Raleway SemiBold';
    font-size: 52px;
    color: white;
}

h2 {
    font-family: 'Raleway SemiBold';
    font-size: 40px;
    margin-bottom: 30px;
}

h3 {
    font-family: 'Raleway SemiBold';
    font-size: 32px;
    margin-bottom: 30px;
}

h5 {
    font-family: 'Raleway SemiBold';
}

.PR80 {
    padding-right: 80px;
}

header {
    max-height: 135px;
}

#mobile-logo {
    display: none;
}

p img {
    width: 80%;
}

p.center, .center {
    text-align: center;
}

section {
    padding: 60px 0 30px;
}

#why-our-cards-section {
    background-color: #3049EE;
    color: white;
    text-align: center;
}

#why-our-cards-section img {
    width: 50%;
}

#why-our-cards-section .feature {
    padding: 0 10px;
}

#volumes {
    text-align: center;
}

#volumes img {
    width: 50%;
}

#volumes .feature {
    padding: 0 10px;
}

#volumes a.cta {
    font-family: 'Raleway Bold';
    color: white;
    background-color: #3049EE;
    border: 4px solid #3049EE;
    border-radius: 40px;
    padding: 15px 35px;
}

#purchase-section {
    background-color: #3049EE;
    color: white;
}

#purchase-section a.cta {
    font-family: 'Raleway Bold';
    color: #3049EE;
    background-color: white;
    border: 4px solid white;
    border-radius: 40px;
    padding: 15px 35px;
    width: 55%;
    text-align: center;
}

#subject-tabs {
    margin-top: 35px;
}

.science-tab {
    background: url('../img/science-category-bg.png');
    background-repeat: no-repeat;
    background-size: 100% auto;
    padding: 0px;
}

.math-tab {
    background: url('../img/math-category-bg.png');
    background-repeat: no-repeat;
    background-size: 100% auto;
    padding: 0px;
}

.math-monster {
    background: url('../img/math-guru.png');
    height: inherit;
    width: auto;
    background-repeat: no-repeat;
    background-size: auto 85%;
    background-position: right bottom;
}

.science-monster {
    background: url('../img/science-guru.png');
    height: inherit;
    width: auto;
    background-repeat: no-repeat;
    background-size: auto 85%;
    background-position: left bottom;
}

.science-info .subtitle, .math-info .subtitle, .subtitle {
    font-size: 22px;
    font-family: 'Raleway SemiBold';
}

.science-info, .math-info {
    height: 0px;
}

.science-info {
    text-align: right;
    padding: 0 45px 0 0;
    position: relative;
    top: 40px;
}

.math-info {
    padding: 0 0 0 40px;
    position: relative;
    top: 40px;
}

.science-info .title, .math-info .title {
    font-family: 'Bookworm';
    font-size: 60px;
}

.science-info .title {
    color: #46D1FF;
}

.math-info .title {
    color: #FF57A2;
}

.science-info .subtitle {
    color: #0B1D80;
}

.math-info .subtitle {
    color: #3F095F;
}

.enroll-title {
    font-size: 32px;
    font-family: 'Raleway SemiBold';
    color: white;
}

.enroll-section {
    background: #3049EE;
    padding: 35px 0;
    max-height: 166px;
    margin-bottom: 50px;
}

.enroll-mascot {
    background: url('../img/science-guru-2.png');
    height: 230px;
    width: auto;
    background-repeat: no-repeat;
    background-size: auto 100%;
    background-position: top left;
    position: relative;
    top: -65px;
}

.enroll-mascot-math {
    background: url('../img/math-guru-2.png');
    height: 230px;
    width: auto;
    background-repeat: no-repeat;
    background-size: auto 100%;
    background-position: top left;
    position: relative;
    top: -65px;
}

a.cta-btn, a.cta-btn:hover {
    display: block;
    padding: 20px;
    font-family: 'Raleway Medium';
    font-size: 18px;
    color: #12131D;
    background: white;
    border-radius: 5px;
    text-align: center;
    margin-top: 15px;
    text-decoration: none;
}

.blue-bg {
    background: #3049EE;
}

.white-font {
    color: white;
}

p a {
    text-decoration: none;
    color: white;
}

p a:hover {
    text-decoration: underline;
    color: white;
}

.blue-bg ul {
    list-style: none;
    padding: 0;
}

.blue-bg ul > li {
    margin-bottom: 5px;
}

.map-responsive{
    overflow: hidden;
    padding-bottom: 75%;
    position: relative;
    height:0;
}
.map-responsive iframe{
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    position: absolute;
}

.center {
    text-align: center;
}

footer {
    padding: 40px 0 30px;
    color: white;
    text-align: center;
    font-size: 14px;
    background-color: #3049EE;
}

footer p.social-media img {
    width: 3%;
}

footer img {
    width: 18%;
}

footer .fa {
    font-size: 20px;
}

footer .fa:first-child {
    margin-right: 10px;
}

ul#footer-links {
    padding: 0;
    margin: 0 auto;
    list-style: none;
    width: 445px;
}

ul#footer-links > li {
    float: left;
    padding: 0 15px;
    border-right: 1px solid white;
}

ul#footer-links > li.last {
    border: none;
}

ul#footer-links > li a, ul#footer-links > li a:hover {
    color: white;
    text-decoration: none;
}

.table tbody td {
    text-align: center;
    font-family: 'Raleway SemiBold';
    padding: 0 10px;
}

.table thead th, .table tbody th {
    font-family: 'Raleway SemiBold';
    color: white;
    background: #0D0E18;
    text-align: center;
    vertical-align: middle;
    font-size: 14px;
}

.science-class {
    background: #BDFCFF;
    color: #46D1FF;
    padding: 10px;
    border-radius: 50px;
    margin: 10px 0;
    white-space: nowrap;
    font-size: 12px;
}

.math-class {
    background: #FFD5F9;
    color: #FF57A2;
    padding: 10px;
    border-radius: 50px;
    margin: 10px 0;
    white-space: nowrap;
    font-size: 12px;
}

ul.control-options {
    list-style: none;
    padding: 0;
    margin: 0;
}

ul.control-options > li {
    float: left;
    padding: 5px 20px;
    margin-right: 10px;
    background: white;
    border: 1px solid #3049EE;
    color: #3049EE;
    border-radius: 15px;
    cursor: pointer;
    margin-bottom: 10px;
}

ul.control-options > li.active {
    float: left;
    padding: 5px 20px;
    margin-right: 10px;
    background: #3049EE;
    color: white;
    border-radius: 15px;
}

#science-modal-btn, #math-modal-btn {
    -webkit-appearance: none;
    cursor: pointer;
}

.modal-dialog {
    width: 100%;
    height: 100%;
    margin: 0;
}

.science-banner {
    background: url('../img/science-banner.png');
    background-repeat: no-repeat;
    background-size: 100% auto;
    width: 100%;
    margin-bottom: 20px;
}

.math-banner {
    background: url('../img/math-banner.png');
    background-repeat: no-repeat;
    background-size: 100% auto;
    width: 100%;
    margin-bottom: 20px;
}

.modal-header {
    border: none;
}

.modal-header .close {
    font-size: 65px;
    opacity: 1;
}

.modal-content {
    border-radius: 0;
    border: none;
}

.science-icon {
    text-align: center;
    min-height: 90px;
    padding: 50px 0 30px;
}

a#enquire-now {
    display: block;
    position: fixed;
    bottom: 20px;
    right: 50px;
    color: white;
    text-decoration: none;
    z-index: 99;
}

.whatsapp {
    background: url('../img/whatsapp-logo.svg');
    background-repeat: no-repeat;
    background-size: cover;
    width: 80px;
    height: 80px;
    float: left;
    position: relative;
    top: -15px;
    left: 45px;
}

.enquire-text {
    background: #25D366;
    font-family: 'Raleway Bold';
    font-size: 20px;
    padding: 10px 20px 10px 50px;
    float: left;
    border-radius: 30px;
}

ol.number { 
	counter-reset: item; 
	padding-left: 10px; 
}

ol.number > li {
	 display: block 
}

ol.number > li:before { 
	content: counters(item, ".") "."; 
	counter-increment: item 
}

span.strong {
	font-family: 'Raleway SemiBold';
}

#faq-section .card {
    border: none;
}

#faq-section .card-header {
    background-color: white;
    border-color: rgba(69, 69, 69, 0.5);
}

#faq-section .card-header .btn {
    /* padding: 0px; */
}

#faq-section .card-header .btn-link {
    text-decoration: none;
    color: #454545;
}

#faq-section .card-header .toggle-icon {
    color: #3049EE;
}

#faq-section .card .card-body p {
    padding: 0px .75rem;
}

.faq-question-text {
    white-space: normal;
    word-break: break-word;
    flex: 1;
}

@media (min-width: 576px) {
    .modal-dialog {
        max-width: none;
        margin: 0;
    }
}

@media (min-width: 374px) and (max-width: 810px) {
    #banner h1 {
        font-size: 48px;
        padding-top: 8%;
    }

    section {
        padding-top: 30px;
    }

    footer p.social-media img {
        width: 5%;
    }

    footer img {
        width: 30%;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (max-width: 575.98px) {
    #main-navbar {
        padding-top: 5%;
    }

    #banner {
        top: 0px;
        margin-bottom: 0px;
    }

    #mobile-logo {
        display: block;
        text-align: center;
        padding: 20px 0 0;
    }

    #logo {
        /* display: none; */
        text-align: center;
    }

    header {
        max-height: 160px;
    }

    nav.navbar {
        float: none;
    }

    .navbar-light .navbar-toggler {
        margin: 0 auto;
    }

    .navbar-collapse {
        background: rgba(255, 255, 255, 0.85);
        padding-top: 10px;
    }

    ul#main-navlinks {
        padding: 0 0 10px;
        text-align: center;
    }

    ul#main-navlinks > li {
        padding: 10px 0;
        margin: 0px;
    }

    ul#main-navlinks > li a, ul#main-navlinks > li a:hover {
        color: #000000;
    }

    .navbar-toggler:focus, .navbar-toggler:active {
        outline: none;
        box-shadow: none;
    }

    ul#main-navlinks > li a:hover:after, ul#main-navlinks > li a.active:after {
        margin: 0 auto;
    }

    ul#main-navlinks > li a.cta {
        border: 4px solid #3049EE;
        padding: 5px 35px;
    }

    .PR80 {
        padding-right: 0px;
    }

    #banner h1 {
        font-size: 20px;
        padding-top: 8%;
    }

    .tagline {
        font-size: 16px;
        margin-top: 15px;
    }

    h2 {
        font-size: 32px;
    }

    h3 {
        font-size: 22px;
    }

    .science-tab {
        margin-bottom: 20px;
    }

    .science-info {
        text-align: right;
        padding: 0 15px 0 0;
        position: relative;
        top: 15px;
    }
    
    .math-info {
        padding: 0 0 0 15px;
        position: relative;
        top: 15px;
    }
    
    .science-info .title, .math-info .title {
        font-size: 40px;
    }

    .math-info .subtitle {
        width: 50%;
    }

    .enroll-section {
        max-height: none;
    }

    .enroll-title {
        font-size: 22px;
    }

    .enroll-bar {
        margin-top: -40px;
    }

    .modal-header .close {
        font-size: 30px;
    }

    a#enquire-now {
        right: 20px;
    }

    .whatsapp {
        top: 0;
        left: 0;
    }

    .enquire-text {
        display: none;
    }
    
    ul#footer-links {
	    width: auto;
    }

    #purchase-section .purchase-cta {
        text-align: center;
    }

    #purchase-section a.cta {
        margin-left: auto;
        margin-right: auto;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    footer p.social-media img {
        width: 7%;
    }
}

@media (min-width: 812px) and (max-width: 1199.98px) {
	#banner h1 {
        font-size: 48px;
        padding-top: 8%;
    }
}



