*{
    box-sizing: border-box;
    text-align: center;
    font-size: 17px;
}

body{
    margin: 0px;
    font-family: Arial, Helvetica, sans-serif;
}

a{ 
    text-decoration: none;
    color: black;
}

a :hover{
    text-decoration: none;
    color: black;
}

.responsive-img{
    width: 100%;
    height: auto;
}


.menu{
    background-color: #416BA9;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.background-menu{
    background-color: #416BA9;
}

.menu a {
    float: left;
    display: block;
    color: #f2f2f2;
    text-align: center;
    padding: 10px 15px;
    text-decoration: none;
    font-size: 17px;
    white-space: nowrap;
}

.menu a:hover {
    background-color: #f2f2f2;
    color: #416BA9;
}

.menu a.active {
    background-color: #B81F26;
    color: white;
}

video{
    width: 100%;
    height: auto;
}

.header {
    border: 1px solid red;
    padding: 15px;
}

.container{
    align-items: center;
}

.row{
    align-content: center;
}

.row::after {
    content: "";
    clear: both;
    display: table;
}

[class*="col-"] {
    float: left;
    padding-left: 2px;
    padding-right: 2px;
}

[class*="col-"] {
    width: 100%;
    padding-left: 2px;
    padding-right: 2px;
}
  
@media only screen and (min-width: 768px) {
    /* For desktop: */
    .col-1 {width: 8.33%;}
    .col-2 {width: 16.66%;}
    .col-3 {width: 25%;}
    .col-4 {width: 33.33%;}
    .col-5 {width: 41.66%;}
    .col-6 {width: 50%;}
    .col-7 {width: 58.33%;}
    .col-8 {width: 66.66%;}
    .col-9 {width: 75%;}
    .col-10 {width: 83.33%;}
    .col-11 {width: 91.66%;}
    .col-12 {width: 100%;}
    .menu .icon {
        display: none !important;
    }
    .menu a {
        display: block !important;
        float: left;
    }
}

@media screen and (max-width: 768px) {
    .menu a {
        display: none;
    }
    .menu a.icon {
        float: right;
        display: block !important;
        padding: 10px 15px;
        font-size: 20px;
    }
    .menu.responsive {
        position: relative;
        width: 100%;
        display: block;
    }
    .menu.responsive .icon {
        position: absolute;
        right: 0;
        top: 0;
    }
    .menu.responsive a {
        float: none;
        display: block !important;
        text-align: left;
        padding: 12px 15px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }
}

.col-centered{
    float: none;
    margin: 0 auto;
}

.admission{
    float: none;
    padding-top: 12rem;
    padding-bottom: 12rem;
    margin-top: 50px;
}

.margin-top{
    margin-top: 50px;
}

.margin {
    margin-bottom: 50px;
}

.admission a{
    width: 100%;
}

.banner{
    background-image: url("../img/aeccsticky.png");
    height: 400px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.banner-text {
    text-align: center;
    position: absolute;
    top: 90%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: black;
    background-color: lightslategray;
    opacity: 0.5;
}
  
.banner-text button {
    border: none;
    outline: 0;
    display: inline-block;
    padding: 10px 25px;
    color: black;
    background-color: #ddd;
    text-align: center;
    cursor: pointer;
}
  
.banner-text a:hover {
    background-color: #555;
    color: white;
}

.fsNavParentPage a{
    color: black;
}

.black-text{
    color: black !important;
}

/* School Info Header Section */
.info-header-section {
    padding: 20px 15px;
    background-color: #f9f9f9;
    border-bottom: 2px solid #416BA9;
    text-align: center;
}

.school-title {
    margin: 0 0 8px 0;
    font-size: 32px;
    font-weight: bold;
    color: #416BA9;
}

.license-text {
    margin: 0 0 10px 0;
    font-size: 14px;
    color: #666;
    font-style: italic;
}

.address-text {
    margin: 0 0 10px 0;
    font-size: 14px;
    color: #333;
    line-height: 1.5;
}

.contact-text {
    margin: 0;
    font-size: 13px;
    color: #333;
    line-height: 1.6;
}

/* Logo Container Styles (Left and Right) */
.logo-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px 15px;
    gap: 20px;
    position: relative;
}

.logo-left {
    flex: 0 0 auto;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.logo-right {
    flex: 0 0 auto;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.logo-left a,
.logo-right a {
    display: inline-block;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.logo-left a:hover,
.logo-right a:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.logo-img {
    max-width: 100%;
    height: auto;
    max-height: 150px;
    width: auto;
    display: block;
}

/* Desktop Layout */
@media screen and (min-width: 1024px) {
    .info-header-section {
        padding: 25px 20px;
    }

    .school-title {
        font-size: 32px;
        margin-bottom: 10px;
    }

    .address-text,
    .contact-text {
        font-size: 14px;
    }

    .logo-container {
        padding: 25px 20px;
        gap: 30px;
    }

    .logo-img {
        max-height: 160px;
    }
}

/* Tablet Layout */
@media screen and (min-width: 769px) and (max-width: 1023px) {
    .info-header-section {
        padding: 18px 12px;
    }

    .school-title {
        font-size: 28px;
    }

    .license-text {
        font-size: 13px;
    }

    .address-text,
    .contact-text {
        font-size: 12px;
    }

    .logo-container {
        padding: 18px 12px;
        gap: 20px;
    }

    .logo-img {
        max-height: 130px;
    }
}

/* Mobile Layout (Stacked) */
@media screen and (max-width: 768px) {
    .info-header-section {
        padding: 15px 10px;
    }

    .school-title {
        font-size: 24px;
        margin-bottom: 6px;
    }

    .license-text {
        font-size: 12px;
        margin-bottom: 8px;
    }

    .address-text {
        font-size: 12px;
        margin-bottom: 8px;
    }

    .contact-text {
        font-size: 11px;
        line-height: 1.5;
    }

    .logo-container {
        flex-direction: column;
        padding: 15px 10px;
        gap: 15px;
    }

    .logo-left,
    .logo-right {
        width: 100%;
        justify-content: center;
    }

    .logo-img {
        max-height: 120px;
    }
}

/* Small Mobile Layout */
@media screen and (max-width: 480px) {
    .info-header-section {
        padding: 12px 8px;
    }

    .school-title {
        font-size: 22px;
        margin-bottom: 5px;
    }

    .license-text {
        font-size: 11px;
        margin-bottom: 6px;
    }

    .address-text {
        font-size: 11px;
        margin-bottom: 6px;
        line-height: 1.4;
    }

    .contact-text {
        font-size: 10px;
        line-height: 1.4;
    }

    .logo-container {
        padding: 12px 8px;
        gap: 12px;
    }

    .logo-img {
        max-height: 100px;
    }

    .menu a {
        padding: 8px 10px;
        font-size: 15px;
    }

    .menu a.icon {
        padding: 8px 10px;
        font-size: 18px;
    }
}
