/* ==========================================================================
   TUNEUPX PREMIUM PAGE-SPECIFIC STYLE SYSTEMS (pages.css)
   ========================================================================== */

/* --- Dynamic Page Transitions Structure --- */
.page-section {
    display: none;
    width: 100%;
    min-height: 100vh;
}

.page-section.active {
    display: block;
}

/* ==========================================
   PAGE 1: HOMEPAGE STYLING
   ========================================== */

/* cinematic Hero view */
.hero-container {
    min-height: 100vh;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
    background-color: var(--bg-black);
}

.mesh-canvas-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

#hero-mesh {
    width: 100%;
    height: 100%;
    display: block;
    opacity: 0.75;
}

.hero-centered-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 5;
    padding-top: 60px;
    width: 100%;
}

.hero-centered-container .hero-tagline {
    margin-bottom: 2rem;
}

.hero-centered-container .hero-title {
    font-size: 4.8rem;
    max-width: 900px;
}

.hero-centered-container .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
    max-width: 800px;
}

.hero-centered-container .hero-actions {
    justify-content: center;
}

.hero-tagline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-gold);
    background: rgba(200, 150, 42, 0.08);
    border: 1px solid rgba(200, 150, 42, 0.15);
    padding: 0.5rem 1.25rem;
    border-radius: 30px;
    margin-bottom: 2rem;
    box-shadow: 0 0 15px rgba(200, 150, 42, 0.05);
}

.hero-title {
    font-size: 4.25rem;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 1.6;
    max-width: 720px;
}

.hero-actions {
    display: flex;
    justify-content: flex-start;
    gap: 1.5rem;
}

.rtl .hero-actions {
    justify-content: flex-start;
}

.hero-globe-right {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

#hero-globe {
    width: 440px;
    height: 440px;
    max-width: 100%;
    display: block;
    filter: drop-shadow(0 0 30px rgba(232, 97, 10, 0.08));
}

/* Scroll down mouse wheel indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-family: var(--font-heading);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    animation: floatIndicator 2s infinite ease-in-out;
}

.mouse-icon {
    width: 22px;
    height: 36px;
    border: 2px solid var(--text-muted);
    border-radius: 12px;
    position: relative;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background-color: var(--accent-orange);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: wheelScroll 1.5s infinite ease;
}

@keyframes wheelScroll {
    0% { transform: translate(-50%, 0); opacity: 1; }
    50% { transform: translate(-50%, 6px); opacity: 0.5; }
    100% { transform: translate(-50%, 0); opacity: 1; }
}

/* Trusted Logo Continuous loop ticker */
.trusted-strip {
    background-color: var(--bg-charcoal);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 2rem 0;
}

.strip-label {
    text-align: center;
    color: var(--text-muted-dark);
    margin-bottom: 1.5rem;
}

.logos-carousel {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 100%;
}

.logos-carousel::before,
.logos-carousel::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.logos-carousel::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-charcoal) 0%, transparent 100%);
}

.logos-carousel::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-charcoal) 0%, transparent 100%);
}

.logos-track {
    display: inline-flex;
    animation: infiniteLogoScroll 25s linear infinite;
    gap: 4rem;
}

.logo-item {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 1.1rem;
    color: var(--text-muted);
    opacity: 0.65;
    transition: var(--transition-fast);
}

.logo-item:hover {
    opacity: 1;
    color: var(--accent-orange);
}

.logo-item i {
    font-size: 1.35rem;
}

@keyframes infiniteLogoScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Wide Featured Teaser Grid */
.split-editorial-teaser {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.teaser-visual {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.teaser-image-wrapper {
    height: 380px;
    background: linear-gradient(135deg, #181b24 0%, #0d0f14 100%);
    border: 1px solid var(--border-color);
    position: relative;
}

.teaser-badge {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    background: rgba(232, 97, 10, 0.15);
    border: 1px solid rgba(232, 97, 10, 0.3);
    color: var(--accent-orange);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.75rem;
}

/* CSS simulated network server nodes grid */
.server-node-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.grid-line {
    position: absolute;
    background: rgba(255, 255, 255, 0.03);
}

.grid-line.horizontal {
    width: 100%;
    height: 1px;
    top: 50%;
}

.grid-line.vertical {
    height: 100%;
    width: 1px;
    left: 50%;
}

.node {
    position: absolute;
    width: 8px;
    height: 8px;
    background-color: var(--text-muted-dark);
    border-radius: 50%;
}

.pulse-node {
    background-color: var(--accent-orange);
    box-shadow: 0 0 10px var(--accent-orange);
}

.pulse-node::after {
    content: '';
    position: absolute;
    top: -6px;
    left: -6px;
    right: -6px;
    bottom: -6px;
    border: 1.5px solid var(--accent-orange);
    border-radius: 50%;
    animation: pulseGlow 1.8s infinite ease-out;
}

.node-vector-flow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.node-vector-flow path {
    stroke-dasharray: 2, 2;
    animation: dashFlow 20s infinite linear;
}

.teaser-title {
    font-size: 2.25rem;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
}

.teaser-metrics {
    display: flex;
    gap: 3rem;
    margin-top: 2rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
}

.metric-box {
    display: flex;
    flex-direction: column;
}

.metric-num {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--accent-gold);
}

.metric-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

/* Stats Ribbon (Page 1) */
.stats-ribbon-section {
    background: linear-gradient(180deg, var(--bg-black) 0%, var(--bg-charcoal) 100%);
    border-bottom: 1px solid var(--border-color);
    padding: 3rem 0;
    position: relative;
    z-index: 10;
}

.stats-ribbon-grid {
    align-items: center;
}

.stat-ribbon-item {
    text-align: center;
    padding: 1rem;
    position: relative;
}

.stat-ribbon-num {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-ribbon-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (max-width: 768px) {
    .stats-ribbon-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 2rem 1rem;
    }
    
    .stat-ribbon-num {
        font-size: 2.8rem;
    }
    
    .stat-ribbon-label {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .stats-ribbon-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }
}

/* Testimonials Slide systems */
.carousel-wrapper {
    position: relative;
    max-width: 800px;
    margin: 3rem auto 0 auto;
}

.carousel-container {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    pointer-events: none;
    transform: translateX(30px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-slide.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
}

.testimonial-quote {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 2rem;
    position: relative;
}

.testimonial-quote::before {
    content: '\201C';
    font-size: 5rem;
    font-family: serif;
    position: absolute;
    top: -2.5rem;
    left: -2rem;
    opacity: 0.15;
    color: var(--accent-orange);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.25rem;
    color: var(--accent-gold);
}

.author-info h4 {
    font-size: 1.1rem;
    margin-bottom: 0.15rem;
}

.author-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.country-flag {
    margin-left: auto;
    font-size: 0.85rem;
    color: var(--accent-gold);
    font-family: var(--font-accent);
}

.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
}

.carousel-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition-fast);
}

.carousel-btn:hover {
    border-color: var(--accent-orange);
    color: var(--accent-orange);
}

.carousel-dots {
    display: flex;
    gap: 0.5rem;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--text-muted-dark);
    cursor: pointer;
    transition: var(--transition-fast);
}

.carousel-dot.active {
    background-color: var(--accent-orange);
    width: 20px;
    border-radius: 4px;
}

/* Call to Action Banner overlay */
.cta-glow-box {
    background: linear-gradient(135deg, rgba(17, 19, 24, 0.9) 0%, rgba(10, 10, 10, 0.95) 100%);
    border: 1px solid rgba(232, 97, 10, 0.2);
    box-shadow: 0 10px 40px rgba(232, 97, 10, 0.1);
    border-radius: var(--border-radius);
    padding: 4rem;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.islamic-border-box {
    position: absolute;
    top: 1rem;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    border: 1px dashed rgba(200, 150, 42, 0.15);
    pointer-events: none;
    border-radius: 8px;
}

.cta-content {
    max-width: 750px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.cta-heading {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}/* Capabilities Grid & Cards */
.capabilities-grid {
    margin-top: 3rem;
}

.capability-card {
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.capability-card .card-heading {
    margin-top: 0.5rem;
    font-size: 1.25rem;
    line-height: 1.3;
}

.capability-card .card-text {
    flex-grow: 1;
    margin-bottom: 1.5rem;
}/* Why TuneupX / What Sets Us Apart Section */
.sets-apart-section {
    position: relative;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.sets-apart-grid {
    margin-top: 3rem;
}

.set-apart-card {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 2.25rem !important;
}

.set-apart-num {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
}

.text-gold { color: var(--accent-gold); }
.text-orange { color: var(--accent-orange); }
.text-amber { color: var(--accent-amber); }

.set-apart-content h3 {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.set-apart-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .set-apart-card {
        flex-direction: column;
        gap: 1rem;
    }
    
    .set-apart-num {
        font-size: 3rem;
    }
}


/* ==========================================
   PAGE 2: ABOUT US STYLING
   ========================================== */
.about-hero {
    padding: 8rem 0 5rem 0;
}

.about-hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.about-hero-desc {
    font-size: 1.15rem;
    color: var(--text-secondary);
}

/* Capability icon grid */
.about-icon-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 1.5rem;
    height: 320px;
    max-width: 400px;
    margin: 0 auto;
    position: relative;
    perspective: 800px;
}

.about-icon-cell {
    background: linear-gradient(135deg, rgba(232, 97, 10, 0.08) 0%, rgba(200, 150, 42, 0.04) 100%);
    border: 1.5px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-icon-cell i {
    font-size: 2.2rem;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 2;
}

.about-icon-cell::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60%;
    height: 60%;
    transform: translate(-50%, -50%) rotate(45deg);
    border: 1px solid rgba(200, 150, 42, 0.15);
    border-radius: 4px;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-icon-cell::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30%;
    height: 30%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(232, 97, 10, 0.1) 0%, transparent 70%);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Hover effects */
.about-icon-cell:hover {
    border-color: var(--accent-orange);
    box-shadow: 0 0 25px rgba(232, 97, 10, 0.3), inset 0 0 20px rgba(232, 97, 10, 0.05);
    transform: scale(1.08) translateY(-6px);
    background: linear-gradient(135deg, rgba(232, 97, 10, 0.15) 0%, rgba(200, 150, 42, 0.08) 100%);
}

.about-icon-cell:hover i {
    color: var(--accent-orange);
    transform: scale(1.1);
    text-shadow: 0 0 10px rgba(232, 97, 10, 0.6);
}

.about-icon-cell:hover::before {
    transform: translate(-50%, -50%) rotate(90deg) scale(1.2);
    border-color: rgba(232, 97, 10, 0.4);
}

.about-icon-cell:hover::after {
    width: 50%;
    height: 50%;
    background: radial-gradient(circle, rgba(232, 97, 10, 0.3) 0%, transparent 70%);
}

/* Individual cell float animations with staggered timing */
.t1 { animation: cellFloat 4s ease-in-out infinite; }
.t2 { animation: cellFloat 4s ease-in-out 0.3s infinite; }
.t3 { animation: cellFloat 4s ease-in-out 0.6s infinite; }
.t4 { animation: cellFloat 4s ease-in-out 0.9s infinite; }
.t5 { animation: cellFloat 4s ease-in-out 1.2s infinite; }
.t6 { animation: cellFloat 4s ease-in-out 1.5s infinite; }

@keyframes cellFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* Leadership team details cards */
.team-visual {
    height: 200px;
    background: linear-gradient(135deg, #181b24 0%, #0d0f14 100%);
    border-bottom: 1.5px solid var(--border-color);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.1);
    transition: var(--transition-smooth);
}

.team-card:hover .team-visual {
    color: var(--accent-orange);
}

.team-info {
    padding-top: 1.5rem;
}

.team-name {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.team-title {
    font-size: 0.75rem;
    display: block;
    margin-bottom: 1rem;
}

.team-bio-teaser {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.btn-link {
    background: transparent;
    border: none;
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--accent-orange);
    cursor: pointer;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.btn-link:hover {
    color: var(--accent-amber);
}

/* Horizontal scrollable milestone timeline */
.timeline-slider-wrapper {
    position: relative;
    padding: 3rem 0;
    overflow-x: auto;
    scrollbar-width: none; /* Firefox */
}

.timeline-slider-wrapper::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.timeline-line {
    position: absolute;
    top: 50%;
    left: 0;
    width: 2000px;
    height: 2px;
    background: linear-gradient(90deg, var(--border-color) 0%, var(--accent-orange) 50%, var(--accent-gold) 100%);
    z-index: 1;
}

.timeline-track {
    display: flex;
    gap: 6rem;
    width: max-content;
    padding-left: 2rem;
    padding-right: 2rem;
    position: relative;
    z-index: 2;
}

.timeline-item {
    width: 280px;
    position: relative;
    padding-top: 2rem;
}

.timeline-dot {
    position: absolute;
    top: calc(50% + 14px); /* centered around line */
    left: 0;
    width: 14px;
    height: 14px;
    background: var(--bg-black);
    border: 3px solid var(--accent-orange);
    border-radius: 50%;
    transform: translateY(-50%);
    transition: var(--transition-fast);
}

.timeline-item:hover .timeline-dot {
    background: var(--accent-amber);
    box-shadow: 0 0 10px var(--accent-amber);
}

.timeline-year {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--accent-gold);
    display: block;
    margin-bottom: 0.5rem;
}

.timeline-title {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.timeline-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
}


/* ==========================================
   PAGE 3: SERVICES STYLING
   ========================================== */
.bfsi-callout {
    border-color: rgba(200, 150, 42, 0.4) !important;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-top: 2rem;
    padding: 1.5rem;
}

.callout-icon {
    font-size: 2rem;
}

/* Service Category Tabs Menu */
.services-tabs-menu {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.service-tab-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1rem 1.5rem;
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: var(--transition-fast);
}

.rtl .service-tab-btn {
    text-align: right;
}

.service-tab-btn:hover {
    border-color: var(--border-hover);
    color: var(--accent-orange);
}

.service-tab-btn.active {
    background: linear-gradient(90deg, rgba(232, 97, 10, 0.12) 0%, transparent 100%);
    border-color: var(--accent-orange);
    color: var(--accent-orange);
    font-weight: 600;
    box-shadow: -4px 0 0 var(--accent-orange);
}

.rtl .service-tab-btn.active {
    background: linear-gradient(270deg, rgba(232, 97, 10, 0.12) 0%, transparent 100%);
    box-shadow: 4px 0 0 var(--accent-orange);
}

/* Accordion Tab panel switcher */
.service-tab-panel {
    display: none;
    animation: panelFadeIn 0.5s ease forwards;
}

.service-tab-panel.active {
    display: block;
}

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

.service-panel-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.lead-text {
    font-size: 1.25rem;
    margin-top: 1rem;
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

.service-bullets {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.service-bullets li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
}

/* Accordion details components */
.panel-details {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.accordion-card {
    padding: 1.5rem;
    cursor: pointer;
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-header h4 {
    font-size: 1.1rem;
    color: var(--text-primary);
}

.accordion-header i {
    color: var(--accent-orange);
    transition: var(--transition-fast);
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-top: 0;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease, margin 0.3s ease;
}

.accordion-card.open .accordion-body {
    max-height: 150px;
    opacity: 1;
    margin-top: 1rem;
}

.accordion-card.open .accordion-header i {
    transform: rotate(45deg);
}


/* ==========================================
   PAGE 4: INDUSTRIES STYLING
   ========================================== */
.industry-mosaic {
    margin-top: 3rem;
}

.mosaic-item {
    cursor: pointer;
    height: 180px;
    display: flex;
    align-items: flex-end;
    position: relative;
    border-radius: var(--border-radius);
    padding: 1.5rem !important;
}

.mosaic-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.05;
    background-size: cover;
    background-position: center;
    transition: var(--transition-smooth);
}

.mosaic-item:hover .mosaic-bg-overlay,
.mosaic-item.active .mosaic-bg-overlay {
    opacity: 0.12;
}

.mosaic-content {
    position: relative;
    z-index: 2;
}

.mosaic-icon {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}

.mosaic-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.mosaic-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.mosaic-item.active {
    border-color: var(--accent-orange);
    box-shadow: 0 0 20px rgba(232, 97, 10, 0.15);
}

/* Display subpage details panel */
.industry-detail-panel {
    border-color: rgba(232, 97, 10, 0.15);
}

.detail-panel-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
}

.pain-points-box {
    margin-top: 2rem;
}

.pain-points-box h4 {
    font-size: 1.05rem;
    margin-bottom: 1rem;
    color: var(--accent-gold);
}

.pain-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.pain-list li {
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.rtl .pain-list li {
    padding-left: 0;
    padding-right: 1.5rem;
}

.pain-list li::before {
    content: '\f05e';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--accent-orange);
    position: absolute;
    left: 0;
    top: 2px;
}

.rtl .pain-list li::before {
    left: auto;
    right: 0;
}

.info-block {
    padding: 1.25rem;
    border-left: 3px solid var(--accent-orange);
    background: rgba(255, 255, 255, 0.01);
}

.rtl .info-block {
    border-left: none;
    border-right: 3px solid var(--accent-orange);
}

.info-block.border-gold { border-color: var(--accent-gold); }
.info-block h4 { font-size: 0.95rem; margin-bottom: 0.5rem; }
.info-block p { font-size: 0.85rem; color: var(--text-muted); }

.metrics-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.small-metric {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
}

.m-num {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-gold);
    display: block;
}

.m-label {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Emerging Industry Trends Section */
.trends-grid {
    margin-top: 3rem;
}

.trend-card {
    min-height: 240px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    padding: 2.25rem 1.5rem !important;
}

.trend-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

.trend-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.trend-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}


/* ==========================================
   PAGE 5: CASE STUDIES STYLING
   ========================================== */
.filter-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    padding: 0.6rem 1.5rem;
    border-radius: 20px;
    color: var(--text-secondary);
    font-family: var(--font-heading);
    cursor: pointer;
    transition: var(--transition-fast);
}

.filter-btn:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

.filter-btn.active {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    color: var(--bg-black);
    font-weight: 600;
}

/* Editorial styling for study card */
.cases-editorial-grid {
    margin-top: 2rem;
}

.case-study-card {
    display: flex;
    flex-direction: column;
    padding: 0 !important;
    overflow: hidden;
}

.case-visual {
    height: 180px;
    background: linear-gradient(135deg, #161820 0%, #0d0f14 100%);
    border-bottom: 1px solid var(--border-color);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.case-chart-mock {
    width: 80%;
    height: 80%;
}

.analytics-svg {
    width: 100%;
    height: 100%;
}

.case-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    border: 1px solid var(--border-color);
    padding: 0.35rem 0.75rem;
    border-radius: 4px;
    font-size: 0.7rem;
}

.case-info {
    padding: 2.25rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.case-vertical {
    font-size: 0.75rem;
    display: block;
    margin-bottom: 0.5rem;
}

.case-info h3 {
    font-size: 1.45rem;
    margin-bottom: 1rem;
}

.case-lead {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.case-format {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.25rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.case-format div strong {
    color: var(--text-primary);
}

.case-metrics-bar {
    display: flex;
    gap: 2rem;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
    margin-top: auto;
}


/* ==========================================
   PAGE 6: PARTNERS & TECH STYLING
   ========================================== */
.partner-grid {
    margin-top: 2rem;
}

.partner-card {
    text-align: center;
    padding: 2rem !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.partner-card i {
    font-size: 3rem;
    color: var(--text-muted-dark);
    transition: var(--transition-fast);
}

.partner-card:hover i {
    color: var(--accent-orange);
    filter: drop-shadow(0 0 10px rgba(232, 97, 10, 0.3));
}

.partner-card span {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--text-muted);
}

.frameworks-container {
    margin-top: 2rem;
}

.framework-card {
    padding: 2.25rem;
}

.tech-badge {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 0.7rem;
}

.rtl .tech-badge {
    right: auto;
    left: 1.5rem;
}

.framework-card h3 {
    margin-bottom: 1rem;
}

.framework-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

/* Simulated dynamic Flowchart widgets */
.flowchart-mock {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    padding: 1rem;
    border-radius: 8px;
}

.flow-step {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-family: var(--font-heading);
    font-weight: 500;
}

.flow-step.glow-orange {
    border-color: var(--accent-orange);
    color: var(--accent-orange);
    box-shadow: 0 0 10px rgba(232, 97, 10, 0.15);
}

.flow-step.glow-gold {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    box-shadow: 0 0 10px rgba(200, 150, 42, 0.15);
}

.flow-arrow {
    color: var(--text-muted-dark);
}

/* Interactive layer explorer */
.stack-selector-tabs {
    display: flex;
    justify-content: center;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.stack-tab-btn {
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    padding: 1rem 2rem;
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-fast);
}

.stack-tab-btn:hover {
    color: var(--text-primary);
}

.stack-tab-btn.active {
    color: var(--accent-orange);
    border-color: var(--accent-orange);
}

.stack-layer-display {
    padding: 1.5rem;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    animation: panelFadeIn 0.4s ease;
}

.stack-layer-display h4 {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
}

.stack-layer-display p {
    max-width: 600px;
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.stack-tags {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
}

.stack-tag {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    padding: 0.4rem 1rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-family: var(--font-heading);
    color: var(--text-secondary);
}


/* ==========================================
   PAGE 7: GLOBAL PRESENCE STYLING
   ========================================== */
.world-map-container {
    height: 400px;
    position: relative;
    border-color: rgba(200, 150, 42, 0.15);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.world-map-svg-holder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.map-pulses-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
}

.map-pulse {
    position: absolute;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.pulse-beacon {
    width: 12px;
    height: 12px;
    background-color: var(--accent-orange);
    border-radius: 50%;
    position: relative;
}

.pulse-beacon::after {
    content: '';
    position: absolute;
    top: -12px;
    left: -12px;
    right: -12px;
    bottom: -12px;
    border: 2px solid var(--accent-orange);
    border-radius: 50%;
    animation: pulseGlow 2s infinite ease-out;
}

.map-pulse.active .pulse-beacon {
    background-color: var(--accent-gold);
}

.map-pulse.active .pulse-beacon::after {
    border-color: var(--accent-gold);
}

.pulse-label {
    position: absolute;
    left: 1.5rem;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    border: 1px solid var(--border-color);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-family: var(--font-heading);
    white-space: nowrap;
    opacity: 0.5;
    transform: translateY(-2px);
    transition: var(--transition-fast);
}

.rtl .pulse-label {
    left: auto;
    right: 1.5rem;
}

.map-pulse:hover .pulse-label,
.map-pulse.active .pulse-label {
    opacity: 1;
    color: var(--accent-gold);
    border-color: var(--accent-gold);
}

/* regional directories list */
.office-card {
    cursor: pointer;
}

.office-card.active {
    border-color: var(--accent-gold);
    box-shadow: 0 0 20px rgba(200, 150, 42, 0.12);
}

.office-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.office-status {
    font-size: 0.75rem;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    font-weight: 700;
}

.office-status.open {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.office-status.closed {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.office-detail {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.office-detail i {
    margin-top: 3px;
}


/* ==========================================
   PAGE 8: CAREERS STYLING
   ========================================== */
.culture-mosaic-grid {
    margin-top: 3rem;
}

.culture-card {
    text-align: center;
}

.culture-icon {
    font-size: 2.25rem;
    margin-bottom: 1.25rem;
}

.culture-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.culture-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* active open positions matrix table */
.jobs-table-wrapper {
    margin-top: 2rem;
    padding: 0 !important;
    overflow-x: auto;
}

.jobs-table {
    min-width: 600px;
}

.jobs-table th, .jobs-table td {
    padding: 1.25rem 2rem;
    text-align: left;
}

.rtl .jobs-table th, .rtl .jobs-table td {
    text-align: right;
}

.jobs-table th {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-color);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.jobs-table td {
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    font-size: 0.95rem;
}

.jobs-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.01);
}


/* ==========================================
   PAGE 9: CONTACT & BOOKING STYLING
   ========================================== */
.split-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
}

/* Dynamic Booking calendar UI components */
.calendar-component {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.25rem;
    background: rgba(0, 0, 0, 0.1);
}

.calendar-header-widget {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.cal-arrow {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition-fast);
}

.cal-arrow:hover {
    color: var(--accent-orange);
}

.cal-month-title {
    font-family: var(--font-heading);
    font-weight: 600;
}

.calendar-grid-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.5rem;
    text-align: center;
}

.day-cell {
    aspect-ratio: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.day-cell.header {
    font-size: 0.75rem;
    color: var(--text-muted-dark);
    font-family: var(--font-heading);
    font-weight: 700;
    cursor: default;
}

.day-cell.empty {
    cursor: default;
}

.day-cell.valid {
    color: var(--text-secondary);
}

.day-cell.valid:hover {
    background: rgba(232, 97, 10, 0.15);
    color: var(--accent-orange);
}

.day-cell.today {
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
}

.day-cell.active {
    background: var(--accent-orange) !important;
    color: var(--text-primary) !important;
    font-weight: 700;
    box-shadow: 0 0 10px rgba(232, 97, 10, 0.3);
}

.day-cell.booked {
    color: var(--text-muted-dark);
    text-decoration: line-through;
    cursor: not-allowed;
}

.day-cell.booked:hover {
    background: transparent;
    color: var(--text-muted-dark);
}

/* Time slot layouts */
.time-slots-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.time-slot {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    padding: 0.6rem;
    border-radius: 6px;
    text-align: center;
    font-size: 0.8rem;
    font-family: var(--font-heading);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-fast);
}

.time-slot:hover {
    border-color: var(--accent-orange);
    color: var(--accent-orange);
}

.time-slot.selected {
    background: var(--accent-orange);
    border-color: var(--accent-orange);
    color: var(--text-primary);
    font-weight: 700;
    box-shadow: 0 0 10px rgba(232, 97, 10, 0.3);
}

.time-slot.booked {
    color: var(--text-muted-dark);
    text-decoration: line-through;
    cursor: not-allowed;
    border-color: transparent;
    background: transparent;
}

.selected-booking-alert {
    background: rgba(200, 150, 42, 0.08);
    border: 1px solid rgba(200, 150, 42, 0.25);
    border-radius: 8px;
    padding: 1rem;
    animation: scaleUp 0.3s ease;
}

.alert-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
}


/* ==========================================
   PAGE 10: BLOG & THOUGHT LEADERSHIP
   ========================================== */
.featured-blog-banner {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    gap: 4rem;
    align-items: center;
    border-color: rgba(200, 150, 42, 0.25);
}

.featured-blog-visual {
    height: 100%;
    min-height: 250px;
    background: linear-gradient(135deg, rgba(200, 150, 42, 0.08) 0%, transparent 100%);
    border-right: 1px solid var(--border-color);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.rtl .featured-blog-visual {
    border-right: none;
    border-left: 1px solid var(--border-color);
}

.large-vector-art {
    font-size: 6rem;
    color: rgba(200, 150, 42, 0.12);
    animation: rotateAtom 25s infinite linear;
}

@keyframes rotateAtom {
    to { transform: rotate(360deg); }
}

.featured-blog-title {
    font-size: 1.85rem;
    margin-top: 0.75rem;
    margin-bottom: 1rem;
}

.featured-blog-excerpt {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.author-meta-box {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.author-avatar-small {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--accent-orange);
}

.author-name-small {
    font-size: 0.85rem;
    font-weight: 600;
    display: block;
}

.read-time-tag {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Regular article feeds */
.blog-feed-card {
    display: flex;
    flex-direction: column;
}

.feed-header {
    font-size: 2rem;
    color: var(--text-muted-dark);
    margin-bottom: 1.5rem;
}

.blog-feed-card h3 {
    font-size: 1.2rem;
    margin-top: 0.5rem;
    margin-bottom: 0.75rem;
}

.blog-feed-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    flex-grow: 1;
}

.feed-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
    font-size: 0.75rem;
    color: var(--text-muted);
}


/* ==========================================
   MEGA FOOTER SYSTEMS
   ========================================== */
.main-footer {
    background-color: #050505;
    border-top: 1px solid var(--border-color);
    padding: 5rem 0 0 0;
    position: relative;
    overflow: hidden;
}

.footer-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-links-section {
    padding-bottom: 4rem;
}

.footer-brand-tag {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

.footer-socials a {
    width: 36px;
    height: 36px;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.footer-socials a:hover {
    border-color: var(--accent-orange);
    color: var(--accent-orange);
    box-shadow: 0 0 10px rgba(232, 97, 10, 0.2);
}

.footer-col-title {
    font-size: 0.85rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.footer-links-col ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links-col ul li a {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-links-col ul li a:hover {
    color: var(--accent-orange);
    padding-left: 4px;
}

.rtl .footer-links-col ul li a:hover {
    padding-left: 0;
    padding-right: 4px;
}

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

.footer-subscribe-form {
    display: flex;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.01);
    transition: var(--transition-fast);
}

.footer-subscribe-form:focus-within {
    border-color: var(--accent-orange);
    box-shadow: 0 0 10px rgba(232, 97, 10, 0.15);
}

.footer-subscribe-form input {
    background: transparent;
    border: none;
    padding: 0.6rem 1rem;
    flex-grow: 1;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.85rem;
}

.footer-subscribe-form button {
    background: transparent;
    border: none;
    border-left: 1px solid var(--border-color);
    padding: 0 1.25rem;
    color: var(--accent-orange);
    cursor: pointer;
    transition: var(--transition-fast);
}

.rtl .footer-subscribe-form button {
    border-left: none;
    border-right: 1px solid var(--border-color);
}

.footer-subscribe-form button:hover {
    color: var(--accent-amber);
    background: rgba(232, 97, 10, 0.05);
}

.office-times-status {
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding-top: 1rem;
}

.hq-state {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pulse-beacon.green { background-color: #22c55e; }
.pulse-beacon.green::after { border-color: #22c55e; }

.hq-time-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Footer bottom bar */
.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 2rem 0;
}

.bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright-text {
    font-size: 0.8rem;
    color: var(--text-muted-dark);
}

.footer-legal-links {
    display: flex;
    gap: 1.5rem;
}

.footer-legal-links a {
    font-size: 0.8rem;
    color: var(--text-muted-dark);
}

.footer-legal-links a:hover {
    color: var(--accent-orange);
}

/* --- Mobile Breakpoint Rules --- */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .split-editorial-teaser, .service-panel-grid, .detail-panel-grid, .split-contact-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .teaser-image-wrapper {
        height: 280px;
    }
    
    .featured-blog-banner {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .featured-blog-visual {
        min-height: 180px;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }
    
    .rtl .featured-blog-visual {
        border-left: none;
        border-bottom: 1px solid var(--border-color);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.05rem;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .carousel-container {
        height: 380px;
    }
    
    .bottom-container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-legal-links {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .services-tabs-menu {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    
    .service-tab-btn {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 1rem 0.5rem;
        white-space: normal;
        font-size: 0.85rem;
    }

    .service-tab-btn i {
        font-size: 1.5rem;
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
}

/* --- Global Networks Section with 3D Globe --- */
.global-networks-section {
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: radial-gradient(circle at bottom right, rgba(232, 97, 10, 0.03), transparent 60%);
    overflow: hidden;
}

.split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 991px) {
    .split-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

.network-info-left {
    position: relative;
    z-index: 2;
}

.network-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.network-stat-card {
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
}

.network-stat-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.network-stat-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
}

.network-globe-right {
    position: relative;
    width: 100%;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.three-globe-container {
    width: 100%;
    height: 100%;
    position: relative;
}

#three-globe-canvas {
    width: 100%;
    height: 100%;
    cursor: grab;
}

#three-globe-canvas:active {
    cursor: grabbing;
}

.globe-labels-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 3;
}

.globe-label-el {
    position: absolute;
    transform: translate(-50%, -100%);
    background: rgba(17, 19, 24, 0.85);
    border: 1px solid rgba(200, 150, 42, 0.3);
    color: #fff;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 10px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: bold;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.2s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.globe-label-el.visible {
    opacity: 1;
}

.globe-label-el.hq {
    border-color: rgba(232, 97, 10, 0.6);
    background: rgba(232, 97, 10, 0.15);
    backdrop-filter: blur(5px);
}

/* Custom Islamic Finance Advisory Callouts */
.islamic-finance-alert {
    background: linear-gradient(135deg, rgba(200, 150, 42, 0.08) 0%, rgba(200, 150, 42, 0.02) 100%);
    border: 1.5px solid rgba(200, 150, 42, 0.35);
    border-left: 5px solid var(--accent-gold);
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
    margin-top: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25), 0 0 15px rgba(200, 150, 42, 0.03);
    transition: all 0.3s ease;
}

.islamic-finance-alert:hover {
    border-color: rgba(200, 150, 42, 0.6);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.3), 0 0 25px rgba(200, 150, 42, 0.08);
    transform: translateY(-2px);
}

.islamic-finance-alert i {
    font-size: 1.75rem;
    color: var(--accent-gold);
    margin-top: 0.15rem;
    filter: drop-shadow(0 0 5px rgba(200, 150, 42, 0.3));
}

.islamic-finance-alert-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.islamic-finance-alert-content h5 {
    color: var(--accent-gold);
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    margin: 0;
    letter-spacing: 0.5px;
}

.islamic-finance-alert-content p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.6;
    margin: 0;
}

.islamic-finance-alert-content a {
    color: var(--accent-gold);
    text-decoration: underline;
    font-weight: 600;
    transition: var(--transition-fast);
}

.islamic-finance-alert-content a:hover {
    color: var(--text-primary);
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
}

/* Training & Workshops Section Styles */
.training-grid {
    margin-top: 3rem;
}

.training-card {
    display: flex;
    flex-direction: column;
    padding: 2.5rem;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.training-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-orange), var(--accent-gold));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.training-card:hover {
    transform: translateY(-5px);
    border-color: rgba(232, 97, 10, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(232, 97, 10, 0.05);
}

.training-card:hover::before {
    opacity: 1;
}

.training-icon-wrapper {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.training-card:hover .training-icon-wrapper {
    background: rgba(232, 97, 10, 0.1);
    border-color: rgba(232, 97, 10, 0.3);
    transform: scale(1.05);
}

.training-audience {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
    display: inline-block;
    padding: 2px 8px;
    background: rgba(200, 150, 42, 0.1);
    border: 1px solid rgba(200, 150, 42, 0.2);
    border-radius: 4px;
}

.training-info h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.training-info p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
}

/* Contact Grid styles */
.contact-info-card {
    display: flex;
    flex-direction: column;
    padding: 2.5rem;
    height: 100%;
}

.direct-contact-channels {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.channel-link:hover {
    color: var(--accent-orange) !important;
    padding-left: 5px;
}

.whatsapp-contact-btn:hover {
    background: #1ebea5 !important;
    border-color: #1ebea5 !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

@media (max-width: 1024px) {
    .contact-grid-container {
        grid-template-columns: 1fr !important;
        gap: 2rem;
    }
}

/* ── New Contact Layout: Form + Calendar top, Channels strip bottom ── */

/* Top row: 2-column side-by-side */
.contact-top-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.contact-form-card,
.calendar-scheduler-card {
    padding: 2.5rem;
    height: 100%;
}

/* Direct Channels strip — full width */
.direct-channels-strip {
    padding: 2rem 2.5rem;
    display: flex;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.direct-channels-header {
    min-width: 220px;
    flex-shrink: 0;
    border-right: 1px solid rgba(255,255,255,0.07);
    padding-right: 2.5rem;
}

.direct-channels-header h3 { margin-bottom: 0.4rem; }
.direct-channels-header p  { margin: 0; font-size: 0.9rem; }

.direct-channels-items {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    flex: 1;
}

.channel-item-inline {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    transition: transform 0.2s ease;
}
.channel-item-inline:hover { transform: translateY(-2px); }

.channel-icon-lg {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--accent-orange);
    flex-shrink: 0;
}

.channel-details-inline {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.channel-details-inline .channel-label {
    font-size: 0.68rem;
    color: var(--text-muted);
    letter-spacing: 0.06em;
}

.channel-link-lg {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: color 0.2s ease;
}
.channel-link-lg:hover { color: var(--accent-orange); }

/* Responsive: stack on tablet and below */
@media (max-width: 1024px) {
    .contact-top-row {
        grid-template-columns: 1fr;
    }
    .direct-channels-strip {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    .direct-channels-header {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.07);
        padding-right: 0;
        padding-bottom: 1.5rem;
        width: 100%;
    }
    .direct-channels-items {
        gap: 1.5rem;
    }
}

@media (max-width: 640px) {
    .contact-form-card,
    .calendar-scheduler-card {
        padding: 1.5rem;
    }
    .direct-channels-strip {
        padding: 1.5rem;
    }
    .direct-channels-items {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
    }
}

/* Training CTA Section and Enquiry Form */
.training-cta-section {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: center;
    background: radial-gradient(circle at top right, rgba(232, 97, 10, 0.05), transparent 60%),
                linear-gradient(135deg, rgba(13, 15, 20, 0.95) 0%, rgba(20, 24, 33, 0.98) 100%);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 3.5rem;
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg), 0 10px 40px rgba(0, 0, 0, 0.5);
}

.training-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--accent-orange), var(--accent-gold));
}

.training-cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.training-cta-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.training-cta-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.cta-feature-pill {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    padding: 0.5rem 1.2rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.cta-feature-pill i {
    color: var(--accent-orange);
    font-size: 0.8rem;
}

.cta-feature-pill:hover {
    background: rgba(232, 97, 10, 0.05);
    border-color: rgba(232, 97, 10, 0.2);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.training-enquiry-card {
    padding: 2.2rem;
    border-radius: 16px;
    background: rgba(13, 15, 20, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
}

.training-enquiry-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.training-enquiry-icon {
    font-size: 1.8rem;
    color: var(--accent-orange);
    background: rgba(232, 97, 10, 0.1);
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.training-enquiry-header h3 {
    font-size: 1.25rem;
    margin: 0;
    color: var(--text-primary);
}

.training-enquiry-card .briefing-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.training-enquiry-card .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.training-enquiry-card .form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.training-enquiry-card label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.training-enquiry-card input,
.training-enquiry-card select,
.training-enquiry-card textarea {
    background: rgba(255, 255, 255, 0.02);
    border: 1.5px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    width: 100%;
}

.training-enquiry-card input:focus,
.training-enquiry-card select:focus,
.training-enquiry-card textarea:focus {
    outline: none;
    border-color: var(--accent-orange);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 0 12px rgba(232, 97, 10, 0.15);
}

.training-enquiry-card select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgba(255, 255, 255, 0.5)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.2rem;
    padding-right: 2.5rem;
    cursor: pointer;
}

.training-enquiry-card select option {
    background-color: #0d0f14;
    color: var(--text-primary);
}

.training-enquiry-card textarea {
    resize: vertical;
}

@media (max-width: 1024px) {
    .training-cta-section {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 2.5rem;
    }
}

@media (max-width: 640px) {
    .training-enquiry-card .form-row-2 {
        grid-template-columns: 1fr;
    }
    
    .training-cta-section {
        padding: 1.5rem;
    }
    
    .training-cta-title {
        font-size: 2rem;
    }
}

