@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

body {
    margin: 0;
    padding: 0;
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
}

:root {
    --primary-color: #1891C8;
    --secondary-color: #14132b;
    --template-font: "Roboto", sans-serif;
    --white-color: #ffffff;
    --black-color: #000;
}

.h-menu {
    background-color: #ffffff73;
    border-radius: 2px;
}

.logo {
    width: 90px;
}

.circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.fa-phone-volume {
    color: #000;
}

.hotline {
    font-size: 12px;
    font-weight: 400;
    color: var(--black-color);
}

.phn-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--black-color);
}

.navbar {
    background-color: #fff;
    /* box-shadow: rgba(0, 0, 0, 0.05) 0px 1px 2px 0px; */
    box-shadow: rgba(27, 31, 35, 0.04) 0px 1px 0px, rgba(255, 255, 255, 0.25) 0px 1px 0px inset;
}

.nav-link {
    color: var(--black-color);
    transition: all 0.5s linear;
    font-size: 16px;
    font-weight: 600;
}

.nav-link:hover {
    color: var(--primary-color);
}

.title {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-color);
}

.sub-title {
    font-size: 16px;
    font-weight: 600;
}

/* Home Banner */
.home-banner {
    /* background-image: url('../images/hero-banner.jpeg'); */
    background-color: #F8F9FA;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* height: 600px; */
    padding: 3rem 0 5rem 0;
}

.tp-hero-logo {
    width: 35%;
}


.home-banner h1 {
    font-size: 62px;
    font-weight: 900;
    /* color: var(--white-color); */
    color: #000000;
}

.home-banner h6 {
    width: 40%;
    margin: 0 auto;
    font-size: 36px;
    font-weight: 600;
    color: #545454;
}

.pd-btn {
    border: none;
    outline: none;
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
    transition: all 0.5s linear;
}

.pd-btn:hover {
    background-color: #2073B9;
}

@media (max-width: 576px) {

    .home-banner h1 {
        font-size: 42px;
        font-weight: 900;
        color: var(--white-color);
    }

    .tp-hero-logo {
        width: 75%;
    }

    .home-banner h6 {
        font-size: 18px;
        width: 100%;
    }

}

/* Notice & Exam */
.card {
    border: none;
    border-radius: 0.5rem;
}

.card.shadow-sm {
    box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075) !important;
}

.notice-board-header {
    background-color: #3498db;
    /* Blue color for the header */
    text-align: center;
    border-radius: 0.5rem 0.5rem 0 0;
    /* Rounded top corners */
}

.notice-item {
    background-color: #E7F4F6;
}

.notice-item .notice-date {
    line-height: 1;
    color: #3498db;
    /* Blue for the date numbers */
}

.notice-item .notice-month {
    font-size: 0.9rem;
    color: #3498db !important;
    /* Blue for the month text */
    text-transform: uppercase;
    font-weight: 600;
}

.notice-item .border-end {
    border-color: #e0e0e0 !important;
    /* Light grey border */
}

.card-text {
    font-size: 12px;
}




/* Adjusting overall spacing and alignment to match the image closely */
.container-fluid {
    max-width: 1200px;
    /* Adjust as needed for overall layout width */
    margin-top: 50px;
    /* Example top margin */
}

.card.h-100 {
    min-height: 400px;
    /* Ensure sufficient height for the exam results card */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.card.h-100 p {
    font-size: 1.2rem;
}



.contact-section {
    padding: 10px 0 60px 0;
    flex-grow: 1;
    /* Allows the section to expand and push footer down */
}

.contact-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    padding: 40px;
}

.contact-info h3,
.contact-form h3 {
    font-weight: 700;
    color: #343a40;
    margin-bottom: 30px;
}

.contact-info p {
    font-size: 1.05rem;
    color: #495057;
    margin-bottom: 15px;
}

.contact-info i {
    color: #007bff;
    /* Primary blue for icons */
    margin-right: 10px;
    width: 25px;
    /* Fixed width for icon alignment */
    text-align: center;
}

.social-icons a {
    color: #6c757d;
    /* Muted color for social icons */
    font-size: 1.8rem;
    margin-right: 20px;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #007bff;
    /* Primary blue on hover */
}

.map-placeholder {
    background-color: #e2e6ea;
    height: 250px;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #6c757d;
    font-size: 1.2rem;
    margin-top: 30px;
    overflow: hidden;
    /* Ensure content stays within rounded corners */
}

.form-control {
    border-radius: 8px;
    padding: 12px 15px;
    border: 1px solid #ced4da;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    border-color: #80bdff;
    box-shadow: 0 0 0 0.25rem rgba(0, 123, 255, 0.25);
}

.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
    border-radius: 8px;
    padding: 12px 30px;
    font-weight: 600;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}



/* Book section  */
.book-card {
    border: none;
    border-radius: 15px;
    /* Rounded corners for the card */
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    /* Soft shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 350px;
    /* Max width for a single card */
    width: 100%;
    background-color: #fff;
}

.book-card:hover {
    transform: translateY(-5px);
    /* Lift effect on hover */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    /* Enhanced shadow on hover */
}

.book-card img {
    width: 100%;
    height: 350px;
    /* Fixed height for book cover */
    object-fit: cover;
    /* Ensures image covers the area without distortion */
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.book-card .card-body {
    padding: 25px;
}

.book-card .card-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #343a40;
    /* Dark text for title */
}

.book-card .card-subtitle {
    font-size: 1rem;
    color: #6c757d;
    /* Muted text for author */
    margin-bottom: 15px;
}

.book-card .card-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #495057;
    /* Standard text color */
    margin-bottom: 20px;
}

.book-card .price {
    font-size: 1.8rem;
    font-weight: 800;
    color: #28a745;
    /* Green for price */
    margin-bottom: 20px;
}

.book-card .btn-buy {
    background-color: #007bff;
    /* Primary blue button */
    border: none;
    border-radius: 50px;
    /* Fully rounded button */
    padding: 12px 25px;
    font-weight: 600;
    font-size: 1.05rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.book-card .btn-buy:hover {
    background-color: #0056b3;
    /* Darker blue on hover */
    transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .book-card {
        max-width: 95%;
        /* Adjust width for smaller screens */
    }

    .book-card img {
        height: 300px;
        /* Slightly smaller image on mobile */
    }

    .book-card .card-title {
        font-size: 1.4rem;
    }

    .book-card .price {
        font-size: 1.6rem;
    }

    .book-card .btn-buy {
        width: 100%;
        /* Full width button on small screens */
    }
}



/* Footer  */
.footer {
    background: #0e0d0d;
    /* Dark, sophisticated gradient */
    color: #ecf0f1;
    /* Light text color for contrast */
    padding: 100px 0 0px;
    /* Top padding, no bottom padding for copyright */

    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
    /* Shadow for depth */
}

.footer h5 {
    color: #85c1e9;
    /* Light blue for headings */
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer h5::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background-color: #85c1e9;
    border-radius: 5px;
}

/* Adjust heading underline for center-aligned columns on small screens */
@media (max-width: 767.98px) {
    .footer h5::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

.footer p,
.footer ul {
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer ul li {
    margin-bottom: 10px;
}

.footer ul li a {
    color: #ecf0f1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer ul li a:hover {
    color: #85c1e9;
    /* Hover color for links */
    text-decoration: underline;
}

.footer .social-icons a {
    color: #ecf0f1 !important;
    transition: color 0.3s ease, transform 0.3s ease;
    font-size: 14px !important;
}

.footer .social-icons a:hover {
    color: #85c1e9 !important;
    transform: translateY(-3px);
    /* Slight lift on hover */
}

.footer .copyright {
    background-color: rgba(0, 0, 0, 0.2);
    /* Slightly darker background for copyright */
    padding: 15px 0;
    margin-top: 50px;
    font-size: 0.85rem;
    font-size: 12px;
}