/* Frontend Custom Styles */
@font-face {
    font-family: 'Font Awesome 6 Free';
    font-display: swap;
}

@font-face {
    font-family: 'Font Awesome 6 Brands';
    font-display: swap;
}

:root {
    --primary-color: #282b30;
    --secondary-color: #31363b;
    --text-color: #2c3e50;
    --text-muted: #6c757d;
    --border-color: #e9ecef;
    --bg-light: #f8f9fa;
}

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

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #ffffff;
}

/* Prevent layout shift during preloader */
body.preloader-active {
    overflow: hidden;
    height: 100vh;
}

/* Ensure images have dimensions to prevent CLS */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Reserve space for images to prevent CLS */
img[width][height] {
    aspect-ratio: attr(width) / attr(height);
}

/* Breadcrumb Styles */
.breadcrumb-nav {
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb {
    margin-bottom: 0;
    background: transparent;
    padding: 0;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: var(--text-muted);
    padding: 0 0.5rem;
}

.breadcrumb-item a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: var(--text-muted);
}

/* Page Content Styles */
.page-content {
    min-height: 60vh;
}

.page-header {
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 1.5rem;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.page-description {
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.page-meta {
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.page-meta i {
    margin-right: 0.25rem;
}

.page-image {
    text-align: center;
    margin-bottom: 2rem;
}

.page-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.page-body {
    margin-top: 2rem;
}

.page-text {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-color);
}

.page-text h1,
.page-text h2,
.page-text h3,
.page-text h4,
.page-text h5,
.page-text h6 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--text-color);
    line-height: 1.4;
}

.page-text h1 { font-size: 2rem; }
.page-text h2 { font-size: 1.75rem; }
.page-text h3 { font-size: 1.5rem; }
.page-text h4 { font-size: 1.25rem; }
.page-text h5 { font-size: 1.125rem; }
.page-text h6 { font-size: 1rem; }

.page-text p {
    margin-bottom: 1.5rem;
}

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

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

.page-text a {
    color: var(--primary-color);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-text a:hover {
    color: var(--secondary-color);
}

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

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

.page-text table {
    width: 100%;
    margin: 1.5rem 0;
    border-collapse: collapse;
}

.page-text table th,
.page-text table td {
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    text-align: left;
}

.page-text table th {
    background-color: var(--bg-light);
    font-weight: 600;
}

/* Responsive Page Styles */
@media (max-width: 991.98px) {
    .page-title {
        font-size: 2rem;
    }
    
    .page-description {
        font-size: 1rem;
    }
    
    .page-meta {
        font-size: 0.8125rem;
    }
}

/* Page Sidebar Styles */
.page-sidebar {
    position: sticky;
    top: 100px;
    margin-top: 0;
}

.sidebar-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.sidebar-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.sidebar-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--border-color);
}

.sidebar-pages-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-page-item {
    margin-bottom: 0.5rem;
}

.sidebar-page-link {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text-color);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    font-size: 0.9375rem;
    line-height: 1.5;
}

.sidebar-page-link:hover,
.sidebar-page-link:focus {
    background-color: var(--bg-light);
    color: var(--primary-color);
    border-left-color: var(--primary-color);
    padding-left: 1.25rem;
    text-decoration: none;
}

.sidebar-page-link:active {
    background-color: rgba(40, 43, 48, 0.05);
}

/* Responsive Page Styles */
@media (max-width: 991.98px) {
    .page-sidebar {
        position: static;
        margin-top: 3rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .page-description {
        font-size: 1rem;
    }
    
    .page-meta {
        font-size: 0.8125rem;
    }
}

@media (max-width: 767.98px) {
    .page-title {
        font-size: 1.75rem;
    }
    
    .page-text {
        font-size: 0.9375rem;
    }
    
    .page-text h1 { font-size: 1.75rem; }
    .page-text h2 { font-size: 1.5rem; }
    .page-text h3 { font-size: 1.25rem; }
    .page-text h4 { font-size: 1.125rem; }
    .page-text h5 { font-size: 1rem; }
    .page-text h6 { font-size: 0.9375rem; }
    
    .sidebar-card {
        padding: 1.25rem;
    }
    
    .sidebar-title {
        font-size: 1.125rem;
    }
    
    .sidebar-page-link {
        font-size: 0.875rem;
        padding: 0.625rem 0.875rem;
    }
}

/* Team Page Styles */
.team-page {
    min-height: 60vh;
}

.team-members-grid {
    margin-top: 2rem;
}

.team-member-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.team-member-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
    border-color: var(--primary-color);
}

.team-member-inner {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
}

.team-member-avatar {
    width: 200px;
    height: 200px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--border-color);
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.team-member-card:hover .team-member-avatar {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.team-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.team-member-avatar-placeholder {
    width: 200px;
    height: 200px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid var(--border-color);
    color: var(--text-muted);
    font-size: 4rem;
    transition: all 0.3s ease;
}

.team-member-card:hover .team-member-avatar-placeholder {
    border-color: var(--primary-color);
    transform: scale(1.05);
    color: var(--primary-color);
}

.team-member-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.team-member-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.team-member-position {
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.team-member-email {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: all 0.3s ease;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    width: 100%;
    justify-content: center;
}

.team-member-email:hover,
.team-member-email:focus {
    color: var(--secondary-color);
    text-decoration: underline;
}

.team-member-email i {
    font-size: 1rem;
}

/* Responsive Team Page */
@media (max-width: 991.98px) {
    .team-member-avatar,
    .team-member-avatar-placeholder {
        width: 180px;
        height: 180px;
    }
    
    .team-member-name {
        font-size: 1.25rem;
    }
}

@media (max-width: 767.98px) {
    .team-member-avatar,
    .team-member-avatar-placeholder {
        width: 150px;
        height: 150px;
    }
    
    .team-member-name {
        font-size: 1.125rem;
    }
    
    .team-member-position {
        font-size: 0.9375rem;
    }
    
    .team-member-email {
        font-size: 0.875rem;
    }
}

/* Service Category Page Styles */
.service-category-page {
    min-height: 60vh;
}

.service-category-icon-large {
    flex-shrink: 0;
}

.category-icon-large-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 12px;
    background: var(--bg-light);
    padding: 0.5rem;
}

.service-category-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.service-category-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.service-category-header {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.service-category-icon {
    flex-shrink: 0;
    margin-right: 1rem;
}

.category-icon-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 8px;
    background: var(--bg-light);
    padding: 0.5rem;
}

.service-category-info {
    flex: 1;
}

.service-category-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.service-category-title a {
    color: var(--text-color);
    transition: color 0.3s ease;
}

.service-category-title a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.service-category-description {
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.service-category-services {
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
}

.service-item-card {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
}

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

.service-item-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.service-item-image {
    width: 100%;
    height: 120px;
    object-fit: fill;
    display: block;
}

.service-item-content {
    padding: 1rem;
}

.service-item-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.service-item-description {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 0;
}

.service-category-footer {
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
}

/* Service Show Page Styles */
.service-page {
    min-height: 60vh;
}

.service-categories-display,
.service-tags-display {
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.service-categories-display .badge,
.service-tags-display .badge {
    font-size: 0.8125rem;
    padding: 0.375rem 0.75rem;
    transition: all 0.3s ease;
}

.service-categories-display .badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.service-provider-info {
    border-left: 4px solid var(--primary-color);
}

/* Table of Contents Styles */
.table-of-contents {
    margin-bottom: 2rem;
}

.toc-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.toc-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.toc-title i {
    color: var(--primary-color);
}

.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: toc-counter;
}

.toc-item {
    margin-bottom: 0.75rem;
    counter-increment: toc-counter;
    position: relative;
}

.toc-item::before {
    content: counter(toc-counter) ".";
    position: absolute;
    left: 0;
    font-weight: 600;
    color: var(--primary-color);
    min-width: 1.5rem;
}

.toc-link {
    display: block;
    color: var(--text-color);
    text-decoration: none;
    padding-left: 2rem;
    padding: 0.5rem 0.5rem 0.5rem 2rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    line-height: 1.5;
    font-size: 0.9375rem;
}

.toc-link:hover,
.toc-link:focus {
    background: rgba(var(--primary-color-rgb), 0.1);
    color: var(--primary-color);
    text-decoration: none;
    transform: translateX(4px);
}

.toc-level-1 {
    font-weight: 600;
}

.toc-level-2 {
    font-weight: 500;
}

.toc-level-3,
.toc-level-4,
.toc-level-5,
.toc-level-6 {
    font-weight: 400;
    font-size: 0.875rem;
}

/* Responsive TOC */
@media (max-width: 767.98px) {
    .toc-card {
        padding: 1rem;
    }
    
    .toc-title {
        font-size: 1.125rem;
    }
    
    .toc-link {
        font-size: 0.875rem;
        padding: 0.375rem 0.375rem 0.375rem 1.75rem;
    }
}

/* Scroll Reveal Animations - DISABLED for performance */
.scroll-reveal,
.scroll-reveal-item {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    transition: none !important;
    will-change: auto !important;
}

.scroll-reveal.revealed,
.scroll-reveal-item.revealed {
    opacity: 1 !important;
    visibility: visible !important;
}

/* References Page Styles */
.references-page {
    min-height: 60vh;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
}

.references-page .page-header {
    margin-bottom: 3rem;
}

.references-page .page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.references-grid {
    margin-top: 2rem;
}

.reference-card {
    background: #ffffff;
    border: 2px solid transparent;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

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

.reference-card:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(-8px);
    border-color: var(--primary-color);
}

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

.reference-card-inner {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
}

.reference-logo-wrapper {
    width: 100%;
    margin-bottom: 1.5rem;
    position: relative;
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f8f9fa 100%);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.4s ease;
    overflow: hidden;
}

.reference-logo-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    transition: left 0.6s ease;
}

.reference-card:hover .reference-logo-wrapper::after {
    left: 100%;
}

.reference-card:hover .reference-logo-wrapper {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 50%, #ffffff 100%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.reference-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    text-decoration: none;
    border-radius: 12px;
    overflow: hidden;
}

.reference-logo-container {
    width: 100%;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.reference-logo-img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: grayscale(20%);
}

.reference-card:hover .reference-logo-img {
    transform: scale(1.1);
    filter: grayscale(0%);
}

.reference-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(40, 43, 48, 0.95) 0%, rgba(49, 54, 59, 0.95) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 12px;
    z-index: 2;
}

.reference-link:hover .reference-overlay {
    opacity: 1;
}

.reference-overlay-content {
    text-align: center;
    color: #ffffff;
}

.reference-overlay-content i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
    animation: pulse 2s ease-in-out infinite;
}

.reference-overlay-content .overlay-text {
    font-size: 0.875rem;
    font-weight: 500;
    display: block;
    margin-top: 0.5rem;
}

.reference-logo-placeholder {
    width: 100%;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e9ecef 0%, #f8f9fa 100%);
    border-radius: 12px;
}

.reference-logo-placeholder i {
    font-size: 4rem;
    color: var(--text-muted);
    opacity: 0.4;
}

.reference-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center;
}

.reference-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1rem;
    line-height: 1.4;
    transition: color 0.3s ease;
}

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

.reference-website-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.625rem 1.25rem;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    margin-top: auto;
    background: transparent;
}

.reference-website-link:hover,
.reference-website-link:focus {
    color: #ffffff;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-color: var(--primary-color);
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 43, 48, 0.3);
}

.reference-website-link i {
    font-size: 0.875rem;
}

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

/* References CTA Section */
.references-cta-section {
    background: linear-gradient(135deg, #282b30 0%, #31363b 50%, #282b30 100%);
    position: relative;
    overflow: hidden;
    padding: 5rem 0 !important;
}

.references-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255, 215, 0, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.references-cta-section::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.05) 0%, transparent 70%);
    animation: ctaPulse 8s ease-in-out infinite;
    pointer-events: none;
}

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

.references-cta-content {
    position: relative;
    z-index: 1;
}

.references-cta-icon {
    display: inline-block;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2) 0%, rgba(255, 215, 0, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    border: 3px solid rgba(255, 215, 0, 0.3);
    animation: iconFloat 3s ease-in-out infinite;
}

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

.references-cta-icon i {
    font-size: 3rem;
    color: #ffd700;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.references-cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.references-cta-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto;
}

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

.btn-references-cta {
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    min-width: 180px;
}

.btn-references-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-references-cta:hover::before {
    left: 100%;
}

.btn-references-cta-primary {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #282b30;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.btn-references-cta-primary:hover {
    background: linear-gradient(135deg, #ffed4e 0%, #ffd700 100%);
    color: #282b30;
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(255, 215, 0, 0.6);
}

.btn-references-cta-secondary {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

.btn-references-cta-secondary:hover {
    background: linear-gradient(135deg, #128c7e 0%, #25d366 100%);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

.btn-references-cta-outline {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-references-cta-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(255, 255, 255, 0.2);
}

.btn-references-cta i {
    font-size: 1.125rem;
}

/* Responsive References Page */
@media (max-width: 1199.98px) {
    .references-page .page-title {
        font-size: 2.25rem;
    }
    
    .references-cta-title {
        font-size: 2.25rem;
    }
}

@media (max-width: 991.98px) {
    .references-page .page-title {
        font-size: 2rem;
    }
    
    .reference-logo-wrapper {
        min-height: 160px;
        padding: 1.5rem;
    }
    
    .reference-logo-container {
        height: 160px;
    }
    
    .reference-logo-placeholder {
        height: 160px;
    }
    
    .reference-name {
        font-size: 1.125rem;
    }
    
    .reference-card-inner {
        padding: 1.5rem;
    }
}

@media (max-width: 767.98px) {
    .references-page .page-title {
        font-size: 1.75rem;
    }
    
    .references-page .page-description {
        font-size: 0.9375rem;
    }
    
    .reference-logo-wrapper {
        min-height: 140px;
        padding: 1.25rem;
    }
    
    .reference-logo-container {
        height: 140px;
    }
    
    .reference-logo-placeholder {
        height: 140px;
    }
    
    .reference-logo-placeholder i {
        font-size: 3rem;
    }
    
    .reference-name {
        font-size: 1rem;
    }
    
    .reference-website-link {
        font-size: 0.875rem;
        padding: 0.5rem 1rem;
    }
    
    .reference-card-inner {
        padding: 1.25rem;
    }
}

@media (max-width: 575.98px) {
    .references-page .page-title {
        font-size: 1.5rem;
    }
    
    .reference-logo-wrapper {
        min-height: 120px;
        padding: 1rem;
    }
    
    .reference-logo-container {
        height: 120px;
    }
    
    .reference-logo-placeholder {
        height: 120px;
    }
    
    .reference-logo-placeholder i {
        font-size: 2.5rem;
    }
    
    .references-cta-section {
        padding: 3rem 0 !important;
    }
    
    .references-cta-icon {
        width: 80px;
        height: 80px;
    }
    
    .references-cta-icon i {
        font-size: 2.5rem;
    }
    
    .references-cta-title {
        font-size: 1.75rem;
    }
    
    .references-cta-description {
        font-size: 1rem;
    }
    
    .btn-references-cta {
        padding: 0.75rem 1.5rem;
        font-size: 0.9375rem;
        min-width: 160px;
    }
    
    .references-cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn-references-cta {
        width: 100%;
        margin-bottom: 0.75rem !important;
    }
}

/* Service Filter Grid Styles */
.service-filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.filter-btn {
    padding: 0.625rem 1.25rem;
    border: 2px solid var(--border-color);
    background: #ffffff;
    color: var(--text-color);
    border-radius: 25px;
    font-size: 0.9375rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

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

.filter-btn.active {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-color: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.filter-btn i {
    font-size: 0.875rem;
}

.filter-icon {
    width: 16px;
    height: 16px;
    object-fit: contain;
    margin-right: 0.5rem;
    vertical-align: middle;
}

.service-category-badge {
    display: flex;
    align-items: center;
}

.service-category-badge .badge {
    font-size: 0.75rem;
    padding: 0.375rem 0.75rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.service-category-badge .badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.services-filter-grid .service-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeIn 0.4s ease-in-out;
}

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

.service-filter-item {
    transition: all 0.3s ease;
}

.service-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 12px 12px 0 0;
}

.service-image-link:hover .service-image-overlay {
    opacity: 1;
}

.service-image-overlay i {
    color: #ffffff;
    font-size: 2rem;
}

.services-filter-grid .service-image-link {
    position: relative;
    display: block;
    overflow: hidden;
}

.services-filter-grid .service-image {
    transition: transform 0.3s ease;
}

.service-image-link:hover .service-image {
    transform: scale(1.1);
}

.services-filter-grid .service-card {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
}

.services-filter-grid .service-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
    border-color: var(--primary-color);
}

.no-results-message {
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.no-results-message i {
    opacity: 0.5;
}

/* Sidebar Category Icon */
.sidebar-category-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    margin-right: 0.5rem;
    flex-shrink: 0;
}

.sidebar-page-link {
    display: flex;
    align-items: center;
}

/* Responsive Service Pages */
@media (max-width: 991.98px) {
    .service-category-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .service-category-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .category-icon-large-img {
        width: 60px;
        height: 60px;
    }
    
    .service-filter-buttons {
        padding: 1rem;
    }
    
    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
}

@media (max-width: 767.98px) {
    .service-category-title {
        font-size: 1.25rem;
    }
    
    .service-item-image {
        height: 100px;
    }
    
    .service-item-title {
        font-size: 0.9375rem;
    }
    
    .service-item-description {
        font-size: 0.8125rem;
    }
    
    .service-filter-buttons {
        padding: 0.75rem;
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 0.5rem 0.875rem;
        font-size: 0.8125rem;
    }
    
    .services-filter-grid .service-card {
        margin-bottom: 1rem;
    }
}

/* Header Styles */
.site-header {
    background: linear-gradient(135deg, #282b30 0%, #31363b 100%);
}

.navbar {
    background: linear-gradient(135deg, #282b30 0%, #31363b 100%) !important;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: #ffffff !important;
}

.site-logo {
    max-height: 50px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.site-name {
    color: #ffffff;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9) !important;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #ffffff !important;
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.3);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Mobile: Language selector between logo and hamburger */
@media (max-width: 991.98px) {
    .navbar .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        position: relative;
        flex-wrap: nowrap;
    }
    
    /* Hide language dropdown from navbar-nav on mobile */
    .navbar-nav .nav-item:has(#languageDropdown) {
        display: none !important;
    }
    
    /* Equal spacing: Logo, Language Selector, Hamburger */
    .navbar-brand {
        flex: 0 0 auto;
        margin-right: 0;
    }
    
    .mobile-language-selector {
        flex: 1 1 auto;
        position: static;
        margin: 0;
        order: 2;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .navbar-toggler {
        flex: 0 0 auto;
        margin-left: 0;
        order: 3;
    }
    
    /* Mobile language selector styling */
    .mobile-language-selector .nav-link {
        padding: 0.625rem 0.875rem !important;
        color: rgba(255, 255, 255, 0.9) !important;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        min-width: 48px;
        min-height: 48px;
    }
    
    .mobile-language-selector .nav-link:hover,
    .mobile-language-selector .nav-link:focus {
        color: #ffffff !important;
    }
    
    .mobile-language-selector .dropdown-menu {
        margin-top: 0.5rem;
        right: 0;
        left: auto;
    }
    
    /* Ensure dropdown is clickable */
    .mobile-language-selector .dropdown-toggle {
        pointer-events: auto;
    }
}

/* Desktop: Hide mobile language selector */
@media (min-width: 992px) {
    .mobile-language-selector {
        display: none !important;
    }
}

/* Mobile Sidebar Menu (Offcanvas) */
.offcanvas {
    background: linear-gradient(135deg, #282b30 0%, #31363b 100%);
    color: #ffffff;
}

.offcanvas-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
}

.offcanvas-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
}

.offcanvas-body {
    padding: 1.5rem;
}

.offcanvas-body .navbar-nav {
    flex-direction: column;
}

.offcanvas-body .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    padding: 0.75rem 0 !important;
    font-size: 1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.offcanvas-body .nav-link:hover,
.offcanvas-body .nav-link:focus {
    color: #ffffff !important;
    background-color: rgba(255, 255, 255, 0.05);
    padding-left: 0.5rem !important;
}

.offcanvas-body .nav-link i {
    font-size: 0.875rem;
    transition: transform 0.3s ease;
}

.offcanvas-body .nav-link[aria-expanded="true"] i.fa-chevron-down {
    transform: rotate(180deg);
}

.offcanvas-body .nav-link[aria-expanded="true"] i.fa-chevron-right {
    transform: rotate(90deg);
}

.offcanvas-body .list-unstyled {
    margin-top: 0.5rem;
}

.offcanvas-body .list-unstyled a {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 0.9375rem;
    transition: all 0.3s ease;
    display: block;
    padding: 0.5rem 0;
}

.offcanvas-body .list-unstyled a:hover {
    color: #ffffff !important;
    padding-left: 0.5rem;
}

.offcanvas-body .collapse {
    margin-top: 0.5rem;
}

.btn-close-white {
    filter: invert(1) grayscale(100%) brightness(200%);
}

/* Dropdown Menu Styles */
.dropdown-menu {
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    background-color: #ffffff;
}

.dropdown-item {
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: var(--bg-light);
    color: var(--primary-color);
}

.language-item {
    display: flex;
    align-items: center;
}

.language-item.active {
    background-color: var(--bg-light);
    color: var(--primary-color);
    font-weight: 600;
}

/* Flag Icons - Using flag-icons library */
.fi {
    width: 20px;
    height: 15px;
    border-radius: 2px;
    vertical-align: middle;
    display: inline-block;
}

/* Larger flag icons for mobile language selector */
@media (max-width: 991.98px) {
    .mobile-language-selector .fi {
        width: 32px;
        height: 24px;
        border-radius: 3px;
    }
}

/* Hide Google Translate default UI */
.goog-te-banner-frame,
.goog-te-menu-frame,
.goog-te-banner,
.skiptranslate,
.goog-te-banner-frame.skiptranslate {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
}

body {
    top: 0 !important;
    position: static !important;
}

#google_translate_element {
    display: none;
}

/* Hide Google Translate banner completely */
iframe[title*="Google Translate"] {
    display: none !important;
}

/* Additional hiding for Google Translate UI */
.goog-te-gadget,
.goog-te-gadget-simple,
.goog-te-gadget-icon {
    display: none !important;
}

.dropdown-divider {
    margin: 0.5rem 0;
    border-color: var(--border-color);
}

/* Multi-level Dropdown */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -0.5rem;
    margin-left: 0.125rem;
    display: none;
}

.dropdown-submenu > .dropdown-menu.show {
    display: block;
}

.dropdown-submenu:hover > .dropdown-menu {
    display: block;
}

.dropdown-submenu .dropdown-toggle::after {
    display: none;
}

.dropdown-submenu .dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dropdown-submenu .dropdown-toggle i {
    font-size: 0.75rem;
    margin-left: auto;
}

/* Mobile Dropdown Fix */
@media (max-width: 991px) {
    .dropdown-submenu > .dropdown-menu {
        position: static;
        float: none;
        margin-left: 1rem;
        margin-top: 0;
        box-shadow: none;
        border-left: 2px solid var(--border-color);
    }
    
    .dropdown-submenu .dropdown-toggle i {
        transform: rotate(90deg);
    }
}

/* Hero Slider Styles */
.hero-slider {
    position: relative;
    height: 80vh;
    min-height: 80vh;
    overflow: hidden;
    width: 100vw;
    max-width: 100%;
    /* Reserve space to prevent CLS */
    aspect-ratio: 16 / 9;
}

.hero-slide {
    position: relative;
    height: 80vh;
    min-height: 80vh;
    display: flex;
    align-items: center;
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    width: 100vw;
    max-width: 100%;
    /* Reserve space to prevent CLS */
    aspect-ratio: 16 / 9;
}

/* LCP optimization for first slide */
.hero-slide[data-fetchpriority="high"] {
    content-visibility: auto;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(40, 43, 48, 0.7) 0%, rgba(49, 54, 59, 0.7) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #ffffff;
    text-align: center;
    padding: 2rem 0;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

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

.hero-buttons .btn {
    padding: 0.75rem 2rem;
    font-weight: 300;
    letter-spacing: 0.5px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

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

/* Swiper Customization - Modern Elegant Navigation Buttons */
.heroSwiper .swiper-button-next,
.heroSwiper .swiper-button-prev {
    color: #ffffff;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.25) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    margin-top: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.heroSwiper .swiper-button-next {
    right: 30px;
}

.heroSwiper .swiper-button-prev {
    left: 30px;
}

.heroSwiper .swiper-button-next:hover,
.heroSwiper .swiper-button-prev:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.4) 100%);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    transform: translateY(-50%) scale(1.1);
}

.heroSwiper .swiper-button-next:active,
.heroSwiper .swiper-button-prev:active {
    transform: translateY(-50%) scale(0.95);
}

.heroSwiper .swiper-button-next::after,
.heroSwiper .swiper-button-prev::after {
    font-size: 24px;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.heroSwiper .swiper-button-next::before,
.heroSwiper .swiper-button-prev::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.4s ease;
    pointer-events: none;
}

.heroSwiper .swiper-button-next:hover::before,
.heroSwiper .swiper-button-prev:hover::before {
    transform: translate(-50%, -50%) scale(1.5);
}

/* Swiper Pagination - Modern Style */
.heroSwiper .swiper-pagination {
    bottom: 30px !important;
    z-index: 10;
}

.heroSwiper .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0.7;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    margin: 0 6px;
}

.heroSwiper .swiper-pagination-bullet:hover {
    opacity: 1;
    transform: scale(1.2);
    background: rgba(255, 255, 255, 0.8);
}

.heroSwiper .swiper-pagination-bullet-active {
    opacity: 1;
    background: #ffffff;
    border-color: #ffffff;
    width: 30px;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(255, 255, 255, 0.5);
}

.swiper-pagination-bullet {
    background: #ffffff;
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    opacity: 1;
}

/* Section Styles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1rem;
    color: #495057;
    margin-bottom: 0;
    font-weight: 500;
}

/* Better contrast for bg-light sections */
.bg-light .section-subtitle {
    color: #495057;
}

/* Service Card Styles - Modern Horizontal Grid */
.services-section {
    background: #ffffff;
}

.service-card {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
    transform: translateY(-8px);
}

.service-card-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-image-link {
    display: block;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    flex-shrink: 0;
}

.service-image-link::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.service-image {
    width: 100%;
    height: 200px;
    object-fit: fill;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
    /* Reserve space to prevent CLS */
    aspect-ratio: 2 / 1;
}

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

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

.service-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-color);
    line-height: 1.4;
}

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

.service-title a:hover,
.service-title a:focus {
    color: var(--primary-color);
    text-decoration: none;
}

.service-description {
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-size: 0.875rem;
    line-height: 1.6;
    flex: 1;
}

.service-categories {
    margin-bottom: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.service-categories .badge {
    font-size: 0.75rem;
    padding: 0.375rem 0.75rem;
    font-weight: 500;
    border-radius: 20px;
    background: linear-gradient(135deg, #282b30 0%, #31363b 100%);
    color: #ffffff;
    border: none;
}

.service-card .btn {
    align-self: flex-start;
    margin-top: auto;
    font-weight: 600;
    padding: 0.625rem 1.25rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.service-card .btn:hover {
    transform: translateX(4px);
}

/* Responsive Grid - 4 columns on XL, 3 on LG, 2 on MD */
@media (min-width: 1200px) {
    .services-section .col-xl-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }
}

@media (max-width: 1199.98px) and (min-width: 992px) {
    .service-image {
        height: 180px;
    }
}

@media (max-width: 991.98px) {
    .service-image {
        height: 160px;
    }
    
    .service-content {
        padding: 1.25rem;
    }
}

/* ============================================
   PRODUCT CARDS - Modern & Consistent Design
   ============================================ */

.products-filter-grid .product-card,
.product-category-page .product-card {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.products-filter-grid .product-card:hover,
.product-category-page .product-card:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
    transform: translateY(-8px);
}

.products-filter-grid .product-card-inner,
.product-category-page .product-card-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.products-filter-grid .product-image-link,
.product-category-page .product-image-link {
    display: block;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    flex-shrink: 0;
    height: 220px;
    width: 100%;
    min-height: 220px;
}

.products-filter-grid .product-image-link::after,
.product-category-page .product-image-link::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.products-filter-grid .product-card:hover .product-image-link::after,
.product-category-page .product-card:hover .product-image-link::after {
    opacity: 1;
}

.products-filter-grid .product-image,
.product-category-page .product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
    aspect-ratio: 16 / 9;
}

.products-filter-grid .product-card:hover .product-image,
.product-category-page .product-card:hover .product-image {
    transform: scale(1.05);
}

.products-filter-grid .product-image-overlay,
.product-category-page .product-image-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.products-filter-grid .product-image-overlay i,
.product-category-page .product-image-overlay i {
    color: var(--primary-color);
    font-size: 1.25rem;
}

.products-filter-grid .product-card:hover .product-image-overlay,
.product-category-page .product-card:hover .product-image-overlay {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.products-filter-grid .product-content,
.product-category-page .product-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.75rem;
}

.products-filter-grid .product-title,
.product-category-page .product-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
    color: var(--text-color);
    line-height: 1.4;
    min-height: 3.5rem;
    display: flex;
    align-items: flex-start;
    flex: 0 0 auto;
}

.products-filter-grid .product-title a,
.product-category-page .product-title a {
    color: var(--text-color);
    transition: color 0.3s ease;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-weight: 600;
    line-height: 1.5;
}

.products-filter-grid .product-title a:hover,
.products-filter-grid .product-title a:focus,
.product-category-page .product-title a:hover,
.product-category-page .product-title a:focus {
    color: var(--primary-color);
    text-decoration: none;
}

.products-filter-grid .product-description,
.product-category-page .product-description {
    color: var(--text-muted);
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.6;
    flex: 0 0 auto;
    min-height: 2.625rem;
    max-height: 2.625rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.products-filter-grid .product-rating-display,
.product-category-page .product-rating-display {
    margin-bottom: 0.5rem;
}

.products-filter-grid .rating-stars-small,
.product-category-page .rating-stars-small {
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

.products-filter-grid .product-price-type-badge,
.product-category-page .product-price-type-badge {
    margin-bottom: 0.5rem;
}

.products-filter-grid .product-price-type-badge .price-type-badge,
.product-category-page .product-price-type-badge .price-type-badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    font-weight: 400;
    color: #6c757d;
    background: transparent;
    border: 1px solid #dee2e6;
    border-radius: 4px;
}

/* Product Price and Buy Button Layout */
.products-filter-grid .product-price-action,
.product-category-page .product-price-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.products-filter-grid .product-price-action .product-price-display,
.product-category-page .product-price-action .product-price-display {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-width: 0;
}

.products-filter-grid .product-price-action .product-price-text,
.product-category-page .product-price-action .product-price-text {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
    white-space: nowrap;
}

.products-filter-grid .product-price-action .product-buy-btn-icon,
.product-category-page .product-price-action .product-buy-btn-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.products-filter-grid .product-price-action .product-buy-btn-icon:hover,
.product-category-page .product-price-action .product-buy-btn-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.4);
}

.products-filter-grid .product-price-action .product-buy-btn-icon i,
.product-category-page .product-price-action .product-buy-btn-icon i {
    margin: 0;
}

/* Product tags hidden on index and category pages */
.products-filter-grid .product-tags,
.product-category-page .product-tags {
    display: none !important;
}

.products-filter-grid .product-tags .badge,
.product-category-page .product-tags .badge {
    font-size: 0.75rem;
    padding: 0.375rem 0.75rem;
    font-weight: 500;
    border-radius: 20px;
    background: #6c757d;
    color: #ffffff;
    border: none;
}

.products-filter-grid .product-category-badge,
.product-category-page .product-category-badge {
    margin: 0;
    flex: 0 0 auto;
    min-height: 1.75rem;
}

.products-filter-grid .product-category-badge .badge,
.product-category-page .product-category-badge .badge {
    font-size: 0.75rem;
    padding: 0.375rem 0.75rem;
    font-weight: 500;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 2px 6px rgba(0, 123, 255, 0.2);
    transition: all 0.3s ease;
}

.products-filter-grid .product-category-badge .badge:hover,
.product-category-page .product-category-badge .badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 123, 255, 0.3);
}

/* Product Filter & Sort Styles */
.product-filter-sort-section {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.product-filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.product-filter-buttons .filter-btn {
    padding: 0.625rem 1.25rem;
    border: 2px solid #dee2e6;
    background: #ffffff;
    color: var(--text-color);
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.product-filter-buttons .filter-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(0, 123, 255, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.15);
}

.product-filter-buttons .filter-btn.active {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%);
    color: #ffffff;
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.product-filter-buttons .filter-btn .filter-icon {
    width: 16px;
    height: 16px;
    object-fit: contain;
    flex-shrink: 0;
}

.product-sort-options {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.product-sort-options label {
    font-weight: 500;
    color: var(--text-color);
    margin: 0;
    white-space: nowrap;
}

.product-sort-options .form-select {
    border: 2px solid #dee2e6;
    border-radius: 8px;
    padding: 0.5rem 2rem 0.5rem 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
}

.product-sort-options .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.15);
    outline: none;
}

.product-sort-options .form-select:hover {
    border-color: var(--primary-color);
}

/* Product Cards Responsive */
@media (max-width: 1199.98px) and (min-width: 992px) {
    .products-filter-grid .product-image-link,
    .product-category-page .product-image-link {
        height: 200px;
    }
    
    .products-filter-grid .product-content,
    .product-category-page .product-content {
        padding: 1.25rem;
    }
    
    .products-filter-grid .product-image-link,
    .product-category-page .product-image-link {
        height: 200px;
        min-height: 200px;
    }
}

@media (max-width: 991.98px) {
    .products-filter-grid .product-image-link,
    .product-category-page .product-image-link {
        height: 180px;
    }
    
    .products-filter-grid .product-content,
    .product-category-page .product-content {
        padding: 1.25rem;
    }
    
    .products-filter-grid .product-image-link,
    .product-category-page .product-image-link {
        height: 180px;
        min-height: 180px;
    }
    
    .products-filter-grid .product-title,
    .product-category-page .product-title {
        font-size: 1.125rem;
        min-height: 3rem;
    }
}

@media (max-width: 575.98px) {
    .products-filter-grid .product-image-link,
    .product-category-page .product-image-link {
        height: 160px;
    }
    
    .products-filter-grid .product-content,
    .product-category-page .product-content {
        padding: 1rem;
    }
    
    .products-filter-grid .product-image-link,
    .product-category-page .product-image-link {
        height: 160px;
        min-height: 160px;
    }
    
    .product-filter-sort-section {
        padding: 1.25rem;
    }
    
    .product-filter-buttons {
        gap: 0.5rem;
    }
    
    .product-filter-buttons .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8125rem;
    }
    
    /* Mobile: Stack price and buy button vertically */
    .products-filter-grid .product-price-action,
    .product-category-page .product-price-action {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }
    
    .products-filter-grid .product-price-action .product-price-display,
    .product-category-page .product-price-action .product-price-display {
        width: 100%;
        justify-content: flex-start;
    }
    
    .products-filter-grid .product-price-action .product-price-text,
    .product-category-page .product-price-action .product-price-text {
        white-space: normal;
    }
    
    .products-filter-grid .product-price-action .product-buy-btn-icon,
    .product-category-page .product-price-action .product-buy-btn-icon {
        width: 100%;
        height: 44px;
    }
}

/* Product Filter & Sort Responsive */
@media (max-width: 767.98px) {
    .product-filter-sort-section {
        padding: 1rem;
    }
    
    .product-filter-buttons {
        gap: 0.5rem;
    }
    
    .product-filter-buttons .filter-btn {
        padding: 0.5rem 0.875rem;
        font-size: 0.75rem;
    }
    
    .product-sort-options {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }
    
    .product-sort-options label {
        font-size: 0.875rem;
    }
    
    .product-sort-options .form-select {
        max-width: 100% !important;
        width: 100%;
    }
}

@media (max-width: 767.98px) {
    .service-image {
        height: 150px;
    }
    
    .service-content {
        padding: 1rem;
    }
    
    .service-title {
        font-size: 1.125rem;
    }
}

/* Blog Card Styles */
/* Blog Card Styles - Modern Hover Card */
.blog-card {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: #ffffff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.blog-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(40, 43, 48, 0.03) 0%, rgba(49, 54, 59, 0.03) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 1;
}

.blog-card:hover {
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(-10px);
}

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

.blog-card-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    z-index: 2;
}

.blog-image-link {
    display: block;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    flex-shrink: 0;
}

.blog-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.4) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.blog-card:hover .blog-image-overlay {
    opacity: 1;
}

.blog-image {
    width: 100%;
    height: 280px;
    object-fit: fill;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
    /* Reserve space to prevent CLS */
    aspect-ratio: 4 / 3;
}

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

.blog-content {
    padding: 1.75rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #ffffff;
}

.blog-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.blog-categories .badge {
    font-size: 0.75rem;
    padding: 0.375rem 0.75rem;
    font-weight: 500;
    border-radius: 20px;
    background: linear-gradient(135deg, #282b30 0%, #31363b 100%);
    color: #ffffff;
    border: none;
    transition: all 0.3s ease;
}

.blog-card:hover .blog-categories .badge {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(40, 43, 48, 0.3);
}

.blog-title {
    font-size: 1.375rem;
    font-weight: 600;
    margin-bottom: 0.875rem;
    color: var(--text-color);
    line-height: 1.4;
}

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

.blog-title a:hover,
.blog-title a:focus {
    color: var(--primary-color);
    text-decoration: none;
}

.blog-description {
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    font-size: 0.875rem;
    line-height: 1.6;
    flex: 1;
}

.blog-meta {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.blog-meta time {
    display: flex;
    align-items: center;
}

.blog-views {
    display: flex;
    align-items: center;
    color: var(--text-muted);
}

.blog-card .btn {
    align-self: flex-start;
    margin-top: auto;
    font-weight: 600;
    padding: 0.625rem 1.25rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #282b30 0%, #31363b 100%);
    border: none;
    color: #ffffff;
}

.blog-card .btn:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(40, 43, 48, 0.4);
    color: #ffffff;
}

/* Responsive Blog Cards */
@media (max-width: 991.98px) {
    .blog-image {
        height: 240px;
    }
    
    .blog-content {
        padding: 1.5rem;
    }
}

@media (max-width: 767.98px) {
    .blog-image {
        height: 220px;
    }
    
    .blog-content {
        padding: 1.25rem;
    }
    
    .blog-title {
        font-size: 1.25rem;
    }
}

.blog-categories {
    margin-bottom: 0.75rem;
}

/* Team Card Styles */
.team-card {
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.3s ease;
    background: #ffffff;
}

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

.team-avatar {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--border-color);
    margin: 0 auto;
}

.team-avatar-placeholder {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 4rem;
    color: var(--text-muted);
}

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

.team-position {
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

/* Reference Styles - Slider */
.references-slider-wrapper {
    position: relative;
    padding: 2rem 0;
}

.referencesSwiper {
    overflow: hidden;
    padding: 1rem 0;
}

.reference-item {
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: #ffffff;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.reference-item:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
    border-color: var(--primary-color);
}

.reference-link {
    display: block;
    width: 100%;
    text-align: center;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reference-logo {
    max-width: 100%;
    height: auto;
    max-height: 70px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    /* Reserve space to prevent CLS */
    aspect-ratio: 2 / 1;
}

.reference-item:hover .reference-logo {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

.reference-name {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Swiper adjustments for references */
.referencesSwiper .swiper-slide {
    height: auto;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .reference-item {
        height: 100px;
        padding: 1rem;
    }
    
    .reference-logo {
        max-height: 60px;
    }
}

/* CTA Section Styles */
.cta-section {
    background: linear-gradient(135deg, #282b30 0%, #31363b 100%);
    position: relative;
    overflow: hidden;
    padding: 4rem 0 !important;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.cta-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
}

.btn-cta {
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    min-width: 160px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-cta-primary {
    background: linear-gradient(135deg, #28a745 0%, #218838 100%);
    color: #ffffff;
    border-color: #28a745;
}

.btn-cta-primary:hover,
.btn-cta-primary:focus {
    background: linear-gradient(135deg, #218838 0%, #1e7e34 100%);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

.btn-cta-secondary {
    background: linear-gradient(135deg, #25d366 0%, #1da851 100%);
    color: #ffffff;
    border-color: #25d366;
}

.btn-cta-secondary:hover,
.btn-cta-secondary:focus {
    background: linear-gradient(135deg, #1da851 0%, #178a42 100%);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.btn-cta i {
    font-size: 1.1rem;
}

/* Responsive CTA */
@media (max-width: 991.98px) {
    .cta-title {
        font-size: 1.75rem;
        text-align: center;
    }
    
    .cta-description {
        font-size: 1rem;
        text-align: center;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .btn-cta {
        min-width: 140px;
        padding: 0.75rem 1.5rem;
        font-size: 0.9375rem;
    }
}

@media (max-width: 575.98px) {
    .cta-title {
        font-size: 1.5rem;
    }
    
    .cta-description {
        font-size: 0.9375rem;
    }
    
    .btn-cta {
        width: 100%;
        min-width: auto;
    }
    
    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .cta-buttons .btn-cta {
        margin: 0 !important;
    }
}

/* Blog Page Styles */
.blog-page {
    min-height: 60vh;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
}

.blog-page .page-header {
    margin-bottom: 3rem;
}

.blog-page .page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Blog Post Detail Page Styles */
.blog-post-page {
    min-height: 60vh;
}

.blog-post-header {
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 1.5rem;
}

.blog-post-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.blog-post-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    line-height: 1.3;
}

.blog-post-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.9375rem;
}

.blog-post-meta time,
.blog-post-views {
    display: inline-flex;
    align-items: center;
}

.blog-post-excerpt {
    font-size: 1.125rem;
    line-height: 1.7;
}

.blog-post-image {
    margin-bottom: 2rem;
}

.blog-post-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.blog-post-content {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--text-color);
}

.blog-post-content h1,
.blog-post-content h2,
.blog-post-content h3,
.blog-post-content h4,
.blog-post-content h5,
.blog-post-content h6 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--text-color);
}

.blog-post-content h2 {
    font-size: 1.875rem;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.blog-post-content h3 {
    font-size: 1.5rem;
}

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

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

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

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

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

.blog-post-content a {
    color: var(--primary-color);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.blog-post-content a:hover {
    border-bottom-color: var(--primary-color);
}

.blog-post-tags {
    margin-top: 2rem;
}

.blog-post-tags h3 {
    font-weight: 600;
    color: var(--text-color);
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* Related Blogs Section */
.related-blogs {
    margin-top: 3rem;
    padding-top: 2rem;
}

.related-blogs h2 {
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.related-blog-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

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

.related-blog-image-link {
    display: block;
    overflow: hidden;
    position: relative;
}

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

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

.related-blog-content {
    padding: 1.25rem;
}

.related-blog-title {
    margin-bottom: 0.75rem;
}

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

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

/* Responsive Blog Pages */
@media (max-width: 991.98px) {
    .blog-page .page-title {
        font-size: 2rem;
    }
    
    .blog-post-title {
        font-size: 2rem;
    }
    
    .blog-post-excerpt {
        font-size: 1rem;
    }
}

@media (max-width: 767.98px) {
    .blog-page .page-title {
        font-size: 1.75rem;
    }
    
    .blog-post-title {
        font-size: 1.75rem;
    }
    
    .blog-post-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .blog-post-content {
        font-size: 1rem;
    }
    
    .blog-post-content h2 {
        font-size: 1.5rem;
    }
    
    .blog-post-content h3 {
        font-size: 1.25rem;
    }
}

/* Contact Page Styles */
.contact-page {
    min-height: 60vh;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
}

.contact-page .page-header {
    margin-bottom: 3rem;
}

.contact-page .page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Contact Info Card */
.contact-info-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.contact-info-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
}

.contact-info-title i {
    color: var(--primary-color);
}

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

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #ffffff;
    font-size: 1.25rem;
}

.contact-info-content {
    flex: 1;
}

.contact-info-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-info-value {
    font-size: 1rem;
    color: var(--text-color);
    margin: 0;
    line-height: 1.5;
}

.contact-info-value a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info-value a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Working Hours */
.working-hours-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.working-hours-item {
    padding: 0.75rem 0;
}

.working-day {
    font-weight: 500;
    color: var(--text-color);
}

.working-time {
    font-weight: 600;
    color: var(--primary-color);
}

/* Social Media Links */
.social-media-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.social-media-link {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #ffffff;
    font-size: 1.25rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.social-media-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    color: #ffffff;
    text-decoration: none;
}

.social-facebook {
    background: linear-gradient(135deg, #1877f2 0%, #0d5fbf 100%);
}

.social-instagram {
    background: linear-gradient(135deg, #e4405f 0%, #c13584 50%, #833ab4 100%);
}

.social-linkedin {
    background: linear-gradient(135deg, #0077b5 0%, #005885 100%);
}

.social-youtube {
    background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
}

.social-twitter {
    background: linear-gradient(135deg, #1da1f2 0%, #0d8bd9 100%);
}

.social-pinterest {
    background: linear-gradient(135deg, #bd081c 0%, #8b0612 100%);
}


/* Contact Map Card */
.contact-map-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.contact-map-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
}

.contact-map-title i {
    color: var(--primary-color);
}

.contact-map-wrapper {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.contact-map-wrapper iframe {
    width: 100%;
    height: 400px;
    border: none;
    display: block;
}

/* Responsive Contact Page */
@media (max-width: 991.98px) {
    .contact-page .page-title {
        font-size: 2rem;
    }
    
    .contact-info-card,
    .contact-map-card {
        padding: 1.5rem;
    }
    
    .contact-map-wrapper iframe {
        height: 350px;
    }
}

@media (max-width: 767.98px) {
    .contact-page .page-title {
        font-size: 1.75rem;
    }
    
    .contact-info-card,
    .contact-map-card {
        padding: 1.25rem;
    }
    
    .contact-info-title,
    .contact-map-title {
        font-size: 1.25rem;
    }
    
    .contact-info-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .social-media-link {
        width: 45px;
        height: 45px;
        font-size: 1.125rem;
    }
    
    .contact-map-wrapper iframe {
        height: 300px;
    }
}

/* Footer Styles */
.site-footer {
    margin-top: 0;
}

.site-footer h2.h5,
.site-footer h5 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
}

.site-footer .list-unstyled li {
    margin-bottom: 0.5rem;
}

.site-footer .list-unstyled a {
    transition: color 0.3s ease;
}

.site-footer .list-unstyled a:hover {
    color: #ffffff !important;
}

.site-footer .text-white-50,
.site-footer .text-muted {
    color: rgba(255, 255, 255, 0.7) !important;
}

.site-footer .text-white-50:hover,
.site-footer .text-muted:hover {
    color: #ffffff !important;
}

/* Mobile Fixed Contact Buttons */
.mobile-contact-buttons {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    padding: 0.75rem;
    background: linear-gradient(135deg, #282b30 0%, #31363b 100%);
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 0.75rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.3s ease;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
    text-align: center;
}

.mobile-phone-btn {
    background: linear-gradient(135deg, #25D366 0%, #20BA5A 100%);
}

.mobile-phone-btn:hover {
    background: linear-gradient(135deg, #20BA5A 0%, #1BA049 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    color: #ffffff;
}

.mobile-whatsapp-btn {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.mobile-whatsapp-btn:hover {
    background: linear-gradient(135deg, #128C7E 0%, #0E6B5F 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    color: #ffffff;
}

.mobile-contact-btn i {
    font-size: 1.25rem;
}

.mobile-contact-btn span {
    font-size: 0.8125rem;
    line-height: 1.2;
}

/* Add padding to body on mobile to prevent content from being hidden behind fixed buttons */
@media (max-width: 991.98px) {
    body {
        padding-bottom: 80px;
    }
}

.footer-logo {
    max-height: 40px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.social-links a {
    display: inline-block;
    transition: all 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-3px);
    color: #ffffff !important;
}

/* Button Contrast Fixes */
.btn-outline-primary {
    color: #282b30;
    border-color: #282b30;
    background-color: transparent;
}

.btn-outline-primary:hover {
    color: #ffffff;
    background-color: #282b30;
    border-color: #282b30;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-slider {
        height: 80vh;
        min-height: 80vh;
        width: 100vw;
        max-width: 100%;
    }
    
    .hero-slide {
        height: 80vh;
        min-height: 80vh;
        width: 100vw;
        max-width: 100%;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    /* Mobile Navigation Buttons - Hidden on mobile */
    .heroSwiper .swiper-button-next,
    .heroSwiper .swiper-button-prev {
        display: none !important;
    }
    
    .heroSwiper .swiper-pagination {
        bottom: 20px !important;
    }
    
    .heroSwiper .swiper-pagination-bullet {
        width: 10px;
        height: 10px;
        margin: 0 4px;
    }
    
    .heroSwiper .swiper-pagination-bullet-active {
        width: 24px;
    }
}

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

/* Skip to main content link */
.skip-to-main {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: #ffffff;
    padding: 8px;
    text-decoration: none;
    z-index: 100;
}

.skip-to-main:focus {
    top: 0;
}

/* ============================================
   HOME PAGE PRODUCTS SECTION - Modern Grid
   ============================================ */

.products-section {
    background: #ffffff;
}

/* ============================================
   PRODUCT CARDS - Home Page (Services & Blog Compatible)
   ============================================ */

.product-card {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
    transform: translateY(-8px);
}

.product-card-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-image-link {
    display: block;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    flex-shrink: 0;
}

.product-image-link::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.product-card:hover .product-image-link::after {
    opacity: 1;
}

.product-image {
    width: 100%;
    height: 200px;
    object-fit: fill;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
    aspect-ratio: 2 / 1;
}

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

.product-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.product-image-overlay i {
    color: #ffffff;
    font-size: 2rem;
}

.product-card:hover .product-image-overlay {
    opacity: 1;
}

.product-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-category-badge {
    margin-bottom: 0.75rem;
}

.product-category-badge .badge {
    font-size: 0.75rem;
    padding: 0.375rem 0.75rem;
    font-weight: 500;
    border-radius: 20px;
    background: linear-gradient(135deg, #282b30 0%, #31363b 100%);
    color: #ffffff;
    border: none;
    transition: all 0.3s ease;
}

.product-card:hover .product-category-badge .badge {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(40, 43, 48, 0.3);
}

.product-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-color);
    line-height: 1.4;
}

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

.product-title a:hover,
.product-title a:focus {
    color: var(--primary-color);
    text-decoration: none;
}

.product-description {
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-size: 0.875rem;
    line-height: 1.6;
    flex: 1;
}

.product-rating-display {
    margin-bottom: 0.5rem;
}

.rating-stars-small {
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

.product-price-type-badge {
    margin-bottom: 0.5rem;
}

.product-price-type-badge .price-type-badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    font-weight: 400;
    color: #6c757d;
    background: transparent;
    border: 1px solid #dee2e6;
    border-radius: 4px;
}

/* Product Price and Buy Button Layout - All Pages */
.product-price-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.product-price-action .product-price-display {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-width: 0;
}

.product-price-action .product-price-text {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
    white-space: nowrap;
}

.product-price-action .product-buy-btn-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.product-price-action .product-buy-btn-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.4);
}

.product-price-action .product-buy-btn-icon i {
    margin: 0;
}

/* Mobile: Stack vertically */
@media (max-width: 575.98px) {
    .product-price-action {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }
    
    .product-price-action .product-price-display {
        width: 100%;
        justify-content: flex-start;
    }
    
    .product-price-action .product-price-text {
        white-space: normal;
    }
    
    .product-price-action .product-buy-btn-icon {
        width: 100%;
        height: 44px;
    }
}

.product-card .btn {
    align-self: flex-start;
    margin-top: auto;
    font-weight: 600;
    padding: 0.625rem 1.25rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.product-card .btn:hover {
    transform: translateX(4px);
}

/* Responsive Grid - 4 columns on XL, 3 on LG, 2 on MD, 1 on SM */
@media (min-width: 1200px) {
    .products-section .col-xl-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }
}

@media (max-width: 1199.98px) and (min-width: 992px) {
    .products-section .col-lg-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
    
    .product-image {
        height: 180px;
    }
}

@media (max-width: 991.98px) and (min-width: 768px) {
    .products-section .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    .product-image {
        height: 160px;
    }
    
    .product-content {
        padding: 1.25rem;
    }
}

@media (max-width: 767.98px) {
    .products-section .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .product-image {
        height: 200px;
    }
    
    .product-content {
        padding: 1.25rem;
    }
    
    .product-title {
        font-size: 1.125rem;
    }
    
    .product-description {
        font-size: 0.8125rem;
    }
}

/* ============================================
   FAQ Accordion Styles
   ============================================ */
.blog-faq-section {
    margin-top: 3rem;
    padding-top: 3rem;
}

.blog-faq-section h2 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 2rem;
}

.accordion-faq {
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    overflow: hidden;
}

.faq-accordion-item {
    border: none;
    border-bottom: 1px solid var(--border-color);
    background: #ffffff;
    transition: all 0.3s ease;
}

.faq-accordion-item:last-child {
    border-bottom: none;
}

.faq-accordion-item:hover {
    background: #f8f9fa;
}

.accordion-button {
    background: transparent;
    border: none;
    padding: 1.5rem 1.75rem;
    font-weight: 500;
    color: var(--text-color);
    font-size: 1.0625rem;
    line-height: 1.6;
    box-shadow: none;
    position: relative;
    transition: all 0.3s ease;
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    color: var(--primary-color);
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.05);
}

.accordion-button:focus {
    border-color: transparent;
    box-shadow: none;
    outline: none;
}

.accordion-button:not(.collapsed) .faq-question-icon {
    color: #007bff;
    transform: scale(1.1);
}

.accordion-button:not(.collapsed) .faq-arrow {
    transform: rotate(180deg);
    color: #007bff;
}

.faq-question-icon {
    color: #6c757d;
    font-size: 1.25rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(0, 123, 255, 0.1);
    border-radius: 50%;
    flex-shrink: 0;
}

.faq-question-text {
    flex: 1;
    text-align: left;
    padding-right: 1rem;
}

.faq-arrow {
    color: #6c757d;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.accordion-body {
    padding: 1.5rem 1.75rem 1.75rem 4.5rem;
    background: #ffffff;
    border-top: 1px solid var(--border-color);
}

.faq-answer-content {
    color: var(--text-muted);
    font-size: 0.9375rem;
    line-height: 1.8;
}

.faq-answer-content p {
    margin-bottom: 0.75rem;
}

.faq-answer-content p:last-child {
    margin-bottom: 0;
}

/* Accordion Animation */
.accordion-collapse {
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-collapse.collapsing {
    transition: height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Responsive Design */
@media (max-width: 767.98px) {
    .blog-faq-section {
        margin-top: 2rem;
        padding-top: 2rem;
    }
    
    .accordion-button {
        padding: 1.25rem 1.5rem;
        font-size: 1rem;
        flex-wrap: wrap;
    }
    
    .faq-question-icon {
        width: 28px;
        height: 28px;
        font-size: 1.125rem;
        margin-right: 0.75rem !important;
    }
    
    .faq-question-text {
        flex: 1 1 100%;
        padding-right: 0;
        margin-top: 0.5rem;
        order: 2;
    }
    
    .faq-arrow {
        order: 1;
        margin-left: auto;
    }
    
    .accordion-body {
        padding: 1.25rem 1.5rem 1.5rem 1.5rem;
    }
    
    .faq-answer-content {
        font-size: 0.875rem;
    }
}

/* Dark mode support (optional) */
@media (prefers-color-scheme: dark) {
    .faq-accordion-item {
        background: #1a1d21;
        border-bottom-color: #2d3238;
    }
    
    .faq-accordion-item:hover {
        background: #222529;
    }
    
    .accordion-button {
        color: #e9ecef;
    }
    
    .accordion-button:not(.collapsed) {
        background: linear-gradient(135deg, #222529 0%, #1a1d21 100%);
        color: #ffffff;
    }
    
    .accordion-body {
        background: #1a1d21;
        border-top-color: #2d3238;
    }
    
    .faq-answer-content {
        color: #adb5bd;
    }
}

/* ============================================
   Product Detail Page - Prominent Price Box
   ============================================ */

.product-price-prominent-box {
    width: 100%;
    margin: 0 auto;
}

.price-box-content {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 2px solid #e9ecef;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1), 0 4px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
}

.price-box-content:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15), 0 6px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
    border-color: #007bff;
}

.price-box-header {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: #ffffff;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.price-box-header i {
    font-size: 1.125rem;
}

.price-box-body {
    padding: 2rem 1.5rem;
    text-align: center;
}

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

.price-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: #212529;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.price-type-badge-prominent {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
    color: #ffffff;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: 0 4px 8px rgba(40, 167, 69, 0.3);
    transition: all 0.3s ease;
}

.price-type-badge-prominent:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(40, 167, 69, 0.4);
}

.price-type-badge-prominent i {
    font-size: 0.875rem;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .price-box-body {
        padding: 1.5rem 1rem;
    }
    
    .price-amount {
        font-size: 2rem;
    }
    
    .price-type-badge-prominent {
        font-size: 0.8125rem;
        padding: 0.4375rem 0.875rem;
    }
}

@media (max-width: 575.98px) {
    .price-box-header {
        padding: 0.875rem 1.25rem;
        font-size: 0.9375rem;
    }
    
    .price-box-body {
        padding: 1.25rem 0.875rem;
    }
    
    .price-amount {
        font-size: 1.75rem;
    }
    
    .price-type-badge-prominent {
        font-size: 0.75rem;
        padding: 0.375rem 0.75rem;
    }
}

/* ============================================
   Gallery Pages Styles
   ============================================ */

/* Gallery Page Header */
.gallery-page,
.gallery-category-page {
    padding: 3rem 0;
}

.page-header {
    margin-bottom: 3rem;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 1rem;
}

.page-description {
    font-size: 1.1rem;
    color: #6c757d;
}

/* Gallery Category Card */
.gallery-category-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

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

.gallery-category-card-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.gallery-category-image-link {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16/9;
}

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

.gallery-category-image-link:hover .gallery-category-image {
    transform: scale(1.1);
}

.gallery-category-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-category-image-link:hover .gallery-category-image-overlay {
    opacity: 1;
}

.gallery-category-image-overlay i {
    color: #fff;
    font-size: 3rem;
}

.gallery-category-image-placeholder {
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-category-image-placeholder i {
    font-size: 4rem;
    color: #dee2e6;
}

.gallery-category-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.gallery-category-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #212529;
}

.gallery-category-title a {
    color: #212529;
    text-decoration: none;
    transition: color 0.3s ease;
}

.gallery-category-title a:hover {
    color: #0d6efd;
}

.gallery-category-count {
    font-size: 0.9rem;
    color: #6c757d;
}

/* Gallery Card */
.gallery-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

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

.gallery-card-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.gallery-image-link {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16/9;
}

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

.gallery-image-link:hover .gallery-image {
    transform: scale(1.1);
}

.gallery-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-image-link:hover .gallery-image-overlay {
    opacity: 1;
}

.gallery-overlay-content {
    text-align: center;
    color: #fff;
}

.gallery-overlay-content i {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 0.5rem;
}

.gallery-overlay-content span {
    font-size: 1rem;
    font-weight: 500;
}

.gallery-image-placeholder {
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-image-placeholder i {
    font-size: 4rem;
    color: #dee2e6;
}

.gallery-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.gallery-meta {
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-image-count {
    color: #6c757d;
    font-size: 0.9rem;
}

/* Gallery Show Page */
.gallery-show-page {
    padding: 2rem 0;
}

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

.gallery-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #212529;
}

.gallery-meta-info {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    color: #6c757d;
    font-size: 1rem;
}

.gallery-meta-info span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Responsive Gallery Styles */
@media (max-width: 991.98px) {
    .gallery-page,
    .gallery-category-page {
        padding: 2rem 0;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .gallery-title {
        font-size: 2rem;
    }
}

@media (max-width: 767.98px) {
    .gallery-category-content,
    .gallery-content {
        padding: 1rem;
    }
    
    .gallery-category-title {
        font-size: 1.1rem;
    }
    
    .gallery-overlay-content i {
        font-size: 2rem;
    }
    
    .gallery-meta-info {
        gap: 1rem;
        font-size: 0.9rem;
    }
    
    .gallery-title {
        font-size: 1.75rem;
    }
}

/* Gallery Page Grid (Index Page) */
.gallery-page-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.gallery-page-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: default;
    aspect-ratio: 1;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #f8f9fa;
}

.gallery-page-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.gallery-page-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
    display: block;
    cursor: pointer;
    background: #f8f9fa;
}

.gallery-page-item:hover .gallery-page-image {
    transform: none;
}

.gallery-page-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.3) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.gallery-page-item:hover::after {
    opacity: 1;
}

/* Gallery Show Page Grid */
.gallery-show-page .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.gallery-show-page .gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    aspect-ratio: 1;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #f8f9fa;
}

.gallery-show-page .gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.gallery-show-page .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-show-page .gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-show-page .gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.3) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.gallery-show-page .gallery-item:hover::after {
    opacity: 1;
}

/* ImageBox Styles */
.imagebox-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

.imagebox-overlay.active {
    display: flex;
}

.imagebox-container {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.imagebox-image {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.imagebox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, transform 0.2s ease;
    z-index: 10000;
    backdrop-filter: blur(10px);
}

.imagebox-nav:hover {
    background: rgba(255, 255, 255, 0.3);
}

.imagebox-nav:active {
    transform: translateY(-50%) scale(0.95);
}

.imagebox-nav.prev {
    left: 20px;
}

.imagebox-nav.next {
    right: 20px;
}

.imagebox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, transform 0.2s ease;
    z-index: 10000;
    backdrop-filter: blur(10px);
}

.imagebox-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.imagebox-close:active {
    transform: scale(0.95);
}

.imagebox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    background: rgba(0, 0, 0, 0.6);
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 1rem;
    backdrop-filter: blur(10px);
}

@media (max-width: 575.98px) {
    .gallery-page,
    .gallery-category-page,
    .gallery-show-page {
        padding: 1.5rem 0;
    }
    
    .page-title,
    .gallery-title {
        font-size: 1.5rem;
    }
    
    .page-description {
        font-size: 1rem;
    }
    
    .gallery-category-image-overlay i {
        font-size: 2rem;
    }
    
    .gallery-overlay-content i {
        font-size: 1.5rem;
    }
    
    .gallery-show-page .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
}

/* Gallery Page Grid Responsive */
@media (max-width: 991.98px) {
    .gallery-page-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
    }
}

@media (max-width: 767.98px) {
    .gallery-page-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .gallery-show-page .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 1rem;
    }
    
    .imagebox-nav {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
    
    .imagebox-nav.prev {
        left: 10px;
    }
    
    .imagebox-nav.next {
        right: 10px;
    }
    
    .imagebox-close {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
        top: 10px;
        right: 10px;
    }
    
    .imagebox-container {
        max-width: 100vw;
        max-height: 100vh;
    }
    
    .imagebox-image {
        max-height: 100vh;
    }
    
    .imagebox-counter {
        bottom: 10px;
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}

/* ============================================
   Homepage Gallery Section Styles
   ============================================ */

.gallery-section {
    padding: 3rem 0;
}

.gallery-slider-wrapper {
    position: relative;
    padding: 0 50px;
}

.gallery-item-home {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 1;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item-home:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.gallery-item-link-home {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

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

.gallery-item-home:hover .gallery-image-home {
    transform: scale(1.1);
}

.gallery-overlay-home {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item-home:hover .gallery-overlay-home {
    opacity: 1;
}

.gallery-overlay-home i {
    color: #fff;
    font-size: 2rem;
}

.gallerySwiper .swiper-button-next,
.gallerySwiper .swiper-button-prev {
    color: #0d6efd;
    background: rgba(255, 255, 255, 0.9);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.gallerySwiper .swiper-button-next:after,
.gallerySwiper .swiper-button-prev:after {
    font-size: 18px;
    font-weight: bold;
}

.gallerySwiper .swiper-pagination-bullet {
    background: #0d6efd;
}

.gallerySwiper .swiper-pagination-bullet-active {
    background: #0d6efd;
}

@media (max-width: 767.98px) {
    .gallery-slider-wrapper {
        padding: 0 30px;
    }
    
    .gallerySwiper .swiper-button-next,
    .gallerySwiper .swiper-button-prev {
        width: 30px;
        height: 30px;
    }
    
    .gallerySwiper .swiper-button-next:after,
    .gallerySwiper .swiper-button-prev:after {
        font-size: 14px;
    }
    
    .gallery-overlay-home i {
        font-size: 1.5rem;
    }
}

/* ============================================
   PROJECT PAGES STYLES
   ============================================ */

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

@media (min-width: 1200px) {
    .projects-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1199.98px) and (min-width: 992px) {
    .projects-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991.98px) and (min-width: 768px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767.98px) {
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Project Card */
.project-card {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project-card:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
    transform: translateY(-8px);
}

.project-card-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project-image-link {
    display: block;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    flex-shrink: 0;
    height: 220px;
    width: 100%;
    min-height: 220px;
}

.project-image-link::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.project-card:hover .project-image-link::after {
    opacity: 1;
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
    aspect-ratio: 16 / 9;
}

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

.project-image-placeholder {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.project-image-placeholder i {
    font-size: 3rem;
    opacity: 0.5;
}

.project-image-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.project-image-overlay i {
    color: var(--primary-color);
    font-size: 1.25rem;
}

.project-card:hover .project-image-overlay {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.project-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.75rem;
}

.project-category-badge {
    margin-bottom: 0.5rem;
}

.project-category-badge .badge {
    font-size: 0.75rem;
    padding: 0.375rem 0.75rem;
    font-weight: 500;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.project-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
    color: var(--text-color);
    line-height: 1.4;
    min-height: 3.5rem;
    display: flex;
    align-items: flex-start;
}

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

.project-title a:hover,
.project-title a:focus {
    color: var(--primary-color);
    text-decoration: none;
}

.project-description {
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.6;
    flex: 1;
    margin: 0;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.project-tags .badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    font-weight: 400;
}

.project-footer {
    margin-top: auto;
    padding-top: 1rem;
}

.project-footer .btn {
    font-weight: 600;
    padding: 0.625rem 1.25rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.project-footer .btn:hover {
    transform: translateX(4px);
}

/* Project Detail Page */
.project-detail-page {
    background: #ffffff;
}

.project-header {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.5rem;
}

.project-detail-page .project-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.project-meta {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.project-main-image {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.project-main-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.project-detail-page .project-description {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-color);
}

.project-detail-page .project-description h1,
.project-detail-page .project-description h2,
.project-detail-page .project-description h3,
.project-detail-page .project-description h4,
.project-detail-page .project-description h5,
.project-detail-page .project-description h6 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--text-color);
}

.project-detail-page .project-description p {
    margin-bottom: 1rem;
}

.project-detail-page .project-description ul,
.project-detail-page .project-description ol {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.project-detail-page .project-description img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1rem 0;
}

.project-gallery {
    margin-top: 2rem;
}

.project-gallery .gallery-item-link {
    display: block;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.project-gallery .gallery-item-link:hover {
    transform: scale(1.05);
}

.project-gallery img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Related Projects */
.related-projects {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.related-project-item {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}

.related-project-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.related-project-image {
    width: 100px;
    height: 75px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.related-project-placeholder {
    width: 100px;
    height: 75px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    flex-shrink: 0;
}

.related-project-content h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
}

.related-project-content .badge {
    font-size: 0.7rem;
    margin-top: 0.25rem;
}

/* Project Categories Sidebar */
.project-categories-sidebar {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 12px;
}

.project-categories-sidebar ul {
    margin: 0;
}

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

.project-categories-sidebar li:last-child {
    border-bottom: none;
}

.project-categories-sidebar a {
    color: var(--text-color);
    transition: color 0.3s ease;
}

.project-categories-sidebar a:hover {
    color: var(--primary-color);
}

/* Category Page */
.category-header {
    margin-bottom: 3rem;
}

.category-image {
    margin-bottom: 2rem;
}

.category-image img {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    border-radius: 12px;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .project-detail-page .project-title {
        font-size: 1.75rem;
    }
    
    .projects-grid {
        gap: 1.5rem;
    }
}

@media (max-width: 767.98px) {
    .project-detail-page .project-title {
        font-size: 1.5rem;
    }
    
    .project-main-image {
        margin-bottom: 1.5rem;
    }
    
    .related-projects,
    .project-categories-sidebar {
        margin-bottom: 1.5rem;
    }
}
