/* =============================================
   Services Page & Individual Pages — Premium
   ============================================= */

/* ============ PAGE HERO ============ */
.page-hero {
    background:
        radial-gradient(ellipse 600px 400px at 75% 30%, rgba(59, 130, 246, 0.08) 0%, transparent 70%),
        radial-gradient(ellipse 400px 300px at 25% 70%, rgba(37, 99, 235, 0.05) 0%, transparent 70%),
        linear-gradient(180deg, var(--blue-50) 0%, var(--white) 100%);
    padding: 10rem 0 5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.06) 0%, transparent 65%);
    top: -100px;
    right: -100px;
    border-radius: 50%;
    animation: float-slow 12s ease-in-out infinite;
}

.page-hero::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.05) 0%, transparent 65%);
    bottom: -50px;
    left: -60px;
    border-radius: 50%;
    animation: float-slow 15s ease-in-out infinite reverse;
}

@keyframes float-slow {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(25px, -15px) scale(1.04); }
    66% { transform: translate(-15px, 10px) scale(0.97); }
}

.breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    background: var(--white);
    border: 1px solid var(--blue-100);
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    box-shadow: var(--shadow-xs);
}

.breadcrumb a {
    text-decoration: none;
    color: var(--blue-500);
    font-weight: 500;
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: var(--blue-700);
}

.breadcrumb i {
    font-size: 0.6rem;
    color: var(--blue-300);
}

.page-hero h1 {
    font-size: 3.2rem;
    margin-bottom: 1.25rem;
    color: var(--text-heading);
    letter-spacing: -1px;
    position: relative;
    z-index: 1;
}

.page-hero h1 span {
    background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-hero p {
    max-width: 620px;
    margin: 0 auto;
    color: var(--text-body);
    font-size: 1.05rem;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

/* ============================================
   SERVICES MAIN GRID (services.html)
   ============================================ */
.services-main-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.5rem;
}

.svc-card {
    background: var(--white);
    border-radius: 20px;
    border: 1px solid var(--blue-100);
    padding: 0;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    overflow: hidden;
    position: relative;
}

.svc-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue-400), var(--blue-600));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease);
}

.svc-card:hover::before {
    transform: scaleX(1);
}

.svc-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--blue-200);
}

.svc-card-icon {
    background: linear-gradient(135deg, var(--blue-50), var(--blue-100));
    padding: 2rem 2rem 1.5rem;
    font-size: 2.2rem;
    color: var(--blue-500);
    border-bottom: 1px solid var(--blue-50);
}

.svc-card-body {
    padding: 1.5rem 2rem;
    flex: 1;
}

.svc-card-body h3 {
    font-size: 1.15rem;
    margin-bottom: 0.6rem;
    color: var(--text-heading);
}

.svc-card-body p {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.svc-highlights {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.svc-highlights li {
    font-size: 0.85rem;
    color: var(--text-body);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.svc-highlights li i {
    color: var(--blue-500);
    font-size: 0.7rem;
}

.svc-card-footer {
    padding: 1.15rem 2rem;
    border-top: 1px solid var(--blue-50);
}

.svc-card-footer span {
    color: var(--blue-600);
    font-weight: 600;
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s var(--ease);
}

.svc-card:hover .svc-card-footer span {
    gap: 0.85rem;
}

/* ============ CTA SECTION ============ */
.svc-cta {
    background: linear-gradient(135deg, var(--blue-600) 0%, var(--blue-800) 100%);
    padding: 6rem 0;
    margin-top: 2rem;
    position: relative;
    overflow: hidden;
}

.svc-cta::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.07) 0%, transparent 60%);
    top: -120px;
    left: -100px;
    border-radius: 50%;
}

.svc-cta::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 60%);
    bottom: -80px;
    right: -60px;
    border-radius: 50%;
}

.svc-cta-inner {
    text-align: center;
    color: var(--white);
    position: relative;
    z-index: 1;
}

.svc-cta-inner h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.svc-cta-inner p {
    color: var(--white-70);
    font-size: 1.05rem;
    margin-bottom: 2.5rem;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.svc-cta .btn-primary {
    background: var(--white);
    color: var(--blue-700);
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.svc-cta .btn-primary::before {
    background: var(--blue-50);
}

.svc-cta .btn-primary:hover {
    box-shadow: 0 8px 35px rgba(0,0,0,0.2);
}

/* ============================================
   INDIVIDUAL SERVICE PAGE LAYOUT
   ============================================ */
.service-detail {
    padding: 5rem 0 6rem;
}

.service-detail-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 3.5rem;
    align-items: start;
}

/* Main Content */
.service-main-content h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--text-heading);
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--blue-100);
    letter-spacing: -0.3px;
}

.service-main-content p {
    color: var(--text-body);
    line-height: 1.9;
    margin-bottom: 1.25rem;
}

/* Feature Boxes */
.service-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 2.5rem 0;
}

.feat-box {
    background: var(--white);
    border: 1px solid var(--blue-100);
    border-radius: 16px;
    padding: 1.5rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feat-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background: linear-gradient(180deg, var(--blue-400), var(--blue-600));
    transition: height 0.4s var(--ease);
    border-radius: 0 0 2px 0;
}

.feat-box:hover::before {
    height: 100%;
}

.feat-box:hover {
    border-color: var(--blue-200);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.feat-box i {
    color: var(--blue-500);
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    display: block;
    width: 42px;
    height: 42px;
    background: var(--blue-50);
    border: 1px solid var(--blue-100);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feat-box h4 {
    font-size: 0.95rem;
    margin-bottom: 0.35rem;
    color: var(--text-heading);
}

.feat-box p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
}

/* Process Steps */
.process-steps {
    margin: 3rem 0;
}

.process-steps h2 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--text-heading);
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--blue-100);
}

.step {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
    padding: 1.25rem;
    background: var(--white);
    border: 1px solid var(--blue-50);
    border-radius: 14px;
    transition: var(--transition);
}

.step:hover {
    border-color: var(--blue-200);
    box-shadow: var(--shadow-sm);
    transform: translateX(5px);
}

.step-num {
    width: 42px;
    height: 42px;
    min-width: 42px;
    background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
    color: var(--white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
    font-family: 'Outfit', sans-serif;
    box-shadow: 0 3px 10px rgba(37, 99, 235, 0.3);
}

.step-content h4 {
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
    color: var(--text-heading);
}

.step-content p {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin: 0;
}

/* FAQ Accordion  */
.faq-list {
    margin: 3rem 0;
}

.faq-list h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--blue-100);
}

.faq-item {
    border: 1px solid var(--blue-100);
    border-radius: 14px;
    margin-bottom: 0.75rem;
    overflow: hidden;
    transition: border-color 0.3s;
}

.faq-item:hover,
.faq-item.open {
    border-color: var(--blue-200);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.15rem 1.5rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-heading);
    background: var(--white);
    transition: background 0.2s;
}

.faq-question:hover {
    background: var(--blue-50);
}

.faq-question i {
    color: var(--blue-400);
    transition: transform 0.3s var(--ease);
    font-size: 0.85rem;
}

.faq-answer {
    display: none;
    padding: 0 1.5rem 1.25rem;
    color: var(--text-body);
    font-size: 0.92rem;
    line-height: 1.8;
    background: var(--white);
}

.faq-item.open .faq-answer {
    display: block;
}

.faq-item.open .faq-question {
    background: var(--blue-50);
}

.faq-item.open .faq-question i {
    transform: rotate(180deg);
}

/* ============ SIDEBAR ============ */
.service-sidebar {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.sidebar-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid var(--blue-100);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.sidebar-card:hover {
    box-shadow: var(--shadow-md);
}

.sidebar-card h3 {
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--blue-100);
    color: var(--text-heading);
}

.sidebar-card .btn-primary {
    width: 100%;
    text-align: center;
    display: block;
    margin-top: 1.25rem;
    padding: 0.85rem;
}

.sidebar-contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
    font-size: 0.88rem;
    color: var(--text-body);
}

.sidebar-contact-item i {
    color: var(--blue-500);
    width: 18px;
    font-size: 0.9rem;
}

.other-services-list {
    list-style: none;
}

.other-services-list li {
    border-bottom: 1px solid var(--blue-50);
}

.other-services-list li:last-child {
    border-bottom: none;
}

.other-services-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.7rem 0;
    text-decoration: none;
    color: var(--text-body);
    font-size: 0.88rem;
    font-weight: 500;
    transition: var(--transition-fast);
}

.other-services-list a:hover {
    color: var(--blue-600);
    padding-left: 6px;
}

.other-services-list a i {
    font-size: 0.65rem;
    color: var(--blue-300);
    transition: transform 0.2s var(--ease);
}

.other-services-list a:hover i {
    transform: translateX(3px);
    color: var(--blue-500);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 992px) {
    .service-detail-grid {
        grid-template-columns: 1fr;
    }
    .service-sidebar {
        position: static;
    }
    .services-main-grid {
        grid-template-columns: 1fr;
    }
    .page-hero h1 {
        font-size: 2.2rem;
    }
    .service-features-grid {
        grid-template-columns: 1fr;
    }
    .svc-cta-inner h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 8rem 0 3rem;
    }
    .service-detail {
        padding: 3rem 0;
    }
}

/* ============================================
   ABOUT PAGE — Vision/Mission/Values
   ============================================ */
.vm-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.vm-card {
    background: var(--white);
    border: 1px solid var(--blue-100);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.vm-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue-400), var(--blue-600));
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.4s var(--ease);
}

.vm-card:hover::before {
    transform: scaleX(1);
}

.vm-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.vm-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--blue-50), var(--blue-100));
    border: 1px solid var(--blue-100);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    color: var(--blue-500);
}

.vm-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
    color: var(--text-heading);
}

.vm-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ============================================
   ABOUT PAGE — Journey Timeline
   ============================================ */
.timeline {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    padding-left: 50px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 18px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--blue-200), var(--blue-500), var(--blue-200));
    border-radius: 4px;
}

.timeline-item {
    position: relative;
    margin-bottom: 2.5rem;
    padding: 1.5rem 2rem;
    background: var(--white);
    border: 1px solid var(--blue-100);
    border-radius: 16px;
    transition: var(--transition);
}

.timeline-item:hover {
    border-color: var(--blue-200);
    box-shadow: var(--shadow-md);
    transform: translateX(6px);
}

.timeline-dot {
    position: absolute;
    left: -42px;
    top: 1.75rem;
    width: 14px;
    height: 14px;
    background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
    border-radius: 50%;
    border: 3px solid var(--white);
    box-shadow: var(--shadow-sm);
    z-index: 1;
}

.timeline-year {
    display: inline-block;
    background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
    color: var(--white);
    padding: 0.2rem 0.75rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    margin-bottom: 0.5rem;
}

.timeline-content h4 {
    font-size: 1rem;
    color: var(--text-heading);
    margin-bottom: 0.35rem;
}

.timeline-content p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ============================================
   ABOUT PAGE — Qualifications
   ============================================ */
.qual-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.qual-item {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--blue-50);
    border: 1px solid var(--blue-100);
    border-radius: 16px;
    transition: var(--transition);
}

.qual-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    background: var(--white);
}

.qual-item i {
    font-size: 2rem;
    color: var(--blue-500);
    margin-bottom: 1rem;
}

.qual-item h4 {
    font-size: 0.95rem;
    color: var(--text-heading);
    margin-bottom: 0.5rem;
}

.qual-item p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ============================================
   WHY US PAGE — Process Grid
   ============================================ */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.process-card {
    background: var(--white);
    border: 1px solid var(--blue-100);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.process-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--blue-200);
}

.process-number {
    position: absolute;
    top: 12px;
    right: 16px;
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--blue-50);
    line-height: 1;
}

.process-card:hover .process-number {
    color: var(--blue-100);
}

.process-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    font-size: 1.3rem;
    color: var(--white);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.process-card h3 {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
    color: var(--text-heading);
}

.process-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ============================================
   WHY US PAGE — Numbers Grid
   ============================================ */
.numbers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.number-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: var(--white);
    border: 1px solid var(--blue-100);
    border-radius: 20px;
    transition: var(--transition);
}

.number-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.number-card h3 {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.35rem;
    line-height: 1;
}

.number-card p {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-heading);
    margin-bottom: 0.25rem;
}

.number-card span {
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* ============================================
   CONTACT PAGE — Info Cards
   ============================================ */
.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.contact-info-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--white);
    border: 1px solid var(--blue-100);
    border-radius: 20px;
    transition: var(--transition);
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--blue-200);
}

.cic-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--blue-50), var(--blue-100));
    border: 1px solid var(--blue-100);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.3rem;
    color: var(--blue-500);
}

.contact-info-card h3 {
    font-size: 1.05rem;
    margin-bottom: 0.35rem;
    color: var(--text-heading);
}

.contact-info-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.cic-link {
    color: var(--blue-600);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.2s;
}

.cic-link:hover {
    color: var(--blue-800);
}

/* ============================================
   CONTACT PAGE — Form + Map Grid
   ============================================ */
.contact-page-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2.5rem;
    align-items: start;
}

.contact-form-card {
    background: var(--white);
    border: 1px solid var(--blue-100);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
}

.contact-form-card h2 {
    font-size: 1.6rem;
    color: var(--text-heading);
}

.contact-map-side {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    position: sticky;
    top: 100px;
}

.map-container {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--blue-100);
    box-shadow: var(--shadow-sm);
}

.map-container iframe {
    display: block;
}

/* Office Info Card */
.office-info-card {
    background: var(--white);
    border: 1px solid var(--blue-100);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--shadow-xs);
}

.office-info-card h3 {
    font-size: 1rem;
    color: var(--text-heading);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--blue-50);
}

.office-hours {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.oh-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--blue-50);
    font-size: 0.88rem;
}

.oh-row:last-child {
    border-bottom: none;
}

.oh-row span {
    color: var(--text-muted);
}

.oh-row strong {
    color: var(--text-heading);
    font-size: 0.85rem;
}

/* ============================================
   PAGE-SPECIFIC RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
    .vm-grid {
        grid-template-columns: 1fr;
    }
    .qual-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .numbers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .contact-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .contact-page-grid {
        grid-template-columns: 1fr;
    }
    .contact-map-side {
        position: static;
    }
}

@media (max-width: 768px) {
    .qual-grid,
    .process-grid,
    .numbers-grid,
    .contact-cards-grid {
        grid-template-columns: 1fr;
    }
    .timeline {
        padding-left: 40px;
    }
    .timeline::before {
        left: 14px;
    }
    .timeline-dot {
        left: -35px;
    }
}

/* ============================================
   BLOG STYLES
   ============================================ */

/* Blog Layout */
.blog-page-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 3rem;
    align-items: start;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* Blog Cards */
.blog-card {
    background: var(--white);
    border: 1px solid var(--blue-100);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--blue-200);
}

.blog-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.1);
}

.blog-category-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--blue-600);
    color: var(--white);
    padding: 0.35rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 1;
}

.blog-card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.blog-meta i {
    color: var(--blue-400);
    margin-right: 0.25rem;
}

.blog-card-body h3 {
    font-size: 1.15rem;
    line-height: 1.4;
    margin-bottom: 0.75rem;
    color: var(--text-heading);
    transition: color 0.2s;
}

.blog-card:hover h3 {
    color: var(--blue-600);
}

.blog-card-body p {
    font-size: 0.9rem;
    color: var(--text-body);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-read-more {
    margin-top: auto;
    color: var(--blue-600);
    font-weight: 700;
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-read-more i {
    transition: transform 0.3s;
}

.blog-card:hover .blog-read-more i {
    transform: translateX(5px);
}

/* Featured Card */
.blog-featured-card {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    background: var(--white);
    border: 1px solid var(--blue-100);
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 4rem;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.blog-featured-card:hover {
    box-shadow: var(--shadow-xl);
    border-color: var(--blue-200);
    transform: translateY(-5px);
}

.blog-featured-image {
    position: relative;
    height: 100%;
    min-height: 350px;
}

.blog-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-featured-body {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.blog-featured-body h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-heading);
    line-height: 1.3;
}

.blog-featured-body p {
    font-size: 1.05rem;
    color: var(--text-body);
    line-height: 1.7;
    margin-bottom: 2rem;
}

/* Filter Bar */
.blog-filter-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--blue-50);
    border: 1px solid var(--blue-100);
    border-radius: 16px;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.blog-filter-btn {
    padding: 0.6rem 1.25rem;
    border: 1px solid transparent;
    background: transparent;
    color: var(--text-body);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.blog-filter-btn:hover {
    color: var(--blue-600);
    background: var(--white);
}

.blog-filter-btn.active {
    background: var(--blue-600);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.blog-search-box {
    margin-left: auto;
    position: relative;
    min-width: 280px;
}

.blog-search-box i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--blue-400);
}

.blog-search-box input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.8rem;
    border: 1.5px solid var(--blue-100);
    border-radius: 50px;
    font-family: inherit;
    outline: none;
    transition: var(--transition);
}

.blog-search-box input:focus {
    border-color: var(--blue-500);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

/* Sidebar Widgets */
.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.blog-cat-list {
    list-style: none;
}

.blog-cat-list li {
    border-bottom: 1px solid var(--blue-50);
}

.blog-cat-list li:last-child {
    border-bottom: none;
}

.blog-cat-list a {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    text-decoration: none;
    color: var(--text-body);
    font-weight: 500;
    transition: var(--transition);
}

.blog-cat-list a:hover {
    color: var(--blue-600);
    padding-left: 5px;
}

.blog-cat-list span {
    background: var(--blue-50);
    color: var(--blue-600);
    padding: 0.2rem 0.6rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
}

.blog-recent-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.25rem;
    text-decoration: none;
    align-items: center;
}

.blog-recent-item img {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    object-fit: cover;
}

.blog-recent-item strong {
    display: block;
    font-size: 0.9rem;
    color: var(--text-heading);
    line-height: 1.4;
    margin-bottom: 0.25rem;
    transition: color 0.2s;
}

.blog-recent-item:hover strong {
    color: var(--blue-600);
}

.blog-recent-item small {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* Post Content */
.blog-post-meta-hero {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
    color: var(--text-body);
}

.blog-post-content {
    background: var(--white);
}

.blog-post-cover {
    width: 100%;
    max-height: 500px;
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 3rem;
    box-shadow: var(--shadow-lg);
}

.blog-post-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-post-body {
    color: var(--text-body);
    line-height: 1.9;
    font-size: 1.1rem;
}

.blog-post-body h2, .blog-post-body h3 {
    color: var(--text-heading);
    margin: 2.5rem 0 1rem;
}

.blog-post-body p {
    margin-bottom: 1.5rem;
}

.blog-post-body ul, .blog-post-body ol {
    margin-bottom: 2rem;
    padding-left: 1.5rem;
}

.blog-post-body li {
    margin-bottom: 0.75rem;
}

.blog-post-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 2.5rem 0;
    font-size: 0.95rem;
}

.blog-post-body th, .blog-post-body td {
    border: 1px solid var(--blue-100);
    padding: 1rem;
    text-align: left;
}

.blog-post-body th {
    background: var(--blue-50);
    color: var(--blue-700);
}

.blog-share-bar {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem 0;
    border-top: 1px solid var(--blue-100);
    border-bottom: 1px solid var(--blue-100);
    margin-top: 4rem;
}

.blog-share-icons {
    display: flex;
    gap: 0.75rem;
}

.share-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition-fast);
}

.share-icon:hover {
    transform: translateY(-3px);
    opacity: 0.9;
}

.share-icon.whatsapp { background: #25D366; }
.share-icon.linkedin { background: #0077b5; }
.share-icon.twitter { background: #1da1f2; }
.share-icon.facebook { background: #1877f2; }

.blog-author-box {
    display: flex;
    gap: 2rem;
    padding: 2.5rem;
    background: var(--blue-50);
    border-radius: 20px;
    margin-top: 3rem;
    align-items: center;
}

/* Blog Admin Styles */
.admin-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2.5rem;
    align-items: start;
}

.admin-card {
    background: var(--white);
    border: 1px solid var(--blue-100);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
}

.admin-card-header {
    border-bottom: 1.5px solid var(--blue-50);
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.editor-toolbar {
    display: flex;
    gap: 0.5rem;
    padding: 0.75rem;
    background: var(--white);
    border: 1.5px solid var(--blue-100);
    border-bottom: none;
    border-radius: 10px 10px 0 0;
    flex-wrap: wrap;
}

.editor-toolbar button {
    width: 32px;
    height: 32px;
    background: var(--blue-50);
    border: 1px solid var(--blue-100);
    border-radius: 6px;
    color: var(--blue-600);
    cursor: pointer;
    transition: var(--transition-fast);
}

.editor-toolbar button:hover {
    background: var(--blue-500);
    color: var(--white);
}

.preview-box {
    margin: 2rem 0;
    padding: 2rem;
    background: var(--white);
    border: 2px dashed var(--blue-300);
    border-radius: 16px;
}

.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--blue-100);
    padding-bottom: 1rem;
}

.admin-post-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem;
    border-bottom: 1px solid var(--blue-50);
}

.admin-post-item:last-child {
    border-bottom: none;
}

.admin-post-info h4 {
    font-size: 0.95rem;
    margin-bottom: 0.35rem;
}

.admin-post-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.admin-cat-badge {
    background: var(--blue-50);
    color: var(--blue-600);
    padding: 0.1rem 0.6rem;
    border-radius: 4px;
    font-weight: 700;
}

.admin-post-actions {
    display: flex;
    gap: 0.5rem;
}

.admin-action-btn {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: var(--transition-fast);
}

.admin-action-btn.view { background: var(--blue-50); color: var(--blue-500); }
.admin-action-btn.delete { background: #FEF2F2; color: #EF4444; }

.admin-action-btn:hover { transform: scale(1.1); }

.admin-notification {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--white);
    padding: 1rem 2rem;
    border-left: 5px solid var(--blue-500);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
    transform: translateX(150%);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1000;
}

.admin-notification.show { transform: translateX(0); }
.admin-notification.warning { border-color: #FBBF24; }

/* Responsive Blog */
@media (max-width: 992px) {
    .blog-page-layout, .blog-featured-card, .admin-layout {
        grid-template-columns: 1fr;
    }
    .blog-sidebar {
        order: 2;
    }
    .blog-main {
        order: 1;
    }
}

@media (max-width: 768px) {
    .blog-featured-body {
        padding: 2rem;
    }
    .blog-featured-body h2 {
        font-size: 1.5rem;
    }
    .blog-post-body {
        font-size: 1rem;
    }
}
