/* =========================================== */
/* === 1. BASIC RESET & CORE STYLES === */
/* =========================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.7;
    color: #333;
    background-color: #FFFFFF;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden; /* Prevents horizontal scroll on mobile */
}
main {
    flex-grow: 1;
}
.text-center-section {
    text-align: center;
}

/* =========================================== */
/* === 2. GLOBAL & UTILITY CLASSES === */
/* =========================================== */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}
.section {
    padding: 80px 20px;
}
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #1A53E0;
    font-weight: 700;
}
.section-subtitle {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px auto;
    font-size: 1.1rem;
    color: #555;
}
.btn {
    display: inline-block;
    padding: 12px 28px;
    background-color: #FFD700;
    color: #333;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

/* =========================================== */
/* === 3. HEADER & NAVIGATION (Improved) === */
/* =========================================== */

/* --- Basic Header Setup --- */
.site-header {
    background: #fff;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo img {
    max-height: 50px;
    transition: transform 0.3s ease;
}
.logo img:hover {
    transform: scale(1.05);
}

/* --- Desktop Navigation --- */
.nav-wrapper {
    display: flex;
    align-items: center;
}

.nav-menu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 35px;
    margin: 0;
    padding: 0;
}

.nav-menu li a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 1rem;
    position: relative;
    padding: 10px 0; /* Thoda padding badhaya */
    transition: color 0.3s ease;
}

/* Underline effect on hover */
.nav-menu li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: #1A53E0;
    transition: width 0.3s ease;
}

.nav-menu li a:hover,
.nav-menu li a.active { /* Active link ka style */
    color: #1A53E0;
}

.nav-menu li a:hover::after {
    width: 100%;
}

/* --- Dropdown Menu Styles --- */
.dropdown {
    position: relative;
}

.dropdown .arrow { /* Dropdown arrow */
    display: inline-block;
    border: solid #333;
    border-width: 0 2px 2px 0;
    padding: 3px;
    transform: rotate(45deg);
    margin-left: 5px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}
.dropdown a:hover .arrow {
    border-color: #1A53E0;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    list-style: none;
    padding: 10px 0;
    margin-top: 10px; /* Thoda gap */
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    min-width: 200px;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    padding: 12px 20px;
    display: block;
    width: 100%;
    white-space: nowrap;
}
.dropdown-menu li a::after {
    display: none; /* Dropdown items me underline nahi chahiye */
}

/* --- CTA Button --- */
.help-button a {
    background-color: #1A53E0;
    color: #fff !important; /* Overwrite color */
    padding: 10px 22px !important;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}
.help-button a:hover {
    background-color: #1444b8;
    transform: translateY(-2px);
}
.help-button a:hover::after {
    display:none; /* Button par underline nahi chahiye */
}


/* =========================================== */
/* === MOBILE NAVIGATION === */
/* =========================================== */
.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; 
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border-width: 0;
}
.mobile-nav-toggle { display: none; /* Default hidden */ }


@media (max-width: 900px) {
    .mobile-nav-toggle {
        display: block;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        right: 1.5rem;
        z-index: 9999;
        background: transparent;
        border: 0;
        width: 2rem;
        aspect-ratio: 1;
        cursor: pointer;
    }

    .hamburger {
        position: absolute; top: 50%; left: 50%;
        transform: translate(-50%, -50%);
        width: 24px; height: 2px; background: #333;
        transition: transform 250ms ease-in-out;
    }
    .hamburger::before, .hamburger::after {
        content: ''; position: absolute; left: 0; right: 0;
        height: 2px; background: #333;
        transition: transform 250ms ease-in-out, opacity 250ms linear;
    }
    .hamburger::before { transform: translateY(-7px); }
    .hamburger::after { transform: translateY(7px); }
    .mobile-nav-toggle[aria-expanded="true"] .hamburger { transform: translate(-50%, -50%) rotate(45deg); }
    .mobile-nav-toggle[aria-expanded="true"] .hamburger::before { opacity: 0; }
    .mobile-nav-toggle[aria-expanded="true"] .hamburger::after { transform: translate(0, 0) rotate(-90deg); }

    .nav-wrapper {
        position: fixed;
        inset: 0 0 0 30%;
        flex-direction: column;
        justify-content: flex-start; /* <-- Center se Start kiya */
        align-items: center;
        padding: 100px 2rem 2rem 2rem; /* <-- Upar se padding di */
        background: hsl(0 0% 100% / 0.9);
        backdrop-filter: blur(10px);
        transform: translateX(100%);
        transition: transform 350ms ease-out;
        z-index: 9998;
        overflow-y: auto; /* <-- YEH SLIDER/SCROLL ADD KAREGA */
    }
    .nav-wrapper[data-visible="true"] {
        transform: translateX(0%);
    }

    .nav-menu {
        flex-direction: column;
        gap: 2.5rem;
        text-align: center;
    }
    .nav-menu a { font-size: 1.25rem; }

    /* Mobile dropdown handling */
    .dropdown .arrow {
        transition: transform 0.3s ease;
    }
    .dropdown.open > a .arrow {
        transform: rotate(225deg); /* Arrow up */
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        border-radius: 0;
        margin-top: 15px;
        padding: 10px 0;
        background: transparent;
        width: 100%;
        text-align: center;
        display: none; /* By default hidden */
    }
    .dropdown-menu.open {
        display: block; /* Show on click */
    }
    .dropdown-menu li a {
        font-size: 1rem;
        color: #555;
        font-weight: 500;
    }
}
/* =========================================== */
/* === 4. PAGE SECTIONS (HERO, SERVICES, ETC.) === */
/* =========================================== */
.hero {
    background-color: #f4f7fc;
    text-align: center;
    padding: 100px 20px;
}
.hero h1 {
    font-size: 3.5rem;
    color: #1A53E0;
    margin-bottom: 20px;
    line-height: 1.2;
}
.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px auto;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
}
.service-card {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.service-card h3 {
    color: #1A53E0;
    margin-bottom: 15px;
}

/* =========================================== */
/* === 5. PORTFOLIO & BLOG STYLES === */
/* =========================================== */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}
.portfolio-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.07);
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}
.portfolio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}
.portfolio-card .portfolio-image {
    width: 100%;
    height: 260px;
    object-fit: cover;
}
.portfolio-card .portfolio-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.portfolio-card .portfolio-content h3 {
    font-size: 1.5rem;
    color: #1A53E0;
    margin-bottom: 10px;
}
.portfolio-card .portfolio-content p {
    color: #555;
    flex-grow: 1;
    margin-bottom: 20px;
}
/* --- Blog Card Design (NEW) --- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}
.blog-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.07);
    overflow: hidden;
    transition: all 0.3s ease;
}
.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}
.blog-card .blog-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}
.blog-card .blog-content {
    padding: 30px;
}
.blog-card .blog-content h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}
.blog-card .blog-content h3 a {
    text-decoration: none;
    color: #1A53E0;
}
.blog-card .blog-content .excerpt {
    color: #555;
}

.btn-read-more {
    display: inline-block;
    margin-top: 15px;
    text-decoration: none;
    color: #1A53E0;
    font-weight: 700;
}
.btn-read-more:hover {
    text-decoration: underline;
}
.article-container {
    max-width: 800px;
}
.article-container .article-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 30px;
}
.article-container h1 {
    line-height: 1.3;
}
.article-container h2 {
    margin-top: 30px;
    margin-bottom: 15px;
    color: #1A53E0;
}
.post-meta {
    color: #555;
    font-size: 1.2rem;
    text-align: center;
    max-width: 800px;
    margin: -10px auto 30px auto;
    font-style: italic;
}
/* =========================================== */
/* === 6. FOOTER === */
/* =========================================== */
footer {
    background-color: #f4f7fc;
    color: #555;
    padding-top: 40px;
    width: 100%;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding-bottom: 40px;
}
.footer-col h3 {
    color: #1A53E0;
    margin-bottom: 15px;
}
.footer-col p {
    line-height: 1.7;
    max-width: 350px;
}
.footer-col ul {
    list-style: none;
}
.footer-col ul li {
    margin-bottom: 10px;
}
.footer-col ul li a {
    text-decoration: none;
    color: #555;
}
.footer-col ul li a:hover {
    color: #1A53E0;
}
.footer-bottom {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid #ddd;
}
.footer-socials a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background: #fff;
    color: #1A53E0; /* <-- Corrected typo here */
    border: 1px solid #ddd;
    border-radius: 50%;
    margin-right: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    margin-bottom: 30px;
}

.footer-socials a:hover {
    background: #1A53E0;
    color: #fff;
    transform: translateY(-3px);
}
/* --- All your existing styles above --- */
/* For example: Basic Reset, Global, Header, Hero, Portfolio, Blog, Footer etc. */

/* =========================================== */
/* === 7. RESPONSIVE STYLES (TABLET & MOBILE) === */
/* =========================================== */
/* For Tablets */
@media (max-width: 992px) {
    .services-grid, .portfolio-grid, .blog-grid, .testimonial-grid, .why-choose-grid {
        grid-template-columns: 1fr;
    }
}

/* For Mobile Phones */

/* =========================================== */
/* === CONTACT PAGE STYLES === */
/* =========================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    margin-top: 50px;
    align-items: flex-start; /* Aligns columns to the top */
}

.contact-form-container {
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.07);
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form .form-group label {
    font-weight: 600;
    margin-bottom: 8px;
    display: block; /* <-- THIS IS THE FIX */
}

.contact-form .form-group input,
.contact-form .form-group textarea {
    width: 100%;
    padding: 12px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    background: #f4f7fc;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: border-color 0.3s ease;
}

.contact-form .form-group input:focus,
.contact-form .form-group textarea:focus {
    outline: none;
    border-color: #1A53E0;
}

.contact-form button {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    border: none; /* Make sure button has no default border */
}

.contact-info-container h3 {
    font-size: 1.8rem;
    color: #1A53E0;
    margin-bottom: 15px;
}

.contact-info-container p {
    margin-bottom: 30px;
}

.contact-details {
    list-style: none;
    margin-bottom: 30px;
}

.contact-details li {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.contact-details i {
    color: #1A53E0;
    font-size: 1.5rem;
    width: 40px;
    text-align: center;
    margin-right: 15px;
}

.contact-details a {
    text-decoration: none;
    color: #333;
}

.contact-socials a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background: #f4f7fc;
    color: #1A53E0;
    border-radius: 50%;
    margin-right: 10px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.contact-socials a:hover {
    background: #1A53E0;
    color: #fff;
    transform: translateY(-3px);
}

/* --- Responsive styles below, including the contact grid adjustment --- */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    /* ... other tablet styles ... */
}

/* Final CTA Section */
.final-cta-section {
    background-color: #1A53E0;
    color: #fff;
    padding: 80px 20px;
    text-align: center;
}
.final-cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}
.final-cta-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #f4f7fc; /* A slightly softer white for the paragraph */
}

/* =========================================== */
/* === FAQ PAGE STYLES === */
/* =========================================== */
.faq-category {
    font-size: 1.8rem;
    color: #1A53E0;
    margin-top: 50px;
    margin-bottom: 20px;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}
.faq-category:first-of-type {
    margin-top: 0;
}
.faq-item {
    border-bottom: 1px solid #eee;
}
.faq-question {
    padding: 20px 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-question h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}
.faq-question i {
    color: #1A53E0;
    transition: transform 0.3s ease;
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-answer p {
    padding: 0 0 20px 0;
    line-height: 1.8;
}

/* Accordion Active State */
.faq-item.active .faq-question i {
    transform: rotate(180deg);
}
.faq-item.active .faq-answer {
    max-height: 300px; /* Adjust if answers are very long */
}

/* =========================================== */
/* === BREADCRUMBS === */
/* =========================================== */
.breadcrumbs {
    background-color: #f9f9f9;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    font-size: 0.9rem;
    color: #555;
}
.breadcrumbs .container {
    padding: 0 20px;
}
.breadcrumbs a {
    text-decoration: none;
    color: #1A53E0;
    font-weight: 600;
}
.breadcrumbs a:hover {
    text-decoration: underline;
}

/* =========================================== */
/* === CSS IMPROVEMENTS FOR PHP PAGE === */
/* (Add these to your existing styles.css) */
/* =========================================== */

/* ===== PROCESS LIST IMPROVEMENTS ===== */
.service-process-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.process-item {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 5px solid #1A53E0;
    position: relative;
}

.process-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(26, 83, 224, 0.15);
    background: linear-gradient(135deg, #f9fbff 0%, #f4f7fc 100%);
}

.process-item h3 {
    color: #1A53E0;
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.process-item h3 span {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: #1A53E0;
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    font-weight: bold;
    margin-right: 10px;
    font-size: 1.1rem;
}

.process-item p {
    color: #555;
    line-height: 1.8;
    font-size: 1rem;
}

/* ===== FEATURE GRID IMPROVEMENTS ===== */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.feature-card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-top: 4px solid #1A53E0;
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 45px rgba(26, 83, 224, 0.2);
    background: linear-gradient(135deg, #f9fbff 0%, #ffffff 100%);
}

.feature-card i {
    font-size: 3.5rem;
    color: #1A53E0;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.feature-card:hover i {
    transform: scale(1.1) rotate(5deg);
}

.feature-card h3 {
    color: #1A53E0;
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.feature-card p {
    color: #555;
    line-height: 1.7;
    flex-grow: 1;
    margin-bottom: 0;
}

/* ===== TWO COLUMN LAYOUT IMPROVEMENTS ===== */
.two-column-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

.column-text {
    padding-right: 20px;
}

.column-text h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: #1A53E0;
    font-weight: 700;
}

.column-text > p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 30px;
    font-size: 1.05rem;
}

.checkmark-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.checkmark-list li {
    padding: 18px 20px;
    margin-bottom: 15px;
    background: white;
    border-radius: 8px;
    border-left: 4px solid #1A53E0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.checkmark-list li:hover {
    background: white;
    padding-left: 30px;
    box-shadow: 0 8px 20px rgba(26, 83, 224, 0.1);
    transform: translateX(5px);
}

.checkmark-list strong {
    color: #1A53E0;
    font-weight: 700;
}

.checkmark-list p {
    color: #555;
    margin: 0;
    line-height: 1.6;
}

.column-image {
    position: relative;
    overflow: hidden;
}

.column-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(26, 83, 224, 0.15);
    transition: all 0.3s ease;
    display: block;
}

.column-image:hover img {
    transform: scale(1.05);
    box-shadow: 0 20px 50px rgba(26, 83, 224, 0.25);
}

/* ===== FINAL CTA SECTION IMPROVEMENTS ===== */
.final-cta-section {
    background: linear-gradient(135deg, #1A53E0 0%, #0d2fa6 100%);
    color: white;
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.final-cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    z-index: 0;
}

.final-cta-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: rgba(255, 215, 0, 0.05);
    border-radius: 50%;
    z-index: 0;
}

.final-cta-section .container {
    position: relative;
    z-index: 1;
}

.final-cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.final-cta-section p {
    font-size: 1.2rem;
    margin-bottom: 35px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
    line-height: 1.7;
}

/* CTA Button in Final Section */
.final-cta-section .btn {
    background-color: #FFD700;
    color: #333;
    padding: 15px 50px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

.final-cta-section .btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    background-color: #ffe600;
}

/* ===== HERO SECTION IMPROVEMENT ===== */
.hero {
    background: linear-gradient(135deg, #f4f7fc 0%, #e8f0ff 100%);
    text-align: center;
    padding: 100px 20px;
    position: relative;
}

.hero h1 {
    font-size: 3rem;
    color: #1A53E0;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 700;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px auto;
    color: #555;
}

/* ===== ARTICLE CONTAINER ===== */
.article-container {
    background: white;
}

.article-container h1 {
    font-size: 2.8rem;
    color: #1A53E0;
    margin-bottom: 10px;
    line-height: 1.2;
    font-weight: 700;
}

.post-meta {
    color: #888;
    font-size: 1.05rem;
    margin-bottom: 30px;
    font-style: italic;
}

.article-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.article-container h2 {
    font-size: 1.8rem;
    color: #1A53E0;
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 700;
}

.article-container p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.article-container strong {
    color: #1A53E0;
    font-weight: 600;
}

/* ===== SECTION IMPROVEMENTS ===== */
.section {
    padding: 80px 20px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #1A53E0;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px auto;
    font-size: 1.1rem;
    color: #666;
    line-height: 1.7;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 992px) {
    .two-column-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .column-text {
        padding-right: 0;
    }

    .service-process-list,
    .feature-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 25px;
    }

    .final-cta-section h2 {
        font-size: 2rem;
    }

    .hero h1 {
        font-size: 2.3rem;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 20px;
    }

    .service-process-list,
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .process-item,
    .feature-card {
        padding: 30px;
    }

    .final-cta-section {
        padding: 60px 20px;
    }

    .final-cta-section h2 {
        font-size: 1.8rem;
    }

    .final-cta-section p {
        font-size: 1rem;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .article-container h1 {
        font-size: 1.8rem;
    }

    .article-container h2 {
        font-size: 1.4rem;
    }

    .column-text h2 {
        font-size: 1.8rem;
    }

    .checkmark-list li {
        padding: 15px 15px;
        margin-bottom: 12px;
    }

    .two-column-layout {
        gap: 30px;
    }
}

/* Video Hero Background - 2025 Trend */
.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    z-index: 0;
}

/* Stats Counter Animation */
.stat-item h3 {
    font-size: 2.5rem;
    color: #1A53E0;
}
@keyframes countUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.stat-item h3::after { content: attr(data-count); } /* JS would animate, but CSS fade-in */

/* Dark Mode Toggle (Optional Trend) */
body.dark-mode { background: #121212; color: #eee; } /* Add a toggle button in header if needed */

/* Interactive Elements */
.feature-card:hover i { animation: bounce 0.5s; }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Responsive Video */
@media (max-width: 768px) {
    .hero-video-bg { display: none; } /* Fallback to poster on mobile */
    .hero-enhanced { background: url('/assets/images/digital-hero-fallback.jpg') center/cover; }
}

/* Hero Video Background */
.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    z-index: 0;
}

/* Stats Animation */
.stat-item h3 {
    font-size: 2.5rem;
    color: #1A53E0;
    transition: all 1s ease;
}
@keyframes countUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.stat-item h3::after { content: attr(data-count); }

/* Button Styling for Links */
.btn-read-more {
    display: inline-block;
    margin-top: 15px;
    text-decoration: none;
    color: #1A53E0;
    font-weight: 700;
    transition: color 0.3s ease;
}
.btn-read-more:hover {
    color: #1444b8;
    text-decoration: underline;
}

/* Responsive Video and Stats */
@media (max-width: 768px) {
    .hero-video-bg { display: none; }
    .hero-enhanced { background: url('/assets/images/digital-hero-fallback.jpg') center/cover; }
    .stats-grid { grid-template-columns: 1fr; }
    .cta-buttons { flex-direction: column; gap: 10px; }
}


/* Core Web Vitals Optimization */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Noto Sans', sans-serif; /* Singapore-friendly font */
}

.hero {
    background-color: #fff;
    padding: 60px 20px;
    text-align: center;
}

.hero h1 {
    font-size: 2.5em;
    margin-bottom: 15px;
    color: #2c3e50;
}

.hero p {
    font-size: 1.2em;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #7f8c8d;
}

.btn-hero {
    background-color: #3498db; /* Blue theme */
    color: #fff;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.btn-hero:hover {
    background-color: #2980b9; /* Darker blue */
}

.section-title {
    font-size: 2em;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.1em;
    color: #7f8c8d;
    text-align: center;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Why Choose Grid */
.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.why-choose-item {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.why-choose-item:hover {
    transform: translateY(-5px);
}

.why-choose-item i {
    font-size: 2em;
    color: #3498db; /* Blue icon */
    margin-bottom: 15px;
}

/* Services Overview */
.services-overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.service-overview-card {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.service-overview-card:hover {
    transform: translateY(-5px);
}

.btn-read-more {
    display: inline-block;
    color: #3498db; /* Blue theme */
    text-decoration: none;
    margin-top: 10px;
    font-weight: bold;
}

.btn-read-more:hover {
    color: #2980b9; /* Darker blue */
    text-decoration: underline;
}

/* Testimonial Grid */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.testimonial-card {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: center;
}

.testimonial-card h4 {
    margin-top: 10px;
    color: #2c3e50;
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.blog-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.blog-image:hover {
    transform: scale(1.05);
}

.blog-content {
    padding: 15px 0;
}

.blog-content h3 a {
    color: #2c3e50;
    text-decoration: none;
}

.blog-content h3 a:hover {
    color: #3498db; /* Blue theme */
}

/* Final CTA */
.final-cta-section {
    background: linear-gradient(135deg, #3498db, #2980b9); /* Blue gradient */
    color: #fff;
    padding: 40px 20px;
    text-align: center;
}

.btn-primary {
    background-color: #f1c40f; /* Yellow theme */
    color: #fff;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #f39c12; /* Darker yellow */
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 1.8em;
    }
    .hero p {
        font-size: 1em;
    }
    .why-choose-grid, .services-overview-grid, .testimonial-grid, .blog-grid {
        grid-template-columns: 1fr;
    }
    .btn-hero, .btn-primary {
        width: 100%;
        display: block;
        text-align: center;
    }
}

/* Hero Section with Banner */
.hero-enhanced {
    position: relative;
    overflow: hidden;
    background-color: #fff;
    padding: 60px 20px;
    text-align: center;
}

.hero-banner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.3;
}

.container {
    position: relative;
    z-index: 1;
    color: #2c3e50;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    font-family: 'Noto Sans', sans-serif;
}

.hero-enhanced h1 {
    font-size: 2.5em;
    margin-bottom: 15px;
}

.hero-enhanced p {
    font-size: 1.2em;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px; /* Margin between buttons on desktop */
}

.cta-buttons .btn {
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.btn-primary {
    background-color: #3498db; /* Blue theme */
    color: #fff;
}

.btn-primary:hover {
    background-color: #2980b9; /* Darker blue */
}

.btn-secondary {
    background-color: #f1c40f; /* Yellow theme */
    color: #fff;
}

.btn-secondary:hover {
    background-color: #f39c12; /* Darker yellow */
}

/* Responsive Adjustments for Mobile */
@media (max-width: 768px) {
    .cta-buttons {
        flex-direction: column;
        gap: 15px; /* Margin between buttons on mobile */
    }
    .cta-buttons .btn {
        width: 100%;
        text-align: center;
    }
    .hero-enhanced h1 {
        font-size: 1.8em;
    }
    .hero-enhanced p {
        font-size: 1em;
    }
}

/* Stats Section */
.stats-section {
    padding: 40px 20px;
    background-color: #f4f7fc;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.stat-item h3 {
    font-size: 2.5em;
    color: #3498db;
    margin-bottom: 10px;
}

.stat-item p {
    font-size: 1.1em;
    color: #7f8c8d;
}

/* General Section Styling */
.section-title {
    font-size: 2em;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.1em;
    color: #7f8c8d;
    text-align: center;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Service Process List */
.service-process-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.process-item {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.process-item:hover {
    transform: translateY(-5px);
}

.process-item h3 span {
    color: #3498db;
    margin-right: 5px;
}

.btn-read-more {
    color: #3498db;
    text-decoration: none;
    font-weight: bold;
}

.btn-read-more:hover {
    text-decoration: underline;
    color: #2980b9;
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.feature-card {
    text-align: center;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card i {
    font-size: 2em;
    color: #3498db;
    margin-bottom: 10px;
}

/* Two Column Layout */
.two-column-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: center;
}

.column-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .two-column-layout {
        grid-template-columns: 1fr;
    }
}

/* Testimonial Grid */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.testimonial-card {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: center;
}

.testimonial-stars i {
    color: #f1c40f; /* Yellow stars */
    margin: 0 2px;
}

.testimonial-text {
    margin: 10px 0;
}

.testimonial-author {
    color: #2c3e50;
    font-weight: bold;
}

/* Final CTA */
.final-cta-section {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: #fff;
    padding: 40px 20px;
    text-align: center;
}

/* =========================================== */
/* === CASE STUDY & PORTFOLIO PAGE STYLES (Updated) === */
/* =========================================== */

/* --- Banner Section --- */
.banner-section {
    /* Background color change: Light blue gradient */
    background: linear-gradient(135deg, #D3E0FF 0%, #E9F0FB 100%); /* Light blue to very light blue/off-white */
    color: #333; /* Text color ko dark kar diya hai taaki light background par dikhe */
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.banner-content h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1A53E0; /* Heading color ko dark blue kar diya hai */
    text-shadow: none; /* Light background par text-shadow ki zaroorat nahi */
}

/* Banner Stats ke liye bhi dark color */
.banner-stats {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 30px;
    color: #555; /* Stats text ko thoda dark grey kar diya hai */
    opacity: 1; /* Opacity ko full kar diya hai */
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .banner-content h1 {
        font-size: 2rem; /* Mobile par heading choti kar di */
    }
    .banner-stats {
        font-size: 1rem; /* Mobile par stats chote kar diye */
        line-height: 1.5; /* Line height badha di taaki text stack hone par aacha dikhe */
    }
    .banner-stats span {
        display: block; /* Har stat ko apni alag line me dikhayega */
        margin: 5px 0; /* Vertical margin dega */
    }
}

/* --- Reusable CTA Button --- */
/* --- Reusable CTA Button --- */
.cta-button {
    display: inline-block;
    background-color: #FFD700;
    color: #333;
    padding: 14px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    text-align: center; /* <<< Add this line */
}

.cta-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    background-color: #ffe600;
}

/* --- Portfolio Stats Grid (Guaranteed Mobile Fix) --- */
.portfolio-stats {
    display: grid;
    /* Desktop par responsive grid banayega */
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.stat-card {
    background-color: #f9fbff;
    border: 1px solid #e8eef8;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    border-left: 5px solid #1A53E0;
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(26, 83, 224, 0.1);
}

.stat-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.stat-card .stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1A53E0;
    line-height: 1.1;
    margin-bottom: 8px;
}

.stat-card .stat-note {
    font-size: 0.9rem;
    color: #555;
    font-style: italic;
}

/* === MOBILE FIX === */
/* Yeh code sirf 768px se choti screen par kaam karega */
@media (max-width: 768px) {
    .section .portfolio-stats {
        grid-template-columns: 1fr !important; 
    }
}
/* =========================================== */
/* === IMAGE GALLERY (IMPROVED LAYOUT) === */
/* =========================================== */
.image-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* <<< YE SINGLE IMAGE KO CENTER KAREGA */
    gap: 25px;
    margin: 30px 0 50px 0;
}

.image-gallery a.image-container { /* Style the <a> tag directly */
    display: block;
    text-decoration: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    flex: 1 1 400px; /* For responsive resizing */
    max-width: 500px; /* Prevents images from getting too big */
}

.image-gallery a.image-container:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 35px rgba(26, 83, 224, 0.15);
}

.gallery-image {
    width: 100%;
    height: auto;
    display: block;
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
    .banner-content h1 {
        font-size: 2rem;
    }
    .banner-stats span {
        display: block;
        margin-bottom: 10px;
    }
    .portfolio-stats {
        grid-template-columns: 1fr 1fr;
    }
}

/* =========================================== */
/* === FOOTER RESPONSIVE FIX === */
/* =========================================== */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr; /* Sabse zaroori: columns ko stack karta hai */
        text-align: center; /* Content ko center me laata hai */
        gap: 40px; /* Stacked columns ke beech space deta hai */
    }

    .footer-col p {
        margin-left: auto;
        margin-right: auto; /* Paragraph ko center me rakhta hai */
    }
}