/* ==================== VARIABLES & ROOT STYLING ==================== */
:root {
    /* Green + white branding */
    --primary-color: #1fa463; /* main green */
    --secondary-color: #0f6b3f; /* darker green */
    --accent-color: #a8e6c1; /* pale green accent */
    --dark-color: #0f1f13; /* near-black for text */
    --light-color: #ffffff;
    --text-color: #16321f;
    --border-color: #e6f4ea;
    --success-color: #28a745;
    --warning-color: #f0b429;
    --danger-color: #e55353;
    --shadow-sm: 0 2px 8px rgba(10, 40, 20, 0.06);
    --shadow-md: 0 8px 24px rgba(10, 40, 20, 0.09);
    --shadow-lg: 0 16px 48px rgba(10, 40, 20, 0.12);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==================== GLOBAL STYLES ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: #fff;
}

/* ==================== TYPOGRAPHY ==================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    font-family: 'Raleway', sans-serif;
    letter-spacing: -0.5px;
}

.section-title {
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #999;
    font-weight: 300;
}

/* ==================== NAVBAR STYLING ==================== */
.navbar-custom {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.navbar-brand {
    font-size: 1.5rem;
    color: #fff !important;
    letter-spacing: -0.5px;
}

.navbar-brand i {
    margin-right: 8px;
    font-size: 1.8rem;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 500;
    margin: 0 8px;
    position: relative;
    transition: var(--transition);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #fff;
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 100%;
}

.navbar-nav .nav-link:hover {
    color: #fff !important;
}

/* ==================== HERO SECTION ==================== */
.hero-section {
    /* Background image with gradient overlay for readability. Replace URL with your local image if desired. */
    /* reduced overlay alpha so hero photo appears clearer */
    background-image: linear-gradient(135deg, rgba(12, 12, 12, 0.35), rgba(13, 13, 14, 0.35)), url('../images/hero-image.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    color: white;
    position: relative;
    overflow: hidden;
    margin-top: 70px;
}

/* Decorative floating shapes remain behind content */
.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
    z-index: 0;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite reverse;
    z-index: 0;
}

/* Ensure container contents sit above the background/decoration */
.hero-section .container,
.hero-section .hero-image,
.hero-section .animate-fade-in,
.hero-section .animate-slide-in {
    position: relative;
    z-index: 2;
}

/* Hero image inside the right column */
.hero-image {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 320px;
}

.hero-img {
    max-width: 520px;
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: transform 0.6s ease, box-shadow 0.3s ease;
}

.hero-img:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: var(--shadow-lg);
}

.hero-icon {
    font-size: 8rem;
    color: rgba(255, 255, 255, 0.15);
    animation: bounce 3s ease-in-out infinite;
}

.hero-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 400px;
    position: relative;
    z-index: 1;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(30px); }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-30px); }
}

/* ==================== ANIMATIONS ==================== */
.animate-fade-in {
    animation: fadeInUp 1s ease-out;
}

.animate-slide-in {
    animation: slideInRight 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ==================== BUTTONS ==================== */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border: none;
    font-weight: 600;
    padding: 12px 32px;
    border-radius: 50px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(31, 164, 99, 0.35);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(31, 164, 99, 0.55);
    color: #fff;
    border-color: transparent;
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    padding: 12px 32px;
    transition: var(--transition);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    color: white;
    transform: translateY(-3px);
}

/* ==================== CARDS ==================== */
.card-custom {
    border: none;
    border-radius: 15px;
    background: #fff;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    overflow: hidden;
}

.card-custom:hover {
    box-shadow: var(--shadow-lg);
}

.card-custom .card-body {
    padding: 2rem 1.5rem;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    margin: 0 auto;
}

.hover-lift {
    transition: var(--transition);
}

.hover-lift:hover {
    transform: translateY(-10px);
}

/* ==================== SERVICE CARDS ==================== */
.service-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.service-card:hover {
    border-color: transparent;
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.service-card h5 {
    margin: 1rem 0;
    color: var(--dark-color);
}

/* ==================== LIGHTBOX MODAL ==================== */
.lightbox-content {
    background: linear-gradient(135deg, var(--dark-color) 0%, #1a2a22 100%);
    border: none;
}

.lightbox-header {
    background: rgba(15, 34, 22, 0.95);
    border-bottom: 2px solid var(--primary-color);
    padding: 1.5rem;
}

.lightbox-header .modal-title {
    color: white;
    font-weight: 700;
    font-size: 1.5rem;
}

.lightbox-body {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.lightbox-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 12px;
    overflow: hidden;
    min-height: 500px;
    gap: 1rem;
}

.lightbox-image-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.lightbox-image {
    max-width: 100%;
    max-height: 600px;
    width: auto;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    animation: zoomIn 0.5s ease;
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(31, 164, 99, 0.85);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    z-index: 10;
}

.lightbox-nav:hover {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 25px rgba(31, 164, 99, 0.55);
}

.lightbox-prev {
    left: 1rem;
}

.lightbox-next {
    right: 1rem;
}

.lightbox-info {
    background: rgba(31, 164, 99, 0.1);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.lightbox-info h3 {
    color: white;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.lightbox-info p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.lightbox-thumbnails {
    margin-top: 1rem;
}

.thumbnails-container {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding: 1rem 0;
    scroll-behavior: smooth;
}

.lightbox-thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.lightbox-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.lightbox-thumbnail:hover {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.lightbox-thumbnail.active {
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(31, 164, 99, 0.5);
}

.lightbox-thumbnail:hover img {
    transform: scale(1.1);
}

/* Fullscreen modal adjustments */
.modal-fullscreen .modal-body {
    overflow-y: auto;
    background: linear-gradient(135deg, var(--dark-color) 0%, #1a2a22 100%);
}

/* Close button styling */
.btn-close-white {
    filter: brightness(0) invert(1);
}

.btn-close-white:hover {
    filter: brightness(0) invert(1) drop-shadow(0 0 5px rgba(31, 164, 99, 0.6));
}

@media (max-width: 768px) {
    .lightbox-container {
        min-height: 350px;
    }

    .lightbox-image {
        max-height: 400px;
    }

    .lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .lightbox-body {
        padding: 1rem;
    }

    .lightbox-info h3 {
        font-size: 1.2rem;
    }
}

/* ==================== GALLERY FILTERS ==================== */
.gallery-filters {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.filter-btn {
    padding: 10px 20px;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.95rem;
}

.filter-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(31, 164, 99, 0.35);
}

/* ==================== GALLERY GRID ==================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    animation: fadeIn 0.6s ease;
}

.gallery-item {
    opacity: 1;
    animation: scaleIn 0.4s ease;
}

.gallery-item.hidden {
    display: none;
    opacity: 0;
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.gallery-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    aspect-ratio: 4 / 3;
    cursor: pointer;
    transition: var(--transition);
}

.gallery-image-wrapper:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-image-wrapper:hover .gallery-img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(31, 164, 99, 0.85), rgba(15, 107, 63, 0.85));
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-image-wrapper:hover .gallery-overlay {
    opacity: 1;
}

.overlay-content {
    width: 100%;
}

.overlay-content h5 {
    color: white;
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
}

.overlay-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    margin-bottom: 0;
}

.overlay-content .btn {
    background: white;
    color: var(--primary-color);
    border: none;
    font-weight: 600;
    transition: var(--transition);
}

.overlay-content .btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* ==================== PORTFOLIO CARDS (Legacy - kept for reference) ==================== */
.portfolio-card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    background: white;
}

.portfolio-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-lg);
}

.portfolio-image {
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.portfolio-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0);
    transition: background 0.3s ease;
}

.portfolio-card:hover .portfolio-image::after {
    background: rgba(0, 0, 0, 0.2);
}

.portfolio-content {
    padding: 1.5rem;
}

.portfolio-content h5 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

/* ==================== STATS SECTION ==================== */
.stats-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.stat-box {
    padding: 2rem;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 500;
    opacity: 0.9;
    margin-top: 0.5rem;
}

/* ==================== SKILL BARS ==================== */
.skill-bar {
    margin-bottom: 2rem;
}

.skill-name {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark-color);
}

.progress {
    height: 8px;
    border-radius: 10px;
    background-color: #e0e0e0;
    overflow: hidden;
}

.progress-bar {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
}

/* ==================== CONTACT CARDS ==================== */
.contact-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 2px solid var(--border-color);
}

.contact-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
    margin: 0 auto 1.5rem;
}

.contact-card h5 {
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.contact-card p {
    color: #666;
}

.contact-card a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.contact-card a:hover {
    color: var(--secondary-color);
}

/* ==================== CONTACT FORM ==================== */
.contact-form .form-control,
.contact-form .form-select {
    border: 2px solid var(--border-color);
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 1rem;
    transition: var(--transition);
    background: white;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.contact-form textarea::placeholder,
.contact-form input::placeholder {
    color: #999;
}

/* ==================== FOOTER ==================== */
.footer {
    background: linear-gradient(135deg, var(--dark-color) 0%, #2a2a2a 100%);
    color: #ddd;
    margin-top: 5rem;
}

.footer h5,
.footer h6 {
    color: white;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #999;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.2rem;
}

.social-link:hover {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    transform: translateY(-5px);
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-form input {
    flex: 1;
    padding: 10px 15px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transition: var(--transition);
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.15);
}

/* ==================== MODAL STYLING ==================== */
.modal-content {
    border: none;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
}

.modal-header {
    border-bottom: 2px solid var(--border-color);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
}

.modal-header .btn-close {
    filter: brightness(0) invert(1);
}

.modal-title {
    font-weight: 700;
}

/* ==================== SCROLLBAR STYLING ==================== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .hero-section {
        padding: 2rem 0;
    }

    .hero-icon {
        font-size: 4rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .navbar-nav .nav-link {
        margin: 0.5rem 0;
    }

    .service-card {
        padding: 1.5rem;
    }

    .contact-form {
        padding: 1rem;
    }

    .footer {
        text-align: center;
    }

    .footer-links {
        margin-bottom: 2rem;
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 1.5rem;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-section .lead {
        font-size: 1rem;
    }

    .hero-image {
        height: 250px;
    }

    .stat-box {
        padding: 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .d-flex.gap-3 {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .contact-card {
        padding: 1.5rem;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
    }
}

/* ==================== UTILITIES ==================== */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shadow-custom {
    box-shadow: var(--shadow-lg);
}

/* ==================== TESTIMONIALS SECTION ==================== */
.testimonial-card {
    background: #fff;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-left: 4px solid var(--primary-color);
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.testimonial-stars {
    color: var(--warning-color);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    letter-spacing: 4px;
}

.testimonial-text {
    font-style: italic;
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 0.95rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
}

.testimonial-author h6 {
    margin: 0 0 4px 0;
    font-size: 1rem;
    color: var(--text-color);
}

.testimonial-author p {
    margin: 0;
    font-size: 0.85rem;
    color: #999;
}

/* ==================== TEAM SECTION ==================== */
.team-card {
    border-radius: 15px;
    overflow: hidden;
    background: #fff;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.team-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
}

.team-member-image {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.member-placeholder {
    font-size: 4rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.2);
    text-align: center;
    letter-spacing: 2px;
}

.member-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.team-card:hover .member-overlay {
    opacity: 1;
}

.social-team-links {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.social-team-links a {
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
}

.social-team-links a:hover {
    background: var(--secondary-color);
    transform: scale(1.1);
}

.team-member-info {
    padding: 1.5rem;
    text-align: center;
}

.team-member-info h5 {
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.member-role {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.member-bio {
    color: #999;
    font-size: 0.85rem;
    margin: 0;
}

/* ==================== BEFORE/AFTER SLIDER ==================== */
.comparison-slider {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 600 / 400;
    width: 100%;
    cursor: ew-resize;
}

.comparison-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.comparison-img-1 {
    z-index: 1;
}

.comparison-img-2 {
    z-index: 2;
    clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
}

.comparison-img img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.comparison-label {
    position: absolute;
    top: 15px;
    padding: 8px 16px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 2px;
    border-radius: 5px;
    z-index: 10;
}

.comparison-label.before {
    left: 15px;
}

.comparison-label.after {
    right: 15px;
}

.slider-handle {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    cursor: ew-resize;
    opacity: 0;
    z-index: 11;
    -webkit-appearance: none;
    appearance: none;
}

.slider-handle::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 60px;
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    cursor: ew-resize;
    box-shadow: 0 0 20px rgba(31, 164, 99, 0.5);
}

.slider-handle::-moz-range-thumb {
    width: 60px;
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    cursor: ew-resize;
    border: none;
    border-radius: 0;
    box-shadow: 0 0 20px rgba(31, 164, 99, 0.5);
}

.slider-handle::-moz-range-track {
    background: transparent;
    border: none;
}

/* ==================== ACCESSIBILITY ==================== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
