@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;500;600;700&family=Merriweather:wght@300;400;700;900&display=swap');

:root {
    --primary-green: #51A424;
    --primary-blue: #235B8F;
    --light-green: #80C24B;
    --dark-grey: #333333;
    --muted-gold: #C1A67B;
    --off-white: #F9F9F9;
    --white: #ffffff;
    --font-heading: 'Merriweather', serif;
    --font-body: 'Lato', sans-serif;
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--dark-grey);
    background-color: var(--off-white);
    line-height: 1.6;
    overflow-x: hidden;
}

@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;
    }
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   HEADER STYLES
   ============================================ */

.top-bar {
    background-color: var(--dark-grey);
    color: var(--white);
    padding: 8px 0;
    font-size: 13px;
}

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

.top-bar-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar-info span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icons a {
    color: var(--white);
    transition: color var(--transition-fast);
}

.social-icons a:hover {
    color: var(--light-green);
}

.main-header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    position: relative;
    z-index: 1000;
    transition: all var(--transition-medium);
}

.main-header.sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    animation: slideDown 0.3s ease;
}

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

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    display: block;
    width: 160px;
    height: auto;
}

.logo img {
    width: 100%;
    height: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-menu a {
    font-size: 15px;
    font-weight: 500;
    color: var(--dark-grey);
    transition: color var(--transition-fast);
    position: relative;
}

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

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

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

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--dark-grey);
    transition: all var(--transition-medium);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   BUTTON STYLES
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 6px;
    cursor: pointer;
    transition: all var(--transition-medium);
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background-color: #44961f;
    border-color: #44961f;
    box-shadow: 0 4px 15px rgba(81, 164, 36, 0.3);
}

.btn-primary:active {
    transform: scale(0.98);
    background-color: #3a8619;
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-blue);
    border-color: var(--primary-blue);
}

.btn-secondary:hover {
    background-color: var(--primary-blue);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(35, 91, 143, 0.2);
}

/* ============================================
   HERO SECTIONS
   ============================================ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.5));
}

.hero-content {
    text-align: center;
    color: var(--white);
    padding: 20px;
    max-width: 900px;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.3s;
}

.hero-content h1 .gradient-text {
    background: linear-gradient(to right, var(--primary-green), var(--light-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.5s;
}

.hero-content .btn {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.7s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Page Hero (smaller) */

.page-hero {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.page-hero .hero-content h1 {
    font-size: 42px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.3s;
}

/* ============================================
   SECTION STYLES
   ============================================ */

section {
    padding: 80px 0;
}

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

.section-header h2 {
    font-size: 36px;
    color: var(--dark-grey);
    margin-bottom: 15px;
}

.section-header p {
    font-size: 18px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   PROBLEM/SOLUTION SECTION
   ============================================ */

.problem-solution {
    background-color: var(--dark-grey);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.problem-solution .hero-bg {
    opacity: 0.3;
}

.problem-solution .container {
    position: relative;
    z-index: 1;
}

.problem-solution-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.problem-statement h3 {
    font-size: 28px;
    color: var(--light-green);
    margin-bottom: 20px;
    opacity: 0;
    transform: translateX(-30px);
    animation: slideInLeft 0.6s ease forwards;
}

.problem-statement p {
    font-size: 17px;
    line-height: 1.8;
    opacity: 0;
    animation: fadeIn 0.6s ease forwards;
    animation-delay: 0.3s;
}

.solution-statement {
    background-color: rgba(81, 164, 36, 0.15);
    padding: 40px;
    border-radius: 12px;
    border-left: 4px solid var(--primary-green);
}

.solution-statement h3 {
    font-size: 28px;
    color: var(--primary-green);
    margin-bottom: 20px;
    opacity: 0;
    transform: translateX(30px);
    animation: slideInRight 0.6s ease forwards;
    animation-delay: 0.2s;
}

.solution-statement p {
    font-size: 17px;
    line-height: 1.8;
    opacity: 0;
    animation: fadeIn 0.6s ease forwards;
    animation-delay: 0.4s;
}

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* ============================================
   SERVICES GRID
   ============================================ */

.services-overview {
    background-color: var(--off-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    padding: 35px 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: all var(--transition-medium);
    opacity: 0;
    transform: translateY(30px);
}

.service-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.service-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon svg {
    width: 50px;
    height: 50px;
    stroke: var(--primary-green);
    fill: none;
    stroke-width: 1.5;
}

.service-card h3 {
    font-size: 20px;
    color: var(--dark-grey);
    margin-bottom: 12px;
}

.service-card p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
}

/* ============================================
   WHY GREEN HERO
   ============================================ */

.why-green-hero {
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

.why-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.why-hero-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease;
}

.why-hero-image.visible {
    opacity: 1;
    transform: translateX(0);
}

.why-hero-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.why-hero-content {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease;
    transition-delay: 0.2s;
}

.why-hero-content.visible {
    opacity: 1;
    transform: translateX(0);
}

.why-hero-content h2 {
    font-size: 36px;
    color: var(--dark-grey);
    margin-bottom: 25px;
}

.why-hero-content ul {
    margin-top: 25px;
}

.why-hero-content li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.6;
}

.why-hero-content li::before {
    content: '';
    width: 24px;
    height: 24px;
    min-width: 24px;
    background-color: var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: 14px;
    background-repeat: no-repeat;
    background-position: center;
}

/* ============================================
   TESTIMONIALS
   ============================================ */

.testimonials {
    background-color: var(--off-white);
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/testimonial_bg.png');
    background-size: cover;
    background-position: center;
    opacity: 0.05;
    pointer-events: none;
}

.testimonial-slider {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 20px 0;
    scrollbar-width: none;
}

.testimonial-slider::-webkit-scrollbar {
    display: none;
}

.testimonial-card {
    flex: 0 0 calc(33.333% - 20px);
    min-width: 300px;
    background-color: var(--white);
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    scroll-snap-align: start;
    transition: all var(--transition-medium);
}

.testimonial-card:hover {
    transform: translateY(-5px) rotateX(2deg);
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}

.testimonial-card .quote-icon {
    font-size: 40px;
    color: var(--primary-green);
    line-height: 1;
    margin-bottom: 15px;
}

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

.testimonial-card .client-name {
    font-weight: 600;
    color: var(--dark-grey);
}

/* ============================================
   PROCESS STEPS
   ============================================ */

.process {
    background-color: var(--white);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(to right, var(--primary-green), var(--light-green));
    opacity: 0.3;
}

.process-step {
    text-align: center;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s ease;
}

.process-step.visible {
    opacity: 1;
    transform: translateY(0);
}

.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-green), var(--light-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--white);
    position: relative;
    z-index: 1;
}

.process-step h3 {
    font-size: 20px;
    color: var(--dark-grey);
    margin-bottom: 12px;
}

.process-step p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
}

/* ============================================
   CTA STRIP
   ============================================ */

.cta-strip {
    position: relative;
    padding: 100px 0;
    background-image: url('../images/call_to_action_bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.cta-strip::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(35, 91, 143, 0.85), rgba(81, 164, 36, 0.75));
}

.cta-strip .container {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
}

.cta-strip h2 {
    font-size: 38px;
    margin-bottom: 15px;
}

.cta-strip p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* ============================================
   GALLERY GRID
   ============================================ */

.gallery-preview {
    background-color: var(--off-white);
}

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

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    aspect-ratio: 1;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity var(--transition-medium);
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-item-overlay span {
    color: var(--white);
    font-weight: 500;
}

/* ============================================
   FAQ SECTION
   ============================================ */

.faq {
    background-color: var(--white);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #eee;
    margin-bottom: 10px;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 20px 0;
    font-family: var(--font-body);
    font-size: 17px;
    font-weight: 600;
    color: var(--dark-grey);
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: '+';
    font-size: 24px;
    color: var(--primary-green);
    transition: transform var(--transition-fast);
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-medium);
}

.faq-answer p {
    padding-bottom: 20px;
    font-size: 15px;
    color: #666;
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact-cta {
    background-color: var(--off-white);
    text-align: center;
}

.contact-cta h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.contact-info a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    color: var(--primary-blue);
    transition: color var(--transition-fast);
}

.contact-info a:hover {
    color: var(--primary-green);
}

/* ============================================
   SERVICES PAGE
   ============================================ */

.services-intro {
    background-color: var(--white);
    text-align: center;
    padding: 60px 0;
}

.services-intro p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.8;
    color: #555;
}

.service-detail {
    padding: 80px 0;
}

.service-detail:nth-child(even) {
    background-color: var(--off-white);
}

.service-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.service-detail-grid.reversed {
    direction: rtl;
}

.service-detail-grid.reversed > * {
    direction: ltr;
}

.service-detail-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.service-detail-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.service-detail-content h2 {
    font-size: 32px;
    color: var(--dark-grey);
    margin-bottom: 20px;
}

.service-detail-content ul {
    margin: 20px 0;
}

.service-detail-content li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    font-size: 16px;
}

.service-detail-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: bold;
}

.service-detail-content > p {
    font-size: 16px;
    color: #555;
    line-height: 1.7;
}

/* Before After */

.before-after {
    background-color: var(--off-white);
}

.comparison-slider {
    position: relative;
    max-width: 900px;
    margin: 40px auto 0;
    border-radius: 12px;
    overflow: hidden;
}

.comparison-slider img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.comparison-before,
.comparison-after {
    position: absolute;
    top: 0;
    height: 100%;
    overflow: hidden;
}

.comparison-before {
    left: 0;
    width: 50%;
    border-right: 3px solid var(--white);
}

.comparison-after {
    right: 0;
    width: 50%;
}

.comparison-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background-color: var(--white);
    border-radius: 50%;
    cursor: ew-resize;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.comparison-handle::before,
.comparison-handle::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 0;
    height: 0;
    border-style: solid;
}

.comparison-handle::before {
    left: -30px;
    border-width: 8px 10px 8px 0;
    border-color: transparent var(--white) transparent transparent;
}

.comparison-handle::after {
    right: -30px;
    border-width: 8px 0 8px 10px;
    border-color: transparent transparent transparent var(--white);
}

/* ============================================
   ABOUT PAGE
   ============================================ */

.about-story {
    background-color: var(--white);
    padding: 80px 0;
}

.about-story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-story-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.about-story-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.about-story-content h2 {
    font-size: 36px;
    color: var(--dark-grey);
    margin-bottom: 20px;
}

.about-story-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
}

/* Values */

.about-values {
    background-color: var(--off-white);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.value-card {
    background-color: var(--white);
    padding: 35px 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s ease;
}

.value-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.value-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-green), var(--light-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-icon svg {
    width: 30px;
    height: 30px;
    stroke: var(--white);
    fill: none;
    stroke-width: 2;
}

.value-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--dark-grey);
}

.value-card p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
}

/* Team */

.about-team {
    background-color: var(--white);
}

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

.team-card {
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all var(--transition-medium);
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.team-card-image {
    height: 280px;
    overflow: hidden;
}

.team-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(20%);
    transition: filter var(--transition-medium);
}

.team-card:hover .team-card-image img {
    filter: grayscale(0%);
}

.team-card-info {
    padding: 25px;
    text-align: center;
}

.team-card-info h3 {
    font-size: 20px;
    color: var(--dark-grey);
    margin-bottom: 5px;
}

.team-card-info .role {
    font-size: 14px;
    color: var(--primary-green);
    font-weight: 600;
    margin-bottom: 10px;
}

.team-card-info p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

/* Quality Commitment */

.quality-commitment {
    background-color: var(--dark-grey);
    color: var(--white);
    text-align: center;
    padding: 80px 0;
}

.quality-commitment h2 {
    font-size: 36px;
    margin-bottom: 20px;
    background: linear-gradient(to right, var(--primary-green), var(--light-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.quality-commitment p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
    opacity: 0.9;
}

/* ============================================
   GALLERY PAGE
   ============================================ */

.gallery-intro {
    background-color: var(--white);
    text-align: center;
    padding: 40px 0;
}

.gallery-intro p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 17px;
    color: #555;
    line-height: 1.7;
}

.gallery-full-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    padding: 0 20px 60px;
}

.gallery-full-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.gallery-full-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery-full-item:hover img {
    transform: scale(1.08);
}

.gallery-full-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    display: flex;
    align-items: flex-end;
    padding: 25px;
    opacity: 0;
    transition: opacity var(--transition-medium);
}

.gallery-full-item:hover .gallery-full-item-overlay {
    opacity: 1;
}

.gallery-testimonial {
    background-image: url('../images/testimonial_bg_2.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    padding: 80px 0;
}

.gallery-testimonial::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(35, 91, 143, 0.9);
}

.gallery-testimonial .container {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
}

.gallery-testimonial blockquote {
    font-size: 26px;
    font-family: var(--font-heading);
    font-style: italic;
    max-width: 800px;
    margin: 0 auto 20px;
    line-height: 1.6;
}

.gallery-testimonial cite {
    font-size: 16px;
    font-style: normal;
    opacity: 0.9;
}

/* Lightbox */

.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.95);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-medium);
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    transform: scale(0.9);
    transition: transform var(--transition-medium);
}

.lightbox.active img {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: var(--white);
    cursor: pointer;
    background: none;
    border: none;
}

/* ============================================
   CONTACT PAGE
   ============================================ */

.contact-hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 60vh;
}

.contact-details {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-details h1 {
    font-size: 36px;
    margin-bottom: 30px;
}

.contact-detail-item {
    margin-bottom: 25px;
}

.contact-detail-item h4 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.8;
    margin-bottom: 8px;
}

.contact-detail-item p,
.contact-detail-item a {
    font-size: 18px;
    color: var(--white);
    transition: opacity var(--transition-fast);
}

.contact-detail-item a:hover {
    opacity: 0.8;
}

.contact-map {
    position: relative;
    overflow: hidden;
}

.contact-map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(35, 91, 143, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition-fast);
}

.contact-map:hover .contact-map-overlay {
    background: rgba(35, 91, 143, 0.1);
}

.contact-map-overlay span {
    background-color: var(--primary-green);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
}

/* Contact Form */

.contact-form-section {
    background-color: var(--off-white);
    padding: 80px 0;
}

.contact-form-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-info-block h3 {
    font-size: 28px;
    color: var(--dark-grey);
    margin-bottom: 25px;
}

.contact-info-list {
    margin-bottom: 30px;
}

.contact-info-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 16px;
    color: #555;
}

.contact-info-list li svg {
    width: 22px;
    height: 22px;
    min-width: 22px;
    stroke: var(--primary-green);
    fill: none;
    stroke-width: 2;
    margin-top: 2px;
}

.contact-form {
    background-color: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--dark-grey);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--font-body);
    font-size: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    transition: border-color var(--transition-fast);
    background-color: var(--white);
}

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

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

.contact-form .btn {
    width: 100%;
}

/* Contact FAQ */

.contact-faq {
    background-color: var(--white);
    padding: 60px 0;
}

.contact-faq h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
}

/* Social Connect */

.social-connect {
    background-color: var(--dark-grey);
    color: var(--white);
    text-align: center;
    padding: 60px 0;
}

.social-connect h2 {
    font-size: 28px;
    margin-bottom: 30px;
}

.social-icons-large {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-icons-large a {
    width: 60px;
    height: 60px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-medium);
}

.social-icons-large a:hover {
    background-color: var(--primary-green);
    transform: translateY(-5px);
}

.social-icons-large svg {
    width: 26px;
    height: 26px;
    fill: var(--white);
}

/* ============================================
   FOOTER
   ============================================ */

.main-footer {
    background-color: var(--dark-grey);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand p {
    font-size: 15px;
    color: #aaa;
    margin-top: 15px;
    line-height: 1.7;
}

.footer-brand .contact-detail {
    margin-top: 20px;
    font-size: 14px;
    color: #aaa;
}

.footer-brand .contact-detail a {
    color: var(--light-green);
    transition: color var(--transition-fast);
}

.footer-brand .contact-detail a:hover {
    color: var(--white);
}

.footer-column h4 {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul a {
    font-size: 14px;
    color: #aaa;
    transition: color var(--transition-fast);
}

.footer-column ul a:hover {
    color: var(--primary-green);
}

.footer-column ul li.featured::before {
    content: '✓';
    color: var(--primary-green);
    margin-right: 8px;
    font-size: 12px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 13px;
    color: #777;
}

.footer-bottom .social-icons a {
    color: #777;
}

/* Mobile Footer Accordion */

.footer-column.mobile-accordion {
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.footer-column.mobile-accordion .footer-column-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.footer-column.mobile-accordion .footer-column-header::after {
    content: '+';
    font-size: 20px;
    transition: transform var(--transition-fast);
}

.footer-column.mobile-accordion.active .footer-column-header::after {
    transform: rotate(45deg);
}

.footer-column.mobile-accordion ul {
    display: none;
    margin-top: 15px;
}

.footer-column.mobile-accordion.active ul {
    display: block;
}

/* ============================================
   MOBILE STICKY CTA
   ============================================ */

.mobile-sticky-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--white);
    padding: 12px 20px;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
    z-index: 999;
}

.mobile-sticky-bar .btn {
    width: 100%;
    justify-content: center;
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */

/* Tablet */
@media (max-width: 1023px) {
    .top-bar {
        display: none;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        justify-content: center;
        padding: 40px;
        box-shadow: -5px 0 30px rgba(0,0,0,0.15);
        transition: right var(--transition-medium);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu a {
        font-size: 18px;
        padding: 15px 0;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu .btn {
        margin-top: 20px;
    }

    .hero-content h1 {
        font-size: 36px;
    }

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

    .why-hero-grid,
    .service-detail-grid,
    .about-story-grid,
    .contact-form-grid,
    .contact-hero-split {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .problem-solution-grid {
        grid-template-columns: 1fr;
    }

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

    .process-steps::before {
        display: none;
    }

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

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

    .footer-column:not(:first-child) {
        display: none;
    }

    .footer-column.mobile-accordion {
        display: block;
    }

    .mobile-sticky-bar {
        display: flex;
    }

    body {
        padding-bottom: 70px;
    }

    .cta-strip {
        padding: 60px 0;
    }

    .cta-strip h2 {
        font-size: 28px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .hero-content h1 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 16px;
    }

    section {
        padding: 60px 0;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .services-grid,
    .process-steps,
    .values-grid,
    .team-grid,
    .gallery-grid,
    .gallery-full-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-card {
        flex: 0 0 100%;
    }

    .page-hero .hero-content h1 {
        font-size: 28px;
    }

    .service-detail-image img {
        height: 250px;
    }

    .about-story-image img,
    .why-hero-image img {
        height: 280px;
    }

    .gallery-testimonial blockquote {
        font-size: 20px;
    }

    .contact-details {
        padding: 40px 30px;
    }

    .contact-form {
        padding: 25px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .cta-strip h2 {
        font-size: 24px;
    }

    .comparison-slider img {
        height: 300px;
    }

    .logo {
        width: 120px;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .hero-content h1,
    .hero-content p,
    .hero-content .btn {
        opacity: 1;
        transform: none;
        animation: none;
    }

    .problem-statement h3,
    .solution-statement h3 {
        opacity: 1;
        transform: none;
        animation: none;
    }

    .service-card,
    .value-card,
    .process-step {
        opacity: 1;
        transform: none;
    }
}
