﻿/**
 * Public CSS - JL Freelancing Digital Hub
 * Design Premium InspirÃ© Agences Internationales
 * Version 2.0 - Enhanced UI/UX
 */

:root {
    /* Colors */
    --navy: #071A35;
    --blue: #0057D9;
    --light-blue: #008CFF;
    --orange: #FF8A00;
    --white: #FFFFFF;
    --light-gray: #F5F7FA;
    --dark-gray: #1E293B;
    --text-gray: #64748B;
    --text-light: #94A3B8;
    
    /* Typography */
    --font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Spacing */
    --section-padding: clamp(80px, 12vw, 180px);
    --section-padding-sm: clamp(60px, 10vw, 100px);
    
    /* Animation */
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-out: cubic-bezier(0.0, 0, 0.2, 1);
    --ease-in-out: cubic-bezier(0.4, 0, 0.6, 1);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    color: var(--dark-gray);
    line-height: 1.7;
    overflow-x: hidden;
    background: var(--white);
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Selection */
::selection {
    background: var(--orange);
    color: var(--white);
}

/* ============================================
   TYPOGRAPHY SYSTEM - PREMIUM
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    line-height: 1.1;
    color: var(--navy);
    letter-spacing: -0.02em;
}

/* Display Text - Ultra large */
.display-text {
    font-size: clamp(3.5rem, 8vw, 7rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 0.95;
}

/* H1 - Hero Headlines */
h1, .h1 {
    font-size: clamp(2.75rem, 6vw, 5rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.05;
}

/* H2 - Section Titles */
h2, .h2 {
    font-size: clamp(2.25rem, 5vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

/* H3 - Subsection Titles */
h3, .h3 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.015em;
}

/* H4 - Card Titles */
h4, .h4 {
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    font-weight: 700;
}

/* H5 - Small Titles */
h5, .h5 {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    font-weight: 600;
}

/* Body Text */
p {
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    line-height: 1.7;
    color: var(--text-gray);
}

/* Lead Text */
.lead {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    line-height: 1.6;
    font-weight: 400;
    color: var(--dark-gray);
}

/* Small Text */
.small, small {
    font-size: 0.875rem;
    line-height: 1.5;
}

/* Labels/Tags */
.label, .tag {
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
}

.lead {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    font-weight: 400;
    color: var(--text-gray);
    line-height: 1.7;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.site-header.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.navbar {
    padding: 1.25rem 0;
    transition: padding 0.3s ease;
}

.navbar-brand .logo {
    height: 50px;
    width: auto;
    transition: height 0.3s ease, transform 0.3s ease;
}

.navbar-brand:hover .logo {
    transform: scale(1.05);
}

.scrolled .navbar-brand .logo {
    height: 40px;
}

.logo-mobile {
    height: 45px;
    width: auto;
}

.nav-link {
    color: var(--navy) !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80%;
    height: 2px;
    background: var(--orange);
    transition: transform 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: translateX(-50%) scaleX(1);
}

.dropdown-menu {
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 0.5rem;
    margin-top: 0.5rem;
}

.dropdown-item {
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-weight: 500;
    transition: all 0.2s;
}

.dropdown-item:hover {
    background: var(--light-gray);
    color: var(--navy);
}

/* Mobile Menu */
.offcanvas {
    border: none;
}

.offcanvas-body {
    padding: 2rem;
}

.logo-mobile {
    height: 40px;
}

.mobile-nav {
    list-style: none;
    padding: 0;
}

.mobile-nav li {
    margin-bottom: 0.5rem;
}

.mobile-nav a {
    display: block;
    padding: 1rem;
    color: var(--navy);
    text-decoration: none;
    font-weight: 600;
    border-radius: 8px;
    transition: background 0.3s;
}

.mobile-nav a:hover {
    background: var(--light-gray);
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    padding: 0.875rem 1.75rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--orange);
    border: none;
    color: white;
    box-shadow: 0 4px 15px rgba(255, 138, 0, 0.3);
}

.btn-primary:hover {
    background: #E67A00;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 138, 0, 0.4);
    color: white;
}

.btn-secondary {
    background: var(--navy);
    border: none;
    color: white;
}

.btn-secondary:hover {
    background: var(--blue);
    color: white;
}

.btn-outline-primary {
    border: 2px solid var(--orange);
    color: var(--orange);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--orange);
    color: white;
}

.btn-link {
    color: var(--navy);
    text-decoration: none;
}

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

/* ============================================
   HERO SECTION
   ============================================ */

.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    background: linear-gradient(135deg, #071A35 0%, #0057D9 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="2" cy="2" r="2" fill="rgba(255,255,255,0.05)"/></svg>');
    background-size: 50px 50px;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: white;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-tag {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: rgba(255, 138, 0, 0.15);
    border: 1px solid rgba(255, 138, 0, 0.3);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--orange);
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

/* ============================================
   SECTIONS
   ============================================ */

section {
    padding: 7rem 0;
    position: relative;
}

section.bg-light {
    background: var(--light-gray);
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-tag {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: rgba(0, 87, 217, 0.1);
    color: var(--blue);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.section-title {
    margin-bottom: 1.5rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-gray);
    line-height: 1.8;
}

/* ============================================
   TRUST BAR
   ============================================ */

.trust-bar {
    padding: 4rem 0;
    background: white;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.trust-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.trust-item i {
    font-size: 2.5rem;
    color: var(--orange);
    margin-bottom: 1rem;
}

.trust-item h5 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
}

.trust-item p {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin: 0;
}

/* ============================================
   EXPERTISE CARDS
   ============================================ */

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.expertise-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    transition: all 0.4s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.expertise-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--blue), var(--orange));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

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

.expertise-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border-color: var(--light-gray);
}

.expertise-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--light-gray);
    line-height: 1;
    margin-bottom: 1rem;
}

.expertise-icon {
    font-size: 3rem;
    color: var(--orange);
    margin-bottom: 1.5rem;
}

.expertise-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--navy);
}

.expertise-description {
    color: var(--text-gray);
    line-height: 1.7;
}

/* ============================================
   SERVICE CARDS
   ============================================ */

.service-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.service-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.service-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--navy);
}

.service-description {
    color: var(--text-gray);
    line-height: 1.7;
    flex-grow: 1;
}

.service-link {
    color: var(--orange);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    transition: gap 0.3s;
}

.service-link:hover {
    gap: 1rem;
}

/* ============================================
   PROJECT CARDS
   ============================================ */

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(7, 26, 53, 0.95) 0%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

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

.project-category {
    color: var(--orange);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.project-title {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.project-excerpt {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

/* ============================================
   TEAM CARDS
   ============================================ */

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.team-card {
    text-align: center;
    background: white;
    padding: 2rem;
    border-radius: 16px;
    transition: all 0.3s;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.team-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1.5rem;
    border: 4px solid var(--light-gray);
}

.team-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--navy);
}

.team-position {
    color: var(--orange);
    font-weight: 600;
    margin-bottom: 1rem;
}

.team-bio {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ============================================
   TESTIMONIALS
   ============================================ */

.testimonial-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.testimonial-content {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--dark-gray);
    margin-bottom: 2rem;
}

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

.testimonial-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-name {
    font-weight: 700;
    color: var(--navy);
}

.testimonial-position {
    font-size: 0.9rem;
    color: var(--text-gray);
}

/* ============================================
   FAQ
   ============================================ */

.accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: 12px !important;
    overflow: hidden;
}

.accordion-button {
    font-weight: 600;
    color: var(--navy);
    background: white;
    padding: 1.5rem;
}

.accordion-button:not(.collapsed) {
    background: var(--light-gray);
    color: var(--blue);
}

.accordion-body {
    padding: 1.5rem;
    color: var(--text-gray);
    line-height: 1.8;
}

/* ============================================
   WHATSAPP BUTTON
   ============================================ */

.whatsapp-button {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: #25D366;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    z-index: 999;
    font-weight: 600;
}

.whatsapp-button:hover {
    background: #20BA5A;
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
    color: white;
}

.whatsapp-button i {
    font-size: 1.5rem;
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
    background: var(--navy);
    color: rgba(255, 255, 255, 0.8);
    padding: 5rem 0 2rem;
}

.footer-main {
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    height: 60px;
    width: auto;
    margin-bottom: 1rem;
}

.footer-tagline {
    font-size: 1.125rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1rem;
}

.footer-description {
    line-height: 1.8;
}

.footer-title {
    font-size: 1rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

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

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-contact i {
    color: var(--orange);
    font-size: 1.125rem;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

.footer-contact a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
}

.social-link:hover {
    background: var(--orange);
    transform: translateY(-3px);
    color: white;
}

.footer-bottom {
    padding-top: 2rem;
}

.copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-legal {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    justify-content: flex-end;
    gap: 2rem;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-legal a:hover {
    color: white;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    section {
        padding: 4rem 0;
    }
    
    .hero-section {
        min-height: auto;
        padding: 6rem 0 4rem;
    }
    
    .expertise-grid,
    .project-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .whatsapp-button {
        padding: 1rem;
        border-radius: 50%;
        right: 1rem;
        bottom: 1rem;
    }
    
    .whatsapp-text {
        display: none !important;
    }
    
    .footer-legal {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
        text-align: center;
    }
}

/* ============================================
   UTILITIES
   ============================================ */

.text-navy {
    color: var(--navy) !important;
}

.text-blue {
    color: var(--blue) !important;
}

.text-orange {
    color: var(--orange) !important;
}

.bg-navy {
    background-color: var(--navy) !important;
}

.bg-blue {
    background-color: var(--blue) !important;
}

.bg-orange {
    background-color: var(--orange) !important;
}


/* ========================================
   PORTFOLIO STYLES
   ======================================== */
.portfolio-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.portfolio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.portfolio-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.portfolio-image img,
.portfolio-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.portfolio-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(7, 26, 53, 0.95), rgba(7, 26, 53, 0.7));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-content {
    padding: 1.5rem;
}

.filter-btn {
    border-radius: 50px;
    transition: all 0.3s ease;
}

.filter-btn.active {
    transform: scale(1.05);
}

/* ========================================
   BLOG STYLES
   ======================================== */
.blog-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

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

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

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

.blog-content {
    padding: 1.5rem;
}

.blog-title a {
    color: var(--navy);
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-title a:hover {
    color: var(--blue);
}

.blog-excerpt {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.blog-link {
    color: var(--blue);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.blog-link:hover {
    gap: 0.75rem;
}

/* ========================================
   TEAM STYLES
   ======================================== */
.team-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.team-avatar img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border: 4px solid var(--light-blue);
}

/* ========================================
   SOLUTION/PRICING CARDS
   ======================================== */
.solution-card {
    transition: transform 0.3s ease;
}

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

/* ========================================
   CONTENT TEXT FORMATTING
   ======================================== */
.content-text {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--text-body);
}

.content-text h2,
.content-text h3,
.content-text h4 {
    color: var(--navy);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.content-text p {
    margin-bottom: 1.25rem;
}

.content-text ul,
.content-text ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.content-text li {
    margin-bottom: 0.5rem;
}

.content-text a {
    color: var(--blue);
    text-decoration: underline;
}

.content-text a:hover {
    color: var(--navy);
}

.content-text blockquote {
    border-left: 4px solid var(--orange);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--text-muted);
}

.content-text img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 2rem 0;
}

/* ========================================
   ACCORDION CUSTOM
   ======================================== */
.accordion-button {
    font-weight: 600;
    color: var(--navy);
}

.accordion-button:not(.collapsed) {
    background-color: var(--light-blue);
    color: var(--navy);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--blue);
}

/* ========================================
   RESPONSIVE UTILITIES
   ======================================== */
@media (max-width: 768px) {
    .portfolio-image,
    .blog-image {
        height: 200px;
    }
    
    .team-avatar img {
        width: 120px;
        height: 120px;
    }
}

/* ========================================
   VISUAL IMAGE ENHANCEMENTS
   ======================================== */
.hero-section-premium .hero-image-container {
    background: var(--navy);
}

.hero-section-premium .hero-image {
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.about-visual-strip,
.process-showcase,
.story-visual-card,
.page-hero-visual,
.cta-visual-image {
    overflow: hidden;
}

.about-visual-strip,
.process-showcase,
.story-visual-card,
.page-hero-visual {
    border-radius: var(--radius-md);
    box-shadow: 0 22px 50px rgba(7, 26, 53, 0.13);
    background: #fff;
}

.about-visual-strip img,
.process-showcase img,
.story-visual-card img,
.page-hero-visual img,
.cta-visual-image {
    display: block;
    width: 100%;
    height: auto;
}

.about-visual-strip {
    margin: 0.5rem 0;
}

.about-visual-strip img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.process-showcase {
    max-width: 980px;
    margin: 0 auto 4rem;
}

.story-visual-card img {
    min-height: 360px;
    object-fit: cover;
}

.page-hero-visual {
    max-width: 760px;
    margin: 3rem auto 0;
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.cta-visual-section {
    background: var(--navy);
    overflow: hidden;
}

.cta-visual-section .lead {
    max-width: 620px;
}

.cta-visual-image {
    border-radius: var(--radius-md);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
}

@media (max-width: 991px) {
    .hero-section-premium .hero-image-container {
        margin-top: 3rem;
    }

    .process-showcase {
        margin-bottom: 3rem;
    }
}

@media (max-width: 768px) {
    .about-visual-strip,
    .process-showcase,
    .story-visual-card,
    .page-hero-visual,
    .cta-visual-image {
        border-radius: var(--radius-sm);
    }

    .page-hero-visual {
        margin-top: 2rem;
    }

    .story-visual-card img {
        min-height: auto;
    }

    .cta-visual-section .d-flex {
        flex-direction: column;
    }
}

/* Desktop dropdown fallback for hosts/CDNs where Bootstrap JS is unavailable */
@media (min-width: 992px) {
    .navbar .nav-item.dropdown:hover > .dropdown-menu,
    .navbar .nav-item.dropdown:focus-within > .dropdown-menu,
    .navbar .nav-item.dropdown.menu-open > .dropdown-menu {
        display: block;
    }

    .navbar .nav-item.dropdown > .dropdown-toggle {
        cursor: pointer;
    }
}
.mobile-nav-group > a {
    font-weight: 700;
}

.mobile-subnav {
    list-style: none;
    margin: -0.25rem 0 0.75rem 0.75rem;
    padding: 0 0 0 0.75rem;
    border-left: 2px solid var(--light-gray);
}

.mobile-subnav li {
    margin-bottom: 0;
}

.mobile-subnav a {
    padding: 0.55rem 0.75rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-gray);
}