/* SLEM Technologies - Modern Website Styles */

/* CSS Variables */
:root {
    /* Refined corporate palette */
    --primary-color: #2563eb; /* Indigo 600 */
    --primary-dark: #1e40af; /* Indigo 800 for hover/headers */
    --secondary-color: #0ea5e9; /* Cyan 500 for highlights */
    --accent-color: #f59e0b; /* Amber 500 for accents/alerts */
    --surface-muted: #f1f5f9; /* Slate 100 for subtle sections */
    --usd-accent: #22c55e; /* USD green accent */
    --text-dark: #0f172a; /* Slate 900 for headings */
    --text: #1e293b; /* Slate 800 body */
    --text-light: #64748b; /* Slate 500 */
    --bg-light: #f8fafc; /* Base background */
    --bg-white: #ffffff; /* Cards/Surfaces */
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --transition: all 0.3s ease;
    --navbar-height: 80px;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--bg-white);
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Navigation */
.navbar {
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    padding: 1rem 0;
    z-index: 1030;
}

/* Navbar on scroll */
.navbar.navbar-scrolled {
    padding: 0.5rem 0;
    box-shadow: var(--shadow-md);
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: saturate(180%) blur(8px);
    border-bottom: 1px solid var(--border-color);
}

.navbar-brand img {
    transition: var(--transition);
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    margin: 0 0.5rem;
    transition: var(--transition);
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    border-radius: 0.5rem;
    transition: var(--transition);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    border-radius: 0.5rem;
    transition: var(--transition);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Hero Section */
.hero-section {
    padding-top: 100px;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-white) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons {
    margin-bottom: 2rem;
}

.hero-stats {
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
}

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

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

.stat-label {
    font-size: 0.875rem;
    color: var(--text-light);
    margin: 0;
}

.hero-image {
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
}

/* Services Section */
.services-section {
    background-color: var(--surface-muted);
}

/* Highlight strip */
.highlight-strip {
    background: linear-gradient(90deg, var(--bg-light), #ecfdf5);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    box-shadow: var(--shadow-sm);
}

.badge-usd {
    background-color: var(--usd-accent);
    color: white;
    border-radius: 999px;
    padding: 0.25rem 0.75rem;
    font-weight: 600;
}

.service-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    height: 100%;
    border: 1px solid var(--border-color);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon i {
    font-size: 1.5rem;
    color: white;
}

.service-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    transition: var(--transition);
}

.service-link:hover {
    color: var(--primary-dark);
    transform: translateX(5px);
}

.service-link i {
    margin-left: 0.5rem;
    transition: var(--transition);
}

/* Process Section */
.process-section {
    background-color: var(--surface-muted);
}

.process-step {
    padding: 2rem 1rem;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.process-step h5 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.process-step p {
    color: var(--text-light);
    line-height: 1.6;
}

/* About Section */
.about-section {
    background-color: var(--bg-white);
}

.about-content h6 {
    margin-bottom: 1rem;
}

.about-features {
    margin: 2rem 0;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.feature-item i {
    margin-right: 1rem;
    font-size: 1.25rem;
}

.feature-item span {
    font-weight: 500;
    color: var(--text-dark);
}

.about-image img {
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
}

.cta-section p {
    font-size: 1.125rem;
    opacity: 0.9;
}

.btn-light {
    background-color: white;
    border-color: white;
    color: var(--primary-color);
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: 0.5rem;
    transition: var(--transition);
}

.btn-light:hover {
    background-color: var(--bg-light);
    border-color: var(--bg-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Footer */
.footer {
    background-color: var(--text-dark);
}

.footer-brand p {
    color: #94a3b8;
    line-height: 1.6;
}

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

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

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: var(--transition);
}

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

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

.social-link {
    width: 40px;
    height: 40px;
    background-color: #374151;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
}

.contact-info p {
    color: #94a3b8;
    margin-bottom: 0.75rem;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .hero-stats .col-4 {
        margin-bottom: 1.5rem;
    }
    
    .service-card {
        margin-bottom: 2rem;
    }
    
    .process-step {
        margin-bottom: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .navbar-brand img {
        height: 30px;
    }
}

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Utility Classes */
.text-primary {
    color: var(--primary-color) !important;
}

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

.bg-light {
    background-color: var(--surface-muted) !important;
}

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

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

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--navbar-height);
}

/* Focus States */
.btn:focus,
.nav-link:focus {
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    outline: none;
}

/* Loading States */
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Print Styles */
@media print {
    .navbar,
    .hero-buttons,
    .cta-section,
    .footer {
        display: none;
    }
    
    .hero-section {
        padding-top: 0;
        min-height: auto;
    }
    
    .service-card,
    .process-step {
        break-inside: avoid;
    }
}

/* Additional Page Styles */

/* Page Header */
.page-header {
    padding-top: calc(var(--navbar-height) + 40px);
    padding-bottom: 80px;
    scroll-margin-top: var(--navbar-height);
}

/* Apply safe top padding on non-home pages */
.has-fixed-navbar {
    padding-top: var(--navbar-height);
}

/* Case Study Cards */
.case-study-card {
    background: var(--bg-white);
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.case-study-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.case-study-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.case-study-meta {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.badge-tag {
    background: var(--bg-light);
    color: var(--primary-color);
    border: 1px solid var(--border-color);
    border-radius: 999px;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Product Cards */
.product-card {
    background: var(--bg-white);
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    overflow: hidden;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.product-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.feature-list {
    list-style: none;
    padding-left: 0;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

/* Job Cards */
.job-card {
    background: var(--bg-white);
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    height: 100%;
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.job-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    color: var(--text-light);
}

/* Blog Cards */
.blog-card {
    background: var(--bg-white);
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    overflow: hidden;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.blog-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

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

/* Contact Page Styles */
.contact-card {
    background: var(--bg-white);
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.contact-icon {
    color: var(--primary-color);
}

.contact-form-container {
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
}

.contact-form .form-control,
.contact-form .form-select {
    border-radius: 0.5rem;
    border: 1px solid var(--border-color);
    padding: 0.75rem 1rem;
    transition: var(--transition);
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.25);
}

.contact-method-card {
    background: var(--bg-white);
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.contact-method-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.method-icon {
    color: var(--primary-color);
}

/* FAQ Styles */
.accordion-item {
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.accordion-button {
    background-color: var(--bg-white);
    border: none;
    color: var(--text-dark);
    font-weight: 500;
    padding: 1rem 1.5rem;
}

.accordion-button:not(.collapsed) {
    background-color: var(--primary-color);
    color: white;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.25);
}

.accordion-body {
    padding: 1rem 1.5rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* About Page Styles */
.mission-card,
.vision-card {
    background: var(--bg-white);
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.mission-card:hover,
.vision-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.mission-icon,
.vision-icon {
    color: var(--primary-color);
}

.value-card {
    background: var(--bg-white);
    padding: 2rem 1.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.value-icon {
    color: var(--primary-color);
}

/* Timeline Styles */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 3rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 2px;
    height: 100%;
    background: var(--primary-color);
}

.timeline-marker {
    position: absolute;
    left: -1.5rem;
    top: 0;
    width: 3rem;
    height: 3rem;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
}

.timeline-content {
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.timeline-content h5 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: var(--text-light);
    margin: 0;
}

/* Alternating Timeline (About Page) */
.timeline-alt {
    position: relative;
    margin: 0 auto;
    max-width: 1100px;
}

.timeline-alt::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: var(--border-color);
    transform: translateX(-50%);
}

.timeline-item-alt {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 2rem;
    margin: 2.5rem 0;
}

.timeline-item-alt .timeline-badge {
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
    top: 50%;
    width: 56px;
    height: 56px;
    background: var(--bg-white);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.25rem;
    box-shadow: var(--shadow-sm);
}

.timeline-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    box-shadow: var(--shadow-md);
    padding: 1.5rem;
}

.timeline-card h5 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.timeline-card .year {
    color: var(--primary-color);
    font-weight: 700;
}

.timeline-item-alt.left .timeline-card { grid-column: 1 / 2; }
.timeline-item-alt.left .spacer { grid-column: 2 / 3; }
.timeline-item-alt.right .spacer { grid-column: 1 / 2; }
.timeline-item-alt.right .timeline-card { grid-column: 2 / 3; }

@media (max-width: 992px) {
    .timeline-alt::before { left: 12px; transform: none; }
    .timeline-item-alt {
        grid-template-columns: 1fr;
        padding-left: 2.5rem;
    }
    .timeline-item-alt .timeline-badge {
        left: 12px;
        top: 0;
        transform: translateY(-50%);
    }
    .timeline-item-alt .spacer { display: none; }
    .timeline-item-alt .timeline-card { grid-column: auto; }
}

/* Team Styles */
.team-card {
    background: var(--bg-white);
    padding: 2rem 1.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.team-image img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border: 4px solid var(--primary-color);
}

/* Founder section */
.founder-photo {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--primary-color);
}

@media (max-width: 768px) {
    .founder-photo {
        width: 150px;
        height: 150px;
    }
}

/* Services Page Styles */
.service-content h6 {
    margin-bottom: 1rem;
}

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

.service-features li {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    color: var(--text-light);
}

.service-features i {
    margin-right: 0.75rem;
    font-size: 1rem;
}

.tech-stack h6 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

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

.tech-tag {
    background: var(--bg-light);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid var(--border-color);
}

.process-card {
    background: var(--bg-white);
    padding: 2rem 1.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.process-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.process-icon {
    color: var(--primary-color);
}

/* Pricing Styles */
.pricing-card {
    background: var(--bg-white);
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
}

.pricing-header {
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
}

.pricing-header h5 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.pricing-features li {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    color: var(--text-light);
}

.pricing-features i {
    margin-right: 0.75rem;
    color: var(--primary-color);
}

/* Office Info Styles */
.office-info {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
}

.office-info h5 {
    color: var(--text-dark);
}

.office-info p {
    margin-bottom: 0.5rem;
}

.office-info i {
    color: var(--primary-color);
    width: 20px;
}

/* Portfolio Styles */
.portfolio-card {
    background: var(--bg-white);
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.portfolio-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

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

.portfolio-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

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

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(37, 99, 235, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

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

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

.portfolio-link {
    width: 40px;
    height: 40px;
    background: white;
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
}

.portfolio-link:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.portfolio-content h5 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.portfolio-content p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.6;
}

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

.tag {
    background: var(--bg-light);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid var(--border-color);
}

/* Filter Buttons */
.filter-buttons {
    margin-bottom: 2rem;
}

.filter-btn {
    border-radius: 2rem;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    transition: var(--transition);
}

.filter-btn.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* Testimonial Styles */
.testimonial-card {
    background: var(--bg-white);
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.testimonial-content p {
    color: var(--text-light);
    font-style: italic;
    line-height: 1.6;
}

.testimonial-author h6 {
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.testimonial-author p {
    color: var(--text-light);
    margin: 0;
    font-size: 0.875rem;
}

/* Stat Card Styles */
.stat-card {
    background: var(--bg-white);
    padding: 2rem 1.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stat-icon {
    color: var(--primary-color);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-light);
    font-weight: 500;
    margin: 0;
}
