@import url('https://fonts.googleapis.com/css2?family=Teachers:ital,wght@0,400..800;1,400..800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Teachers", sans-serif;
    color: white;
    background-color: #051437;
}


/* Main Section */
.main {
    background: radial-gradient(circle, #1C71B7 1%, #1964A5 8%, #165B98 20%, #051437 90%);
}
.bg{
    background: radial-gradient(circle, #1C71B7 1%, #1964A5 8%, #165B98 20%, #051437 90%);
}
/* mobile app */
.mob-app .below {
    display: flex;
    padding-top: 20px;
    justify-content: center;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
    /* Allows buttons to wrap on smaller screens */
}

.mob-app .below a {
    color: white;
    text-decoration: none;
    border: 3px solid #FA911A;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 3vh;
    transition: background-color 0.3s ease;
    /* Smooth hover effect */
}

.mob-app .below a:hover {
    background-color: #896138;
}

.mob-app .below2 a {
    color: white;
    text-decoration: none;
    border: 3px solid #51BCE2;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 3vh;
    transition: background-color 0.3s ease;
    /* Smooth hover effect */
}

.mob-app .below2 a:hover {
    background-color: #1070B1;
}
@media(max-width: 525px){
    .mob-app .below2 a{
        padding: 8px 93px;
    }
    .mob-app .below2 a{
        padding: 8px 109px;
    }
}

/* services section */
.services h2 {
    font-size: 36px;
    font-weight: 800;
    color: #ff8b00;
}

.services h2 span {
    font-size: 36px;
    font-weight: 800;
    color: white;
}

.services .p {
    font-size: 33px;
    font-weight: 500;
}
.services p {
    margin: 0px 165px;
}

.service-cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem !important;
}

.card {
    background: radial-gradient(circle at top, #1C71B7 1%, #1964A5 3%, #165B98 8%, #051437 90%);
    border-radius: 20px;
    padding: 30px 20px;
    margin-bottom: 30px;
    position: relative;
    transition: all 0.3s ease-in-out;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: none;
}

.card img {
    height: 12rem;
    margin-bottom: 20px;
    margin: 0 auto; /* Center the image horizontally */
}

.card:hover {
    box-shadow: 1px -10px 35px 0px #4F90AD;
    transform: translateY(-10px);
}

.card h3 {
    color: #ff8b00;
    font-size: 24px;
    font-weight: 700;
    margin-top: 10px;
    text-shadow: 0 0 10px #41556F, 0 0 10px #41556F, 0 0 15px #41556F, 3px 1px 3px black;
}

.card p {
    color: #c9d6e2;
    font-size: 16px;
    line-height: 1.6;
    margin: 10px 10px;
    text-align: start;
    font-weight: 600;
}

.learn-more {
    background-color: transparent;
    border: 2px solid #ff8b00;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s;
    font-weight: 700;
    text-shadow: 0px 1px 1px black;
    width: 80%;
    margin: 10px auto;
}

.learn-more:hover {
    background-color: #896138;
}

/* Responsive adjustments */
@media (max-width: 700px) {
    .services h2 {
        font-size: 24px;
    }

    .services h2 span {
        font-size: 24px;
    }

    .services .p {
        font-size: 20px;
    }
    
    .service-cards {
        padding: 30px;
    }

    .card {
        width: auto;
    }

    .learn-more {
        width: 100%;
    }
}
@media (max-width: 1000px){
    .services p {
        margin: auto;
    }
}

/* Footer */
.footer {
    position: relative;
    background-image: url('/img/footer.png');
    background-size: cover;
    background-position: center;
}

.footer-overlay {
    background-color: rgba(13, 27, 69, 0.47);
    /* Dark blue overlay */
}

.footer h5 {
    color: #FF8B00;
    /* Orange color for titles */
}

.list-unstyled a {
    color: white;
    text-decoration: none;
}

.list-unstyled a:hover {
    color: #FF8B00;
}

.subscribe-form {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.subscribe-form input {
    padding: 10px;
    border: none;
    border-radius: 5px;
    width: 200px;
    background-color: #1f3f817a;
}

.subscribe-form button {
    background-color: #0a87f4;
    /* color: white; */
    padding: 8px 20px;
    border: none;
    border-radius: 10px;
}

.subscribe-form button:hover {
    background-color: #3395eb;
}

.social-media {
    text-align: center;
    margin-top: 20px;
    margin: 5px 0px;
    padding: 20px 5px;
    border-radius: 10px;
    background: linear-gradient(90deg, rgb(49 107 196 / 70%) 27%, rgb(181 134 38 / 79%) 74%);
}