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

:root {
    /* Dalmat Brand Colors - Based on Business Card */
    --primary-green: #7cb518;
    --dark-green: #5a8a11;
    --light-green: #9dd634;
    --accent-green: #c4e547;
    --dark-gray: #2d2d2d;
    --medium-gray: #555555;
    --light-gray: #f8f9fa;
    --white: #ffffff;
    
    /* Typography - System fonts for faster loading */
    --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    --font-size-base: 16px;
    --line-height-base: 1.6;
    
    /* Spacing */
    --container-max-width: 1200px;
    --section-padding: 80px 0;
    --element-spacing: 2rem;
    
    /* Transitions */
    --transition-base: all 0.3s ease;
    --transition-fast: all 0.2s ease;
    --header-height: 90px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    color: var(--dark-gray);
    background-color: var(--white);
    padding-top: var(--header-height); /* Prevent content from hiding under fixed header */
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

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

h1 {
    font-size: 3.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--medium-gray);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    text-align: center;
    transition: var(--transition-base);
    cursor: pointer;
    font-size: 1rem;
    min-height: 48px;
    min-width: 48px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(124, 181, 24, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(124, 181, 24, 0.4);
}

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

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(124, 181, 24, 0.1);
}

.navbar {
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-green);
}

.logo i {
    font-size: 1.8rem;
}

.tagline {
    color: var(--medium-gray);
    font-size: 0.9rem;
    font-weight: 400;
}

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

/* Mobile menu hidden by default on small screens; becomes dropdown */
@media (max-width: 968px) {
    .nav-menu {
        position: absolute;
        top: var(--header-height);
        right: 0;
        flex-direction: column;
        background: #fff;
        width: 220px;
        padding: 1rem 1.2rem;
        box-shadow: 0 10px 25px rgba(0,0,0,0.08);
        border: 1px solid rgba(0,0,0,0.05);
        border-radius: 0 0 10px 10px;
        display: none;
        animation: fadeSlideDown 0.3s ease forwards;
    }
    .nav-menu.active {
        display: flex;
    }
    @keyframes fadeSlideDown {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 500;
    transition: var(--transition-fast);
    position: relative;
}

.nav-menu a:hover {
    color: var(--primary-green);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-green);
    transition: var(--transition-fast);
}

.nav-menu a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    padding: 12px;
    min-width: 48px;
    min-height: 48px;
    justify-content: center;
    align-items: center;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-green);
    transition: var(--transition-fast);
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f8fffe 0%, #f0f9ec 100%);
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
}

.hero-text h2 {
    color: var(--primary-green);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.hero-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

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

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.business-card {
    background: linear-gradient(135deg, var(--dark-gray), #1a1a1a);
    color: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: var(--transition-base);
    max-width: 350px;
}

.business-card:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
}

.logo-section i {
    color: var(--primary-green);
    font-size: 2rem;
}

.des-logo {
    width: 60px;
    height: auto;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
}

.company-name {
    color: var(--primary-green);
    font-size: 1.8rem;
    font-weight: 700;
}

.business-card h3 {
    margin-bottom: 1.5rem;
    color: var(--white);
}

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

.services-list span {
    background: var(--primary-green);
    color: var(--white);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Sections */
.section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--dark-gray);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-green);
}

/* Services Section */
.services {
    padding: var(--section-padding);
    background: var(--white);
}

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

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: var(--transition-base);
    border: 1px solid rgba(124, 181, 24, 0.1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(124, 181, 24, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.service-icon i {
    font-size: 2rem;
    color: var(--white);
    display: inline-block;
    line-height: 1;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.service-card h3 {
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

/* About Section */
.about {
    padding: var(--section-padding);
    background: var(--light-gray);
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

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

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

.feature i {
    color: var(--primary-green);
    font-size: 1.2rem;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat {
    text-align: center;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.stat h3 {
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 0.5rem;
}

.stat p {
    color: var(--medium-gray);
    font-weight: 500;
}

/* Reviews Section */
.reviews {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.review-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary-color);
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.stars {
    display: flex;
    gap: 5px;
    margin-bottom: 20px;
}

.stars i {
    color: #ffc107;
    font-size: 18px;
}

.review-card p {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
    font-style: italic;
}

.reviewer {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.reviewer strong {
    color: var(--text-dark);
    font-size: 16px;
    font-weight: 600;
}

.reviewer span {
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 500;
}

/* Contact Section */
.contact {
    padding: var(--section-padding);
    background: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

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

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    color: var(--white);
    font-size: 1.2rem;
}

.contact-details h3 {
    margin-bottom: 0.5rem;
    color: var(--dark-gray);
}

.contact-details p {
    margin: 0;
    color: var(--medium-gray);
}

/* Contact Form */
.contact-form {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 15px;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition-fast);
    background: var(--white);
    min-height: 48px;
}

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

.form-group textarea {
    resize: vertical;
    font-family: inherit;
}

/* Footer */
.footer {
    background: var(--dark-gray);
    color: var(--white);
    padding: 2.5rem 0 1.5rem;
}

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

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-green);
}

.footer-logo i {
    font-size: 1.5rem;
}

.footer-tagline {
    color: #e0e0e0;
    margin: 0;
    font-size: 0.95rem;
}

.footer-info {
    text-align: right;
}

.footer-info p {
    margin: 0 0 0.25rem 0;
    color: #f0f0f0;
    font-size: 0.95rem;
}

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

.footer-bottom {
    padding-top: 1.25rem;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    color: #d0d0d0;
    font-size: 0.9rem;
}

.footer-bottom a {
    color: var(--light-green);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.footer-bottom a:hover {
    color: var(--accent-green);
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-image {
        order: -1;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-info {
        text-align: center;
    }
    
    .business-card {
        transform: none;
        max-width: 100%;
    }
    
    .about-stats {
        flex-direction: row;
    }
    
    .hero-buttons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 250px;
    }
}

/* --- Enhanced Responsive Refinements --- */
/* Slightly narrower large screens */
@media (max-width: 1400px) {
    h1 { font-size: 3.2rem; }
}

@media (max-width: 1200px) {
    h1 { font-size: 3rem; }
    h2 { font-size: 2.2rem; }
    .hero-content { gap: 3rem; }
    .about-content { gap: 3rem; }
}

@media (max-width: 1100px) {
    .services-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
    .business-card { transform: none; }
    .about-stats { flex-direction: row; flex-wrap: wrap; justify-content: center; }
    .about-stats .stat { flex: 1 1 140px; }
}

@media (max-width: 900px) {
    h1 { font-size: 2.6rem; }
    h2 { font-size: 2rem; }
    .hero-content { grid-template-columns: 1fr; }
    .hero-text { text-align: center; }
    .hero-buttons { justify-content: center; }
    .hero-image { order: -1; margin-bottom: 1rem; }
    .about-content { grid-template-columns: 1fr; }
    .contact-content { grid-template-columns: 1fr; }
    .footer-content { 
        flex-direction: column; 
        gap: 1.5rem; 
        text-align: center; 
        align-items: center;
    }
    .footer-brand {
        align-items: center;
    }
    .footer-logo {
        justify-content: center;
    }
    .footer-info { 
        text-align: center; 
    }
    .footer-bottom p {
        padding: 0 1rem;
    }
}

@media (max-width: 768px) {
    .nav-brand span.tagline { display: none; }
    .logo { font-size: 1.3rem; }
    .service-card { padding: 1.6rem; }
    .service-icon { width: 70px; height: 70px; }
    .service-icon i { font-size: 1.6rem; }
    .about-stats { gap: 1rem; }
    .stat h3 { font-size: 2.1rem; }
    .contact-form { padding: 1.5rem; }
}

@media (max-width: 640px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.75rem; }
    p { font-size: 0.95rem; }
    .hero { padding: 90px 0 50px; }
    .business-card { padding: 1.4rem; }
    .business-card h3 { font-size: 1.1rem; }
    .services { padding: 60px 0; }
    .about { padding: 60px 0; }
    .contact { padding: 60px 0; }
}

@media (max-width: 540px) {
    .services-grid { grid-template-columns: 1fr; }
    .about-stats .stat { flex: 1 1 calc(50% - 1rem); }
    .hero-buttons .btn { padding: 12px 20px; }
}

@media (max-width: 480px) {
    .about-stats { flex-direction: row; flex-wrap: wrap; }
    .about-stats .stat { flex: 1 1 45%; padding: 1rem; }
    .stat h3 { font-size: 1.8rem; }
    .service-card { padding: 1.4rem; }
    .contact-item { margin-bottom: 1.5rem; }
    .logo { gap: 6px; }
}

@media (max-width: 400px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    .hero-buttons { flex-direction: column; }
    .stat h3 { font-size: 1.6rem; }
    .btn { padding: 10px 18px; }
}

@media (max-width: 360px) {
    h1 { font-size: 1.85rem; }
    .business-card { padding: 1.1rem; }
    .service-card { padding: 1.2rem; }
    .contact-form { padding: 1.2rem; }
}

/* Utility for images/logos scaling */
.logo-img, .des-logo { max-width: 120px; height: auto; }
@media (max-width: 480px) { .logo-img, .des-logo { max-width: 100px; } }
@media (max-width: 360px) { .logo-img, .des-logo { max-width: 90px; } }

/* Ensure no horizontal scroll */
body { overflow-x: hidden; }
.container { width: 100%; }

/* Prevent large words from breaking layout */
h1, h2, h3, p { word-wrap: break-word; overflow-wrap: anywhere; }

/* ===== Projects / Recent Work Section ===== */
.projects {
    padding: 70px 0 60px;
    background: var(--white);
    position: relative;
    /* Constrain overall section height for desktop */
    max-height: 540px; /* within requested 400-550 range */
    overflow: hidden; /* Hide overflow beyond the curated height */
}

.projects-intro {
    max-width: 750px;
    margin: -1.5rem auto 3rem;
    text-align: center;
    color: var(--medium-gray);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.1rem;
    align-content: start;
}

.project-item {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    background: #f3f5f2;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
    transition: transform .4s ease, box-shadow .4s ease;
}

.project-item picture,
.project-item img { display: block; width: 100%; height: 100%; }

.project-item img {
    object-fit: cover;
    width: 100%;
    height: 190px; /* Uniform thumbnail height */
    filter: saturate(1.05) contrast(1.02);
    transition: transform 0.6s ease, filter 0.6s ease;
}
.projects.more-visible { max-height: none; overflow: visible; }

/* Optional gradient fade to indicate more content hidden */
.projects::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 70px;
    background: linear-gradient(to top, rgba(255,255,255,1), rgba(255,255,255,0));
    pointer-events: none;
}

/* Reduce fade on small devices where full height allowed */
@media (max-width: 820px) {
    .projects { max-height: none; }
    .projects::after { display: none; }
    .project-item img { height: 180px; }
}

@media (max-width: 600px) {
    .project-item img { height: 170px; }
}

@media (max-width: 480px) {
    .project-item img { height: 160px; }
}

@media (max-width: 380px) {
    .project-item img { height: 150px; }
}

.project-item figcaption {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: .65rem 1rem;
    background: linear-gradient(to top, rgba(0,0,0,0.65), rgba(0,0,0,0));
    color: #fff;
    font-size: .9rem;
    letter-spacing: .5px;
    font-weight: 500;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity .4s ease, transform .4s ease;
    pointer-events: none;
}

.project-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.project-item:hover img { transform: scale(1.08); filter: saturate(1.15) contrast(1.05); }
.project-item:hover figcaption { opacity: 1; transform: translateY(0); }

/* Accessible focus style */
.project-item:focus-within { outline: 3px solid var(--primary-green); outline-offset: 3px; }
.project-item a { position: static; display: block; }

@media (max-width: 900px) { .projects { padding: 70px 0; } }
@media (max-width: 640px) { .projects { padding: 60px 0; } }
@media (max-width: 480px) { .projects-grid { gap: 1rem; } }


/* Loading Animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.appear {
    opacity: 1;
    transform: translateY(0);
}

/* Success Message */
.success-message {
    background: var(--primary-green);
    color: var(--white);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    display: none;
}

.error-message {
    background: #dc3545;
    color: var(--white);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    display: none;
}

/* Reviews Carousel Enhancements */
.reviews-carousel {
    position: relative;
    max-width: 800px;
    margin: 50px auto 0;
    overflow: hidden;
}

.carousel-track {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 260px; /* Reserve space to reduce layout shift */
    transition: height 0.4s ease;
}

.review-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateX(30px);
    transition: opacity 0.6s ease, transform 0.6s ease, visibility 0s linear 0.6s;
}

.review-slide.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Prevent potential legacy grid from displaying if still in DOM (defensive) */
.reviews-grid { display: none !important; }

/* Fallback for no-JS: if JS disabled, show first slide only */
noscript .review-slide { position: static; opacity: 1; visibility: visible; transform: none; }

/* Keep original card styling but ensure width adjusts */
.review-slide .review-card {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.carousel-controls {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    pointer-events: none;
}

.carousel-controls button {
    background: rgba(0,0,0,0.4);
    color: #fff;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
    transition: background 0.3s ease;
}

.carousel-controls button:hover {
    background: rgba(0,0,0,0.6);
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 25px;
}

.carousel-indicators .indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #d1d5db;
    border: none;
    cursor: pointer;
    position: relative;
    transition: background 0.3s ease, transform 0.3s ease;
}

.carousel-indicators .indicator.active {
    background: var(--primary-green);
    transform: scale(1.2);
}

.reviews-carousel:focus-within .carousel-controls button,
.reviews-carousel:hover .carousel-controls button {
    opacity: 1;
}

@media (max-width: 768px) {
    .carousel-controls button {
        width: 38px;
        height: 38px;
        font-size: 1.2rem;
    }
    .review-slide .review-card {
        padding: 25px;
    }
}

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

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

.skip-link:focus {
    top: 0;
}