/*-----------HEADER--------------*/

html,
body {
    background-color: var(--clr-primary);
}

.header {
    width: 100%;
    height: 100px;
    /* background:transparent; */
    /* background: #062b49; */
    background: linear-gradient(180deg, #061a2c, #072c46);
    z-index: 999;
    position: absolute;
}

.fixed {
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    width: 100%;
    z-index: 999;
    background-color: var(--clr-primary);
    border-color: rgba(0, 0, 0, 1);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    -webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    -moz-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

.header-shadow {
    border-color: rgba(0, 0, 0, 1);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    -webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    -moz-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

.site-logo,
.site-info {
    flex: 0 0 48%;
    max-width: 48%;
    padding: 0.5rem 0;
}

.site-logo img {
    height: 90px;
    text-align: left;
}

.site-info {
    text-align: right;
    text-align: center;
}

.site-info p {
    font-size: 30px;
    font-family: var(--txt-secondary);
    font-weight: 600;
}

.site-info img {
    height: 90px;
    text-align: right;
    display: inline-block;
}


/*-----------CONTENT--------------*/

main {
    min-height: 800px;
    background-color: var(--clr-primary);
}

.hero {
    width: 100%;
    margin: 0;
    padding: 2rem;
    position: relative;
    height: 900px;
    /*background: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 25%), url('../images/bg-cover-3.jpg');*/
    background: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 25%), url('https://www.amityenglishschooldubai.com/storage/blog/JTM6SLVCwTm9aP4MyC714sQHsxlaFeL4K1UAM0Hj.webp');
    background-position: top center;
    background-size: cover;
    background-repeat: no-repeat;
}

.content {
    padding-top: 100px;
    width: 100%;
    min-height: 500px;
    background: transparent;
}

.section {
    width: 100%;
    padding: 2rem 0 1rem 0;
}

.scn-title {
    font-size: var(--fig-size-xlarge);
    letter-spacing: 1px;
    word-spacing: 1px;
    text-transform: uppercase;
}

.scn-subtitle {
    font-size: var(--fig-size-xlarge);
    letter-spacing: 1px;
    word-spacing: 1px;
    text-transform: uppercase;
    font-variant: small-caps;
}

.page-text {
    letter-spacing: 1px;
    word-spacing: 1px;
    font-size: var(--fig-size-normal);
}

.page-link {
    cursor: pointer;
}

.page-link:hover {}

.spacer {
    flex: 0 0 56%;
    max-width: 56%;
}

.spacer h1 {
    font-size: 50px;
    font-weight: 700;
    font-family: var(--txt-primary);
}

.section-left h2 {
    font-size: 50px;
    color: var(--clr-white);
    text-shadow: var(--clr-secondary);
    font-family: var(--txt-primary);
    font-weight: bold;
    padding-bottom: 1rem;
}

.spacer p {
    font-size: 25px;
    letter-spacing: 1px;
    word-spacing: 1px;
    color: var(--clr-white);
    font-family: var(--txt-secondary);
    margin-bottom: 1rem;
    line-height: 35px;
    padding-top: .5rem;
}

.admission-form {
    caret-color: transparent;
    flex: 0 0 40%;
    max-width: 40%;
    height: 565px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 2rem 4rem;
    border: 0px solid red;
    overflow: hidden;
}

#applyButton1 {
    display: none;
}

.gen-form {
    position: relative;
    width: 100%;
    max-width: 350px;
    background-color: var(--clr-white);
    border: 2px solid var(--clr-primary);
}

div.frm-label {
    background-color: var(--clr-primary);
    color: var(--clr-white);
    font-family: var(--txt-primary);
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 1px;
    word-spacing: 1px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.gen-form ul.flex-ul {
    padding: 1rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.gen-form input,
.gen-form select {
    height: 30px;
    margin: 0.5rem 0;
    padding: 0.5rem 0;
    border: 1px solid #d0d4d8;
    border-radius: 0;
    line-height: 1.2 !important;
    padding: 9px 10px 6px 10px !important;
    background-color: var(--clr-white);
    font-family: var(--txt-secondary);
    font-size: 12px;
    width: 100%;
    caret-color: auto;
}

.gen-form select {
    height: 34px;
    line-height: 32px;
}

#vis-network {
    display: inline-block;
    width: 125px;
    padding-left: 88px !important;
    padding-right: 5px !important;
}

.intelFields .span {
    display: inline-block;
}

#vis-digits {
    display: inline-block !important;
    max-width: 143px !important;
}

.gen-form input::placeholder,
.gen-form select::placeholder {
    margin: 0.10rem 0.25rem;
    letter-spacing: 1px;
    word-spacing: 1px;
    padding: 0 0.25rem;
    font-size: 10px;
}

.opt-val {
    letter-spacing: 1px;
    word-spacing: 1px;
    font-family: var(--txt-secondary);
    color: var(--clr-primary);
    font-size: 14px;
}

.opt-val-first label {
    font-family: var(--txt-secondary);
    color: var(--clr-gray);
}

.opt-val-first,
.opt-val-first:checked,
.opt-val-first:selected,
.opt-val-first:first-child {
    letter-spacing: 1px;
    word-spacing: 1px;
    font-family: var(--txt-secondary);
    color: var(--clr-gray);
    font-size: 14px;
}

select[multiple]:focus option:checked {
    font-family: var(--txt-secondary);
    color: var(--clr-gray);
}

.gen-form button {
    background-color: transparent;
    border: 2px solid var(--clr-primary);
    color: var(--clr-primary);
    font-family: var(--txt-secondary);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    word-spacing: 1px;
    padding: .5rem 2rem;
    margin-top: 10px;
    cursor: pointer;
    border-radius: 0;
}

.gen-form button:hover,
.gen-form button:focus {
    background-color: var(--clr-primary);
    color: var(--clr-secondary);
}

.btn {
    background-color: transparent;
    border: 2px solid var(--clr-primary);
    color: var(--clr-primary);
    font-family: var(--txt-secondary);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    word-spacing: 1px;
    padding: 1rem 2rem;
    cursor: pointer;
}

.btn:hover,
.btn:focus {
    background-color: var(--clr-primary);
    color: var(--clr-secondary);
}

.btn:disabled {
    background-color: rgba(0, 28, 57, 0.2);
    border-color: rgba(0, 28, 57, 0.2);
    color: var(--clr-white);
    cursor: not-allowed;
}

.btn:disabled:hover,
.btn:disabled:focus {
    background-color: rgba(0, 28, 57, 0.2);
    border-color: rgba(0, 28, 57, 0.2);
    color: var(--clr-white);
}

#result {
    font-size: 12px;
    color: #00CC00;
    letter-spacing: 1px;
    word-spacing: 1px;
    font-family: var(--txt-secondary);
}

.strapline {
    width: 100%;
    line-height: 45px;
    font-variant: small-caps;
}

.call-to-action span {
    font-weight: bold;
    font-size: 30px;
    letter-spacing: 1px;
    word-spacing: 1px;
    text-align: center;
    margin-left: 40px;
}

.programs {
    position: relative;
    width: 100%;
    min-height: 500px;
    padding: 2rem;
    background-color: var(--clr-primary);
}

.section-right,
.section-left {
    flex: 0 0 48%;
    max-width: 48%;
    border: 0px solid red;
}

.section-right {
    flex-grow: 1;
    padding: 2rem;
    background-image: url('../images/about-us-image.webp');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    position: relative;
    min-height: 510px;
    height: 100%;
    border: 0px solid red;
}

.section-left h1 {
    font-size: 50px;
    color: var(--clr-white);
    text-shadow: var(--clr-secondary);
    font-family: var(--txt-primary);
    font-weight: bold;
    padding-bottom: 1rem;
}

.section-left h1 span {
    color: var(--clr-secondary);
    display: inline-flex;
    text-wrap: wrap;
}

.section-left p {
    font-size: 20px;
    letter-spacing: 1px;
    word-spacing: 1px;
    color: var(--clr-white);
    font-family: var(--txt-secondary);
    margin-bottom: 1rem;
    line-height: 35px;
    padding-top: 1rem;
}

.slide-show {
    width: 100%;
    height: 650px;
    overflow: hidden;
    position: relative;
}

.slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-position: top center;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 0rem;
    opacity: 0;
    transition: opacity 0.5s;
}

.slider.active {
    opacity: 1;
}

@keyframes slideShow {
    0%,
    100% {
        transform: translateX(0%);
    }
    8.33%,
    25% {
        transform: translateX(-100%);
    }
    33.33%,
    50% {
        transform: translateX(-100%);
    }
    58.33%,
    75% {
        transform: translateX(-100%);
    }
    83.33% {
        transform: translateX(0%);
    }
}

#slide-1 {
    background-image: url('../images/british-curriculum.webp');
    animation: slideShow 20s infinite;
    animation-delay: 0s;
}

#slide-2 {
    background-image: url('../images/foundation-and-primary-stages.webp');
    animation-delay: 5s;
}

#slide-3 {
    background-image: url('../images/state-of-the-art-facilities.webp');
    animation-delay: 10s;
}

#slide-4 {
    background-image: url('../images/slide-4.jpg');
    animation-delay: 15s;
}

.text-section {
    position: absolute;
    right: 30px;
    top: 0px;
    width: 500px;
    height: 220px;
    padding: 1rem;
    background-color: var(--clr-black);
    color: var(--clr-white);
    text-align: center;
    padding: 1rem;
    opacity: 0.8;
}

.text-section h1 {
    font-family: var(--txt-primary);
    font-size: 38px;
    letter-spacing: 1px;
    word-spacing: 1px;
    text-transform: uppercase;
}

.text-section p {
    font-family: var(--txt-secondary);
    font-size: 18px;
    letter-spacing: 1px;
    word-spacing: 1px;
    text-transform: none;
    /* text-transform: uppercase; */
}

@keyframes slideShow {
    0%,
    20% {
        opacity: 0;
    }
    25%,
    95% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

.awards {
    height: 300px;
    width: 100%;
    display: block;
    background: radial-gradient(circle, #FFFFFF 10%, #B2C0CC 90%);
}

.awards-list {
    background-image: url('../images/awards.png');
    height: 250px;
    width: 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.geo-map {
    height: 400px;
    width: 100%;
}

.testimonial-section {
    position: relative;
    width: 100%;
    min-height: 300px;
    /* Adjust the height as needed */
    overflow: hidden;
    height: 550px;
}

.testimonial-section h1 {
    font-family: var(--txt-secondary);
    text-transform: uppercase;
    color: var(--clr-white);
    letter-spacing: 1px;
    word-spacing: 1px;
    text-align: center;
    padding: 2rem 0;
}

.testimonial-slider {
    display: flex;
    width: 100%;
    height: 100%;
}

.testimonial-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s;
}

.testimonial-slide.active {
    opacity: 1;
}

.testimonial-content {
    width: 70%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--clr-white);
}

.testimonial-text {
    font-size: 20px;
    font-family: var(--txt-secondary);
    margin-bottom: 10px;
    letter-spacing: 1px;
    word-spacing: 1px;
}

.testimonial-author {
    font-size: 16px;
    font-family: var(--txt-secondary);
    text-transform: uppercase;
    color: var(--clr-secondary);
    letter-spacing: 1px;
    word-spacing: 1px;
}


/* Animation */

@keyframes slideIn {
    0% {
        transform: translateX(100%);
    }
    20% {
        transform: translateX(0%);
    }
    80% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-100%);
    }
}

@keyframes slideOut {
    0% {
        transform: translateX(0%);
    }
    20% {
        transform: translateX(0%);
    }
    80% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-100%);
    }
}

.geo-map {
    position: relative;
}

.contact {
    z-index: 2000;
    background-color: var(--clr-primary);
    width: 300px;
    height: 100%;
    position: absolute;
    right: 55px;
    color: var(--clr-white);
    padding: 1rem 2rem;
}

.contact h3 {
    color: var(--clr-white);
    text-align: center;
    width: 100%;
}

.contact p {
    width: 100%;
    color: var(--clr-white);
    padding: 1rem 0;
    border-top: 1px solid var(--clr-white);
    border-bottom: 1px solid var(--clr-white);
    font-weight: bold;
    font-size: 14px;
}

.directions {
    width: 100%;
    padding: 1rem 0;
}

.directions span {
    color: var(--clr-white);
    font-weight: bold;
    font-size: 14px;
}

.directions ul {
    width: 100%;
    border: 0px solid white;
    padding: 0.5rem 0;
    margin: 0;
}

.directions ul li a i {
    height: 30px;
    width: 30px;
    display: flex;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

.go-drive {
    background-image: url('../images/car.png');
}

.go-walk {
    background-image: url('../images/walk.png');
}

.go-transit {
    background-image: url('../images/train.png');
}

.go-cycle {
    background-image: url('../images/cycle.png');
}


/*-----------FOOTER--------------*/

.footer {
    background-color: var(--clr-primary);
    padding: 1rem;
    position: relative;
    width: 100%;
    min-height: 40px;
    text-align: center;
    font-family: var(--txt-secondary);
}

.config-block,
.social-menu-block,
.copyright-block {
    flex: 0 0 32%;
    max-width: 32%;
    display: flex;
    align-content: center;
    align-items: center;
}

.copyright-block {
    justify-content: flex-start;
}

.config-block {
    justify-content: flex-end;
}

.social-menu-block {
    justify-content: center;
}

.copyright {
    font-size: var(--fig-size-tiny);
    letter-spacing: 1px;
    word-spacing: 1px;
    text-transform: uppercase;
    color: var(--clr-white);
}

.social-menu {}

.social-item {}

.social-link {
    color: var(--clr-white);
}

.social-link:hover {
    color: var(--clr-accent);
}

.star-rating {
    height: 50px;
    width: 100%;
    display: block;
    background-image: url('../images/stars.png');
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    margin: 0 auto;
}

.hero12 {
    height: 100vh;
    background-size: cover;
    background-color: #062b49;
    background-repeat: no-repeat;
}

/*.form-flex {
    display: flex;
    flex-direction: column-reverse;
    flex-wrap: nowrap;
    justify-content: normal;
    align-items: flex-end;
    align-content: flex-end;
    height: 100vh;
    min-height: 740px;
    padding-top: 120px;
}*/

.form-item1 {
    display: block;
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: auto;
    align-self: auto;
    order: 0;
    width: 50%;
    height: 100%;
    justify-items: flex-end;
}

.form-item11 form {
    position: absolute;
    top: calc(15vh - 10px);
    right: 55px;
	z-index: 5;
}

.form-item1 form {
    margin-right: 10%;
}

.form-item2 {
    display: none;
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: auto;
    align-self: auto;
    order: 0;
    background: white;
    border-bottom: 1px black solid;
    justify-items: center;
    padding: 40px 40px 40px 40px;
    padding: 40px 40px 40px 40px;
    width: 100%;
    height: 140px;
}

.british-container {
    padding: 40px;
    background: white;
    color: white;
    min-height: 0;
    text-align: center;
}

.british-container h1 {
    padding: 0;
    margin: 0;
}


/*Thank you page*/

#thank-banner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

#thank-banner::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .35);
    z-index: 1;
}

.pg1 {
    text-align: center;
    color: #fecc00;
    font-size: 50px;
    font-weight: 500;
    width: 100%;
    z-index: 2;
}

.pg2 {
    text-align: left;
    color: #07253c;
    font-size: 16px;
    width: 100%;
    z-index: 2;
}

.bold {
    font-weight: 600;
}

.ul-styled {
    text-align: left;
}

.ul-styled li {
    list-style-type: disc !important;
    display: list-item;
}

.thanks-text {
    font-family: var(--txt-secondary);
    width: 60%;
    text-align: center;
    background-color: #ffffffdb;
    z-index: 2;
    padding: 50px 80px;
    position: absolute;
    bottom: 50px;
}

.thanks-text img {
    display: inline-block;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(0 0 0 / 2%);
    z-index: 1;
}

.hero12 {
    position: relative;
    height: 100vh;
    overflow: hidden;
    font-family: var(--txt-primary);
}
.hero12 .banner-container{
	position: relative;
	height:100vh;	
}
.hero12 picture {
    width: 100%;
    height: 100%;
    display: flex;
    z-index: 0;
    position: relative;
}

.hero12 picture img {
    object-fit: cover;
	object-position: top center;
    width: 100%;
    height: 100%;
}

.hero12 .text-container {
    z-index: 5;
    position: absolute;
    bottom: 0;
    left: 30px;
    background: #1a3a51;
    color: #ffffff;
    padding: 30px;
    text-align: center;
    border-top-right-radius: 100px;
    border-top-left-radius: 100px;
}
.hero12 .text-container h2{
	letter-spacing: 0;	
}
.line {
    width: 200px;
    height: 2px;
    background: #ffffff;
    margin: 0 auto;
    margin-top: 20px;
    margin-bottom: 20px;
}

.hero12 .btn-apply {
    background: transparent;
    color: #ffc70b;
    border-radius: 30px;
    padding: 10px 20px;
    font-weight: 600;
    font-size: 20px;
    text-transform: uppercase;
    margin-top: 20px;
    border: 2px solid #ffc70b;
}

@media (max-width:768px) {
    .thanks-text {
        width: 90%;
        padding: 24px 15px;
    }
    .pg1 {
        font-size: 40px;
    }
    .pg2 {
        font-size: 16px;
        line-height: normal;
    }
}