/* Footer Container */
.footer {
    margin-top: 100px;
    background-color: #21346B; 
    width: 100%;
    height: 338px;
    color: #ffffff; /* White text */
    padding: 5px;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: row; 
    position: relative;
}
@media screen and (min-width: 768px) and (max-width:1023px){
    .footer {
        height: auto;
    display: flex;    
    flex-direction: row;
    text-align: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    align-items: flex-start;
        
    }
}
@media screen and (min-width: 320px ) and (max-width:767px) { /* Mobile */
    .footer {
        height: auto;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 10px;
    }

    .left-footer, .middle-footer, .right-footer {
        width: 100%;
        text-align: center;
        padding: 15px;
    } 
}


/* Left Footer Section */
.left-footer {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
    margin-left: 15px;
    width: 100%;
    max-width: 400px;
}

.footer-logo {
    margin-left: 10px;
    
    text-align: center;
}

/* Footer Logo */
.footer-logo img {
    width: 100px;
    height: auto;
    border-radius: 12px;
}

/* Address Section */
.para .add p {
    font-family: inter;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    text-align: center;
}

/* Common Style for Location, Contact, and Email */
.location, .contact, .email {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.location img, .contact img, .email img {
    width: 20px;
    height: 20px;
}

.location-text p, .contact-text p, .email-text p {
    margin: 0;
    font-family: "Inter", sans-serif;
    font-size: 16px;
}

/* Responsive Design */
@media (max-width: 768px) { /* Tablet */
    .left-footer {
        width: 90%;
        margin-left: 10px;
    }

    .footer-logo img {
        width: 90px;
    }

    .location, .contact, .email {
        flex-direction: row;
        justify-content: flex-start;
    }
}

@media (max-width: 480px) { /* Mobile */
    .left-footer {
        width: 100%;
        align-items: center;
        text-align: center;
    }

    .footer-logo img {
        width: 80px;
    }

    .location, .contact, .email {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .location img, .contact img, .email img {
        width: 18px;
        height: 18px;
    }
}

.middle-footer {
    width: 100%;
    max-width: 500px;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 40px;
}

.middle-foot-headline {
    width: 100%;
    text-align: center;
    margin-bottom: 15px;
}

.middle-foot-headline p {
    font-family: Inter, sans-serif;
    font-weight: 500;
    font-size: 24px;
    line-height: 29.5px;
    color: #fff;
    text-align: center;
}

/* Courses Grid */
.courses_items, .courses_items1 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2px;
    width: 100%;
}

/* Individual Course Box */
.box {
    width: 180px;
    height: 35px;
    border-radius: 5px;
    background-color: #F8A32F;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 5px;
    margin: 2px;
}
.box:hover{
    transform: scale(1.1);
    background-image: linear-gradient( #21346B ,#F8A32F);
    cursor: pointer;
}
/* Course Icon */
.box-image {
    width: 30px;
    height: 30px;
}

.box-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Course Text */
.box-text {
    margin-left: 10px;
}

.box-text p {
    font-size: 15px;
    color: #fff;
    margin: 0;
}
.box-text a{
    text-decoration: none;
    color: #fff;
}

/* Responsive Design */
@media screen and (min-width:769px) and (max-width: 1024px){
    .middle-footer{
        max-width: 100%;
    }
    .box{
        width: auto;
    }
}

@media screen and (min-width: 768px) and (max-width:1023px) { /* Tablet */
    .middle-footer {
        max-width: 50%;
    }

    .courses_items, .courses_items1 {
        justify-content: space-evenly;
    }

    .box {
        width: 195px;
    }
}

@media screen and (min-width: 320px ) and (max-width:767px) { /* Mobile */
    .middle-footer {
        /* max-width: 100%; */
        margin-top: 0;
        margin-left: 8px;
    }

    .courses_items, .courses_items1 {
        flex-direction: column;
        align-items: center;
    }

    .box {
        width: 100%;
        justify-content: center;
        text-align: center;
        cursor: pointer;
    }

    .box:hover{
        transform: scale(1.1);
        background-image: linear-gradient( #21346B ,#F8A32F);
        cursor: pointer;
    }

    .box-text {
        margin-left: 0;
    }
}

.right-footer {
    width: 100%;
    max-width: 250px;
    position: absolute;
    bottom: 20px;
    right: 10px;
    /* display: flex; */
    flex-direction: column;
    align-items: center;
    /* margin-top: 50%; */

}

/* Social Links Title */
.social-links {
    text-align: center;
    margin-bottom: 8px;
}

.social-links p {
    font-size: 18px;
    font-weight: 600;
    font-family: "Inter", sans-serif;
    line-height: 24px;
    color: #ffffff;
}

/* Social Icons Container */
.social-icon {
    width: 100%;
    max-width: 240px;
    background-color: #ffffff;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px;
}

/* Icon Box */
.icon-box {
    display: flex;
    justify-content: center;
    gap: 10px;
}

/* Individual Icon */
.icon-image {
    width: 36px;
    height: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.icon-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease-in-out;
}

/* Hover Effect */
.icon-image a:hover img {
    transform: scale(1.1);
}

/* Responsive Design */
@media screen and (min-width:769px) and (max-width: 1024px){
    .right-footer {
        /* position: static; */
        width: 100%;
       
    }

    .social-icon {
        max-width: 280px;
    }

    .icon-box {
        gap: 8px;
    }

    

    .icon-image {
        width: 32px;
        height: 32px;
    }
}
@media screen and (min-width: 768px) and (max-width:1023px) { /* Tablet */
    .right-footer {
        width: 100%;
        max-width: 250px;
        /* position: absolute;
        bottom: 20px;
        right: 10px; */
        display: flex;
        flex-direction: column;
        align-items: center;
        /* margin-top: 20%; */
    
    }

    .social-icon {
        max-width: 280px;
    }

    .icon-box {
        gap: 8px;
    }

    .icon-image {
        width: 32px;
        height: 32px;
    }
}

@media screen and (min-width: 320px ) and (max-width:767px) { /* Mobile */
    .right-footer {
        width: 100%;
        max-width: 60%;
        position: static;
        display: flex;
        flex-direction: column;
        align-items: center;
       
    }

    .social-icon {
        max-width: 90%;
        padding: 10px;
    }

    .icon-box {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }

    .icon-image {
        width: 30px;
        height: 30px;
    }
}
.end{
    width: 100%;
    height: 20px;
    background-color: #F8A32F;
}