/* Import Montserrat font for a modern, geometric look */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
    letter-spacing: 0.01em;
}

body {
    background: linear-gradient(135deg, #f7fafd 0%, #e9f0fa 100%);
    color: #1a2340;
    line-height: 1.7;
    min-height: 100vh;
    font-size: 18px;
}

header {
    background: #fff;
    padding: 32px 60px 18px 60px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 6px 32px rgba(26,35,64,0.10);
    border-bottom: 4px solid #0a3d91;
    border-radius: 0 0 32px 32px;
    transition: background 0.3s;
    min-height: 90px;
}
.logo {
    color: #0a3d91;
    font-size: 38px;
    font-weight: 900;
    letter-spacing: 2.5px;
    display: flex;
    align-items: center;
    gap: 16px;
    text-shadow: 0 2px 8px rgba(26,35,64,0.06);
}
.logo img {
    width: 160px;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(26,35,64,0.08);
}
nav ul {
    list-style: none;
    display: flex;
    gap: 36px;
}
nav ul li a {
    color: #0a3d91;
    text-decoration: none;
    font-weight: 600;
    padding: 10px 26px;
    border-radius: 10px;
    font-size: 18px;
    letter-spacing: 1px;
    transition: background 0.3s, color 0.3s, box-shadow 0.3s;
    box-shadow: 0 2px 8px rgba(26,35,64,0.04);
}
nav ul li a:hover, nav ul li a.active {
    background: #e9f0fa;
    color: #f7b500;
    box-shadow: 0 4px 16px rgba(26,35,64,0.10);
}
.menu-toggle {
    display: none;
    font-size: 36px;
    color: #0a3d91;
    cursor: pointer;
}

.banner {
    position: relative;
    width: 100vw;
    height: 320px;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    border-radius: 0 0 48px 48px;
    box-shadow: 0 8px 32px rgba(26,35,64,0.10);
    margin-bottom: 0;
    background: linear-gradient(120deg, #0a3d91 60%, #1a2340 100%);
}
.banner-content {
    position: relative;
    z-index: 2;
    max-width: 820px;
    padding: 0 32px;
    background: rgba(255,255,255,0.10);
    border-radius: 24px;
    box-shadow: 0 2px 16px rgba(26,35,64,0.10);
    backdrop-filter: blur(2px);
}
.banner h1 {
    font-size: 48px;
    margin-bottom: 18px;
    color: #fff;
    text-shadow: 2px 2px 16px rgba(26,35,64,0.18);
    letter-spacing: 2.5px;
    font-weight: 900;
}
.banner p {
    font-size: 22px;
    margin-bottom: 12px;
    color: #f7f7f7;
    text-shadow: 1px 1px 8px rgba(26,35,64,0.12);
}

.blog-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 32px;
}

.blog-intro {
    background: #f7fafd;
    border-radius: 32px;
    box-shadow: 0 8px 40px rgba(26,35,64,0.12);
    border: 1.5px solid #e9f0fa;
    margin-bottom: 56px;
    padding: 60px 40px;
    backdrop-filter: blur(2px);
    text-align: center;
}
.blog-intro h2 {
    font-size: 36px;
    margin-bottom: 24px;
    color: #0a3d91;
    font-weight: 900;
    letter-spacing: 1.2px;
}
.blog-intro p {
    font-size: 20px;
    color: #1a2340;
    max-width: 800px;
    margin: 0 auto;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
    margin-top: 40px;
}

.blog-card {
    background: #fff;
    border-radius: 24px;
    padding: 0;
    box-shadow: 0 4px 20px rgba(26,35,64,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #e9f0fa;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    animation: slideInUp 0.8s ease forwards;
    opacity: 0;
    transform: translateY(30px);
}

.blog-card:nth-child(1) { animation-delay: 0.1s; }
.blog-card:nth-child(2) { animation-delay: 0.2s; }
.blog-card:nth-child(3) { animation-delay: 0.3s; }
.blog-card:nth-child(4) { animation-delay: 0.4s; }

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(26,35,64,0.15);
}

.blog-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #0a3d91, #1a2340);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.blog-image i {
    font-size: 48px;
    color: #fff;
    z-index: 2;
    position: relative;
}

.blog-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(247,181,0,0.1), rgba(10,61,145,0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.blog-card:hover .blog-image::before {
    opacity: 1;
}

.blog-text {
    padding: 32px 24px;
}

.blog-text h3 {
    font-size: 24px;
    color: #0a3d91;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.3;
}

.blog-text p {
    font-size: 16px;
    color: #1a2340;
    line-height: 1.6;
    margin-bottom: 20px;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #666;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e9f0fa;
}

.blog-date, .blog-category {
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-date i, .blog-category i {
    font-size: 12px;
    color: #0a3d91;
}

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
    display: inline-block;
}
.dropbtn {
    cursor: pointer;
    background: none;
    border: none;
    outline: none;
    color: #0a3d91;
    font-weight: 600;
    font-size: 18px;
    padding: 10px 26px;
    border-radius: 10px;
    transition: background 0.3s, color 0.3s;
}
.dropdown-content {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    background: #fff;
    min-width: 240px;
    box-shadow: 0 8px 32px rgba(26,35,64,0.12);
    border-radius: 0 0 16px 16px;
    z-index: 1001;
    padding: 12px 0;
    border: 1.5px solid #e9f0fa;
    max-height: 320px;
    overflow-y: auto;
}
.dropdown-content li {
    width: 100%;
}
.dropdown-content li a {
    color: #0a3d91;
    padding: 12px 24px;
    display: block;
    text-align: left;
    border-radius: 8px;
    font-size: 17px;
    font-weight: 500;
    background: none;
    box-shadow: none;
    transition: background 0.2s, color 0.2s;
}
.dropdown-content li a:hover {
    background: #e9f0fa;
    color: #f7b500;
}
.dropdown:hover .dropdown-content,
.dropdown:focus-within .dropdown-content {
    display: block;
}

/* Custom Footer inspired by analytical.manishalab.com */
.custom-footer {
    background: #232946;
    color: #fff;
    font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
    font-size: 16px;
    padding: 48px 0 0 0;
    margin-top: 60px;
    border-radius: 32px 32px 0 0;
    box-shadow: 0 -2px 16px rgba(26,35,64,0.08);
}
.footer-container {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px 32px 32px;
    flex-wrap: wrap;
    gap: 32px;
}
.footer-col {
    flex: 1 1 220px;
    min-width: 180px;
    margin-bottom: 24px;
}
.footer-col h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 18px;
    color: #f7b500;
    letter-spacing: 1px;
    font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
}
.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-col ul li {
    margin-bottom: 10px;
    color: #fff;
    font-size: 16px;
    font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
}
.footer-col ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.2s;
    font-size: 16px;
    font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
}
.footer-col ul li a:hover {
    color: #f7b500;
    text-decoration: underline;
}
.footer-bottom {
    background: #1a1a2e;
    text-align: center;
    padding: 18px 0;
    border-radius: 0 0 32px 32px;
    font-size: 15px;
    color: #fff;
    font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
}
.footer-logo-col {
    flex: 1 1 220px;
    min-width: 180px;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}
.footer-logo {
    width: 120px;
    height: auto;
    margin-bottom: 16px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(26,35,64,0.10);
    background: #fff;
    padding: 8px;
}
.footer-desc {
    color: #fff;
    font-size: 15px;
    font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
    margin: 0;
    line-height: 1.6;
    max-width: 220px;
}

/* WhatsApp Button */
.whatsapp-button {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    z-index: 1000;
}

.whatsapp-button:hover {
    transform: scale(1.1);
}

.whatsapp-button i {
    font-size: 35px;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #004080;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
}

.back-to-top i {
    font-size: 24px;
}

/* Responsive Design */
@media (max-width: 1100px) {
    .blog-content {
        padding: 40px 16px;
    }
    .blog-intro {
        padding: 40px 24px;
    }
}

@media (max-width: 900px) {
    .blog-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 24px;
    }
    .footer-container {
        flex-direction: column;
        align-items: flex-start;
        padding: 0 16px 16px 16px;
    }
    .footer-col {
        min-width: 0;
        width: 100%;
        margin-bottom: 24px;
    }
    .footer-logo-col {
        min-width: 0;
        width: 100%;
        align-items: center;
        text-align: center;
        margin-bottom: 24px;
    }
    .footer-desc {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 18px 8px;
        height: auto;
        border-radius: 0 0 18px 18px;
        min-height: 70px;
        position: relative;
        align-items: flex-start;
    }
    .logo {
        margin-bottom: 12px;
        z-index: 1002;
        position: relative;
        order: -1;
        align-self: flex-start;
    }
    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        display: none;
        width: 100%;
        background-color: #0a3d91;
        padding: 10px 0;
        border-radius: 0 0 18px 18px;
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 1001;
        box-shadow: 0 8px 24px rgba(26,35,64,0.12);
    }
    nav ul.show {
        display: flex;
    }
    nav ul li a {
        color: #fff !important;
        font-size: 18px;
        padding: 16px 24px;
        width: 100%;
        text-align: center;
        border-radius: 0;
        box-shadow: none;
        transition: background 0.2s, color 0.2s;
    }
    nav ul li a:hover, nav ul li a.active {
        background: #f7b500 !important;
        color: #0a3d91 !important;
    }
    .menu-toggle {
        display: block;
        position: absolute;
        right: 24px;
        top: 24px;
        z-index: 1003;
        background: #fff;
        border-radius: 8px;
        padding: 4px 12px;
        box-shadow: 0 2px 8px rgba(26,35,64,0.10);
        border: 2px solid #e9f0fa;
        cursor: pointer;
        transition: background 0.2s, color 0.2s;
    }
    .menu-toggle:active {
        background: #e9f0fa;
        color: #f7b500;
    }
    .banner {
        height: 280px;
        min-height: 200px;
    }
    .banner h1 {
        font-size: 36px;
    }
    .banner p {
        font-size: 18px;
    }
    .blog-content {
        padding: 20px 8px;
    }
    .blog-intro {
        padding: 32px 16px;
        margin-bottom: 40px;
    }
    .blog-intro h2 {
        font-size: 28px;
    }
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .blog-text {
        padding: 24px 16px;
    }
    .blog-text h3 {
        font-size: 20px;
    }
    .blog-text p {
        font-size: 15px;
    }
    .blog-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .blog-image {
        height: 150px;
    }
    .blog-image i {
        font-size: 36px;
    }
    .blog-text {
        padding: 20px 16px;
    }
    .blog-text h3 {
        font-size: 18px;
    }
    .blog-text p {
        font-size: 14px;
    }
    .blog-meta {
        font-size: 12px;
    }
    
    /* Blog Article Responsive */
    .blog-article {
        padding: 24px 16px;
    }
    .article-meta {
        flex-direction: column;
        gap: 12px;
    }
    .article-content h2 {
        font-size: 28px;
    }
    .article-content h3 {
        font-size: 20px;
    }
    .article-content p {
        font-size: 16px;
    }
    .article-content li {
        font-size: 16px;
    }
    .article-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    .share-buttons {
        align-self: flex-end;
    }
}

/* Blog Article Styles */
.blog-article {
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 8px 40px rgba(26,35,64,0.12);
    border: 1.5px solid #e9f0fa;
    padding: 48px;
    margin-bottom: 40px;
    backdrop-filter: blur(2px);
}

.article-meta {
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 2px solid #e9f0fa;
    flex-wrap: wrap;
}

.article-date, .article-category, .article-author {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    color: #666;
    font-weight: 500;
}

.article-date i, .article-category i, .article-author i {
    color: #0a3d91;
    font-size: 14px;
}

.article-content h2 {
    font-size: 36px;
    color: #0a3d91;
    font-weight: 900;
    margin-bottom: 24px;
    line-height: 1.2;
}

.article-content h3 {
    font-size: 24px;
    color: #0a3d91;
    font-weight: 700;
    margin: 32px 0 16px 0;
}

.article-content p {
    font-size: 18px;
    color: #1a2340;
    line-height: 1.7;
    margin-bottom: 20px;
}

.article-content ul {
    margin: 20px 0;
    padding-left: 24px;
}

.article-content li {
    font-size: 18px;
    color: #1a2340;
    line-height: 1.6;
    margin-bottom: 12px;
}

.article-content strong {
    color: #0a3d91;
    font-weight: 700;
}

.article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 2px solid #e9f0fa;
    flex-wrap: wrap;
    gap: 20px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #0a3d91;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid #0a3d91;
    padding: 12px 24px;
    border-radius: 12px;
    transition: background 0.3s, color 0.3s;
    font-size: 16px;
}

.back-link:hover {
    background: #0a3d91;
    color: #fff;
}

.share-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.share-buttons span {
    font-size: 16px;
    color: #666;
    font-weight: 500;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #f7fafd;
    border: 2px solid #e9f0fa;
    border-radius: 50%;
    color: #0a3d91;
    text-decoration: none;
    transition: all 0.3s ease;
}

.share-btn:hover {
    background: #0a3d91;
    color: #fff;
    transform: translateY(-2px);
}

/* For mobile: show dropdown on click (when .show class is added by JS) */
@media (max-width: 900px) {
    .dropdown-content {
        position: static;
        min-width: 100%;
        box-shadow: none;
        border-radius: 0 0 12px 12px;
        border: none;
        padding: 0;
        background: #0a3d91;
        max-height: 60vh;
        overflow-y: auto;
    }
    .dropdown-content li a {
        color: #fff;
        padding: 16px 24px;
        font-size: 20px;
    }
    .dropdown-content li a:hover {
        background: #f7b500;
        color: #0a3d91;
    }
}

