@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;
}

.bg {
    background: radial-gradient(circle, #1C71B7 1%, #1964A5 8%, #165B98 20%, #051437 90%);
}

.home{
    padding-top: 90px;
}
@media (max-width: 768px){
    .home1{
        padding-top: 45px;
    }
}

/* Main content styling */
.main-title {
    font-size: 1.75rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.5rem;
    font-weight: bold;
    margin-top: 20px;
}

.main-text {
    font-size: 1rem;
    line-height: 1.6;
}

/* Sidebar (Our Services) styling */
.s-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.s-card {
    display: flex;
    align-items: center;
    background-color: #333;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 10px;
    color: #ffffff;
}
.s-card img{
    height: 60px;
    width: 60px;
}

.s-icon {
    width: 40px;
    height: 40px;
    margin-right: 15px;
}

.s-name {
    font-size: 1.25rem;
    font-weight: bold;
    color: #ff8c00;
}

.s-type {
    font-size: 1rem;
    color: #ffffff;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .main-title {
        font-size: 1.5rem;
    }

    .section-subtitle {
        font-size: 1.25rem;
    }

    .s-title {
        font-size: 1.25rem;
    }

    .s-name {
        font-size: 1.1rem;
    }

    .s-type {
        font-size: 0.9rem;
    }
}

/* Footer */
.footer {
    position: relative;
    background-image: url('/build/images/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%);
}

/* blogs page */
.service-card {
    background: radial-gradient(circle at top left, #1f7dca 5%, #020928 90%);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px 0;
}

.service-card h4 {
    color: #ff9d00;
    font-weight: bold;
    /* font-size: 1.4rem; */
    margin-bottom: 15px;
}

.service-card p {
    font-size: 0.9rem;
    margin: 10px 0 20px;
    line-height: 1.4;
}

.service-card img {
    /* width: 100px; */
    height: 20rem;
    margin-bottom: 20px;
}

.explore-btn {
    border: 2px solid #ff9d00;
    /* color: #051437; */
    color: white;
    font-weight: bold;
    border-radius: 30px;
    padding: 10px 30px;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: background-color 0.3s ease;
    font-size: 0.9rem;
}

.explore-btn:hover {
    background-color: #e58a00;
    color: #051437;
}

.explore-btn i {
    margin-left: 8px;
}

/* Responsive adjustments */
@media (max-width:1300px) {
    .service-card img {
        height: 15rem;
    }
}

@media (max-width:1024px) {
    .service-card img {
        height: 10rem;
    }

    .service-card p {
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .service-card {
        padding: 15px;
    }

    .service-card h5 {
        font-size: 1rem;
        margin-bottom: 10px;
    }

    .service-card p {
        font-size: 0.85rem;
    }

    .explore-btn {
        padding: 8px 20px;
        font-size: 0.85rem;
    }
}

/* contact section */
.contact-section {
    color: white;
}

.contact-section h2 {
    /* font-size: 1.75rem; */
    margin-bottom: 20px;
    text-shadow: 2px 3px 3px black;
}
.contact-section h2 span{
    color: #ff7e1f;
}

.contact-section .form-control {
    background-color: #5a5a5a;
    border: none;
    border-radius: 10px;
    color: white;
    padding: 12px;
}

.contact-section .form-control::placeholder {
    color: #ddd;
}

.contact-section .btn-warning {
    background-color: #ff7e1f;
    border: none;
    padding: 10px;
    font-weight: bold;
    color: white;
    border-radius: 10px;
    transition: background-color 0.3s ease;
}

.contact-section .btn-warning:hover {
    background-color: #ff9900;
}

.contact-section ul li i {
    color: #ff7e1f;
}