/* ================= GLOBAL ================= */
body {
    background: #f4f6fa;
    font-family: "Times New Roman", serif;
}

/* ================= HERO SECTION ================= */
.hero {
    position: relative;
    background: url('../images/alrhero.png') center / cover no-repeat;
    padding: 170px 15px;
    color: #fff;
}

.hero-box {
    position: relative;
    max-width: 750px;
    margin: auto;
    padding: 30px 20px;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(12px);
    border: 1px solid #950303;
    border-radius: 0 55px 0 55px;
    z-index: 2;
}

.hero h1 {
    font-size: 2.2rem;
    font-weight: 700;
}

.hero p {
    font-size: 1.1rem;
    opacity: 0.95;
}

.hero-logo {
    width: 100px;
    margin-bottom: 20px;
}

.gold {
    color: #d4af37;
}

/* ================= ABOUT SECTION ================= */
.abt-top{
    padding-top: 150px;
}
.about-section {
    position: relative;
    background: url('../images/abouthero.png') center / cover no-repeat;
    padding: 15px 0 100px; /* prevents header overlap */
    color: #fff;
}

.about-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
}

.about-box {
    position: relative;
    z-index: 2;
    background: #ffffff;
    padding-top: 150px;
    padding: 50px;
    border-radius: 20px;
    border-left: 6px solid #5d0b0b;
    border: 1px solid rgba(163,135,9,0.78);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    color: #000;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #5d0b0b;
    margin-bottom: 25px;
}

.about-box p {
    font-size: 1.05rem;
    color: #333;
    line-height: 1.7;
}

.about-list {
    list-style: none;
    padding-left: 0;
    margin-top: 15px;
}

.about-list li {
    margin-bottom: 8px;
    font-size: 0.95rem;
    color: #222;
}

.about-img {
    max-height: 380px;
    border-radius: 20px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

/* ================= STATS ================= */
.stat-box {
    text-align: center;
    padding: 20px;
}

.stat-number {
    font-size: 2.4rem;
    font-weight: 700;
    color: #660505;
}

.bg-light .about-box,
.bg-light .stat-number {
    color: #660505;
}

/* ================= KERALA LAW ACADEMY ================= */
.kla-section {
    position: relative;
    background: url('../images/KLA front 2.jpg') center / cover no-repeat;
    padding: 100px 0;
    margin-top: 20px;
    color: #cd0000;
}

.kla-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.36);
}

.kla-content {
    position: relative;
    z-index: 2;
    background: #ffffff;
    padding: 40px;
    border-radius: 20px;
    color: #000;
}

/* ================= PUBLICATIONS ================= */
.publication-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    transition: 0.35s ease;
}

.publication-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.publication-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

/* ================= BUTTONS ================= */
.btn-warning {
    background: #d4af37;
    border: none;
    color: #1b2a4e;
}

.btn-warning:hover {
    background: #c6a233;
}

/* ================= ANIMATIONS ================= */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: 1s ease;
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: 1s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    .about-box,
    .kla-content {
        padding: 25px;
    }
    .section-title {
        font-size: 1.6rem;
    }
}
