/* ================= GLOBAL RESET & BASE ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background-color: #f5f7fb;
    color: #334155;
    overflow-x: hidden;
    padding: 0;
}

/* ================= HEADER STYLE ================= */
.top-header {
    width: 100%;
    background: linear-gradient(135deg, #141e30, #243b55);
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-left img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
}

.logo-text {
    color: #fff;
    font-size: 20px;
    font-weight: bold;
}

.menu-icon {
    font-size: 28px;
    color: #fff;
    cursor: pointer;
}

.dropdown {
    display: none;
    position: absolute;
    top: 65px;
    left: 20px;
    background: #fff;
    width: 220px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    z-index: 1000;
}

.dropdown a {
    display: block;
    padding: 14px;
    text-decoration: none;
    color: #222;
    border-bottom: 1px solid #eee;
    font-weight: 500;
}

.dropdown a:hover {
    background: #f1f1f1;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-box {
    padding: 8px 14px;
    border: none;
    border-radius: 30px;
    outline: none;
    width: 220px;
}

.icon-btn {
    width: 35px;
    height: 35px;
    cursor: pointer;
    border-radius: 50%;
    background: #fff;
    padding: 5px;
}

/* ================= HERO SECTION ================= */
header {
    padding: 35px 20px;
    text-align: center;
    background: #e2e8f0;
    background-image: radial-gradient(#b8c2cc 1.5px, transparent 1.5px);
    background-size: 16px 16px;
    border-bottom: 4px solid;
    border-image: linear-gradient(135deg, #141e30, #243b55);
    border-image-slice: 1;
}

header h1 {
    font-size: 34px;
    font-weight: 700;
    color: #1a202c;
    line-height: 1.4;
    max-width: 1000px;
    margin: auto;
}

/* ================= AUTHOR BOX ================= */
.author-box {
    background: #f9fafc;
    border-left: 4px solid #00008B;
    padding: 12px 16px;
    margin: 35px 0 20px;
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

.author-box p {
    margin: 4px 0;
    font-size: 13px;
    line-height: 1.5;
    color: #555;
}

.author-box strong {
    color: #00008B;
    font-size: 13px;
}

/* ================= BLOG CONTENT ================= */
.blog-content {
    background: #fff;
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.blog-content p {
    font-size: 18px;
    line-height: 1.9;
    margin-bottom: 24px;
}

.blog-content h2 {
    font-size: 30px;
    margin: 35px 0 18px;
    color: #0b3d91;
}

.blog-content h3 {
    font-size: 24px;
    margin: 25px 0 14px;
    color: #1f2937;
}

/* ================= BUTTONS BASE STYLE ================= */
.btn {
    display: inline-block;
    padding: 8px 12px;
    border: none;
    font-size: 13px;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    transition: background-color 0.2s, opacity 0.2s;
}

.btn:hover {
    opacity: 0.9;
}

/* ================= DYNAMIC CARDS & BUTTON COLORS ================= */
.card {
    position: relative;
    background: #fff;
    max-width: 600px;
    margin: 15px auto;
    padding: 15px; /* Padding thodi badhai taaki content daba na lage */
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    cursor: pointer; /* Card ko clickable dikhane ke liye */
}

.name {
    font-size: 20px;
    font-weight: bold;
    color: #0b2a6f;
    padding-right: 80px; /* Taaki naam Enquiry button se na takraye */
}

.meta {
    font-size: 13px;
    color: #666;
    margin-top: 5px;
}

.details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 15px;
    font-size: 14px;
    background: #fdfdfd;
    padding: 10px;
    border-radius: 8px;
}

/* Branch Tags ke liye Styles (JS ki Classes ke mutabik fix kiya) */
.tag-container {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
}

.branch-tag {
    display: inline-block;
    background: #e8f0ff;
    color: #0b2a6f;
    padding: 4px 10px;
    font-size: 12px;
    border-radius: 5px;
    font-weight: bold;
}

.btns {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

/* Buttons Colors */
.apply {
    background: #0b2a6f !important;
    color: #fff !important;
}

.compare {
    background: #fff !important;
    border: 1px solid #0b2a6f !important;
    color: #0b2a6f !important;
}

.save {
    background: #ffcc00 !important;
    color: #000 !important;
}

.brochure {
    background: #1aa260 !important;
    color: #fff !important;
}

/* Brochure disabled state handling */
.brochure:disabled {
    background: #ccc !important;
    color: #666 !important;
    opacity: 0.6;
    cursor: not-allowed;
}

.enquiry {
    background: #ff3b3b !important;
    color: #fff !important;
}

.free-enquiry {
    position: absolute;
    right: 15px;
    top: 15px;
    background: #25D366;
    color: #fff;
    padding: 6px 12px;
    font-size: 12px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: bold;
    z-index: 10; /* Taaki card click isko disturb na kare */
}

/* ================= GLOBAL/MAIN CTA BUTTON ================= */
.blog-content .btn-main {
    display: inline-block;
    background: #0b3d91;
    color: #fff;
    padding: 14px 30px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 10px;
    font-size: 16px;
}

.blog-content .btn-main:hover { 
    background: #062d6b; 
}

/* ================= TABLES ================= */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.08);
}

table th, table td {
    border: 1px solid #ddd;
    padding: 14px;
    text-align: left;
}

table th {
    background: linear-gradient(135deg, #0b3d91, #2563eb);
    color: #fff;
    font-size: 17px;
}

table tr:nth-child(even) { background: #f8fafc; }
table tr:hover { background: #eef4ff; }

/* ================= INFO BOX & LISTS ================= */
.info-box {
    background: #eef4ff;
    padding: 22px;
    border-left: 6px solid #2563eb;
    border-radius: 12px;
    margin: 25px 0;
}

ol, ul {
    padding-left: 25px;
    margin-bottom: 30px;
}

ol li, ul li {
    margin-bottom: 14px;
    font-size: 17px;
    line-height: 1.7;
}

/* ================= MISC UI & UTILITIES ================= */
.url-section {
    background: #eef4ff;
    padding: 20px;
    margin-top: 40px;
    border-radius: 12px;
}

.bottom-strip {
    width: 100%;
    background: #ffcc00;
    padding: 18px;
    margin-top: 40px;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
}

.whatsapp {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 60px;
    height: 60px;
    z-index: 1000;
}

/* ================= RESPONSIVE DESIGN (MEDIA QUERIES) ================= */
@media (max-width: 768px) {
    .top-header {
        padding: 8px 10px;
    }
    .header-left img {
        width: 35px;
        height: 35px;
    }
    .logo-text {
        font-size: 16px;
    }
    .search-box {
        width: 110px;
        font-size: 13px;
    }
    header h1 {
        font-size: 24px;
    }
    .blog-content {
        padding: 25px 15px;
    }
    .blog-content p {
        font-size: 16px;
    }
    .blog-content h2 {
        font-size: 24px;
    }
    table th, table td {
        font-size: 14px;
        padding: 10px;
    }
    .whatsapp {
        width: 52px;
        height: 52px;
    }
    .details {
        grid-template-columns: 1fr;
    }
}