/**
 * Funky Developers - Main CSS
 * Apple-inspired design, fully responsive, Core Web Vitals optimized
 */

/* Font loading removed - using single font file with CSS weight variations */
/* Font is loaded inline in critical CSS */

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0071e3;
    --text-color: #1d1d1f;
    --text-secondary: #333333;
    --bg-color: #ffffff;
    --bg-secondary: #f5f5f7;
    --border-color: #d2d2d7;
    --spacing: 1rem;
    --max-width: 1200px;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: #1d1d1f;
}

h1 { 
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
}

h2 { 
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 600;
}

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

h4 {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
}

body {
    font-size: 16px;
    line-height: 1.6;
}

a {
    color: #000000;
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: #333333;
    text-decoration: none;
}

/* Container */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--spacing);
}

/* Header */
.site-header {
    background: var(--bg-color);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    gap: 2rem;
}

.logo {
    flex-shrink: 0;
}

.logo-img {
    height: 120px;
    width: 120px;
    max-width: 120px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-color);
    letter-spacing: -0.02em;
}

.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: #000000;
    font-weight: 500;
    padding: 0.5rem 0;
    text-decoration: none;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link:hover {
    color: #333333;
    text-decoration: none;
}

/* Dropdown toggle arrow for desktop */
.nav-item.has-dropdown .dropdown-toggle {
    display: inline-block;
    width: 0;
    height: 0;
    border-top: 4px solid #000000;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    margin-left: 0.25rem;
    transition: transform 0.2s;
    flex-shrink: 0;
}

.nav-item.has-dropdown:hover .dropdown-toggle {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.5rem 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    list-style: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

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

.dropdown-menu li a {
    display: block;
    padding: 0.5rem 1rem;
    color: #000000;
    text-decoration: none;
    transition: background-color 0.2s;
}

.dropdown-menu li a:hover {
    background-color: #f5f5f7;
    color: #000000;
    text-decoration: none;
}

/* Nested submenu styles (3rd level) */
.dropdown-menu li.has-submenu {
    position: relative;
}

.dropdown-menu li.has-submenu > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.submenu-toggle {
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 4px solid #000000;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    margin-left: 0.5rem;
    transition: transform 0.2s;
}

.dropdown-menu li.has-submenu:hover .submenu-toggle {
    transform: rotate(90deg);
}

.submenu {
    position: absolute;
    left: 100%;
    top: 0;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.5rem 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: all 0.3s;
    list-style: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-left: 0.5rem;
}

.dropdown-menu li.has-submenu:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.submenu li a {
    display: block;
    padding: 0.5rem 1rem;
    color: #000000;
    text-decoration: none;
    transition: background-color 0.2s;
}

.submenu li a:hover {
    background-color: #f5f5f7;
    color: #000000;
    text-decoration: none;
}

.header-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-shrink: 0;
}

.btn-call, .btn-whatsapp {
    font-size: 0.9rem;
    font-weight: 500;
}

.btn-call {
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

.btn-call {
    background: var(--primary-color);
    color: white;
}

.btn-whatsapp {
    background: #000000;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 50%;
}

.btn-whatsapp svg {
    width: 20px;
    height: 20px;
}

.btn-whatsapp:hover {
    background: #1a1a1a;
    color: white;
    text-decoration: none;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: relative;
}

.mobile-menu-toggle .hamburger-line {
    width: 100%;
    height: 3px;
    background: var(--text-color);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

/* Hero Section */
.hero-section {
    padding: 4rem 0 5rem;
    text-align: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.hero-title {
    font-size: clamp(1.75rem, 4.5vw, 2.75rem);
    font-weight: 700;
    line-height: 1.3;
    color: #000000;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: clamp(1.25rem, 2.5vw, 2rem);
    font-weight: 600;
    color: #000000;
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

.hero-description {
    font-size: 1rem;
    color: #333333;
    max-width: 800px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
    padding: 0 1rem;
}


.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, #005bb5 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(0, 113, 227, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(0, 113, 227, 0.4);
}

.btn-secondary {
    background: var(--bg-secondary);
    color: var(--text-color);
}

.btn-outline {
    border: 2px solid #000000;
    color: #000000;
    background: transparent;
}

.btn-outline:hover {
    background: #000000;
    color: #ffffff;
    text-decoration: none;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Services Section */
.services-section {
    padding: 5rem 0;
    background: #ffffff;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 0.5rem;
}

.section-header p {
    font-size: 1.125rem;
    color: #333333;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

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

.service-category {
    padding: 2rem;
    background: var(--bg-secondary);
    border-radius: 12px;
    transition: transform 0.3s;
    text-align: center;
}

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

.service-category h3 {
    color: #000000;
    font-weight: 600;
    margin-bottom: 1rem;
}

.service-category p {
    color: #333333;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.service-image {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    aspect-ratio: 200 / 101;
    min-height: 101px;
}

.service-image picture,
.service-image img {
    width: 100%;
    max-width: 200px;
    height: auto;
    object-fit: contain;
    display: block;
}

.service-list {
    list-style: none;
    margin-top: 1rem;
}

.service-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

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

.service-list a {
    color: #000000;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
}

.service-list a:hover {
    color: #333333;
    text-decoration: none;
}

/* Solutions Section */
.solutions-section {
    padding: 4rem 0;
    background: #f8f9fa;
    text-align: center;
}

.solutions-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 0.5rem;
}

.solutions-section h3 {
    font-size: 2rem;
    font-weight: 600;
    color: #333333;
    margin-bottom: 1.5rem;
}

.solutions-section p {
    font-size: 1.125rem;
    color: #333333;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Video Section */
.video-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.video-wrapper {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    background: #000000;
}

.video-thumbnail {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    cursor: pointer;
    overflow: hidden;
    background: #000000;
}

.video-thumbnail picture,
.video-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
    display: block;
}

.video-thumbnail:hover img {
    transform: scale(1.05);
}

.video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: transform 0.3s, opacity 0.3s;
    z-index: 2;
}

.video-play-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.video-play-button:active {
    transform: translate(-50%, -50%) scale(0.95);
}

.video-play-button svg circle {
    transition: opacity 0.3s;
}

.video-play-button:hover svg circle {
    opacity: 1;
}

.video-iframe-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
}

.video-iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Clients Section */
.clients-section {
    padding: 4rem 0;
    background: #ffffff;
}

.clients-showcase {
    background: #ffffff;
    padding: 2rem 0;
}

.clients-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #000000;
    text-align: center;
    margin-bottom: 1rem;
}

.clients-section p {
    text-align: center;
    color: #333333;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.125rem;
    line-height: 1.8;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
    padding: 0;
    align-items: stretch; /* Ensure all items have same height */
}

/* Mobile: 3 logos per row */
@media (max-width: 640px) {
    .clients-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }
}

/* 3-Row Client Logo Slider */
.clients-slider-container {
    margin: 2rem 0;
    overflow: hidden;
}

.clients-slider-row {
    margin-bottom: 1.5rem;
    overflow: hidden;
    position: relative;
}

.clients-slider-row:last-child {
    margin-bottom: 0;
}

.clients-slider-track {
    display: flex;
    gap: 3rem;
    animation: slideLeft 40s linear infinite;
    will-change: transform;
}

.clients-slider-row-1 .clients-slider-track {
    animation: slideLeft 35s linear infinite;
}

.clients-slider-row-2 .clients-slider-track {
    animation: slideRight 45s linear infinite;
}

.clients-slider-row-3 .clients-slider-track {
    animation: slideLeft 38s linear infinite;
}

.clients-slider-reverse {
    animation: slideRight 40s linear infinite;
}

.client-slider-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    transition: transform 0.3s;
}

.client-slider-item:hover {
    transform: scale(1.1);
}

.client-slider-item a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.client-slider-item img {
    max-width: 180px;
    max-height: 100px;
    width: auto;
    height: auto;
    object-fit: contain;
    /* Remove grayscale - show colored logos */
    filter: none;
    opacity: 1;
    transition: transform 0.3s;
}

.client-slider-item:hover img {
    transform: scale(1.05);
}

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

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

.clients-cta {
    text-align: center;
    margin-top: 2rem;
}

.client-item {
    background: transparent;
    padding: 0.5rem;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 180px; /* Fixed height to prevent overlapping */
    min-height: 180px;
    overflow: hidden; /* Prevent logos from overflowing */
    transition: transform 0.3s;
}

.client-item:hover {
    transform: scale(1.05);
}

.client-item a,
.client-item .client-item-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 0.5rem;
}

.client-item picture {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    max-width: 240px;
    max-height: 140px;
}

.client-item img,
.client-item picture img {
    max-width: 240px;
    max-height: 140px;
    width: auto;
    height: auto;
    object-fit: contain; /* Maintain aspect ratio, fit within container */
    object-position: center;
    /* Colored logos - no grayscale */
    filter: none;
    transition: transform 0.3s;
    display: block;
}

.client-item:hover img,
.client-item:hover picture img {
    transform: scale(1.05);
}

/* Mobile: smaller logos */
@media (max-width: 640px) {
    .client-item {
        padding: 0.25rem;
        height: 120px; /* Fixed height for mobile */
        min-height: 120px;
    }
    
    .client-item a,
    .client-item .client-item-inner {
        padding: 0.25rem;
    }
    
    .client-item picture {
        max-width: 100%;
        max-height: 80px;
    }
    
    .client-item img,
    .client-item picture img {
        max-width: 100%;
        max-height: 80px;
    }
}

.client-logo-placeholder {
    width: 100%;
    height: 100%;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 0.875rem;
    font-weight: 500;
    text-align: center;
    padding: 1rem;
    border-radius: 4px;
    border: 1px dashed #ddd;
}

.client-item:hover .client-logo-placeholder {
    background: #f0f0f0;
    border-color: #ccc;
}

/* About Section */
.about-section {
    padding: 5rem 0;
    background: #ffffff;
    text-align: center;
}

.about-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 1.5rem;
}

.about-section p {
    font-size: 1.125rem;
    color: #333333;
    max-width: 900px;
    margin: 0 auto 2rem;
    line-height: 1.8;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.stat-item {
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
    transition: transform 0.3s;
}

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

.stat-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #000000;
    margin: 0;
}

/* Footer */
.site-footer {
    background: #F8F8F8;
    color: #000000;
    padding: 4rem 0 1.5rem;
    margin-top: 0;
}

.site-footer h3 {
    color: #000000;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.site-footer p {
    color: #333333;
    font-size: 0.95rem;
    line-height: 1.7;
}

.site-footer a {
    color: #000000;
    transition: color 0.3s;
}

.site-footer a:hover {
    color: #333333;
    text-decoration: none;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section {
    margin-bottom: 2rem;
}

.footer-section p {
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

.footer-section p:last-child {
    margin-bottom: 0;
}

/* Social Media Icons */
.social-media-icons {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.social-media-icons h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #000000;
    margin-bottom: 1rem;
}

.social-icons-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #ffffff;
    border: 2px solid #e0e0e0;
    border-radius: 50%;
    color: #000000;
    text-decoration: none;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.social-icon:hover {
    background: #000000;
    color: #ffffff;
    border-color: #000000;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    text-decoration: none;
}

.social-icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

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

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

.footer-links a {
    color: #000000;
    font-size: 0.95rem;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #333333;
    text-decoration: none;
}

.contact-info {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.contact-info li {
    margin-bottom: 0.75rem;
}

.contact-info a {
    color: #000000;
    font-size: 0.95rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s;
}

.contact-info a:hover {
    color: #333333;
    text-decoration: none;
}

.address {
    margin-top: 1rem;
}

.address p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #333333;
}

.footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 1.5rem;
    margin-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-policies {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-policies a {
    color: #000000;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-policies a:hover {
    color: #333333;
    text-decoration: none;
}

.copyright {
    color: #666666;
    font-size: 0.9rem;
    margin: 0;
}

.copyright p {
    margin: 0;
    color: #666666;
}

/* Cookie Consent Banner */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1d1d1f;
    color: #ffffff;
    padding: 1rem 0;
    z-index: 10001;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.25);
}

.cookie-consent[hidden] {
    display: none;
}

.cookie-consent-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.cookie-consent-text {
    margin: 0;
    color: #ffffff;
    font-size: 0.95rem;
    line-height: 1.5;
    flex: 1;
}

.cookie-consent-accept {
    flex-shrink: 0;
    padding: 0.625rem 1.5rem;
    background: #ffffff;
    color: #1d1d1f;
    border: none;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

.cookie-consent-accept:hover {
    background: #f5f5f7;
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .cookie-consent-inner {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        gap: 1rem;
    }

    .cookie-consent-accept {
        width: 100%;
    }
}

/* WhatsApp Float Button (Desktop) */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: #000000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    z-index: 999;
    transition: all 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background: #1a1a1a;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5);
}

.whatsapp-float svg {
    fill: #ffffff;
}

/* Mobile Sticky Footer */
.mobile-sticky-footer {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 998;
    padding: 0.75rem 1rem;
}

.mobile-sticky-footer .sticky-buttons {
    display: flex;
    gap: 0.75rem;
    max-width: 600px;
    margin: 0 auto;
}

.mobile-sticky-footer .sticky-btn {
    flex: 1;
    padding: 0.875rem 1rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.mobile-sticky-footer .sticky-btn-whatsapp {
    background: #000000;
    color: #ffffff;
    font-weight: 600;
    border: 2px solid #000000;
}

.mobile-sticky-footer .sticky-btn-whatsapp:hover {
    background: #1a1a1a;
    color: #ffffff;
    border-color: #1a1a1a;
}

.mobile-sticky-footer .sticky-btn-whatsapp svg {
    fill: #ffffff;
}

.mobile-sticky-footer .sticky-btn-call {
    background: #0071e3;
    color: #ffffff;
    border: 2px solid #0071e3;
}

.mobile-sticky-footer .sticky-btn-call:hover {
    background: #005bb5;
    color: #ffffff;
}

/* Call button text - show desktop version by default */
.mobile-sticky-footer .call-text-mobile {
    display: none;
}

.mobile-sticky-footer .call-text-desktop {
    display: inline;
}

.mobile-sticky-footer .sticky-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.mobile-sticky-footer .sticky-btn svg {
    width: 20px;
    height: 20px;
}

@media (max-width: 768px) {
    .whatsapp-float {
        display: none;
    }
    
    .mobile-sticky-footer {
        display: block;
    }
    
    /* Show both WhatsApp and Call buttons on mobile */
    .mobile-sticky-footer .sticky-btn-whatsapp {
        display: flex;
    }
    
    /* Show "Call Now" text on mobile, hide phone number */
    .mobile-sticky-footer .call-text-mobile {
        display: inline;
    }
    
    .mobile-sticky-footer .call-text-desktop {
        display: none;
    }
    
    /* Add padding to body to prevent content from being hidden behind sticky footer */
    body {
        padding-bottom: 70px;
    }
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.lead-form-container .form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s;
    background: #ffffff;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.1);
}

.form-group textarea {
    resize: vertical;
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
}

/* Page Content */
.page-header {
    padding: 3rem 0;
    text-align: center;
    background: var(--bg-secondary);
}

.page-content {
    padding: 3rem 0;
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.breadcrumbs {
    margin-bottom: 1rem;
}

.breadcrumbs ol {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
    padding: 0;
}

.breadcrumbs li {
    font-size: 0.95rem;
}

.breadcrumbs li a {
    color: #333333;
    text-decoration: none;
    transition: font-weight 0.3s;
    font-weight: 400;
}

.breadcrumbs li a:hover {
    color: #333333;
    text-decoration: none;
    font-weight: 600;
}

.breadcrumbs li span {
    color: #000000;
    font-weight: 500;
}

.breadcrumbs li::after {
    content: '/';
    margin-left: 0.5rem;
    color: #666666;
}

.breadcrumbs li:last-child::after {
    display: none;
}

/* City list items - keep on one line with smaller font */
.cities-grid a,
.cities-grid li a,
div[style*="grid-template-columns: repeat(3, 1fr)"] a,
div[style*="grid-template-columns: repeat(3, 1fr)"] li a {
    white-space: nowrap;
    font-size: 0.8rem;
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    line-height: 1.4;
}

.cities-grid li,
div[style*="grid-template-columns: repeat(3, 1fr)"] li {
    white-space: nowrap;
    overflow: hidden;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        padding: 0.75rem 0;
    }
    
    .logo {
        flex: 0 0 auto;
    }
    
    .logo-text {
        font-size: 1.25rem;
    }
    
    .logo-img {
        height: 80px;
        width: 80px;
        max-width: 80px;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        max-width: 320px;
        height: 100vh;
        background: white;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
        transition: left 0.3s ease;
        padding: 0;
        overflow-y: auto;
        z-index: 1000;
    }
    
    .mobile-menu-toggle {
        display: flex;
        order: 3;
    }
    
    .main-nav.active {
        left: 0;
    }
    
    .nav-menu {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 80px 0 20px;
        margin: 0;
    }
    
    .nav-item {
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 1rem 1.5rem;
        color: #000000;
        font-weight: 500;
        width: 100%;
        text-decoration: none;
    }
    
    .nav-link:hover {
        background: var(--bg-secondary);
        color: #000000;
        text-decoration: none;
    }
    
    /* Mobile: Use plus icon for dropdown toggle */
    .dropdown-toggle {
        width: 20px;
        height: 20px;
        position: relative;
        display: inline-block;
        margin-left: auto;
        /* Reset desktop arrow styles */
        border: none;
        width: 20px;
        height: 20px;
    }
    
    .dropdown-toggle::before,
    .dropdown-toggle::after {
        content: '';
        position: absolute;
        background: var(--text-color);
        transition: all 0.3s ease;
    }
    
    .dropdown-toggle::before {
        width: 10px;
        height: 2px;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    
    .dropdown-toggle::after {
        width: 2px;
        height: 10px;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    
    .nav-item.has-dropdown.active .dropdown-toggle::after {
        opacity: 0;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        border: none;
        box-shadow: none;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        background: var(--bg-secondary);
    }
    
    .nav-item.has-dropdown.active .dropdown-menu {
        max-height: 1000px;
    }
    
    .dropdown-menu li {
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    .dropdown-menu li:last-child {
        border-bottom: none;
    }
    
    .dropdown-menu li a {
        display: block;
        padding: 0.875rem 1.5rem 0.875rem 3rem;
        color: #000000;
        font-size: 0.95rem;
        text-decoration: none;
    }
    
    .dropdown-menu li a:hover {
        background: rgba(0, 0, 0, 0.05);
        color: #000000;
        text-decoration: none;
    }
    
    /* Mobile nested submenu styles */
    .dropdown-menu li.has-submenu > a {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .submenu-toggle {
        display: inline-block;
        width: 0;
        height: 0;
        border-top: 4px solid #000000;
        border-left: 4px solid transparent;
        border-right: 4px solid transparent;
        margin-left: 0.5rem;
        transition: transform 0.2s;
    }
    
    .dropdown-menu li.has-submenu.active .submenu-toggle {
        transform: rotate(180deg);
    }
    
    .submenu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        border: none;
        box-shadow: none;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        background: rgba(0, 0, 0, 0.02);
        margin-left: 0;
        margin-top: 0;
    }
    
    .dropdown-menu li.has-submenu.active .submenu {
        max-height: 1000px;
    }
    
    .submenu li {
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    .submenu li:last-child {
        border-bottom: none;
    }
    
    .submenu li a {
        display: block;
        padding: 0.875rem 1.5rem 0.875rem 4rem;
        color: #000000;
        font-size: 0.95rem;
        text-decoration: none;
    }
    
    .submenu li a:hover {
        background: rgba(0, 0, 0, 0.05);
        color: #000000;
        text-decoration: none;
    }
    
    .header-actions {
        gap: 0.5rem;
        display: flex;
        align-items: center;
    }
    
    .btn-call {
        display: none;
    }
    
    .btn-whatsapp {
        display: none;
    }
    
    /* Overlay when menu is open - will be added via JS */
    body.menu-open {
        overflow: hidden;
    }
    
    body.menu-open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
        pointer-events: none;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .clients-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 15px;
        right: 15px;
    }
}

@media (max-width: 480px) {
    .clients-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
    }
    
    .container {
        padding: 0 1rem;
    }
}

/* Core Web Vitals Optimizations */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s;
}

img[loading="lazy"].loaded,
.case-study-image img[loading="lazy"],
.case-study-featured-image img,
.case-study-detail img[loading="lazy"],
.case-study-content img[loading="lazy"] {
    opacity: 1;
}

/* Performance */
* {
    will-change: auto;
}

/* Accessibility */
:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Service Pages */
.service-header {
    padding: 5rem 0 4rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 400px;
    contain: layout style paint;
}

.service-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 113, 227, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 8s ease-in-out infinite;
    will-change: transform, opacity;
    contain: layout style paint;
}

.service-header::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 113, 227, 0.04) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 10s ease-in-out infinite reverse;
    will-change: transform, opacity;
    contain: layout style paint;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.service-header h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: #000000;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.8s ease-out;
}

.service-header-description {
    font-size: 1.25rem;
    color: #333333;
    max-width: 800px;
    margin: 0 auto 2rem;
    line-height: 1.7;
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.service-header-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.service-content {
    padding: 5rem 0;
    background: #ffffff;
    position: relative;
    contain: layout style paint;
}

.service-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #e0e0e0, transparent);
}

.service-content::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #e0e0e0, transparent);
}

.service-wrapper {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-details {
    line-height: 1.8;
}

.service-details h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #000000;
    margin-top: 3.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.service-details h2:first-child {
    margin-top: 0;
}

.service-details h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #005bb5);
    border-radius: 2px;
}

.service-details h3 {
    position: relative;
    padding-left: 1.5rem;
}

.service-details h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 24px;
    background: linear-gradient(180deg, var(--primary-color), #005bb5);
    border-radius: 2px;
}

.service-details h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    color: #000000;
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
    position: relative;
    padding-left: 1.5rem;
}

.service-details h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 24px;
    background: linear-gradient(180deg, var(--primary-color), #005bb5);
    border-radius: 2px;
}

.service-details p {
    font-size: 1.125rem;
    color: #555555;
    margin-bottom: 1.75rem;
    line-height: 1.85;
    font-weight: 400;
}

.service-details ul {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.service-details ul li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    font-size: 1.125rem;
    color: #333333;
    line-height: 1.8;
}

.service-details ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.25rem;
}

.service-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.service-feature-card {
    background: #ffffff;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 2px solid #f0f0f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.service-feature-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 113, 227, 0.03) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
}

.service-feature-card:hover::after {
    opacity: 1;
}

/* Scroll animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Enhanced hover animations */
.benefit-item {
    animation: fadeInUp 0.6s ease-out backwards;
}

.benefit-item:nth-child(1) { animation-delay: 0.1s; }
.benefit-item:nth-child(2) { animation-delay: 0.2s; }
.benefit-item:nth-child(3) { animation-delay: 0.3s; }
.benefit-item:nth-child(4) { animation-delay: 0.4s; }
.benefit-item:nth-child(5) { animation-delay: 0.5s; }

.service-feature-card {
    animation: fadeInUp 0.6s ease-out backwards;
}

.service-feature-card:nth-child(1) { animation-delay: 0.1s; }
.service-feature-card:nth-child(2) { animation-delay: 0.2s; }
.service-feature-card:nth-child(3) { animation-delay: 0.3s; }
.service-feature-card:nth-child(4) { animation-delay: 0.4s; }
.service-feature-card:nth-child(5) { animation-delay: 0.5s; }
.service-feature-card:nth-child(6) { animation-delay: 0.6s; }

.testimonial-card {
    animation: fadeInUp 0.6s ease-out backwards;
}

.testimonial-card:nth-child(1) { animation-delay: 0.1s; }
.testimonial-card:nth-child(2) { animation-delay: 0.2s; }
.testimonial-card:nth-child(3) { animation-delay: 0.3s; }

.case-study-card {
    animation: fadeInUp 0.6s ease-out backwards;
}

.case-study-card:nth-child(1) { animation-delay: 0.1s; }
.case-study-card:nth-child(2) { animation-delay: 0.2s; }
.case-study-card:nth-child(3) { animation-delay: 0.3s; }

.service-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #005bb5);
    transform: scaleX(0);
    transition: transform 0.3s;
}

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

.service-feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0, 113, 227, 0.15);
    border-color: var(--primary-color);
    background: #ffffff;
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, #005bb5 100%);
    border-radius: 12px;
    color: #ffffff;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 20px rgba(0, 113, 227, 0.4);
}

.feature-icon svg {
    width: 32px;
    height: 32px;
}

.service-feature-card h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 1rem;
    margin-top: 0;
}

.service-feature-card p {
    font-size: 1rem;
    color: #555555;
    margin: 0;
    line-height: 1.75;
    font-weight: 400;
}

.lead-form-container {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 16px;
    position: sticky;
    top: 150px;
    height: fit-content;
    max-height: calc(100vh - 170px);
    overflow-y: auto;
    border: 2px solid #f0f0f0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    z-index: 999;
    align-self: start;
}

.lead-form-container h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 0.25rem;
}

.lead-form-container > p {
    font-size: 0.9rem;
    color: #333333;
    margin-bottom: 1rem;
}

.lead-form {
    display: flex;
    flex-direction: column;
}

/* Packages Section */
.packages-section {
    margin-top: 2.5rem;
    padding: 1.75rem 0 2rem;
    border-top: 1px solid #ececec;
}

.packages-section h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #000000;
    text-align: center;
    margin-bottom: 0.5rem;
}

.packages-intro {
    text-align: center;
    font-size: 0.9375rem;
    color: #555555;
    max-width: 640px;
    margin: 0 auto 1.25rem;
    line-height: 1.55;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
    align-items: stretch;
}

.package-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 1.15rem 1.15rem 1rem;
    border: 1px solid #e5e7eb;
    box-shadow: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.package-card:hover {
    transform: none;
    box-shadow: 0 6px 18px rgba(0, 113, 227, 0.12);
    border-color: var(--primary-color);
}

.package-card.package-featured {
    border-color: var(--primary-color);
    border-width: 2px;
    box-shadow: 0 4px 14px rgba(0, 113, 227, 0.14);
    transform: none;
    padding-top: 1.35rem;
}

.package-card.package-featured:hover {
    transform: none;
}

.package-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary-color) 0%, #005bb5 100%);
    color: #ffffff;
    padding: 0.2rem 0.75rem;
    border-radius: 999px;
    font-size: 0.6875rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 113, 227, 0.25);
    z-index: 10;
    white-space: nowrap;
}

.package-header {
    text-align: center;
    margin-bottom: 0.65rem;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid #f0f0f0;
}

.package-header h3 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #000000;
    margin-bottom: 0.4rem;
    line-height: 1.35;
}

.package-price {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.1rem;
}

.price-amount {
    font-size: 1.625rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.1;
}

.price-period {
    font-size: 0.8125rem;
    color: #666666;
    font-weight: 500;
}

.package-features {
    flex: 1;
    margin-bottom: 0;
}

.package-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.package-features ul li {
    padding: 0.3rem 0 0.3rem 1.15rem;
    position: relative;
    font-size: 0.8125rem;
    color: #444444;
    line-height: 1.35;
    border-bottom: none;
}

.package-features ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0.3rem;
    color: var(--primary-color);
    font-weight: 700;
    width: auto;
    height: auto;
    display: inline;
    background: none;
    border-radius: 0;
    font-size: 0.75rem;
}

.package-cta {
    margin-top: 0.75rem;
}

.package-cta .btn {
    width: 100%;
    text-align: center;
    padding: 0.55rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.3;
}

.packages-note {
    text-align: center;
    margin-top: 1rem;
    padding: 0.875rem 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
    font-size: 0.8125rem;
    line-height: 1.5;
}
.packages-note p {
    margin: 0;
    font-size: inherit;
    color: #555555;
    line-height: inherit;
}

/* Website Showcase Section */
.website-showcase-section {
    margin-top: 4rem;
    padding: 4rem 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
}

.website-showcase-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #000000;
    text-align: center;
    margin-bottom: 1rem;
}

.showcase-intro {
    text-align: center;
    font-size: 1.125rem;
    color: #555555;
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.7;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.showcase-item {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid #f0f0f0;
    display: flex;
    flex-direction: column;
}

.showcase-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 113, 227, 0.15);
    border-color: var(--primary-color);
}

.showcase-image {
    width: 100%;
    height: 250px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color) 0%, #005bb5 100%);
}

.showcase-image picture,
.showcase-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.showcase-item:hover .showcase-image img {
    transform: scale(1.1);
}

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

.showcase-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #000000;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.showcase-content p {
    font-size: 1rem;
    color: #555555;
    line-height: 1.7;
    margin: 0;
}

@media (max-width: 968px) {
    .website-showcase-section {
        padding: 3rem 0;
    }
    
    .website-showcase-section h2 {
        font-size: 2rem;
    }
    
    .showcase-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 2rem;
    }
    
    .showcase-image {
        height: 220px;
    }
    
    .showcase-content {
        padding: 1.5rem;
    }
    
    .showcase-content h3 {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .website-showcase-section h2 {
        font-size: 1.75rem;
    }
    
    .showcase-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .showcase-image {
        height: 200px;
    }
    
    .showcase-content {
        padding: 1.25rem;
    }
}

.related-services {
    margin-top: 4rem;
    padding: 3rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 16px;
    border: 2px solid #f0f0f0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.related-services h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 1rem;
}

.related-services > p {
    font-size: 1.125rem;
    color: #333333;
    margin-bottom: 1.5rem;
}

.related-services ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.related-services ul li {
    padding: 0;
}

.related-services ul li::before {
    display: none;
}

.related-services ul li a {
    display: block;
    padding: 1rem 1.5rem;
    background: #ffffff;
    border-radius: 10px;
    color: #000000;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid #e0e0e0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.related-services ul li a:hover {
    background: linear-gradient(135deg, var(--primary-color) 0%, #005bb5 100%);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 113, 227, 0.35);
    border-color: var(--primary-color);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    background: #ffffff;
    border-radius: 12px;
    transition: all 0.3s;
    border: 2px solid #f0f0f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.benefit-item:hover {
    transform: translateX(8px);
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(0, 113, 227, 0.12);
    border-color: var(--primary-color);
}

.benefit-icon {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border-radius: 10px;
    color: var(--primary-color);
    transition: all 0.3s;
}

.benefit-item:hover .benefit-icon {
    background: var(--primary-color);
    color: #ffffff;
    transform: scale(1.1);
}

.benefit-icon svg {
    width: 28px;
    height: 28px;
}

.benefit-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #000000;
    margin-bottom: 0.5rem;
    margin-top: 0;
}

.benefit-content p {
    font-size: 1rem;
    color: #555555;
    margin: 0;
    line-height: 1.7;
    font-weight: 400;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

.tech-item {
    padding: 0.875rem 1.75rem;
    background: #ffffff;
    border-radius: 25px;
    font-weight: 600;
    color: #000000;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid #e0e0e0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
    animation: fadeInUp 0.4s ease-out backwards;
}

.tech-item:nth-child(1) { animation-delay: 0.05s; }
.tech-item:nth-child(2) { animation-delay: 0.1s; }
.tech-item:nth-child(3) { animation-delay: 0.15s; }
.tech-item:nth-child(4) { animation-delay: 0.2s; }
.tech-item:nth-child(5) { animation-delay: 0.25s; }
.tech-item:nth-child(6) { animation-delay: 0.3s; }
.tech-item:nth-child(7) { animation-delay: 0.35s; }
.tech-item:nth-child(8) { animation-delay: 0.4s; }

.tech-item:hover {
    background: linear-gradient(135deg, var(--primary-color) 0%, #005bb5 100%);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 113, 227, 0.35);
    border-color: var(--primary-color);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2.5rem 0;
}

.process-step {
    text-align: center;
    padding: 2.5rem 2rem;
    background: #ffffff;
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 2px solid #f0f0f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    animation: fadeInUp 0.6s ease-out backwards;
}

.process-step:nth-child(1) { animation-delay: 0.1s; }
.process-step:nth-child(2) { animation-delay: 0.2s; }
.process-step:nth-child(3) { animation-delay: 0.3s; }
.process-step:nth-child(4) { animation-delay: 0.4s; }

.process-step:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0, 113, 227, 0.15);
    border-color: var(--primary-color);
    background: #ffffff;
}

.step-number {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #005bb5 100%);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    box-shadow: 0 6px 20px rgba(0, 113, 227, 0.4);
    transition: transform 0.3s;
}

.process-step:hover .step-number {
    transform: scale(1.1) rotate(5deg);
}

.process-step h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #000000;
    margin-bottom: 1rem;
    margin-top: 0;
}

.process-step p {
    font-size: 1rem;
    color: #555555;
    line-height: 1.75;
    margin: 0;
    font-weight: 400;
}

.stats-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, #005bb5 100%);
    color: #ffffff;
    margin-top: 5rem;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 10s ease-in-out infinite;
}

.stats-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 12s ease-in-out infinite reverse;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.stat-box {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s, background 0.3s;
}

.stat-box:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.5rem;
    color: #ffffff;
    transition: transform 0.3s;
}

.stat-box:hover .stat-number {
    transform: scale(1.1);
}

.stat-label {
    font-size: 1.125rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

/* Testimonials Section */
.testimonials-section {
    padding: 5rem 0;
    background: #ffffff;
    position: relative;
}

.section-header-center {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-header-center h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: #000000;
    margin-bottom: 1rem;
}

.section-header-center p {
    font-size: 1.125rem;
    color: #555555;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Client Logos Slider */
.client-logos-slider {
    max-width: 1200px;
    margin: 0 auto 4rem;
    overflow: hidden;
    position: relative;
    padding: 2rem 0;
}

.client-logos-track {
    display: flex;
    gap: 3rem;
    animation: scrollLogos 30s linear infinite;
    will-change: transform;
}

.client-logo-item {
    flex-shrink: 0;
    width: auto;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border-radius: 0;
    padding: 1rem;
    box-shadow: none;
    transition: transform 0.3s;
}

.client-logo-item:hover {
    transform: scale(1.05);
}

.client-logo-item img {
    max-width: 200px;
    max-height: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s;
}

.client-logo-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.client-logo-item a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

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

/* Testimonials Slider */
.testimonials-slider-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonials-slider {
    overflow: hidden;
    position: relative;
    padding: 12px 0;
    margin: -12px 0;
}

.testimonials-track {
    display: flex;
    gap: 2rem;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.testimonials-track .testimonial-card {
    flex: 0 0 calc(50% - 1rem);
    min-width: 0;
    max-width: calc(50% - 1rem);
}

/* Mobile optimizations for testimonials */
@media (max-width: 768px) {
    .testimonials-section {
        padding: 3rem 0;
    }
    
    .section-header-center {
        margin-bottom: 2rem;
    }
    
    .section-header-center h2 {
        font-size: clamp(1.75rem, 5vw, 2.25rem);
        margin-bottom: 0.75rem;
    }
    
    .section-header-center p {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .testimonials-track {
        gap: 1rem;
    }
    
    .testimonials-track .testimonial-card {
        flex: 0 0 100%;
        min-width: 100%;
        max-width: 100%;
    }
    
    .testimonial-card {
        padding: 1.5rem;
        border-radius: 12px;
    }
    
    .testimonial-text {
        font-size: 1rem;
        line-height: 1.7;
        margin-bottom: 1.5rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
    }
    
    .testimonial-rating {
        margin-bottom: 1rem;
    }
    
    .testimonial-rating .star {
        font-size: 1.1rem;
    }
    
    .testimonial-author {
        padding-top: 1rem;
        gap: 0.75rem;
    }
    
    .author-avatar {
        width: 48px;
        height: 48px;
    }
    
    .author-name {
        font-size: 1rem;
    }
    
    .author-info p {
        font-size: 0.875rem;
    }
    
    .testimonial-card::before {
        font-size: 4rem;
        top: 0.5rem;
        right: 1rem;
    }
    
    .slider-btn {
        width: 44px;
        height: 44px;
        font-size: 1.25rem;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
        min-width: 44px;
        min-height: 44px;
    }
    
    .slider-prev {
        left: 8px;
    }
    
    .slider-next {
        right: 8px;
    }
    
    .testimonials-slider-wrapper {
        padding: 0 0.5rem;
    }
    
    .testimonials-slider {
        padding: 8px 0;
        margin: -8px 0;
    }
}

@media (max-width: 480px) {
    .testimonials-section {
        padding: 2.5rem 0;
    }
    
    .section-header-center {
        margin-bottom: 1.5rem;
    }
    
    .section-header-center h2 {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }
    
    .section-header-center p {
        font-size: 0.95rem;
        padding: 0 0.5rem;
    }
    
    .testimonial-card {
        padding: 1.25rem;
    }
    
    .testimonial-text {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 1.25rem;
    }
    
    .testimonial-rating .star {
        font-size: 1rem;
    }
    
    .author-avatar {
        width: 44px;
        height: 44px;
    }
    
    .author-name {
        font-size: 0.95rem;
    }
    
    .author-info p {
        font-size: 0.8rem;
    }
    
    .testimonial-card::before {
        font-size: 3.5rem;
        top: 0.25rem;
        right: 0.75rem;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
        min-width: 40px;
        min-height: 40px;
    }
    
    .slider-prev {
        left: 4px;
    }
    
    .slider-next {
        right: 4px;
    }
    
    .testimonials-slider-wrapper {
        padding: 0 0.25rem;
    }
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #ffffff;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.slider-btn:hover {
    background: var(--primary-color);
    color: #ffffff;
    transform: translateY(-50%) scale(1.1);
}

.slider-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.slider-prev {
    left: -24px;
}

.slider-next {
    right: -24px;
}


.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 16px;
    border: 2px solid #f0f0f0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: visible;
    box-sizing: border-box;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 6rem;
    font-weight: 700;
    color: var(--primary-color);
    opacity: 0.1;
    line-height: 1;
    font-family: Georgia, serif;
    z-index: 1;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0, 113, 227, 0.15);
    z-index: 5;
}

.testimonial-rating {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1.5rem;
}

.testimonial-rating .star {
    color: #FFB800;
    font-size: 1.25rem;
    line-height: 1;
}

.testimonial-text {
    font-size: 1.125rem;
    color: #333333;
    line-height: 1.8;
    margin-bottom: 2rem;
    font-style: italic;
    position: relative;
    z-index: 1;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 2px solid #f0f0f0;
}

.author-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, #005bb5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    flex-shrink: 0;
    overflow: hidden;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.author-avatar svg {
    width: 32px;
    height: 32px;
}

.author-name {
    font-size: 1.125rem;
    font-weight: 600;
    color: #000000;
    margin-bottom: 0.25rem;
}

.author-info p {
    font-size: 0.95rem;
    color: #666666;
    margin: 0;
}

/* Case Studies Section */
.case-studies-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, #ffffff 100%);
    position: relative;
}

.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.case-study-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

a.case-study-card:hover {
    text-decoration: none;
    color: inherit;
}

.case-study-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 113, 227, 0.2);
    border-color: var(--primary-color);
}

.case-study-image {
    width: 100%;
    height: 200px;
    background: #f5f5f7;
    position: relative;
    overflow: hidden;
}

.case-study-image picture,
.case-study-image a {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
}

.case-study-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    background: #f5f5f7;
    min-height: 200px;
    opacity: 1;
}

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

.case-study-image::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
    z-index: 1;
    opacity: 0.3;
}

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

.case-study-placeholder {
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    z-index: 1;
}

.case-study-content {
    padding: 2.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.case-study-category {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--primary-color);
    color: #ffffff;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    width: fit-content;
}

.case-study-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 1rem;
    margin-top: 0;
}

.case-studies-results .case-study-content h3 {
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 0;
}

.case-study-content > p {
    font-size: 1rem;
    color: #555555;
    line-height: 1.75;
    margin-bottom: 1.5rem;
    flex: 1;
}

.case-study-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid #f0f0f0;
}

@media (max-width: 768px) {
    .case-study-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.case-study-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #f0f0f0;
    font-size: 0.875rem;
    color: #666;
}

.case-study-client {
    font-weight: 600;
}

.case-study-date {
    color: #999;
}

.case-stat {
    text-align: center;
}

.case-stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.case-stat-label {
    font-size: 0.875rem;
    color: #666666;
    font-weight: 500;
}

/* Case Studies Listing Page Styles */
.case-studies-listing {
    padding: 3rem 0 5rem;
    background: #ffffff;
    overflow-x: clip;
}

.case-studies-filters {
    margin-bottom: 3rem;
}

.case-studies-filter {
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.case-studies-tags {
    margin-bottom: 2rem;
}

.filter-label {
    font-size: 1.125rem;
    font-weight: 600;
    color: #000000;
    margin: 0;
    margin-bottom: 0.75rem;
    display: block;
}

.service-filter-select {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background: #ffffff;
    color: #000000;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 250px;
    font-family: inherit;
}

.service-filter-select:hover {
    border-color: var(--primary-color);
}

.service-filter-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.1);
}

/* Tag Filters */
.tag-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.tag-filter {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: #f5f5f7;
    color: #000000;
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.tag-filter:hover {
    background: var(--primary-color);
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 113, 227, 0.2);
}

.tag-filter.active {
    background: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
    font-weight: 600;
}

/* Case Study Tags in Cards */
.case-study-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0;
}

.case-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(0, 113, 227, 0.1);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 12px;
    font-size: 0.8125rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.case-tag:hover {
    background: var(--primary-color);
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-1px);
}

.no-case-studies {
    text-align: center;
    padding: 4rem 2rem;
    color: #666;
    grid-column: 1 / -1;
}

.no-case-studies p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

/* Case Studies Portfolio Layout */
.case-studies-eyebrow {
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.case-studies-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: start;
}

.case-studies-filter-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    background: #ffffff;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
}

.case-studies-sidebar {
    display: none;
    flex-direction: column;
    gap: 1.1rem;
    padding: 1rem;
    background: #ffffff;
    border: 2px solid rgba(0, 0, 0, 0.08);
    border-radius: 14px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
}

.case-studies-sidebar.is-open {
    display: flex;
}

.case-studies-sidebar__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.case-studies-sidebar__title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
}

.case-studies-sidebar__clear {
    border: 0;
    background: transparent;
    color: var(--primary-color);
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
}

.case-studies-search__field {
    display: block;
    position: relative;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 999px;
    background: #ffffff;
}

.case-studies-search__field:focus-within {
    border-color: var(--primary-color);
    outline: 2px solid rgba(0, 113, 227, 0.2);
}

.case-studies-search__icon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
}

.case-studies-search__input {
    width: 100%;
    border: 0;
    background: transparent;
    padding: 0.65rem 0.85rem 0.65rem 2.35rem;
    font-family: inherit;
    font-size: 0.9rem;
    border-radius: 999px;
}

.case-studies-search__input:focus {
    outline: none;
}

.case-studies-filter-group {
    border: 0;
    margin: 0;
    padding: 0;
}

.case-studies-filter-group__legend {
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 0.65rem;
    padding: 0;
}

.case-studies-filter-list {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    max-height: 220px;
    overflow-y: auto;
}

.case-studies-filter-chip {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #333;
    cursor: pointer;
}

.case-studies-filter-chip input {
    margin-top: 0.15rem;
}

.case-studies-service-combobox__field {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    min-height: 42px;
    padding: 0.35rem 0.5rem;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    background: #ffffff;
}

.case-studies-service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.case-studies-service-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.2rem 0.55rem;
    background: rgba(0, 113, 227, 0.1);
    color: var(--primary-color);
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 600;
}

.case-studies-service-tag__remove {
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
    padding: 0;
}

.case-studies-service-combobox__input {
    flex: 1;
    min-width: 120px;
    border: 0;
    background: transparent;
    font-family: inherit;
    font-size: 0.875rem;
    padding: 0.25rem;
}

.case-studies-service-combobox__input:focus {
    outline: none;
}

.case-studies-service-dropdown {
    margin-top: 0.35rem;
    border: 2px solid rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.case-studies-service-option,
.case-studies-service-dropdown__empty {
    display: block;
    width: 100%;
    text-align: left;
    border: 0;
    background: #ffffff;
    padding: 0.65rem 0.85rem;
    font-family: inherit;
    font-size: 0.875rem;
    cursor: pointer;
}

.case-studies-service-option:hover {
    background: #f5f5f7;
}

.case-studies-service-quick {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.65rem;
}

.case-studies-service-quick__btn {
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: #ffffff;
    border-radius: 999px;
    padding: 0.35rem 0.75rem;
    font-family: inherit;
    font-size: 0.8125rem;
    cursor: pointer;
}

.case-studies-service-quick__btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.case-studies-results {
    min-width: 0;
}

.case-studies-results .case-studies-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: none;
    margin: 0;
}

.case-studies-results-count {
    margin: 0 0 1rem;
    font-size: 0.95rem;
    color: #666;
}

.case-studies-status {
    text-align: center;
    color: #666;
    margin-top: 1.5rem;
}

.case-studies-grid.is-loading {
    opacity: 0.65;
    pointer-events: none;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

#cs-scroll-sentinel {
    height: 1px;
    width: 100%;
}

@media (min-width: 900px) {
    .case-studies-filter-toggle {
        display: none;
    }

    .case-studies-layout {
        grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
        gap: 2rem;
    }

    .case-studies-sidebar {
        display: flex;
        position: sticky;
        top: calc(6rem + env(safe-area-inset-top, 0px));
    }
}

@media (max-width: 899px) {
    .case-studies-results .case-studies-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .case-studies-results .case-studies-grid {
        grid-template-columns: 1fr;
    }

    .case-studies-filter {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .service-filter-select {
        width: 100%;
        min-width: auto;
    }
    
    .tag-filters {
        gap: 0.5rem;
    }
    
    .tag-filter {
        font-size: 0.875rem;
        padding: 0.4rem 1rem;
    }
}

/* Case Study Detail Page Styles */
.case-study-detail {
    padding: 3rem 0 5rem;
    background: #ffffff;
}

.case-study-header {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #f0f0f0;
}

.case-study-service-badge {
    display: inline-block;
    margin-bottom: 1rem;
}

.case-study-service-badge a {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: var(--primary-color);
    color: #ffffff;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.case-study-service-badge a:hover {
    background: #005bb5;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 113, 227, 0.2);
}

.case-study-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.case-study-meta-header {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    color: #666666;
    font-size: 1rem;
}

.case-study-client-info,
.case-study-date-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.case-study-client-info strong,
.case-study-date-info strong {
    color: #000000;
    font-weight: 600;
}

.case-study-featured-image {
    width: 100%;
    margin-bottom: 3rem;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.case-study-featured-image img,
.case-study-featured-image__img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    opacity: 1;
}

.case-study-content-wrapper {
    max-width: 100%;
    margin: 0;
}

.case-study-main-content {
    line-height: 1.8;
}

.case-study-description {
    margin-bottom: 3rem;
}

.case-study-description h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 1.5rem;
}

.case-study-description p {
    font-size: 1.125rem;
    color: #333333;
    line-height: 1.8;
}

.case-study-results {
    margin-bottom: 3rem;
    padding: 2.5rem;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, #ffffff 100%);
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.case-study-results h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 2rem;
    text-align: center;
}

.case-study-stats-detailed {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.case-stat-detailed {
    text-align: center;
    padding: 1.5rem;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.case-stat-detailed:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 113, 227, 0.15);
}

.case-stat-number-large {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 0.75rem;
}

.case-stat-label-large {
    font-size: 1rem;
    color: #666666;
    font-weight: 500;
}

.case-study-tags-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #f0f0f0;
}

.case-study-tags-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #000000;
    margin-bottom: 1rem;
}

.related-case-studies {
    margin-top: 5rem;
    padding-top: 4rem;
    border-top: 2px solid #f0f0f0;
}

.related-case-studies .section-header-center {
    margin-bottom: 3rem;
}

.related-case-studies .section-header-center h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 0.5rem;
}

.related-case-studies .section-header-center p {
    font-size: 1.125rem;
    color: #333333;
}

@media (max-width: 768px) {
    .case-study-header h1 {
        font-size: 2rem;
    }
    
    .case-study-meta-header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .case-study-stats-detailed {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .case-stat-number-large {
        font-size: 2.5rem;
    }
    
    .case-study-description h2,
    .case-study-results h2 {
        font-size: 1.75rem;
    }
    
    .related-case-studies .section-header-center h2 {
        font-size: 2rem;
    }
}

.faq-section {
    margin-top: 0;
    padding: 5rem 0 3rem;
    background: linear-gradient(180deg, #ffffff 0%, var(--bg-secondary) 100%);
    position: relative;
}

.faq-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #000000;
    text-align: center;
    margin-bottom: 1rem;
}

.faq-intro {
    text-align: center;
    font-size: 1.125rem;
    color: #333333;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: #ffffff;
    margin-bottom: 1rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 2px solid #f0f0f0;
    transition: all 0.3s;
}

.faq-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 24px rgba(0, 113, 227, 0.12);
}

.faq-question {
    padding: 1.5rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: #000000;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s, color 0.3s;
    user-select: none;
}

.faq-question:hover {
    background: var(--bg-secondary);
    color: var(--primary-color);
}

.faq-question::after {
    content: '+';
    font-size: 2rem;
    font-weight: 300;
    color: var(--primary-color);
    transition: transform 0.3s;
    flex-shrink: 0;
    margin-left: 1rem;
    line-height: 1;
}

.faq-item.active .faq-question {
    background: var(--bg-secondary);
    color: var(--primary-color);
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
    font-size: 1.125rem;
    color: #333333;
    line-height: 1.8;
    margin: 0;
}

/* SEO Practices Section */

@media (max-width: 968px) {
    .service-wrapper {
        grid-template-columns: 1fr;
    }
    
    .lead-form-container {
        position: static;
    }
    
    .service-features-grid {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-header-cta {
        flex-direction: column;
        align-items: stretch;
    }
    
    .service-header-cta .btn {
        width: 100%;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-track .testimonial-card {
        min-width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
    }
    
    .testimonials-slider-wrapper {
        max-width: 100%;
        padding: 0 0.5rem;
    }
    
    .slider-prev {
        left: 8px;
    }
    
    .slider-next {
        right: 8px;
    }
    
    .client-logos-slider {
        margin-bottom: 3rem;
    }
    
    .client-logo-item {
        width: 120px;
        height: 60px;
    }
    
    .packages-grid {
        grid-template-columns: 1fr;
    }

    .package-card.package-featured {
        transform: none;
    }

    .package-card.package-featured:hover {
        transform: none;
    }

    .packages-section h2 {
        font-size: 1.5rem;
    }

    .package-header h3 {
        font-size: 0.9375rem;
    }

    .price-amount {
        font-size: 1.5rem;
    }
    
    .case-studies-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}

/* Blog Listing Styles */
.blog-listing {
    padding: 2rem 0 5rem;
    background: #ffffff;
}

.blog-toolbar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.blog-search {
    display: block;
    width: 100%;
}

.blog-search__field {
    display: block;
    position: relative;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 999px;
    background: #ffffff;
}

.blog-search__field:focus-within {
    border-color: var(--primary-color);
    outline: 2px solid rgba(0, 113, 227, 0.2);
}

.blog-search__icon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
}

.blog-search__input {
    width: 100%;
    border: 0;
    background: transparent;
    padding: 0.85rem 1rem 0.85rem 2.5rem;
    font-family: inherit;
    font-size: 1rem;
}

.blog-search__input:focus {
    outline: none;
}

.blog-results-count {
    margin: 0;
    color: #666;
    font-size: 0.9375rem;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.blog-grid.is-loading {
    opacity: 0.65;
    pointer-events: none;
}

.blog-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.blog-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #f5f5f7;
}

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

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

.blog-content {
    padding: 1.25rem 1.35rem 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-meta {
    margin: 0 0 0.75rem;
    font-size: 0.8125rem;
    color: #666;
    line-height: 1.5;
}

.blog-card-meta time {
    color: inherit;
}

.blog-category {
    display: inline-block;
    margin-bottom: 0.75rem;
}

.blog-category a {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background: rgba(0, 113, 227, 0.1);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 0.8125rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.blog-category a:hover {
    background: var(--primary-color);
    color: #ffffff;
}

.blog-title {
    margin: 0 0 0.75rem 0;
    font-size: 1.375rem;
    font-weight: 600;
    line-height: 1.4;
}

.blog-title a {
    color: #1d1d1f;
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.blog-excerpt {
    color: #666;
    font-size: 0.9375rem;
    line-height: 1.6;
    margin: 0;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #f0f0f0;
    font-size: 0.875rem;
    color: #666;
    flex-wrap: wrap;
}

.blog-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-author a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
}

.blog-author a:hover {
    color: var(--primary-color);
}

.author-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
}

.blog-meta time {
    color: #999;
}

.no-posts {
    text-align: center;
    padding: 4rem 2rem;
    color: #666;
    grid-column: 1 / -1;
}

.no-posts p {
    font-size: 1.2rem;
}

.blog-status {
    text-align: center;
    color: #666;
    font-size: 0.9375rem;
    margin: 0 0 1rem;
}

.blog-load-more-wrap {
    display: flex;
    justify-content: center;
    margin: 1rem 0 2rem;
}

.blog-load-more-wrap[hidden] {
    display: none !important;
}

.blog-load-more {
    min-width: 220px;
}

#blog-scroll-sentinel {
    height: 1px;
    width: 100%;
}

/* Blog Post Detail Styles */
.blog-post {
    padding: 3rem 0 5rem;
    background: #ffffff;
}

.blog-post-header {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #f0f0f0;
}

.blog-post-header h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #1d1d1f;
}

.blog-post-meta {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

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

.author-info .author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.author-name {
    color: #1d1d1f;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
}

.author-name:hover {
    color: var(--primary-color);
}

.author-title {
    display: block;
    font-size: 0.875rem;
    color: #666;
    font-weight: 400;
    margin-top: 0.25rem;
}

.blog-post-meta time {
    color: #666;
    font-size: 0.9375rem;
}

.blog-featured-image {
    margin: 2rem 0;
    border-radius: 12px;
    overflow: hidden;
    display: block;
    width: 100%;
    height: auto;
}

.blog-featured-image picture,
.blog-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.blog-post-content {
    max-width: 100%;
    margin: 2rem 0;
    font-size: 1.0625rem;
    line-height: 1.8;
    color: #333;
}

.blog-post-content h2,
.blog-post-content h3,
.blog-post-content h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #1d1d1f;
}

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

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

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

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

.blog-post-content a {
    color: var(--primary-color);
    text-decoration: underline;
}

.blog-post-content a:hover {
    color: #0051a3;
}

.blog-post-content blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #666;
}

.blog-post-content code {
    background: #f5f5f7;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-size: 0.9em;
    font-family: 'Courier New', monospace;
}

.blog-post-content pre {
    background: #f5f5f7;
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1.5rem 0;
}

.blog-post-content pre code {
    background: none;
    padding: 0;
}

.blog-post-tags {
    margin: 2rem 0;
    padding-top: 2rem;
    border-top: 1px solid #f0f0f0;
}

.blog-post-tags strong {
    display: block;
    margin-bottom: 0.75rem;
    color: #1d1d1f;
    font-weight: 600;
}

.blog-post-tags .tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #f5f5f7;
    color: #333;
    border-radius: 20px;
    font-size: 0.875rem;
    text-decoration: none;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    transition: all 0.2s ease;
}

.blog-post-tags .tag:hover {
    background: var(--primary-color);
    color: #ffffff;
}

.author-box {
    background: #f9f9f9;
    border-radius: 12px;
    padding: 2rem;
    margin: 3rem 0;
    display: flex;
    gap: 1.5rem;
}

.author-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.author-details h3 {
    margin-bottom: 0.5rem;
}

.author-details h3 a {
    color: #1d1d1f;
    text-decoration: none;
}

.author-details h3 a:hover {
    color: var(--primary-color);
}

.author-details .author-title {
    color: #666;
    font-size: 0.9375rem;
    margin-bottom: 0.75rem;
}

.author-bio {
    color: #555;
    line-height: 1.6;
    margin: 0;
}

.related-posts {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid #f0f0f0;
}

.related-posts h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #1d1d1f;
}

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

.related-post-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

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

.related-post-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: #f5f5f7;
}

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

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

.related-post-content {
    padding: 1.5rem;
}

.related-post-content h3 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
}

.related-post-content h3 a {
    color: #1d1d1f;
    text-decoration: none;
    transition: color 0.2s ease;
}

.related-post-content h3 a:hover {
    color: var(--primary-color);
}

.related-post-content p {
    color: #666;
    font-size: 0.9375rem;
    margin-bottom: 0.75rem;
}

.related-post-content time {
    font-size: 0.8125rem;
    color: #999;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.pagination-link {
    display: inline-block;
    padding: 0.625rem 1rem;
    background: #ffffff;
    color: #333;
    text-decoration: none;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.2s ease;
    min-width: 44px;
    text-align: center;
}

.pagination-link:hover {
    background: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
}

.pagination-link.active {
    background: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
}

.pagination-ellipsis {
    padding: 0.625rem 0.5rem;
    color: #666;
}

/* Responsive Blog Styles */
@media (max-width: 968px) {
    .blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-post-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .author-box {
        flex-direction: column;
        text-align: center;
    }
    
    .author-photo {
        margin: 0 auto;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-post-content {
        font-size: 1rem;
    }
}

/* Print Styles */
@media print {
    .site-header,
    .site-footer,
    .whatsapp-float {
        display: none;
    }
}

