/* Background with vibrant gradient */
.gradient-bg {
    background: linear-gradient(135deg, #dddce9 0%, #adb5b9 100%);
    padding: 40px 0;
    font-family: "Poppins", sans-serif;
}

/* Frosted glass effect for cards */
.glass-card {
    background: rgb(255 255 255 / 56%);
    border-radius: 20px;
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    color: #fff;
}

/* Headings */
.section-title {
    font-weight: 700;
    letter-spacing: 1px;
    color: #000;
    text-transform: uppercase;
}

/* News list */
.news-item {
    padding: 12px 0;
    border-bottom: 1px solid rgba(3, 0, 0, 0.972);
}

.date-badge {
    display: inline-block;
    background: #0ea5e9;
    color: #fff;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    margin-right: 8px;
}

.news-link {
    color: #000;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.news-link:hover {
    color: #0b2fe5;
    text-decoration: none;
}

/* Glow button */
.btn-glow {
    background: #0ea5e9;
    color: #fff;
    font-weight: 600;
    border-radius: 30px;
    padding: 8px 24px;
    transition: box-shadow 0.3s, transform 0.3s;
}
.btn-glow:hover {
    box-shadow: 0 0 15px #ffffff;
    transform: translateY(-3px);
}

/* Quick link tiles */
.link-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #e8ebef;
    color: #000;
    border-radius: 16px;
    padding: 20px 10px;
    height: 100%;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
    border: 2px solid #b1afaf;
}
.link-tile i {
    font-size: 2.2rem;
    margin-bottom: 8px;
}
.link-tile:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.545);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}
.link-tile span {
    font-weight: 600;
    font-size: 0.9rem;
}
/* Background with subtle gradient overlay on school image */
.principal-section {
    background: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)),
        url("https://aps.testpentas.in/public/admin_images/sliders/1758281569.jpg") center/cover no-repeat;
}

/* Stylish image frame with floating effect */
.image-frame img {
    border: 6px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.image-frame img:hover {
    transform: scale(1.03);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* Glowing call-to-action button */

/* Toppers section */
.toppers-section {
    font-family: "Poppins", sans-serif;
}

/* Distinct wrappers */
.class-x {
    background: linear-gradient(135deg, #e0f7fa, #b2ebf2);
    padding: 30px;
}
.class-xii {
    background: linear-gradient(135deg, #e7d6c0, #e1c892);
    padding: 30px;
}

/* Heading colors */
.text-x {
    color: #00796b; /* teal for Class X */
}
.text-xii {
    color: #85694d; /* purple for Class XII */
}

/* Card Base */
.toppers-slider {
    display: flex;
    gap: 10px;
    overflow: hidden;
}

.topper-card {
    width: 180px !important;
    text-align: center;
    border-radius: 16px;
    padding: 15px;
    flex-shrink: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 320px;
}
.topper-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 10px;
}
.topper-card h5 {
    margin-bottom: 5px;
    font-weight: 600;
}

/* Class-specific card accents */
.card-x {
    background: #ffffff;
    border: 3px solid #4dd0e1;
    /* margin: 10px; */
}
.card-x p {
    color: #0097a7;
    font-weight: 600;
}

.card-xii {
    background: #ffffff;
    border: 3px solid #85694d;
}
.card-xii p {
    color: #85694d;
    font-weight: 600;
}

/* Hover effect */
.topper-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}
@media (max-width: 768px) {
    .contact-box {
        min-width: 100% !important;
    }
}
#contact {
    background: #ffffff;
    padding: 1rem 1rem;
    display: flex;
    justify-content: center;
}

.contact-box {
    max-width: 70vw;
    background: #ffffff;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    text-align: center;
}

.contact-box h2 {
    font-size: 2.5rem;
    color: #111;
    margin-bottom: 1rem;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.contact-box h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background: #3b82f6;
    margin: 1rem auto 1.5rem;
    border-radius: 2px;
}

.contact-lead {
    font-size: 1.2rem;
    font-weight: bold;
    color: #ccc;
    margin-bottom: 0.5rem;
}

.contact-box p {
    color: #aaa;
    font-size: 1rem;
    margin-bottom: 2rem;
}

.contact-button {
    display: inline-block;
    padding: 12px 28px;
    background-color: #3b82f6;
    color: white;
    font-weight: bold;
    text-decoration: none;
    border-radius: 30px;
    transition: background-color 0.3s;
}

.contact-button:hover {
    background-color: #2563eb;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-item {
    position: relative;
}

.form-item input,
.form-item textarea {
    width: 100%;
    padding: 10px 6px;
    border: none;
    border-bottom: 2px solid black;
    background: transparent;
    font-size: 16px;
    outline: none;
    resize: none;
}

.form-item label {
    position: absolute;
    left: 6px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    color: grey;
    pointer-events: none;
    transition: all 0.3s ease;
}

.form-item:has(textarea) label {
    top: 75%;
}

.form-item input:focus + label,
.form-item textarea:focus + label,
.form-item input:not(:placeholder-shown) + label,
.form-item textarea:not(:placeholder-shown) + label {
    top: -10px;
    font-size: 12px;
    color: black;
}

.form-button {
    background-color: black;
    color: white;
    border: none;
    padding: 12px 0;
    border-radius: 20px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s;
}

.form-button:hover {
    background-color: #3b82f6;
    color: white;
}

.form-button:active {
    background-color: #3270d3;
}
.breadcrumb-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.sticky-header {
    position: sticky;
    top: 0;
    z-index: 9999;
    background: #fff;
}
.sticky-header-logo {
    position: sticky;
    top: 0;
    z-index: 9999;
    background: #fff;
}
.border-radius-18 {
    border-radius: 18px;
}
.fs-13{
    font-size: 13px !important;
}
.fl-wrapper{
    z-index: 999999999 !important;
}
.fs-2-rem{
    font-size: 2rem !important;
}
