/* ============================================
   Return Dakhil - Legal Website Frontend CSS
   ============================================ */

/* CSS Variables for easy theming */
:root {
    --primary: #008cff;
    --primary-dark: #0066b8;
    --primary-light: #33a3ff;
    --secondary: #6d8399;
    --secondary-light: #8a9fb3;
    --accent: #008cff;
    --text-dark: #1a1a2e;
    --text-body: #4a4a5a;
    --text-muted: #7a7a8a;
    --bg-light: #f8f9fc;
    --bg-white: #ffffff;
    --bg-dark: #0f1923;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 15px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --transition: all 0.3s ease;
    --font-primary: 'Inter', sans-serif;
    --font-heading: 'Plus Jakarta Sans', sans-serif;
}

/* ---- Base ---- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-primary);
    color: var(--text-body);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.3;
}
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--secondary); }
img { max-width: 100%; height: auto; }
section { padding: 80px 0; }
.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary);
    background: rgba(0, 140, 255, 0.08);
    padding: 6px 16px;
    border-radius: 30px;
    margin-bottom: 12px;
}
.section-title {
    font-size: 2.25rem;
    margin-bottom: 12px;
    color: var(--text-dark);
}
.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 600px;
}

/* ---- Navbar ---- */
.rd-navbar {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    z-index: 1050;
}
.rd-navbar.scrolled {
    box-shadow: var(--shadow-md);
}
.rd-navbar .navbar-brand img {
    height: 42px;
}
.rd-navbar .navbar-brand span {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--primary);
    margin-left: 8px;
}
.rd-navbar .nav-link {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-dark);
    padding: 8px 16px !important;
    transition: var(--transition);
    position: relative;
}
.rd-navbar .nav-link:hover,
.rd-navbar .nav-link.active {
    color: var(--primary);
}
.rd-navbar .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 16px;
    right: 16px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}
.btn-consultation {
    background: var(--primary);
    color: #fff !important;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 10px 24px;
    border-radius: var(--radius-xl);
    border: none;
    transition: var(--transition);
}
.btn-consultation:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 140, 255, 0.3);
}
.lang-switch {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 4px 12px;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    color: var(--text-body);
    cursor: pointer;
    transition: var(--transition);
    background: transparent;
    text-decoration: none;
}
.lang-switch:hover, .lang-switch.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
/* Mega-navigation: 4-column service grid */
.rd-navbar .container { position: relative; }
.mega-nav-item { position: static !important; }
.mega-menu {
    left: 0 !important;
    right: 0 !important;
    width: auto;
    padding: 24px;
    border: none;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
}
.mega-col { padding: 2px 0; }
.mega-col-title {
    display: flex;
    align-items: center;
    gap: 7px;
    font-weight: 600;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--primary);
    text-decoration: none;
    padding: 5px 8px;
    border-bottom: 2px solid var(--primary);
    margin-bottom: 8px;
    transition: var(--transition);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.mega-col-title:hover { color: var(--secondary); border-color: var(--secondary); }
.mega-col-title i { font-size: 0.95rem; flex-shrink: 0; }
.mega-col-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.mega-col-list li a {
    display: block;
    padding: 4px 8px;
    font-size: 0.8125rem;
    color: var(--text-body);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.mega-col-list li a:hover { background: var(--bg-light); color: var(--primary); padding-left: 14px; }
.mega-more-link {
    color: var(--secondary) !important;
    font-weight: 600 !important;
    font-size: 0.78rem !important;
    display: inline-flex !important;
    align-items: center;
    gap: 4px;
}

/* ---- Hero Section ---- */
.hero-section {
    background: linear-gradient(135deg, #0f1923 0%, #162d50 60%, #1a3a5c 100%);
    padding: 120px 0 100px;
    position: relative;
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: rgba(0, 140, 255, 0.08);
}
.hero-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(0, 140, 255, 0.05);
}
.hero-content { position: relative; z-index: 2; }
.hero-content h1 {
    font-size: 3rem;
    color: #fff;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}
.hero-content h1 span {
    color: #fff;
    text-shadow: 0 0 30px rgba(0,140,255,0.5);
}
.hero-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
    max-width: 540px;
}
.btn-hero-primary {
    background: #fff;
    color: var(--primary) !important;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: var(--radius-xl);
    font-size: 1rem;
    border: none;
    transition: var(--transition);
}
.btn-hero-primary:hover {
    background: #e6f3ff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 140, 255, 0.3);
}
.btn-hero-secondary {
    background: transparent;
    color: #fff !important;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: var(--radius-xl);
    font-size: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition);
}
.btn-hero-secondary:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.1);
}
.hero-image {
    position: relative;
    z-index: 2;
}
.hero-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}
.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 50px;
}
.hero-stat {
    text-align: center;
}
.hero-stat .number {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    display: block;
}
.hero-stat .label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ---- Service Cards ---- */
.services-section {
    background: var(--bg-light);
}
.service-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 28px 24px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    height: 100%;
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.service-card .icon-wrap {
    width: 64px;
    height: 64px;
    background: rgba(0, 140, 255, 0.06);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    transition: var(--transition);
}
.service-card:hover .icon-wrap {
    background: var(--primary);
}
.service-card .icon-wrap i {
    font-size: 1.5rem;
    color: var(--primary);
    transition: var(--transition);
}
.service-card:hover .icon-wrap i {
    color: #fff;
}
.service-card h5 {
    font-size: 1rem;
    margin-bottom: 8px;
    font-weight: 700;
}
.service-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* ---- Why Choose Us ---- */
.why-choose-section {
    background: var(--bg-white);
}
.feature-card {
    display: flex;
    gap: 16px;
    padding: 24px;
    border-radius: var(--radius-md);
    transition: var(--transition);
}
.feature-card:hover {
    background: var(--bg-light);
}
.feature-card .icon-circle {
    width: 56px;
    height: 56px;
    min-width: 56px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.feature-card .icon-circle i {
    font-size: 1.2rem;
    color: #fff;
}
.feature-card h5 {
    font-size: 1rem;
    margin-bottom: 4px;
}
.feature-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* ---- Stats Counter ---- */
.stats-section {
    background: linear-gradient(135deg, #0f1923 0%, #162d50 60%, #1a3a5c 100%);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}
.stat-item {
    text-align: center;
    padding: 20px;
}
.stat-item .stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 4px;
}
.stat-item .stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* ---- How It Works ---- */
.how-it-works-section {
    background: var(--bg-light);
}
.step-card {
    text-align: center;
    padding: 32px 24px;
    position: relative;
}
.step-card .step-number {
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: #fff;
    font-size: 1.5rem;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}
.step-card h5 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}
.step-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ---- Testimonials ---- */
.testimonials-section {
    background: var(--bg-white);
}
.testimonial-card {
    background: var(--bg-light);
    border-radius: var(--radius-md);
    padding: 32px;
    position: relative;
    transition: var(--transition);
    height: 100%;
}
.testimonial-card:hover {
    box-shadow: var(--shadow-md);
}
.testimonial-card .quote-icon {
    font-size: 2rem;
    color: var(--secondary);
    opacity: 0.5;
    margin-bottom: 12px;
}
.testimonial-card .text {
    font-size: 0.95rem;
    color: var(--text-body);
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.7;
}
.testimonial-card .author {
    display: flex;
    align-items: center;
    gap: 12px;
}
.testimonial-card .author img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}
.testimonial-card .author-info h6 {
    font-size: 0.9rem;
    margin-bottom: 2px;
}
.testimonial-card .author-info span {
    font-size: 0.8rem;
    color: var(--text-muted);
}
.testimonial-card .rating {
    color: var(--accent);
    font-size: 0.8rem;
    margin-bottom: 12px;
}

/* ---- Blog Cards ---- */
.blog-section {
    background: var(--bg-light);
}
.blog-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    height: 100%;
}
.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.blog-card .card-img-top {
    height: 200px;
    object-fit: cover;
}
.blog-card .card-body {
    padding: 20px;
}
.blog-card .category-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    background: rgba(0, 140, 255, 0.08);
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 10px;
}
.blog-card h5 {
    font-size: 1rem;
    margin-bottom: 8px;
    line-height: 1.4;
}
.blog-card h5 a {
    color: var(--text-dark);
}
.blog-card h5 a:hover {
    color: var(--primary);
}
.blog-card .meta {
    font-size: 0.78rem;
    color: var(--text-muted);
}
.blog-card .meta i {
    margin-right: 4px;
}

/* ---- Clients Logo ---- */
.clients-section {
    padding: 50px 0;
    background: var(--bg-white);
}
.client-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 20px;
    opacity: 0.5;
    transition: var(--transition);
    filter: grayscale(100%);
}
.client-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
}
.client-logo img {
    max-height: 50px;
    max-width: 120px;
    object-fit: contain;
}

/* ---- CTA Section ---- */
.cta-section {
    background: linear-gradient(135deg, #0f1923 0%, #162d50 60%, #1a3a5c 100%);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    top: -60%;
    right: -15%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(0, 140, 255, 0.08);
}
.cta-section::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -10%;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: rgba(0, 140, 255, 0.05);
}
.cta-section h2 {
    color: #fff;
    font-size: 2.2rem;
    margin-bottom: 16px;
    position: relative;
    z-index: 2;
}
.cta-section p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto 32px;
    position: relative;
    z-index: 2;
}
.btn-cta {
    background: var(--primary);
    color: #fff !important;
    font-weight: 700;
    padding: 14px 40px;
    border-radius: var(--radius-xl);
    font-size: 1rem;
    border: none;
    transition: var(--transition);
    position: relative;
    z-index: 2;
}
.btn-cta:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 140, 255, 0.3);
}

/* ---- FAQ Accordion ---- */
.faq-section .accordion-item {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm) !important;
    margin-bottom: 12px;
    overflow: hidden;
}
.faq-section .accordion-button {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-dark);
    padding: 16px 20px;
    background: var(--bg-white);
}
.faq-section .accordion-button:not(.collapsed) {
    background: var(--bg-light);
    color: var(--primary);
    box-shadow: none;
}
.faq-section .accordion-button:focus {
    box-shadow: none;
}
.faq-section .accordion-body {
    font-size: 0.9rem;
    color: var(--text-body);
    padding: 16px 20px;
}

/* ---- Footer ---- */
.rd-footer {
    background: var(--bg-dark);
    padding: 60px 0 0;
    color: rgba(255, 255, 255, 0.7);
}
.rd-footer h5 {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}
.rd-footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--secondary);
}
.rd-footer p {
    font-size: 0.85rem;
    line-height: 1.7;
}
.rd-footer .footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.rd-footer .footer-links li {
    margin-bottom: 8px;
}
.rd-footer .footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    transition: var(--transition);
}
.rd-footer .footer-links a:hover {
    color: var(--secondary);
    padding-left: 4px;
}
.rd-footer .footer-contact li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 12px;
    font-size: 0.85rem;
}
.rd-footer .footer-contact i {
    color: var(--secondary);
    margin-top: 4px;
}
.rd-footer .social-links a {
    display: inline-flex;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-right: 8px;
    transition: var(--transition);
    font-size: 0.85rem;
}
.rd-footer .social-links a:hover {
    background: var(--secondary);
    color: var(--primary-dark);
}
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    margin-top: 40px;
    font-size: 0.8rem;
    text-align: center;
}

/* ---- WhatsApp Button ---- */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1040;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    transition: var(--transition);
}
.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
    color: #fff;
}

/* ---- Back to Top ---- */
.back-to-top {
    position: fixed;
    bottom: 90px;
    right: 28px;
    z-index: 1040;
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}
.back-to-top.visible {
    display: flex;
}
.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* ---- Blog Detail ---- */
.blog-detail-header {
    background: linear-gradient(135deg, #0f1923 0%, #162d50 60%, #1a3a5c 100%);
    padding: 100px 0 60px;
    position: relative;
    overflow: hidden;
}
.blog-detail-header::before {
    content: '';
    position: absolute;
    top: -70%;
    right: -15%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(0, 140, 255, 0.08);
}
.blog-detail-header::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -10%;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: rgba(0, 140, 255, 0.05);
}
.blog-detail-header h1 {
    color: #fff;
    font-size: 2.2rem;
    position: relative;
    z-index: 2;
}
.blog-detail-header .breadcrumb {
    position: relative;
    z-index: 2;
}
.blog-detail-header .breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
}
.blog-detail-header .breadcrumb-item.active {
    color: var(--primary-light);
}
.blog-content {
    font-size: 1rem;
    line-height: 1.8;
}
.blog-content h2 { font-size: 1.5rem; margin: 30px 0 15px; }
.blog-content h3 { font-size: 1.25rem; margin: 25px 0 12px; }
.blog-content p { margin-bottom: 16px; }
.blog-content ul, .blog-content ol { margin-bottom: 16px; padding-left: 24px; }
.blog-content img { border-radius: var(--radius-sm); margin: 16px 0; }
.blog-content blockquote {
    border-left: 4px solid var(--secondary);
    padding: 16px 24px;
    background: var(--bg-light);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin: 20px 0;
    font-style: italic;
}
.share-buttons a {
    display: inline-flex;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-right: 8px;
    font-size: 0.85rem;
    transition: var(--transition);
}
.share-buttons .fb { background: #1877F2; }
.share-buttons .tw { background: #1DA1F2; }
.share-buttons .li { background: #0A66C2; }
.share-buttons .wa { background: #25D366; }
.share-buttons a:hover { opacity: 0.8; color: #fff; }

/* ---- Sidebar ---- */
.sidebar-widget {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    margin-bottom: 24px;
}
.sidebar-widget h5 {
    font-size: 1rem;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--bg-light);
}
.sidebar-widget .category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.sidebar-widget .category-list li {
    padding: 8px 0;
    border-bottom: 1px solid var(--bg-light);
}
.sidebar-widget .category-list li:last-child { border: none; }
.sidebar-widget .category-list a {
    display: flex;
    justify-content: space-between;
    color: var(--text-body);
    font-size: 0.9rem;
}
.sidebar-widget .category-list a:hover { color: var(--primary); }
.sidebar-widget .category-list .count {
    background: var(--bg-light);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.75rem;
    color: var(--text-muted);
}
.sidebar-widget .recent-post {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}
.sidebar-widget .recent-post:last-child { margin-bottom: 0; }
.sidebar-widget .recent-post img {
    width: 70px;
    height: 55px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}
.sidebar-widget .recent-post h6 {
    font-size: 0.85rem;
    margin-bottom: 4px;
    line-height: 1.3;
}
.sidebar-widget .recent-post h6 a { color: var(--text-dark); }
.sidebar-widget .recent-post h6 a:hover { color: var(--primary); }
.sidebar-widget .recent-post .date {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ---- Page Header ---- */
.page-header {
    background: linear-gradient(135deg, #0f1923 0%, #162d50 60%, #1a3a5c 100%);
    padding: 100px 0 50px;
    position: relative;
    overflow: hidden;
}
.page-header::before {
    content: '';
    position: absolute;
    top: -70%;
    right: -15%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(0, 140, 255, 0.08);
}
.page-header::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -10%;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: rgba(0, 140, 255, 0.05);
}
.page-header h1 {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 8px;
    position: relative;
    z-index: 2;
}
.page-header .breadcrumb {
    margin-bottom: 0;
    position: relative;
    z-index: 2;
}
.page-header .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}
.page-header .breadcrumb-item.active {
    color: var(--primary-light);
    font-size: 0.85rem;
}
.page-header .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

/* ---- Contact Page ---- */
.contact-form .form-control {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    font-size: 0.9rem;
    transition: var(--transition);
}
.contact-form .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26, 58, 92, 0.1);
}
.contact-form .form-select {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    font-size: 0.9rem;
}
.contact-info-card {
    display: flex;
    gap: 16px;
    padding: 20px;
    border-radius: var(--radius-md);
    background: var(--bg-light);
    margin-bottom: 16px;
}
.contact-info-card i {
    font-size: 1.2rem;
    color: var(--primary);
    margin-top: 2px;
}
.contact-info-card h6 {
    font-size: 0.9rem;
    margin-bottom: 4px;
}
.contact-info-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* ---- Team Cards ---- */
.team-card {
    text-align: center;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 32px 24px;
    transition: var(--transition);
    height: 100%;
}
.team-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.team-card img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 16px;
    border: 3px solid var(--bg-light);
}
.team-card h5 {
    font-size: 1rem;
    margin-bottom: 4px;
}
.team-card .designation {
    font-size: 0.8rem;
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 8px;
}
.team-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ---- Review Cards ---- */
.review-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    transition: var(--transition);
    height: 100%;
}
.review-card:hover {
    box-shadow: var(--shadow-md);
}
.review-card .stars {
    color: var(--accent);
    font-size: 0.85rem;
    margin-bottom: 12px;
}
.review-card .review-text {
    font-size: 0.9rem;
    font-style: italic;
    color: var(--text-body);
    margin-bottom: 16px;
    line-height: 1.7;
}
.review-card .reviewer {
    display: flex;
    align-items: center;
    gap: 10px;
}
.review-card .reviewer img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}
.review-card .reviewer h6 {
    font-size: 0.85rem;
    margin-bottom: 2px;
}
.review-card .reviewer span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ---- Breadcrumb Visual ---- */
.breadcrumb-visual {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
}

/* ---- Page Builder Content ---- */
.page-builder-content img { max-width: 100%; height: auto; }

/* ---- Scroll Animations ---- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   Service Page Builder — SPB Components
   ============================================ */
.spb { display: grid; gap: 28px; }

.spb-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 32px;
    box-shadow: var(--shadow-sm);
}

.spb-hero {
    background: linear-gradient(135deg, rgba(0,140,255,0.065) 0%, rgba(0,102,184,0.02) 100%);
    border-color: rgba(0,140,255,0.18);
}

.spb-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    background: rgba(0,140,255,0.08);
    color: var(--primary);
    padding: 5px 14px;
    border-radius: 999px;
    margin-bottom: 16px;
}

.spb h2 {
    font-size: clamp(1.4rem, 2vw, 1.85rem);
    line-height: 1.3;
    color: var(--text-dark);
    margin-bottom: 14px;
    margin-top: 0;
}

.spb-card-h {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(0,140,255,0.1);
}

.spb h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.spb p, .spb li {
    color: var(--text-body);
    line-height: 1.8;
    font-size: 0.965rem;
}

.spb-lead {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-dark);
    line-height: 1.75;
    margin-bottom: 10px;
}

/* Two-column grid: docs left, timeline/cost right */
.spb-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 24px;
    align-items: start;
}

/* Checklist */
.spb-list {
    padding: 0;
    margin: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}
.spb-list li {
    padding-left: 26px;
    position: relative;
    line-height: 1.6;
}
.spb-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 1px;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.85rem;
}

/* Info boxes (timeline / cost) */
.spb-infobox {
    margin-bottom: 18px;
    padding: 20px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
}
.spb-infobox:last-child { margin-bottom: 0; }

.spb-infobox-h {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    margin-bottom: 6px;
}

/* Process steps */
.spb-steps { display: grid; gap: 18px; }

.spb-step {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 16px;
    align-items: start;
}

.spb-step-num {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 50%;
    background: rgba(0,140,255,0.1);
    color: var(--primary);
    font-weight: 700;
    font-size: 1rem;
    font-family: var(--font-heading);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.spb-step-body strong {
    display: block;
    font-size: 0.96rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
}
.spb-step-body p { margin: 0; }

/* Benefits / Why Choose Us */
.spb-benefits-card {
    background: linear-gradient(135deg, rgba(0,140,255,0.04), rgba(0,140,255,0.01));
}

.spb-benefits {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.spb-benefit {
    display: grid;
    grid-template-columns: 36px 1fr;
    gap: 12px;
    align-items: start;
}

.spb-benefit-check {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: var(--radius-sm);
    background: rgba(0,140,255,0.1);
    color: var(--primary);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.88rem;
    flex-shrink: 0;
}

.spb-benefit strong {
    display: block;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 3px;
}

.spb-benefit p {
    font-size: 0.87rem;
    margin: 0;
    color: var(--text-muted);
}

/* FAQ */
.spb-faq-item {
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
}
.spb-faq-item:first-child { padding-top: 0; }
.spb-faq-item:last-child { border-bottom: none; padding-bottom: 0; }

.spb-faq-item h4 {
    font-size: 0.96rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.spb-faq-item p {
    margin: 0;
    font-size: 0.93rem;
    color: var(--text-body);
}

/* CTA */
.spb-cta-card {
    background: var(--bg-dark);
    border-color: transparent;
    text-align: center;
}

.spb-cta-card h3 {
    color: #fff;
    font-size: 1.25rem;
    border: none;
    padding: 0;
    margin-bottom: 10px;
}

.spb-cta-card p {
    color: rgba(255,255,255,0.72);
    margin-bottom: 20px;
}

.spb-cta-btn {
    display: inline-block;
    padding: 13px 32px;
    border-radius: 999px;
    background: var(--primary);
    color: #fff !important;
    font-weight: 700;
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition);
}
.spb-cta-btn:hover {
    background: var(--primary-dark);
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,140,255,0.3);
}

/* Responsive */
@media (max-width: 991px) {
    .spb-grid { grid-template-columns: 1fr; }
    .spb-benefits { grid-template-columns: 1fr; }
}
@media (max-width: 575px) {
    .spb-card { padding: 20px 18px; }
    .spb h2 { font-size: 1.3rem; }
}

/* ---- Responsive ---- */
@media (max-width: 991.98px) {
    .hero-content h1 { font-size: 2.2rem; }
    .hero-stats { gap: 20px; flex-wrap: wrap; }
    section { padding: 60px 0; }
    .section-title { font-size: 1.8rem; }
    /* Mega menu — collapses inline within mobile nav, no absolute positioning needed */
    .mega-nav-item { position: relative !important; }
    .mega-menu { position: static !important; box-shadow: none; border: 1px solid #e5e7eb; border-radius: var(--radius-sm); margin-top: 4px; padding: 12px; }
    .mega-col-title { font-size: 0.8rem; }
    .mega-col-list li a { font-size: 0.8rem; white-space: normal; }
    .mega-col-list li a:hover { padding-left: 10px; }
}
@media (max-width: 767.98px) {
    .hero-section { padding: 80px 0 60px; }
    .hero-content h1 { font-size: 1.8rem; }
    .hero-content p { font-size: 0.95rem; }
    .stat-item .stat-number { font-size: 1.8rem; }
    .section-title { font-size: 1.5rem; }
    .cta-section h2 { font-size: 1.6rem; }
}
