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

:root {
    --primary-green: #4a7c2e;
    --light-green: #7cb342;
    --accent-green: #9ccc65;
    --dark-green: #2e5016;
    --cream: #fafaf5;
    --light-gray: #f5f5f0;
}

body {
    font-family: 'Georgia', serif;
    line-height: 1.7;
    color: #333;
    background: var(--cream);
}

/* Header Styles */
header {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 60px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

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

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-family: 'Arial', sans-serif;
    font-size: 0.95rem;
    transition: color 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--light-green);
    transition: width 0.3s;
}

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

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

.estimate-button {
    background: var(--light-green);
    color: white;
    padding: 0.9rem 2.2rem;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(124, 179, 66, 0.3);
    font-family: 'Arial', sans-serif;
}

.estimate-button:hover {
    background: var(--primary-green);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124, 179, 66, 0.4);
}

/* Hero Section - Unique Style */
.hero {
    background: var(--dark-green);
    color: white;
    padding: 140px 5% 80px;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: -20%;
    width: 60%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 600"><path fill="%234a7c2e" opacity="0.3" d="M0,200 Q200,100 400,200 T800,200 L800,600 L0,600 Z"/><path fill="%237cb342" opacity="0.2" d="M0,300 Q200,200 400,300 T800,300 L800,600 L0,600 Z"/></svg>');
    background-size: cover;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-family: 'Arial Black', sans-serif;
}

.hero-text p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    font-family: 'Arial', sans-serif;
}

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

.btn-primary {
    background: white;
    color: var(--dark-green);
    padding: 1.2rem 2.8rem;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s;
    display: inline-block;
    font-family: 'Arial', sans-serif;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.btn-secondary {
    background: transparent;
    color: white;
    padding: 1.2rem 2.8rem;
    text-decoration: none;
    border: 2px solid white;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s;
    font-family: 'Arial', sans-serif;
}

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

.hero-image {
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

/* Unified Carousel System */
.unified-carousel {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    background: var(--light-gray);
}

.unified-carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.unified-carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.unified-carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.unified-carousel-slide.active {
    opacity: 1;
}

.unified-carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.unified-carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 2rem 1.5rem 1rem;
    text-align: center;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
}

.unified-carousel-slide:hover .unified-carousel-caption {
    transform: translateY(0);
}

.unified-carousel-caption p {
    margin: 0;
    font-size: 1rem;
    font-weight: 500;
}

.unified-carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.unified-carousel:hover .unified-carousel-nav {
    opacity: 1;
}

.unified-carousel-btn {
    background: rgba(255,255,255,0.9);
    color: var(--dark-green);
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    font-size: 1.3rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.unified-carousel-btn:hover {
    background: var(--light-green);
    color: white;
    transform: scale(1.1);
}

.unified-carousel-btn:active {
    transform: scale(0.95);
}

.unified-carousel-indicators {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.unified-carousel:hover .unified-carousel-indicators {
    opacity: 1;
}

.unified-carousel-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid white;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.unified-carousel-indicator.active {
    background: var(--light-green);
    border-color: var(--light-green);
    transform: scale(1.2);
}

.unified-carousel-indicator:hover {
    background: rgba(255,255,255,0.7);
    transform: scale(1.1);
}

.unified-carousel-counter {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

/* Features Section */
.features {
    padding: 100px 5%;
    background: white;
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    right: 0;
    height: 100px;
    background: white;
    transform: skewY(-2deg);
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
}

.features-header {
    text-align: center;
    margin-bottom: 60px;
}

.features-header h2 {
    font-size: 3rem;
    color: var(--dark-green);
    margin-bottom: 1rem;
    font-family: 'Arial Black', sans-serif;
}

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

.feature-card {
    text-align: center;
    padding: 2rem;
    background: var(--light-gray);
    border-radius: 20px;
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.feature-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--light-green), var(--accent-green));
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 3rem;
    color: white;
    transform: rotate(-5deg);
    transition: transform 0.3s;
}

.feature-card:hover .feature-icon {
    transform: rotate(0deg);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark-green);
    font-family: 'Arial', sans-serif;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* Services Preview Section */
.services-preview {
    padding: 100px 5%;
    background: var(--cream);
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 3rem;
    color: var(--dark-green);
    margin-bottom: 1rem;
    font-family: 'Arial Black', sans-serif;
}

.services-showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.service-showcase {
    background: white;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.service-showcase:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.service-image-placeholder {
    height: 300px;
    background: linear-gradient(135deg, var(--light-green), var(--accent-green));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    overflow: hidden;
    border-radius: 15px;
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

.service-info {
    padding: 2.5rem;
}

.service-info h3 {
    font-size: 2rem;
    color: var(--dark-green);
    margin-bottom: 1rem;
    font-family: 'Arial', sans-serif;
}

.service-info p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.service-link {
    color: var(--light-green);
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s;
}

.service-link:hover {
    gap: 1rem;
}

/* Gallery Preview */
.gallery-preview {
    padding: 100px 5%;
    background: white;
}

/* Testimonials Section */
.testimonials {
    padding: 100px 5%;
    background: var(--cream);
}

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

.testimonial-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    position: relative;
    transition: transform 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 25px;
    font-size: 4rem;
    color: var(--light-green);
    opacity: 0.3;
    font-family: Georgia, serif;
}

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

.stars {
    color: #ffd700;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--light-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
}

.author-info h4 {
    color: var(--dark-green);
    margin-bottom: 0.2rem;
}

.author-info p {
    color: #999;
    font-size: 0.9rem;
}

/* Guarantee Cards Section */
.why-choose-guarantees {
    padding: 100px 5%;
    background: var(--light-gray);
}

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

.guarantee-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.guarantee-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--light-green), var(--primary-green));
    transform: scaleX(0);
    transition: transform 0.3s;
}

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

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

.guarantee-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
    transition: transform 0.3s;
}

.guarantee-card:hover .guarantee-icon {
    transform: scale(1.1) rotate(5deg);
}

.guarantee-card h3 {
    font-size: 1.5rem;
    color: var(--dark-green);
    margin-bottom: 1rem;
    font-family: 'Arial Black', sans-serif;
}

.guarantee-card p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.guarantee-badge {
    display: inline-block;
    background: var(--light-green);
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.gallery-item {
    position: relative;
    height: 300px;
    background: var(--light-gray);
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 20px;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 2rem;
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--dark-green), var(--primary-green));
    color: white;
    padding: 80px 5%;
    text-align: center;
    position: relative;
    overflow: hidden;
}

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

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-20px, -20px) scale(1.1); }
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.cta-section h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-family: 'Arial Black', sans-serif;
}

.cta-section p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

/* Footer */
footer {
    background: #1a1a1a;
    color: white;
    padding: 60px 5% 30px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand h3 {
    font-size: 2rem;
    color: var(--accent-green);
    margin-bottom: 1rem;
    font-family: 'Arial Black', sans-serif;
}

.footer-section h4 {
    margin-bottom: 1.5rem;
    color: var(--light-green);
    font-size: 1.2rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--accent-green);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    color: #888;
}

/* Page Styles */
.page-hero {
    background: linear-gradient(135deg, var(--dark-green), var(--primary-green));
    color: white;
    padding: 120px 5% 60px;
    margin-top: 80px;
    text-align: center;
}

.page-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-family: 'Arial Black', sans-serif;
}

.page-content {
    padding: 80px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Services Page Specific */
.service-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 5rem;
    align-items: center;
}

.service-detail:nth-child(even) {
    grid-template-columns: 1fr 1fr;
}

.service-detail:nth-child(even) .service-content {
    order: 2;
}

.service-detail:nth-child(even) .service-visual {
    order: 1;
}

.service-content h2 {
    font-size: 2.5rem;
    color: var(--dark-green);
    margin-bottom: 1.5rem;
    font-family: 'Arial', sans-serif;
}

.service-content p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

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

.service-features li {
    padding: 0.8rem 0;
    padding-left: 2rem;
    position: relative;
    color: #555;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--light-green);
    font-weight: bold;
    font-size: 1.2rem;
}

.service-visual {
    height: 400px;
    background: var(--light-gray);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 1.2rem;
    overflow: hidden;
}

.service-detail-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

/* Quote Form */
.quote-form {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    max-width: 800px;
    margin: 0 auto;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--dark-green);
    font-weight: bold;
    font-size: 1.1rem;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--light-green);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.property-size-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1rem;
}

.size-option {
    padding: 1.5rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.size-option:hover {
    border-color: var(--light-green);
    background: var(--light-gray);
}

.size-option.selected {
    border-color: var(--light-green);
    background: var(--light-green);
    color: white;
}

.size-option h4 {
    margin-bottom: 0.5rem;
}

.form-submit {
    background: var(--light-green);
    color: white;
    padding: 1.2rem 3rem;
    border: none;
    border-radius: 30px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    display: block;
    margin: 2rem auto 0;
}

.form-submit:hover {
    background: var(--primary-green);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(124, 179, 66, 0.3);
}

/* Service Area Map */
.service-map {
    background: var(--light-gray);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    margin-top: 3rem;
}

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

.area-item {
    background: white;
    padding: 1rem;
    border-radius: 10px;
    font-size: 1.1rem;
    color: var(--dark-green);
}

/* About Page */
.about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 5rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    color: var(--dark-green);
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-image {
    height: 400px;
    background: var(--light-gray);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}

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

.value-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

/* ==================== IMAGE CAROUSEL SYSTEM ==================== */

.image-carousel {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    background: #f8f8f8;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 3rem 2rem 1.5rem;
    text-align: center;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
}

.carousel-slide:hover .carousel-caption {
    transform: translateY(0);
}

.carousel-caption p {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 500;
}

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

.carousel-btn {
    background: rgba(255,255,255,0.9);
    color: var(--dark-green);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.carousel-btn:hover {
    background: var(--light-green);
    color: white;
    transform: scale(1.1);
}

.carousel-btn:active {
    transform: scale(0.95);
}

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid white;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.indicator.active {
    background: var(--light-green);
    border-color: var(--light-green);
    transform: scale(1.2);
}

.indicator:hover {
    background: rgba(255,255,255,0.7);
    transform: scale(1.1);
}

.carousel-counter {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

/* Service Visual Integration */
.service-visual .image-carousel {
    margin: 0;
    max-width: 100%;
}

.service-detail .image-carousel {
    height: 450px;
}

.service-detail .carousel-container {
    height: 100%;
}

/* Responsive Design for Carousel */
@media (max-width: 768px) {
    .image-carousel {
        max-width: 100%;
        border-radius: 10px;
    }
    
    .carousel-container {
        height: 300px;
    }
    
    .service-detail .image-carousel {
        height: 300px;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .carousel-nav {
        padding: 0 0.5rem;
    }
    
    .carousel-caption {
        padding: 2rem 1rem 1rem;
    }
    
    .carousel-caption p {
        font-size: 1rem;
    }
    
    .carousel-counter {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
}

/* Animation Effects */
@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(-100%);
        opacity: 0;
    }
}

.carousel-slide.entering {
    animation: slideIn 0.5s ease-in-out;
}

.carousel-slide.exiting {
    animation: slideOut 0.5s ease-in-out;
}

/* Hover Effects for Carousel */
.image-carousel:hover .carousel-btn {
    opacity: 1;
    transform: scale(1.05);
}

.image-carousel:hover .carousel-indicators {
    opacity: 1;
}

/* Loading State */
.carousel-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
    background: #f5f5f5;
    color: #999;
    font-size: 1.2rem;
}

/* Accessibility Improvements */
.carousel-btn:focus {
    outline: 3px solid var(--light-green);
    outline-offset: 2px;
}

.indicator:focus {
    outline: 2px solid var(--light-green);
    outline-offset: 2px;
}

/* Touch Device Support */
@media (hover: none) {
    .carousel-caption {
        transform: translateY(0);
        background: linear-gradient(transparent, rgba(0,0,0,0.9));
    }
    
    .carousel-btn {
        opacity: 1;
    }
    
    .carousel-indicators {
        opacity: 1;
    }
}

/* ==================== END CAROUSEL SYSTEM ==================== */

/* Responsive Design */
@media (max-width: 1024px) {
    .services-showcase {
        grid-template-columns: 1fr;
    }
    
    .values-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

/* Hide pages initially */
.page {
    display: none;
}

.page.active {
    display: block;
}

/* Work Showcase Grid */
.work-showcase-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.work-hero {
    display: flex;
    align-items: center;
    gap: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.work-hero:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.work-hero:nth-child(even) {
    flex-direction: row-reverse;
}

.work-hero-image {
    flex: 1;
    max-width: 50%;
}

.work-hero-image .hero-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.work-hero-content {
    flex: 1;
    padding: 2rem;
}

.work-hero-content h3 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 600;
}

.work-hero-content p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.work-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.work-features li {
    padding: 0.5rem 0;
    color: #555;
    position: relative;
    padding-left: 1.5rem;
}

.work-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #27ae60;
    font-weight: bold;
}

.work-hero .btn-secondary {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.work-hero .btn-secondary:hover {
    background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 73, 94, 0.3);
}

/* Responsive Design for Work Showcase */
@media (max-width: 768px) {
    .work-hero {
        flex-direction: column !important;
        gap: 0;
    }
    
    .work-hero-image {
        max-width: 100%;
        order: 1;
    }
    
    .work-hero-content {
        order: 2;
        padding: 1.5rem;
    }
    
    .work-hero-image .hero-image {
        height: 250px;
    }
    
    .work-hero-content h3 {
        font-size: 1.5rem;
    }
    
    .work-hero-content p {
        font-size: 1rem;
    }
} 