﻿
/* Global */
body {
    font-family: 'Inter', sans-serif;
    background-color: #ffffff;
    color: #222;
    margin: 0;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section {
    padding: 80px 0;
}

.light-bg {
    background-color: #F5F7FA;
}

.text-center {
    text-align: center;
}

/* Hero */
.hero {
    padding: 100px 0;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 10px;
}

.hero-content h2 {
    font-size: 28px;
    font-weight: 500;
    color: #0B3D91;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.hero-shape {
    width: 350px;
    height: 350px;
    background-color: #0B3D91;
    opacity: 0.05;
    border-radius: 8px;
}

/* Buttons */
.btn {
    padding: 12px 24px;
    text-decoration: none;
    font-weight: 500;
    border-radius: 4px;
    margin-right: 15px;
}

.btn-primary {
    background-color: #0B3D91;
    color: #fff;
}

.btn-outline {
    border: 1px solid #0B3D91;
    color: #0B3D91;
}

/* Titles */
.section-title {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 40px;
}

.section-description {
    max-width: 800px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.7;
}

/* Grid */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Card */
.card {
    border: 1px solid #E0E0E0;
    padding: 30px;
    border-radius: 6px;
    background-color: #fff;
}

    .card h3 {
        margin-bottom: 15px;
        font-size: 20px;
    }

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 15px;
    padding: 6px 14px;
    border-radius: 20px;
    background-color: #e9f2ff;
    color: #2d2a2e;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}

    /* Hover Effect */
    .read-more:hover {
        background-color: #6B7280;
        color: #ffffff;
        transform: translateY(-2px);
    }

/* CTA */
.cta-section {
    background-color: #0B3D91;
    color: white;
    padding: 80px 0;
}

    .cta-section .btn-primary {
        background-color: white;
        color: #0B3D91;
    }

.hero-tag {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #0B3D91;
    margin-bottom: 10px;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin: 0;
}

.hero-content h2 {
    font-size: 26px;
    font-weight: 500;
    color: #555;
    margin: 10px 0 20px;
}

.experience-grid {
    display: flex;
    justify-content: space-around;
    text-align: center;
    gap: 40px;
}

    .experience-grid h3 {
        font-size: 28px;
        color: #0B3D91;
        margin-bottom: 10px;
    }

.card {
    border: 1px solid #E0E0E0;
    padding: 30px;
    border-radius: 6px;
    background-color: #fff;
    transition: 0.2s ease-in-out;
}

    .card:hover {
        border-color: #0B3D91;
        transform: translateY(-3px);
    }

.navbar {
    background-color: #ffffff;
    border-bottom: 1px solid #E0E0E0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo a {
    font-size: 20px;
    font-weight: 700;
    text-decoration: none;
    color: #0B3D91;
}

.nav-links {
    display: flex;
    gap: 30px;
}

    .nav-links a {
        text-decoration: none;
        color: #222;
        font-weight: 500;
        transition: 0.2s ease;
    }

        .nav-links a:hover {
            color: #0B3D91;
        }

/* Mobile Toggle Button */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

.nav-links a:hover {
    color: #0B3D91;
}

.cta-section {
    background-color: #0B3D91;
    color: white;
    padding: 80px 0;
}

    .cta-section h2 {
        margin-bottom: 30px;
        font-size: 28px;
    }


/* =========================
   RESPONSIVE DESIGN
========================= */

@media (max-width: 768px) {

    .nav-links {
        position: absolute;
        top: 70px;
        right: 0;
        background: #ffffff;
        flex-direction: column;
        width: 220px;
        padding: 20px;
        border-left: 1px solid #E0E0E0;
        border-bottom: 1px solid #E0E0E0;
        display: none;
    }

        .nav-links.active {
            display: flex;
        }

    .nav-toggle {
        display: block;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {

    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}


.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

    .fade-in.visible {
        opacity: 1;
        transform: translateY(0);
    }

/*Article List Start*/

.page-title {
    margin-bottom: 30px;
}

.search-bar {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap; /* VERY IMPORTANT */
    margin-bottom: 30px;
}

    .search-bar input,
    .search-bar select {
        padding: 8px 12px;
        border-radius: 6px;
        border: 1px solid #ccc;
        min-width: 180px;
        flex: 1;
    }

    .search-bar button {
        padding: 8px 20px;
        border: none;
        border-radius: 6px;
        background: #007bff;
        color: white;
        cursor: pointer;
    }
    .search-bar button {
        padding: 12px 20px;
        background: #0B3D91;
        color: white;
        border: none;
        border-radius: 4px;
    }

.pagination {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

/*Article List End */


/* =========================
   HORIZONTAL ARTICLE LIST - START
========================= */
.articles-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Glass / Blur Effect Card */
.article-row {
    position: relative;
    padding: 35px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(200, 200, 200, 0.3);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

    .article-row:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
        border-color: rgba(11, 61, 145, 0.3);
    }

.article-row-title {
    font-size: 20px;
    margin: 10px 0 15px;
    line-height: 1.4;
}

.article-row-summary {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
}

.article-meta {
    font-size: 13px;
    color: #6B7280;
}

/* =========================
   HORIZONTAL ARTICLE LIST - END
========================= */

/* MOBILE FIX */
@media (max-width: 992px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-visual {
        margin-top: 30px;
    }

    .hero-profile-img {
        width: 220px;
        height: 220px;
    }
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

@media (max-width: 768px) {
    .experience-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 992px) {
    .articles-list {
        grid-template-columns: 1fr;
    }
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

@media (max-width: 992px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .grid-4 {
        grid-template-columns: 1fr;
    }
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

@media (max-width: 992px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .grid-3 {
        grid-template-columns: 1fr;
    }
}

/* =========================
   ARTICLE IMAGE STYLE - Start
========================= */
.article-row {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden; /* makes image stick inside rounded corners */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    transition: 0.3s ease;
    padding: 0; /* VERY IMPORTANT */
}

    .article-row:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    }

/* IMAGE */
.article-image {
    background: #f8f9fa;
    padding: 15px;
    text-align: center;
}

    /* Image */
    .article-image img {
        width: 100%;
        height: 195px; /* ✅ Controlled height */
        object-fit: fill; /* ✅ No cropping */
        border-radius: 10px;
        display: block;
    }

/* CONTENT */
.article-row-content {
    padding: 25px 30px;
}

/* =========================
   ARTICLE IMAGE STYLE - End
========================= */

/* =========================
   ARTICLE DETAIL PAGE
========================= */

.article-detail-section {
    padding: 60px 20px;
    background: #ffffff;
}

.detail-container {
    max-width: 850px;
    margin: 0 auto;
}

.detail-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 40px;
}

    .detail-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.detail-title {
    font-size: 36px;
    margin-bottom: 15px;
    line-height: 1.3;
}

.detail-meta {
    font-size: 14px;
    color: #6B7280;
    margin-bottom: 40px;
}

.detail-content {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
}

    .detail-content p {
        margin-bottom: 20px;
    }

    .detail-content h2,
    .detail-content h3 {
        margin-top: 40px;
        margin-bottom: 20px;
    }

/* =========================
   CORPORATE FOOTER
========================= */
.site-footer {
    background: #0f172a; /* deep corporate navy */
    color: #e5e7eb;
    padding-top: 60px;
    margin-top: 80px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 50px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column h3,
.footer-column h4 {
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-description {
    font-size: 14px;
    line-height: 1.7;
    color: #cbd5e1;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .footer-column ul li {
        margin-bottom: 12px;
    }

        .footer-column ul li a {
            color: #cbd5e1;
            text-decoration: none;
            font-size: 14px;
            transition: 0.2s ease;
        }

            .footer-column ul li a:hover {
                color: #ffffff;
            }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    padding: 20px;
    font-size: 13px;
    color: #94a3b8;
}

/* =========================
   CORPORATE FOOTER
========================= */

.site-footer {
    background: #0f172a; /* deep corporate navy */
    color: #e5e7eb;
    padding-top: 60px;
    margin-top: 80px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 50px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column h3,
.footer-column h4 {
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-description {
    font-size: 14px;
    line-height: 1.7;
    color: #cbd5e1;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .footer-column ul li {
        margin-bottom: 12px;
    }

        .footer-column ul li a {
            color: #cbd5e1;
            text-decoration: none;
            font-size: 14px;
            transition: 0.2s ease;
        }

            .footer-column ul li a:hover {
                color: #ffffff;
            }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    padding: 20px;
    font-size: 13px;
    color: #94a3b8;
}

/* Portfolio */

section {
    padding-top: 60px;
    padding-bottom: 60px;
}

.card {
    border-radius: 15px;
    transition: 0.3s ease-in-out;
}

    .card:hover {
        transform: translateY(-5px);
    }

img {
    transition: 0.3s ease-in-out;
}

    img:hover {
        transform: scale(1.05);
    }


html {
    scroll-behavior: smooth;
}

#contact {
    scroll-margin-top: 100px;
}

/* ============================= */
/* Contact Section */
/* ============================= */

.contact-card {
    background: #ffffff;
    padding: 25px;
    border-radius: 16px;
    border: 1px solid #ededed;
    box-shadow: 0 6px 20px rgba(0,0,0,0.04);
}

    .contact-card .form-control {
        border-radius: 10px;
        border: 1px solid #ddd;
        padding: 10px;
        font-size: 0.9rem;
    }

        .contact-card .form-control:focus {
            box-shadow: none;
            border-color: #0d6efd;
        }

/* Contact Button */
.contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    color: #fff;
    background: linear-gradient(135deg, #5a9cff, #1a4ed8);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 12px rgba(26, 78, 216, 0.2);
}

    /* Hover Effect */
    .contact-btn:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 25px rgba(26, 78, 216, 0.35);
        background: linear-gradient(135deg, #1a4ed8, #5a9cff);
    }

    /* Active Click Effect */
    .contact-btn:active {
        transform: translateY(-1px);
    }

/* Info */
.contact-info h5 {
    font-weight: 600;
}

.contact-info a {
    text-decoration: none;
    color: #6B7280;
    font-weight: 500;
}

    .contact-info a:hover {
        text-decoration: underline;
    }

.contact-info {
    padding: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    margin-bottom: 15px;
}

    .contact-item i {
        font-size: 18px;
        color: #0B3D91;
    }

.social-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-box {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid #e6e6e6;
    text-decoration: none;
    color: #444;
    background: #fafafa;
    transition: 0.3s ease;
}

    .social-box i {
        font-size: 18px;
        color: #0B3D91;
    }

    .social-box span {
        font-weight: 500;
    }

    /* Hover Effect */
    .social-box:hover {
        background: white;
        transform: translateX(6px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.05);
    }

.contact-card {
    background: #ffffff;
    padding: 25px;
    border-radius: 16px;
    border: 1px solid #ededed;
    box-shadow: 0 6px 20px rgba(0,0,0,0.04);
    transition: 0.3s ease;
}

    .contact-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 30px rgba(0,0,0,0.06);
    }

/*--- article list ---*/

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    margin-bottom: 8px;
}

/* Date styling */
.created-date {
    color: #777;
}

/* Category badge */
.category-badge {
    background-color: #416b99;
    color: white;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 500;
}

/*Nav Header and Footer - Start */

.header-social {
    display: flex;
    gap: 15px;
    align-items: center;
}

    .header-social a {
        color: #10209f;
        font-size: 18px;
        transition: 0.3s ease;
    }

        .header-social a:hover {
            color: #0d6efd;
        }

.footer-social i {
    margin-right: 8px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease;
}

    .footer-social a:hover {
        color: #0d6efd;
    }

/*Nav Header and Footer - End */

/* Article Details Start */
/* Meta layout */
.detail-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 14px;
    color: #777;
}

/* Category badge */
.detail-category-badge {
    background-color: #0d6efd;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
}

/* Tags container */
.detail-tags {
    margin-bottom: 20px;
}

/* Tag badge */
.tag-badge {
    display: inline-block;
    background-color: #aaaaaa;
    color: #272525;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    margin-right: 8px;
    margin-bottom: 6px;
}

/* Article Details End */

/* Linked in & WhatsApp  Share - Article Details page Start */
.share-container {
    display: flex;
    align-items: center;
    gap: 12px; /* space between icons */
    margin-top: 20px;
}

/* Remove link underline */
.share-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

/* Icon styling */
.share-icon {
    height: 38px;
    width: auto;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Hover effect */
.share-link:hover .share-icon {
    transform: scale(1.08);
    opacity: 0.9;
}/* Linked in Share - Article Details page End */

/* Back link from Article Details - Srart  */
.back-link {
    display: inline-block;
    font-size: 14px;
    color: #343a40;
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 15px;
    transition: color 0.2s ease;
}

    /* Hover effect */
    .back-link:hover {
        color: #0A66C2;
    }

/* Bottom spacing */
.back-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #e5e5e5;
}

/* Back link from Article Details - End */

/* Hero session - tech icons - Start  */

/* Tech stack container */
.tech-stack {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    align-items: center;
}

/* Individual tech circle */
.tech-item {
    width: 55px;
    height: 55px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    /* Icon image */
    .tech-item img {
        width: 50px;
        height: 50px;
        object-fit: contain;
    }

    /* Label */
    .tech-item span {
        font-size: 12px;
        margin-top: 6px;
        font-weight: 500;
    }

    /* Hover effect */
    .tech-item:hover {
        transform: translateY(-4px);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    }
/* Hero session - tech icons - End  */

/* Hero visual (profile photo) wrapper - Start */
.hero-visual {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

    /* Background gradient circle */
    .hero-visual::before {
        content: "";
        position: absolute;
        width: 320px;
        height: 320px;
        border-radius: 50%;
        background: linear-gradient(135deg, #0A66C2, #6f42c1);
        z-index: 0;
        filter: blur(40px);
        opacity: 0.25;
    }

/* Profile image */
.hero-profile-img {
    width: 280px;
    height: 280px;
    object-fit: cover;
    border-radius: 50%;
    border: 6px solid #ffffff;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

    /* Subtle hover animation */
    .hero-profile-img:hover {
        transform: scale(1.03);
    }
/* Hero visual (profile photo) wrapper -  End*/

.card pre {
    max-width: 100%;
    overflow-x: auto;
    white-space: pre;
}

.card {
    overflow: hidden;
}
pre[class*="language-"] {
    max-width: 100%;
    overflow-x: auto;
    white-space: pre;
    word-wrap: normal;
}

.card-body {
    overflow: hidden;
}

.card {
    display: flex;
    flex-direction: column;
}

.card-body {
    flex: 1 1 auto;
}


/* Article Title - Artilce Index - Start*/

.article-title-link {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease-in-out;
}
    
/* Article Title - Artilce Index - End */

/* Article Details - Related Articles Start */
.related-articles {
    margin-top: 70px;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 16px;
}

.related-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    color: #222;
}

    .related-title i {
        font-size: 22px;
        color: #0d6efd;
    }

/* Text Styling */
.primary-text {
    font-weight: 700;
    color: #111;
}

.secondary-text {
    font-weight: 500;
    color: #6c757d;
}

/* Optional subtle divider */
.divider {
    color: #999;
}

    .related-title i {
        font-size: 22px;
        color: #0d6efd;
    }

    .related-articles h3 {
        font-size: 20px;
        font-weight: 600;
        margin-bottom: 20px;
        color: #222;
    }

    /* Remove default list style */
    .related-articles ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    /* Each related item */
    .related-articles li {
        margin-bottom: 12px;
    }

    /* Link styling */
    .related-articles a {
        display: block;
        padding: 14px 18px;
        border-radius: 10px;
        background: #ffffff;
        text-decoration: none;
        color: #222;
        font-weight: 500;
        transition: all 0.2s ease-in-out;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    }

        /* Hover effect */
        .related-articles a:hover {
            transform: translateX(6px);
            background: #a0a2a4;
            color: #fff;
        }

/* Article Details - Related Articles Start */

/* Active Menu */
.active-menu {
    position: relative;
    font-weight: 600;
}

    .active-menu::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -4px;
        width: 100%;
        height: 2px;
        background-color: #555;
        border-radius: 2px;
    }

/* Pagination */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.page-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #f1f1f1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #333;
    transition: all 0.2s ease;
}

    .page-icon:hover {
        background: #0d6efd;
        color: #fff;
        transform: translateX(3px);
    }

.page-info {
    font-weight: 500;
    color: #555;
}

