/* Extracted from Counsellors.aspx */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: poppins, sans-serif;
}

:root {
    --primary-color: #F00A0A;
    --primary-font-size: 35px;
    --primary-mob-size: 28px;
    --primary-p-color: #3f444a;
}

.appointment {
    width: auto;
    display: flex;
    align-items: center;
    margin-top: 50px;
    margin-bottom: 30px;
}

a:not([href]):not([tabindex]) {
    color: white;
    cursor: pointer;
}

a:not([href]):not([tabindex]):hover {
    color: #fe3b39;
}

.appointment a {
    text-decoration: none;
    font-size: 30px;
    padding: 20px 120px;
    text-align: center;
    margin: 0 auto;
    color: white;
    background-color: #fe3b39;
    border-radius: 5px;
    font-weight: bold !important;
    border: 3px solid #fe3b39;
    cursor: pointer;
    display: inline-block;
}

.appointment a:hover {
    background-color: white;
    color: #fe3b39;
    border: 3px solid #fe3b39;
    transition: 0.4s ease-in;
}

/* Mobile */
@media only screen and (max-width: 480px) {
    .hero-2 {
        width: 100%;
    }

    .appointment a {
        font-size: 18px;
        width: 90%;
        padding: 10px 50px;
    }

    .appointment a:hover {
        transform: none;
        transition: none;
    }
}

/* hero-1 */
.hero-1 {
    width: 100%;
    background-color: #49A5DD;
    display: flex;
    justify-content: center;
    gap: 40px;
}

.hero-1-left img {
    height: 100%;
    margin-left: -10px;
}

.hero-1-left-mob {
    display: none;
}

.hero-1-center {
    width: 31.33%;
    padding: 100px 0px;
}

.hero-1-center h1 {
    color: white;
    font-weight: 800 !important;
    font-size: 2.5em;
    line-height: 50px;
    text-shadow: 2px 2px 4px rgba(10, 0, 0, 0.3);
}

.hero-1-center p {
    color: white;
    font-size: 16px;
    margin-top: 20px;
    font-weight: 700 !important;
}

.hero-1-center p a {
    color: white;
    font-size: 15px;
    margin-top: 10px;
    text-decoration: none;
    font-weight: 500;
}

.hero-1-right {
    width: 23.33%;
    margin-right: 50px;
    margin-top: 50px;
    margin-bottom: 10px;
    align-self: center;
}

.hero-1-right .form {
    height: 350px;
    background-color: whitesmoke;
    margin: 20px auto;
}

.form {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0px 0px 10px rgba(1, 0, 0, 0.2);
    max-width: 400px;
    width: 100%;
    height: 350px;
}

.form-name {
    display: flex;
    justify-content: space-between;
}


.form h2 {
    margin-bottom: 20px;
    text-align: center;
    font-weight: 500;
    color: rgb(69, 67, 67);
    font-size: 2.2rem;
    /* Reduced from default */
}

.form-group {
    margin-bottom: 9px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 4px;
    border: 0.1px solid #f0eaea;
    border-radius: 5px;
    font-size: 14px;
}

.submit-btn {
    width: 100%;
    padding: 5px;
    background-color: #fe3b39;
    border: none;
    border-radius: 0px;
    color: #ffffff;
    font-size: 16px;
    cursor: pointer;
    font-weight: bold;
    margin-top: 10px;
    /* Reduced from 30px */
}

.submit-btn:hover {
    background-color: white;
    color: #fe3b39;
    border: 3px solid #fe3b39;
}

@media (max-width: 1024px) {
    .hero-1 {
        height: auto;
        flex-direction: column;
        align-items: center;
        padding: 20px;
        padding-bottom: 80px;
    }

    .hero-1-left,
    .hero-1-center,
    .hero-1-right {
        width: 100%;
        text-align: center;
        margin-top: -20px;
    }

    .hero-1-right {
        margin-top: 40px;
    }

    .hero-1-left img {
        height: auto;
        width: 100%;
        margin-left: -150px;
    }

    .hero-1-center p {
        min-width: auto;
        width: 90%;
        margin: 0 auto;
    }

    .hero-1-right .form {
        width: 70%;
    }
}

/* For mobile phones */
@media (max-width: 480px) {
    .hero-1-center h1 {
        font-size: 1rem;
        line-height: 35px;
    }

    .hero-1-center p {
        font-size: 15px;
        width: 100%;
    }

    .hero-1-right .form {
        width: 100%;
        margin: 0 auto;
        margin-left: 25px;
        margin-top: -40px;
    }

    .hero-1-left-mob img {
        height: 300px;
        margin: 0 auto;
    }

    .hero-1-left-mob {
        display: block;
        height: 400px;
    }

    .hero-1-left {
        display: none;
    }

    .hero-1-center-mob {
        display: block !important;
    }

    .hero-1-center {
        display: none;
    }

    .hero-1-center-mob h1 {
        color: white;
        font-size: 2.4em;
        line-height: 50px;
        padding: 0px 40px;
        max-width: 400px;
        margin-top: 60px;
        font-weight: 800 !important;
        text-shadow: 2px 2px 4px rgba(10, 0, 0, 0.3);
    }

    .hero-1-center-mob p {
        color: white;
        min-width: 200px;
        font-size: 1em;
        margin-top: 30px;
        padding: 0px 40px;
        font-weight: 400 !important;
        text-shadow: 2px 2px 4px rgba(10, 0, 0, 0.3);
    }

    .hero-1 {
        height: 1180px;
        width: auto;
        gap: 0px;
        padding-top: 50px;
    }
}

/* hero-2 */
.hero-2 {
    width: 80%;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-2 h1 {
    font-size: var(--primary-font-size);
    color: var(--primary-color);
    font-weight: 600 !important;
    margin-top: 30px;
    text-align: center;
    text-transform: uppercase;
}

.hero-2>iframe {
    margin-top: 30px;
    width: 80vw;
    border: 50px solid #DEDEDE;
    height: 90vh;
}

/* Tablet Styles */
@media (max-width: 1024px) {
    .hero-2 {
        width: 90%;
        padding-top: 0px;
    }

    .hero-2 h1 {
        font-size: 2em;
        font-weight: 800 !important;
    }

    .hero-2>iframe {
        width: 85%;
        height: 60%;
    }
}

/* Mobile Styles (phones) */
@media (max-width: 768px) {
    .hero-2 {
        height: auto;
        padding-top: 0px;
    }

    .hero-2 h1 {
        font-size: 1.8em;
        text-align: center;
        font-weight: 800 !important;
    }

    .hero-2>iframe {
        width: 95%;
        height: 50%;
        border: 5px solid #49A5DD;
    }
}

/* Small Phones (under 480px) */
@media (max-width: 480px) {
    .hero-2 h1 {
        font-size: 28px;
        line-height: 25px;
        font-weight: 800 !important;
    }

    .hero-2 {
        height: 300px;
    }

    .hero-2>iframe {
        width: 100%;
        height: 70%;
        border: 4px solid #49A5DD;
    }
}

/* hero-3 */
.hero-3 {
    width: 100%;
    height: auto;
    margin: 0 auto;
    max-width: 1500px;
    padding-top: 50px;
}

.hero-3 h1 {
    text-align: center;
    text-transform: uppercase;
    font-size: var(--primary-font-size);
    color: var(--primary-color);
    margin-bottom: 25px;
    font-weight: 600 !important;
    letter-spacing: -1px;
}

.hero-3 h4 {
    text-align: center;
    text-transform: uppercase;
    width: 70%;
    margin: 0 auto;
    font-size: 16px;
    font-weight: 800 !important;
    margin-bottom: 20px;
    color: var(--primary-p-color);
}

.hero-3 h4 a {
    text-decoration: none;
    font-weight: 700;
    color: rgb(75, 75, 199);
}

.hero-3 h4 a:hover {
    color: #333;
}

.cards {
    display: flex;
    flex-direction: column;
}

.cards-row {
    display: flex;
    gap: 60px;
    flex-wrap: wrap;
    justify-content: center;
}

.card {
    display: flex;
    flex-direction: column;
    width: 300px;
    margin: 30px 0px;
    border-radius: 10px;
    box-shadow: 10px 10px 20px grey;
}

.card img {
    border-radius: 10px 10px 0px 0px;
    height: 200px;
}

.card-content h2 {
    margin: 10px auto;
    padding: 0px 10px;
    font-size: 16px;
    color: black;
    height: 40px;
    font-weight: 800;
    text-align: center;
    width: 100%;
}

.card-content {
    margin-bottom: 10px;
}

.card-content-info {
    display: flex;
    flex-direction: column;
    align-items: self-start;
    margin-bottom: 20px;
}

.card-content a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    padding: .5em 2em;
    background: #E9886B;
    border-radius: 50px;
    margin: 0px auto;
    display: block;
    font-weight: 600;
    border: 2px solid #E9886B;
}

.card-content p {
    padding: .5em 1em;
    font-size: 11px;
    background: lightblue;
    margin: 10px;
    border-radius: 20px;
    font-weight: 600;
}

.card-btn {
    text-align: center;
    margin: 0 auto;
    background-color: #E9886B;
    width: 95%;
    align-items: center;
    border-radius: 50px;
    margin-top: 20px;
    margin-bottom: 13px;
}

.card-btn a:hover {
    color: #E9886B;
    background: white;
    border: 2px solid #E9886B;
    border-radius: 50px;
}

@media(max-width:480px) {
    .cards-row {
        gap: 50px;
    }

    .cards {
        margin: 0px auto;
        gap: 50px;
    }

    .card {
        margin: 0px;
    }

    .card-content a {
        font-size: 16px;
    }
}

/* Tablet */
@media (max-width: 1024px) {
    .hero-3 h1 {
        font-size: 32px;
    }

    .hero-3 h4 {
        font-size: 14px;
        width: 90%;
    }

    .cards {
        width: 80%;
    }

    .card {
        width: 300px;
    }

    .card-top img {
        height: 130px;
    }

    .card-top h5 {
        font-size: 14px;
    }
}

/* Phone */
@media (max-width: 480px) {
    .hero-3 {
        width: 100%;
        padding-top: 30px;
    }

    .hero-3 h1 {
        font-size: 28px;
    }

    .hero-3 h4 {
        font-size: 16px;
        width: 90%;
        font-weight: 600 !important;
        color: var(--primary-p-color);
    }

    .cards {
        width: 100%;
        margin-bottom: 50px;
    }

    .card-row {
        flex-direction: column;
        align-items: center;
        margin-bottom: 0px;
    }

    .card {
        margin-bottom: 20px;
    }

    .card-specific {
        width: 70%;
        margin-bottom: 20px;
    }

    .card-top img {
        height: auto;
    }

    .card-top h5 {
        font-size: 14px;
        max-width: 250px;
        font-weight: 700 !important;
        color: #333;
    }

    .card-bottom p {
        font-size: 14px;
    }
}


/* hero-4 */
.hero-4 {
    width: 90%;
    height: auto;
    margin: 0 auto;
    margin-top: 60px;
    max-width: 1300px;
}

.hero-4 h1 {
    text-align: center;
    text-transform: uppercase;
    font-size: var(--primary-font-size);
    color: var(--primary-color);
    margin-bottom: 25px;
    font-weight: 600 !important;
    letter-spacing: -1px;
}

.hero-4 h4 {
    text-align: center;
    text-transform: uppercase;
    width: 80%;
    margin: 0 auto;
    font-size: 16px;
    font-weight: 800;
    color: var(--primary-p-color);
    margin-bottom: 20px;
}

.yt-videos {
    width: 90%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}

.yt-videos iframe {
    width: 31%;
    height: 200px;
}

/* Tablet */
@media (max-width: 1024px) {
    .hero-4 h1 {
        font-size: 32px;
    }

    .hero-4 h4 {
        font-size: 14px;
        width: 90%;
    }

    .yt-videos {
        width: 90%;
        flex-direction: column;
        align-items: center;
    }

    .yt-videos iframe {
        width: 100%;
        max-width: 560px;
    }
}

/* Phone */
@media (max-width: 480px) {
    .hero-4 {
        width: 100%;
        padding-top: 30px;
        margin-top: -50px;
    }

    .hero-4 h1 {
        font-size: 28px;
        padding-top: 20px;
    }

    .hero-4 h4 {
        font-size: 16px;
        width: 95%;
        margin-bottom: 0px;
    }

    .yt-videos {
        width: 100%;
        flex-direction: column;
        align-items: center;
    }

    .yt-videos iframe {
        width: 80%;
        margin-top: 50px;
        height: 200px;
    }
}

/* hero-5 */
.hero-5 {
    width: 90%;
    margin: 0 auto;
    margin-top: 60px;
    max-width: 1300px;
}

.hero-5 h1 {
    text-align: center;
    text-transform: uppercase;
    font-size: var(--primary-font-size);
    color: var(--primary-color);
    margin-bottom: 25px;
    font-weight: 600;
    letter-spacing: -1px;
}

.hero-5 h4 {
    text-align: center;
    text-transform: uppercase;
    width: 85%;
    margin: 0 auto;
    font-size: 16px;
    margin-bottom: 20px;
    letter-spacing: 1px;
    font-weight: 800;
    color: var(--primary-p-color);
}

.hero-5 h4 a {
    text-decoration: none;
    color: #5c70d6;
}

.hero-5 h4 a:hover {
    color: #333;
}

.awards {
    width: 90%;
    margin: 0 auto;
}

.award-row {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin: 0 auto;
    margin-bottom: 20px;
}

.award {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 200px;
}

.award img {
    width: 150px;
    height: 130px;
}

.award h5 {
    color: #303F8A;
    font-size: 15px;
    text-align: center;
    line-height: 18px;
    max-width: 180px;
    font-weight: 800 !important;
}

.award-row-h5 {
    display: flex;
    align-items: center;
    height: 80px;
}

/* Responsive styles for tablets */
@media (max-width: 768px) {
    .hero-5 {
        width: 90%;
        margin-top: 60px;
    }

    .hero-5 h1 {
        font-size: 32px;
        margin-bottom: 20px;
    }

    .hero-5 h4 {
        width: 90%;
        font-size: 16px;
        margin-bottom: 15px;
    }

    .awards {
        width: 100%;
    }

    .award-row {
        flex-wrap: wrap;
        justify-content: center;
    }

    .award {
        width: 150px;
    }

    .award img {
        width: 120px;
        height: 100px;
    }

    .award h5 {
        font-size: 14px;
        max-width: 100px;
        font-weight: 800 !important;
    }
}

/* Responsive styles for phones */
@media (max-width: 480px) {
    .hero-5 {
        width: 95%;
        margin-top: 50px;
    }

    .hero-5 h1 {
        font-size: 28px;
        margin-bottom: 25px;
        padding: 0px 10px;
        text-wrap: balance;
    }

    .hero-5 h4 {
        width: 90%;
        font-size: 16px;
        margin-bottom: 40px;
        font-weight: 600;
        color: var(--primary-p-color);
    }

    .awards {
        width: 100%;
        display: flex;
    }

    .award-row {
        flex-direction: column;
        align-items: center;
    }

    .award {
        width: 120px;
        margin-bottom: 20px;
    }

    .award img {
        width: 150px;
        height: 120px;
    }

    .award h5 {
        font-size: 16px;
        max-width: 120px;
        color: #303F8A;
    }
}

/* hero-6 */
.hero-6 {
    width: 100%;
    margin-top: 60px;
}

.hero-6 img {
    width: 100%;
    max-height: 600px;
}


/* hero-7*/
.hero-7 {
    width: 80%;
    margin: 0 auto;
    text-align: center;
    margin-top: 50px;
}

.hero-7-height {
    height: 90px;
}

.hero-7 h1 {
    text-transform: uppercase;
    margin-top: 20px;
    font-size: var(--primary-font-size);
    font-weight: 600;
    color: var(--primary-color);
}

.hero-7 p {
    font-size: 16px;
    margin-top: 20px;
    color: var(--primary-p-color);
    font-weight: 800;
    text-transform: uppercase;
}

@media (max-width: 480px) {
    .hero-7 {
        width: 95%;
        margin: 20px auto;
    }

    .hero-7 h1 {
        text-align: center;
        font-size: 28px;
        margin-top: 15px;
        font-weight: 800 !important;
    }

    .hero-7 p {
        text-align: center;
        font-size: 16px;
        margin-top: 30px;
    }

    #readMore {
        margin-top: 40px;
        font-weight: 600;
    }
}

#readMore {
    margin-top: 80px;
    font-weight: 600;
}

/* hero-8 */
.hero-8 {
    height: auto;
    width: 70%;
    margin: 0 auto;
    margin-top: -50px;
}

.hero-8 h4 {
    text-align: right;
    color: red;
    cursor: pointer;
}

@media (max-width: 480px) {
    .hero-8 {
        width: 90%;
        margin: 20px auto;
    }

    .hero-8 h4 {
        text-align: right;
        font-size: 20px;
        margin-top: 75px;
    }

    .hero-8 p {
        text-align: center;
        font-size: 16px;
        margin-top: 15px;
    }
}

/* hero-9 */
.hero-9 {
    height: auto;
    width: 70%;
    max-width: 1300px;
    margin: 0 auto;
}

.hero-9 p {
    font-family: sans-serif;
    font-size: 15px;
    margin-bottom: 20px;
    line-height: 22px;
    text-align: justify;
}

.hero-9 ul li {
    font-family: sans-serif;
    font-size: 15px;
    list-style: none;
    align-items: center;
    line-height: 22px;
}

.hero-9 ul li i {
    text-align: center;
    font-size: 8px;
}

.hero-9 h3 {
    font-family: sans-serif;
    font-size: 22px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.hero-9 h2 {
    font-family: sans-serif;
    font-size: 30px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.hero-9 h4 {
    text-align: right;
    margin-bottom: 50px;
    color: red;
}

.hero-9 a {
    color: deepskyblue;
}

.hero-9 a:hover {
    color: grey;
}

#readLess {
    cursor: pointer;
}

@media (max-width: 480px) {
    .hero-9 {
        margin-top: 40px;
        width: 90%;
    }

    .hero-9 h4 {
        font-size: 20px;
    }
}

#popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    z-index: 1001;
    border-radius: 5px;
    height: 400px;
    opacity: 0;
    transition: transform 2s ease-out, opacity 2s ease-out;
}

.popup-content {
    max-width: 350px;
    height: 380px;
    margin: 0 auto;
    border-radius: 7px;
}

.popup-content .form {
    width: 100%;
    height: 100%;
}

#close-btn {
    border: none;
    margin-left: 300px;
    font-size: 22px;
    cursor: pointer;
    background-color: white;
}

#overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

body.popup-open #popup {
    display: block;
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

@media (max-width: 480px) {
    .popup-content .form {
        width: 100%;
    }

    #close-btn {
        border: none;
        font-size: 20px;
        cursor: pointer;
    }
}
