/* ===============================
   GLOBAL
=================================*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', sans-serif;
     background: linear-gradient(135deg, #faf5de, #eaddff, #ffd6e8);
    color: #303153;
}

/* ===============================
   TOP BAR
=================================*/
.contact-top-bar {
    padding: 20px 40px;
    display: flex;
    flex-direction: column;   /* Stack vertically */
    align-items: flex-start;  /* Align left */
    gap: 40px;
}

/* Logo */
.logo-brand{
    font-size: 1.6rem;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
}
.brand-logo{
    height: 40px;
    width: 40px;
    border-radius: 50%;
    margin-right: 4px;
}

.logo-medi{
    color: #0055ff;
}

.logo-coupons{
    color: #ff1de1;
    margin-left: 2px;
}

.logo-brand:hover .logo-coupons{
    color: #ff4da6;
    transition: 0.3s ease;
}

/* Back Link */
.back-home-link{
    text-decoration: none;
    font-size: 0.95rem;
    color: #303153;
    font-weight: 500;
    transition: 0.3s ease;
}

.back-home-link:hover{
    color: #000;
}


/* Books */
.mbbs-books-section{
    padding:30px 20px;
}

.container{
    width:90%;
    max-width:1300px;
    margin:auto;
}

.section-title{
    text-align:center;
    font-size:36px;
    margin-bottom:10px;
}

.section-subtitle{
    text-align:center;
    color:#666;
    margin-bottom:60px;
}

.year-section{
    margin-bottom:60px;
}
.year-subtitle{
    text-align: center;
}
.subject-section{
    margin-bottom:60px;
}
.subject-title{
    font-size:30px;
    margin-bottom:30px;
    color:#1f2937;
    border-left:6px solid #2563eb;
    padding-left:15px;
}

.year-title{
    font-size:30px;
    margin-bottom:30px;
    color:#1f2937;
    text-align: center;
}

.book-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
    gap:25px;
}

.book-card{
    background:#fff;
    border-radius:15px;
    overflow:hidden;
    box-shadow:0 8px 20px rgba(0,0,0,.08);
    transition:.3s;
}

.book-card:hover{
    transform:translateY(-8px);
}

.book-card img{
    width:100%;
    height:280px;
    object-fit:contain;
    background:#fff;
    padding:15px;
}

.book-content{
    padding:20px;
}

.book-content h3{
    font-size:20px;
    margin-bottom:10px;
}

.book-content p{
    color:#666;
    line-height:1.6;
    font-size:15px;
    margin-bottom:18px;
}
.author{
    color: blue;
}

.amazon-btn{
    display:inline-block;
    background:#ff9900;
    color:#fff;
    text-decoration:none;
    padding:10px 18px;
    border-radius:8px;
    font-weight:600;
}

.amazon-btn:hover{
    background:#e67e00;
}