* {
    font-family: "Source Sans 3", sans-serif;
    transition: all 0.7s ease !important;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

h1,
h5 {
    font-family: "Open Sans", sans-serif;
}

h1 {
    font-size: 4rem;
    font-weight: 700;
}

h5 {
    font-size: 1.4rem;
    font-weight: 700;
}

.sub-heading {
    font-size: 3.2rem;
    font-weight: 700;
}

@media (max-width: 1440px) {
    h1 {
        font-size: 3.8rem;
    }

    h5 {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 3.4rem;
        font-weight: 600;
    }

    h5 {
        font-size: 1.1rem;
        font-weight: 600;
    }

    .sub-heading {
        font-size: 2.8rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 3rem;
    }

    .sub-heading {
        font-size: 2.5rem;
    }
}

p {
    margin-bottom: 0px;
}

.icon {
    height: 18px;
    width: 18px;
}

a {
    font-family: "Source Sans 3", sans-serif;
    text-decoration: none;
    color: white;
    opacity: 1;
}

a:hover {
    opacity: 0.7;
}

.breadcrumb {
    opacity: 0.9;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* Top bar design */
.top-bar {
    background-color: #A51B1B;
}

.top-bar-container {
    margin: auto;
    padding: 5px 3rem;
    font-size: 14px;
    max-width: 1440px;
}

.location p {
    color: white;
}

@media screen and (max-width: 650px) {
    .top-bar {
        display: none;
    }
}

/* Nav bar design */
.nav-link {
    font-weight: 600;
}

.nav-link:hover {
    opacity: 1;
    color: #A51B1B;
}

.offcanvas-header img {
    width: 65px;
    height: auto;
}

@media (max-width: 991px) {
    .navbar {
        text-align: center;
    }

    .navbar-toggler:active,
    .navbar-toggler:focus {
        border: 2px solid #A51B1B;
        box-shadow: 0px 0px 3px #A51B1B;
    }
}

/* Common CSS for title section of about,courses,contact,student,teacher registration page */
.title-container {
    color: white;
}

.title {
    background-image: url('../images/title.webp');
    background-size: auto;
    background-position: center;
    background-repeat: no-repeat;
    height: 280px;
    width: 100%;
}

/* Footer design */
.footer {
    background-color: #0F1216;
    color: #dadada;
    padding: 160px 0px 25px;
    position: relative;
}

.footer-link {
    color: #dadada;
}

.footer-content-div {
    width: 300px;
}

.footer-description-div {
    text-align: justify;
}

.footer-links-div h5,
.footer-contact-div h5,
.footer-address-div h5 {
    font-weight: 600;
    margin: 12px 0px 40px;
}

.footer-links-heading {
    color: white;
}

.footer-links-div ul,
.footer-contact-div ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.footer-links-div ul li,
.footer-contact-div ul li,
.footer-contact-div p {
    margin-bottom: 10px;
}

.footer-contact-div ul li div img {
    margin-right: 10px;
}

.footer-social-icon {
    height: 30px;
    width: 30px;
}

.inner-social-links {
    visibility: hidden;
}

@media (max-width: 1199px) {
    .outer-social-links {
        display: none !important;
    }

    .inner-social-links {
        visibility: visible;
        margin-top: 30px;
        gap: 25px !important;
    }

    .copyright-div {
        justify-content: center !important;
    }
}

/* whatsapp icon */
.whatsapp-icon {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 75px;
    height: 75px;
    z-index: 1000;
}

.bubble-animation {
    animation: growShrink 2s ease-in-out infinite;
}

@keyframes growShrink {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

.wp-animation-link {
    opacity: 1;
}

.whatsapp-icon img {
    width: 100%;
    height: 100%;
}

.tooltip-text {
    visibility: hidden;
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 5px 10px;
    border-radius: 5px;
    position: absolute;
    bottom: 70px;
    right: 0;
    font-size: 14px;
    white-space: nowrap;
    z-index: 1001;
    opacity: 0;
    transition: opacity 0.3s;
}

.whatsapp-icon:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

@media (max-width: 900px) {
    .whatsapp-icon {
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 500px) {
    .whatsapp-icon {
        bottom: 10px;
        right: 10px;
    }
}

/* join-us */
.join-us .container {
    padding: 40px 60px;
    border-radius: 20px;
    background-color: #A51B1B;
    position: relative;
    z-index: 10;
    top: 100px;
    color: white;
    width: 80%;
}

@media (max-width: 500px) {
    .join-us .container {
        width: 95%;
    }
}

@media (max-width: 400px) {
    .join-us .container {
        width: 98%;
    }
}

.join-us .container div p {
    color: rgb(214, 214, 214);
    margin-bottom: 20px;
}

.join-us .container div h1 {
    margin-bottom: 0px;
}

.join-us-custom-btn {
    background-color: #212529;
    color: white;
    padding: 10px 30px;
}

.join-us-custom-btn:hover {
    background-color: white;
    color: #212529;
    opacity: 1;
}

@media (max-width: 991px) {
    .join-us .container div h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 767px) {
    .join-us .container {
        flex-direction: column;
        padding: 30px;
        gap: 25px !important;
    }

    .join-us .container div p {
        font-size: 14px;
    }

    .join-us .container div h1 {
        font-size: 2rem;
    }
}

@media (max-width: 575px) {
    .join-us {
        padding: 0px 10px;
    }

    .join-us .container {
        top: 60px;
    }
}

/* Alert design */
.alert {
    width: 50%;
    position: fixed;
    z-index: 1000;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

@media (max-width: 1000px) {
    .alert {
        width: 70%;
    }
}

@media (max-width: 700px) {
    .alert {
        width: 80%;
    }
}

@media (max-width: 615px) {
    .alert {
        width: 90%;
    }
}

@media (max-width: 550px) {
    .alert {
        width: 95%;
    }
}

.alert-primary {
    background-color: #347dcc;
    color: white;
    border: none;
}

.alert-danger {
    background-color: #dc3545;
    color: white;
    border: none;
}

/* Common buttons */
.primary-btn {
    background-color: #A51B1B;
    color: white;
    padding: 10px 30px;
    border-radius: 5px;
    transition: all 0.6s ease !important;
}

.primary-btn:hover {
    border: 1px solid #A51B1B;
    opacity: 1;
}

.secondary-btn {
    background-color: #212529;
    color: white;
    padding: 10px 30px;
    border-radius: 5px;
    transition: all 0.6s ease !important;
}

.secondary-btn:hover {
    border: 1px solid #212529;
    opacity: 1;
}