/* ------------------- */
/* --- CSS Reset & Variables --- */
/* ------------------- */
:root {
    --color-primary-dark: #004d40; /* Deep Emerald */
    --color-primary-light: #008080; /* Soft Teal */
    --color-secondary-gray: #5d5d5d; /* Warm Slate */
    --color-accent-gold: #d4af37;
    --color-background: #fdfdfd;
    --color-text: #333;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Raleway', sans-serif;
    --transition-fast: 0.3s ease;
    --transition-slow: 0.6s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-background);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Accessibility: Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Custom Scrollbar */
body::-webkit-scrollbar {
    width: 8px;
}
body::-webkit-scrollbar-track {
    background: #f1f1f1;
}
body::-webkit-scrollbar-thumb {
    background: var(--color-primary-light);
    border-radius: 4px;
}
body::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary-dark);
}

/* ------------------- */
/* --- Global Styles & Utilities --- */
/* ------------------- */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

h1, h2, h3 {
    font-family: var(--font-heading);
    color: var(--color-primary-dark);
    font-weight: 700;
    letter-spacing: 0.5px;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); line-height: 1.1; }
h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 2rem; }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background-color: var(--color-accent-gold);
    color: var(--color-primary-dark);
    border: 2px solid var(--color-accent-gold);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-primary-dark);
    transform: translateX(-100%);
    transition: transform var(--transition-fast);
    z-index: -1;
}

.btn-primary:hover {
    color: white;
}

.btn-primary:hover::before {
    transform: translateX(0);
}

/* Touch feedback for mobile devices */
@media (hover: none) and (pointer: coarse) {
    .btn:active {
        transform: scale(0.97);
    }
    .main-nav a:active {
        opacity: 0.7;
    }
}

.section-divider {
    position: relative;
    height: 100px;
    overflow: hidden;
}

.section-divider::before {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-background);
    clip-path: url(#wave);
}

/* Scroll-triggered animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}
.fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ------------------- */
/* --- Header & Navigation --- */
/* ------------------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    background-color: rgba(0, 77, 64, 0.7); /* Added background color for initial load */
    transition: background-color var(--transition-fast), padding var(--transition-fast);
}

.site-header.scrolled {
    background-color: rgba(0, 77, 64, 0.9);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
}

@keyframes slideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 95%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: white;
    text-decoration: none;
    font-weight: 700;
}

.site-header.scrolled .logo { color: white; }

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

.main-nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent-gold);
    transition: width var(--transition-fast);
}

.main-nav a:hover::after, .main-nav a.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: white;
    transition: all 0.3s ease-in-out;
}

/* ------------------- */
/* --- Hero Section --- */
/* ------------------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
    padding: 8rem 0 4rem;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/hero_background.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* Parallax effect */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    z-index: -2;
}

#particle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    animation: fadeIn 1.5s ease-out;
}

.hero h1 {
    color: white;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}

.hero p {
    font-size: 1.25rem;
    margin: 1.5rem 0 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

/* ------------------- */
/* --- Services Section --- */
/* ------------------- */
.services-section {
    padding: 6rem 0;
    background-color: var(--color-background);
}

.services-section .container {
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr; /* Mobile first: single column */
    gap: 1.5rem;
    margin-top: 4rem;
    text-align: left;
}

.service-card {
    background: white;
    padding: 2rem 1.5rem; /* Reduced padding */
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    border-bottom: 4px solid transparent;
    border-image: linear-gradient(to right, var(--color-primary-light), var(--color-accent-gold)) 1;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.service-icon {
    margin-bottom: 1.5rem;
    color: var(--color-primary-dark);
}

.service-card h3 {
    margin-bottom: 1rem;
}

/* ------------------- */
/* --- Testimonials Section --- */
/* ------------------- */
.testimonials-section {
    padding: 6rem 0;
    background-color: #f4f8f7;
    position: relative;
}

.testimonials-section .container {
    position: relative;
    z-index: 2;
}

.testimonial-carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 15px;
}

.testimonial-slider {
    display: flex;
    transition: transform var(--transition-slow);
}

.testimonial-slide {
    flex: 0 0 100%;
    background: white;
    padding: 3rem;
    text-align: center;
}

.testimonial-quote {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--color-secondary-gray);
}

.testimonial-author {
    font-weight: 700;
    color: var(--color-primary-dark);
}

/* ------------------- */
/* --- Featured Projects Section --- */
/* ------------------- */
.projects-section {
    padding: 6rem 0;
}

.projects-section .container {
    text-align: center;
}

.project-grid {
    margin-top: 4rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.project-item {
    flex: 1 1 100%; /* Mobile first: full width */
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.project-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

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

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    padding: 3rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

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

.project-overlay h4 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

/* ------------------- */
/* --- Footer --- */
/* ------------------- */
.site-footer {
    background-color: var(--color-primary-dark);
    color: rgba(255, 255, 255, 0.8);
    padding-top: 5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    padding-bottom: 4rem;
}

.footer-column h4 {
    color: white;
    font-family: var(--font-heading);
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 40px;
    height: 2px;
    background-color: var(--color-accent-gold);
}

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

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

.footer-column a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-column a:hover {
    color: var(--color-accent-gold);
}

.social-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.social-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: color var(--transition-fast);
}

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

.social-links svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

#form-result {
    margin-top: 1rem;
    color: white;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-form input, .footer-form textarea {
    width: 100%;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    color: white;
    margin-bottom: 1rem;
}

.footer-form input::placeholder, .footer-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.btn-footer {
    background: var(--color-accent-gold);
    color: var(--color-primary-dark);
    border: none;
    width: 100%;
    padding: 0.75rem;
    cursor: pointer;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    padding: 1.5rem 0;
    font-size: 0.9rem;
}

/* Enhanced Footer Styles */
.site-footer { padding-top: 3rem; }
.footer-content { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; padding-bottom: 2rem; }
.footer-about p { margin-bottom: 0.75rem; line-height: 1.6; font-size: 0.9rem; }
.footer-certifications { display: flex; gap: 0.6rem; margin-top: 0.75rem; flex-wrap: wrap; }
.cert-badge {
    background: rgba(212, 175, 55, 0.15); color: var(--color-accent-gold);
    padding: 0.3rem 0.7rem; border-radius: 20px; font-size: 0.7rem;
    font-weight: 600; border: 1px solid rgba(212, 175, 55, 0.3);
}
.footer-contact-list { list-style: none; }
.footer-contact-list li { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.75rem; font-size: 0.9rem; }
.footer-icon { width: 18px; height: 18px; fill: var(--color-accent-gold); flex-shrink: 0; }
.footer-cta-buttons { display: flex; gap: 0.6rem; margin-top: 1rem; flex-wrap: wrap; }
.btn-footer-cta {
    display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.6rem 1rem;
    background: var(--color-accent-gold); color: var(--color-primary-dark);
    text-decoration: none; border-radius: 25px; font-weight: 600; font-size: 0.85rem;
    transition: all 0.3s ease; border: 2px solid var(--color-accent-gold);
}
.btn-footer-cta svg { width: 16px; height: 16px; fill: currentColor; }
.btn-footer-cta:hover { background: transparent; color: var(--color-accent-gold); transform: translateY(-2px); }
.btn-whatsapp { background: #25D366; border-color: #25D366; color: white; }
.btn-whatsapp:hover { background: transparent; color: #25D366; border-color: #25D366; }
.footer-bottom-wrapper {
    margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
}
.footer-social h5 { color: var(--color-accent-gold); font-family: var(--font-body);
    font-size: 0.85rem; font-weight: 600; margin-bottom: 0.6rem; }
.social-link {
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; background: rgba(255, 255, 255, 0.1);
    border-radius: 50%; transition: all 0.3s ease;
}
.social-link svg { width: 18px; height: 18px; fill: white; }
.social-link:hover { background: var(--color-accent-gold); transform: translateY(-3px); }
.footer-bottom { font-size: 0.8rem; }
.footer-bottom a { color: var(--color-accent-gold); text-decoration: none; }
.footer-bottom a:hover { text-decoration: underline; }

/* ------------------- */
/* --- Responsive Design --- */
/* ------------------- */

/* Tablet View */
@media (min-width: 600px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr); /* Two columns for tablets */
    }
    .project-item {
        flex-basis: calc(50% - 0.75rem); /* Two columns for tablets */
    }
}

/* Desktop View */
@media (min-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr); /* Four columns for desktop */
    }
    .project-item {
        flex-basis: calc(33.333% - 1rem); /* Three columns for desktop */
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background: var(--color-primary-dark);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transform: translateX(100%);
        transition: transform 0.4s ease-in-out;
        padding-top: 80px; /* Add space at top for mobile menu */
    }

    .main-nav.active {
        transform: translateX(0);
    }

    .main-nav ul {
        flex-direction: column;
        text-align: center;
        gap: 2.5rem;
    }

    .main-nav a {
        font-size: 1.5rem;
    }

    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

/* Mobile specific fix for hero background */
@media (max-width: 768px) {
    .hero-background {
        background-attachment: scroll; /* Disables parallax on mobile for better performance and look */
        background-size: cover;
        image-rendering: auto;
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        transform: translateZ(0);
        will-change: transform;
    }
}

/* ------------------- */
/* --- Contact Page Styles --- */
/* ------------------- */
.contact-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f4f8f7 0%, #fdfdfd 100%);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.contact-info {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 77, 64, 0.08);
}

.contact-info h3 {
    margin-bottom: 2rem;
    color: var(--color-primary-dark);
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e0e0e0;
}

.info-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.info-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-icon svg {
    width: 24px;
    height: 24px;
    fill: white;
}

.info-text h4 {
    color: var(--color-primary-dark);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.info-text p, .info-text a {
    color: var(--color-secondary-gray);
    text-decoration: none;
    line-height: 1.6;
}

.info-text a:hover {
    color: var(--color-accent-gold);
}

/* Contact Form Styles */
.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 77, 64, 0.08);
}

.contact-form h3 {
    margin-bottom: 2rem;
    color: var(--color-primary-dark);
}

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

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--color-primary-dark);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.95rem 1.2rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all var(--transition-fast);
    background: #f8f9fa;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary-light);
    background: white;
    box-shadow: 0 0 0 3px rgba(0, 128, 128, 0.1);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 3rem;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.form-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 0.2rem;
    cursor: pointer;
    accent-color: var(--color-primary-dark);
}

.form-checkbox label {
    font-weight: normal;
    font-size: 0.9rem;
    color: var(--color-secondary-gray);
    cursor: pointer;
    margin: 0;
}

#form-result {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
    display: none;
}

#form-result.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

#form-result.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Submit Button */
.contact-form .btn-primary {
    width: 100%;
    padding: 1.1rem 2.5rem;
    font-size: 1.05rem;
    margin-top: 0.5rem;
    cursor: pointer;
    border: none;
}

/* ------------------- */
/* --- Gallery Page Styles --- */
/* ------------------- */
.gallery-section {
    padding: 6rem 0;
    background-color: var(--color-background);
}

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

.gallery-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.gallery-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}

.gallery-item h4 {
    color: var(--color-primary-dark);
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin: 1.5rem 1.5rem 0.75rem;
}

.gallery-item p {
    color: var(--color-secondary-gray);
    padding: 0 1.5rem 1.5rem;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary-light));
    color: white;
    text-align: center;
    padding: 5rem 2rem;
}

.cta-section h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-section p {
    max-width: 600px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
    opacity: 0.95;
}

/* ------------------- */
/* --- Responsive Design for Contact & Gallery --- */
/* ------------------- */

/* Tablet */
@media (min-width: 600px) {
    .form-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Desktop */
@media (min-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr 1.5fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .gallery-item img {
        height: 320px;
    }
}

/* Mobile Enhancements */
@media (max-width: 768px) {
    .contact-section {
        padding: 3rem 0;
    }

    .contact-info,
    .contact-form {
        padding: 1.75rem;
    }

    .info-item {
        gap: 1rem;
    }

    .info-icon {
        width: 45px;
        height: 45px;
    }

    .info-icon svg {
        width: 22px;
        height: 22px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.85rem 1rem;
        font-size: 16px; /* Prevents zoom on iOS */
    }

    .gallery-item img {
        height: 220px;
    }

    .cta-section {
        padding: 3rem 1.5rem;
    }
}

/* ------------------- */
/* --- Services Page Styles --- */
/* ------------------- */
.services-detail-section {
    padding: 6rem 0;
    background-color: var(--color-background);
}

.service-item {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 5rem;
    align-items: center;
}

.service-item:last-child {
    margin-bottom: 0;
}

.service-item-text h3 {
    color: var(--color-primary-dark);
    margin-bottom: 1.5rem;
}

.service-item-text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: var(--color-secondary-gray);
}

.service-item-text ul {
    list-style: none;
    margin-bottom: 2rem;
}

.service-item-text ul li {
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    position: relative;
    color: var(--color-secondary-gray);
}

.service-item-text ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-accent-gold);
    font-weight: bold;
}

.service-item-image {
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 77, 64, 0.1);
}

.service-item-image img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    display: block;
}

/* ------------------- */
/* --- About Page Styles --- */
/* ------------------- */
.about-section {
    padding: 6rem 0;
    background-color: var(--color-background);
}

.about-grid {
    display: flex;
    flex-direction: column;
    gap: 5rem;
}

.about-item {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.about-item-text h3 {
    color: var(--color-primary-dark);
    margin-bottom: 1.5rem;
}

.about-item-text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: var(--color-secondary-gray);
}

.about-item-text ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.about-item-text ul li {
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    position: relative;
    color: var(--color-secondary-gray);
}

.about-item-text ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--color-accent-gold);
    font-weight: bold;
    font-size: 1.2rem;
}

.about-item-image {
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 77, 64, 0.1);
}

.about-item-image img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    display: block;
}

.about-item-image img.logo-image {
    max-height: 200px;
    object-fit: contain;
    padding: 2rem;
    background: white;
}

/* ------------------- */
/* --- Team Section --- */
/* ------------------- */
.team-section {
    padding: 6rem 0;
    background: #f4f8f7;
    text-align: center;
}

.team-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.team-member {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 77, 64, 0.08);
}

.team-member h4 {
    color: var(--color-primary-dark);
    margin-bottom: 0.5rem;
}

.team-member .role {
    color: var(--color-accent-gold);
    font-weight: 600;
    margin-bottom: 1rem;
    display: block;
}

.team-member p {
    color: var(--color-secondary-gray);
    line-height: 1.6;
}

/* ------------------- */
/* --- Responsive Design for Services & About --- */
/* ------------------- */

/* Tablet */
@media (min-width: 768px) {
    .service-item,
    .about-item {
        grid-template-columns: 1fr 1fr;
    }

    /* Alternate layout for visual interest */
    .service-item:nth-child(even) .service-item-image,
    .about-item:nth-child(even) .about-item-image {
        order: -1;
    }

    .service-item-image img,
    .about-item-image img {
        max-height: 450px;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Desktop */
@media (min-width: 992px) {
    .service-item,
    .about-item {
        grid-template-columns: 1.2fr 1fr;
    }

    .service-item-image img,
    .about-item-image img {
        max-height: 500px;
    }

    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Mobile Optimization */
@media (max-width: 767px) {
    .services-detail-section,
    .about-section {
        padding: 3rem 0;
    }

    .service-item,
    .about-item {
        margin-bottom: 3rem;
        gap: 2rem;
    }

    .service-item-image img,
    .about-item-image img {
        max-height: 250px;
    }

    .about-item-image img.logo-image {
        max-height: 150px;
        padding: 1.5rem;
    }

    .service-item-text h3,
    .about-item-text h3 {
        font-size: 1.5rem;
    }

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