/**
 * Main Stylesheet for ACT Solutions For All
 * @package ACTSolutionsForAll
 */

/* ==========================================================================
   Header Styles - Modern Navigation
   ========================================================================== */

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

.site-header.scrolled {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.12);
    animation: slideDown 0.3s ease;
}

.site-header.sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    animation: slideDown 0.3s ease;
}

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

/* Header spacer to prevent content jump when header becomes fixed */
body.header-is-sticky {
    padding-top: 80px;
}

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

/* Logo */
.site-branding {
    flex-shrink: 0;
    z-index: 1001;
}

.site-logo {
    max-height: 75px;
    width: auto;
    transition: transform 0.3s ease;
}

.site-logo:hover {
    transform: scale(1.05);
}

/* Main Navigation */
.main-navigation {
    display: none; /* Hidden on mobile */
    flex: 1;
    justify-content: center;
}

.main-navigation .primary-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 0;
    align-items: center;
    justify-content: center;
}

.main-navigation .primary-menu > li {
    position: relative;
}

.main-navigation .primary-menu > li > a {
    color: var(--primary-black);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none !important;
    padding: 0.75rem 1rem;
    display: block;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-family: var(--font-heading);
}

.main-navigation .primary-menu > li > a:hover,
.main-navigation .primary-menu > li.current-menu-item > a,
.main-navigation .primary-menu > li.current-page-ancestor > a {
    color: var(--primary-green);
    background-color: rgba(14, 107, 56, 0.08);
    text-decoration: none !important;
}

/* Dropdown Menus */
.main-navigation .primary-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-radius: 12px;
    min-width: 240px;
    padding: 0.5rem 0;
    list-style: none;
    margin: 0;
    margin-top: 0.25rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}
.main-navigation .primary-menu > li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-navigation .primary-menu > li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-navigation .sub-menu li {
    margin: 0;
}

.main-navigation .sub-menu a {
    color: var(--primary-black);
    padding: 0.75rem 1.25rem !important;
    display: block;
    text-decoration: none !important;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.main-navigation .sub-menu a:hover,
.main-navigation .sub-menu li.current-menu-item > a {
    background-color: rgba(14, 107, 56, 0.08);
    color: var(--primary-green);
    text-decoration: none !important;
}

/* Dropdown Arrow - Place after text */
.main-navigation .menu-item-has-children > a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    position: relative;
}

.main-navigation .menu-item-has-children > a::after {
    content: '▾';
    font-size: 0.75rem;
    transition: transform 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 12px;
    height: 12px;
    flex-shrink: 0;
    position: relative;
    vertical-align: middle;
    transform-origin: center center;
    will-change: transform;
}

.main-navigation .menu-item-has-children:hover > a::after {
    transform: rotate(-180deg);
}

/* Header CTA Section */
.header-cta {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.header-phone {
    color: var(--primary-green);
    font-weight: 600;
    text-decoration: none;
    display: none;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.header-phone:hover {
    background-color: rgba(14, 107, 56, 0.08);
}

.header-phone svg {
    flex-shrink: 0;
}

.btn-header {
    padding: 0.65rem 1.5rem;
    font-size: 0.95rem;
    white-space: nowrap;
}

/* Mobile Menu Toggle */
.menu-toggle {
    background: var(--white);
    border: none;
    cursor: pointer;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 45px;
    height: 45px;
    border-radius: 6px;
    transition: background-color 0.3s ease;
    position: relative;
    z-index: 1001;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.menu-toggle:hover {
    background-color: #f5f5f5;
}

.menu-toggle-icon {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--primary-green);
    transition: all 0.3s ease;
    border-radius: 2px;
    position: relative;
}

/* Open state - X icon */
.menu-toggle[aria-expanded="true"] {
    background-color: var(--primary-green);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon {
    background-color: var(--white);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon:nth-child(1) {
    transform: rotate(45deg);
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -12.5px;
    margin-top: -1px;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon:nth-child(3) {
    transform: rotate(-45deg);
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -12.5px;
    margin-top: -1px;
}

/* Mobile Navigation */
@media (max-width: 767px) {
    body.header-is-sticky {
        padding-top: 70px;
    }

    .site-header {
        padding: 0.75rem 0;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        position: relative;
        background: var(--white);
        z-index: 1000;
    }

    .site-header.scrolled,
    .site-header.sticky {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
    }

    .header-container {
        padding: 0 1rem;
        gap: 1rem;
        position: relative;
    }

    .site-logo {
        max-height: 60px;
    }

    /* Position hamburger icon on the right */
    .menu-toggle {
        position: absolute;
        right: 1rem;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1002;
    }

    /* Hide mobile navigation by default */
    .main-navigation {
        display: none !important;
    }

    /* Mobile menu appears below header when active */
    .main-navigation.mobile-active {
        display: block !important;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        max-height: calc(100vh - 70px);
        background: var(--white);
        padding: 1.5rem 1.5rem 2rem;
        overflow-y: auto;
        overflow-x: hidden;
        z-index: 999;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        -webkit-overflow-scrolling: touch;
    }

    .main-navigation .primary-menu {
        flex-direction: column;
        gap: 0;
        justify-content: flex-start;
    }

    .main-navigation .primary-menu > li {
        width: 100%;
        border-bottom: 1px solid #eee;
    }

    .main-navigation .primary-menu > li > a {
        padding: 1.125rem 15px;
        border-radius: 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        text-decoration: none !important;

    }

    .main-navigation .primary-menu > li > a:hover {
        background-color: transparent;
        color: var(--primary-green);
    }

    /* Mobile dropdown arrow styling */
    .main-navigation .menu-item-has-children > a::after {
        content: '▾';
        font-size: 0.875rem;
        margin-left: auto;
        transition: transform 0.3s ease;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 16px;
        height: 16px;
        flex-shrink: 0;
        position: relative;
        vertical-align: middle;
        transform-origin: center center;
        will-change: transform;
    }

    .main-navigation .menu-item-has-children.open > a::after {
        transform: rotate(-180deg);
    }

    .main-navigation .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: #F7F9FA;
        border-radius: 8px;
        margin: 0.5rem 0;
        padding: 0.5rem 0;
        display: none;
        min-width: 100%;
    }

    .main-navigation .menu-item-has-children.open > .sub-menu {
        display: block;
    }

    .main-navigation .sub-menu li {
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .main-navigation .sub-menu li:last-child {
        border-bottom: none;
    }

    .main-navigation .sub-menu a {
        padding: 0.875rem 1.5rem;
        text-decoration: none !important;
        display: block;
    }

    .main-navigation .sub-menu a:hover {
        background-color: rgba(14, 107, 56, 0.08);
        color: var(--primary-green);
    }

    .header-phone {
        display: none;
    }

    .header-cta {
        gap: 0.75rem;
    }

    /* Hide Get a Quote button on mobile */
    .btn-header {
        display: none !important;
    }

    /* Mobile Sticky CTA */
    .mobile-sticky-cta {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        position: fixed;
        bottom: 1.5rem;
        left: 1rem;
        background: linear-gradient(135deg, var(--primary-green) 0%, #0a4d28 100%);
        color: white;
        padding: 0.875rem 1.25rem;
        border-radius: 50px;
        text-decoration: none;
        font-weight: 600;
        font-size: 0.95rem;
        box-shadow: 0 4px 20px rgba(14, 107, 56, 0.4);
        z-index: 998;
        transition: all 0.3s ease;
        animation: slideInFromBottom 0.5s ease;
    }

    .mobile-sticky-cta:hover {
        transform: translateY(-4px);
        box-shadow: 0 6px 28px rgba(14, 107, 56, 0.5);
    }

    .mobile-sticky-cta svg {
        flex-shrink: 0;
    }

    .mobile-sticky-cta span {
        color: white;
        white-space: nowrap;
    }

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

/* Hide mobile sticky CTA on desktop */
@media (min-width: 768px) {
    .mobile-sticky-cta {
        display: none;
    }
}

@keyframes slideInFromRight {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}

/* ==========================================================================
   Footer Styles
   ========================================================================== */

.site-footer {
    background-color: var(--primary-black);
    color: var(--white);
    padding: var(--spacing-xl) 0 var(--spacing-md);
    margin-top: var(--spacing-xl);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

.footer-widgets {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-logo {
    max-width: 200px;
    margin-bottom: 1rem;
}

.footer-tagline {
    color: var(--primary-green);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.footer-description {
    color: #ccc;
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-credentials {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: #999;
}

.footer-credentials p {
    margin-bottom: 0.25rem;
}

.footer-title {
    color: var(--primary-green);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.footer-menu,
.footer-services {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-menu li,
.footer-services li {
    margin-bottom: 0.5rem;
}

.footer-menu a,
.footer-services a {
    color: #ccc;
    text-decoration: none;
    transition: color var(--transition-speed);
}

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

.footer-contact p {
    margin-bottom: 1rem;
}

.footer-contact a {
    color: var(--primary-green);
    text-decoration: none;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--primary-green);
    color: var(--white);
    border-radius: 50%;
    text-decoration: none;
    transition: all var(--transition-speed);
}

.social-link:hover {
    background-color: var(--white);
    color: var(--primary-green);
}

.footer-bottom {
    border-top: 1px solid var(--secondary-gray);
    padding-top: var(--spacing-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.footer-bottom-links a {
    color: #ccc;
    text-decoration: none;
    margin: 0 0.5rem;
}

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

.footer-bottom .separator {
    color: #666;
}

/* ==========================================================================
   Content Area
   ========================================================================== */

.content-area {
    min-height: 60vh;
}

.entry-content {
    line-height: 1.8;
}

.entry-content p {
    margin-bottom: 1.5rem;
}

.entry-content ul,
.entry-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.entry-content li {
    margin-bottom: 0.5rem;
}

.entry-content img {
    height: auto;
    max-width: 100%;
}

/* ==========================================================================
   Breadcrumb
   ========================================================================== */

.breadcrumb {
    padding: 1rem 0;
    font-size: 0.9rem;
    /* color: var(--secondary-gray); */
    color: #fff;
}

.breadcrumb a {
    /* color: var(--primary-green); */
    color: #fff;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb .separator {
    margin: 0 0.5rem;
}

.service-container .breadcrumb {
    display: none;
}

/* ==========================================================================
   Projects Grid
   ========================================================================== */

.projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.project-card {
    background-color: var(--white);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-speed);
}

.project-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.project-card-image {
    display: block;
    position: relative;
    overflow: hidden;
}

.project-card-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform var(--transition-speed);
}

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

.project-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(14, 107, 56, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-speed);
}

.project-card:hover .project-card-overlay {
    opacity: 1;
}

.view-project {
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 600;
}

.project-card-content {
    padding: 1.5rem;
}

.project-card-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.project-card-title a {
    color: var(--primary-black);
    text-decoration: none;
}

.project-card-title a:hover {
    color: var(--primary-green);
}

.project-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--secondary-gray);
}

.project-card-excerpt {
    margin-bottom: 1rem;
    color: var(--secondary-gray);
}

/* ==========================================================================
   Project Filters
   ========================================================================== */

.project-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem 0;
    border-bottom: 2px solid #eee;
}

.filter-btn {
    padding: 0.5rem 1.5rem;
    background-color: transparent;
    color: var(--primary-black);
    border: 2px solid var(--secondary-gray);
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition-speed);
}

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

/* ==========================================================================
   Single Project
   ========================================================================== */

.project-hero {
    position: relative;
    margin-bottom: 2rem;
}

.project-hero img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
}

.project-hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 2rem 0;
}

.project-hero-overlay .project-title {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.project-hero-overlay .project-meta {
    color: var(--white);
}

.project-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.project-details-box,
.project-cta-box {
    background-color: #f9f9f9;
    padding: 1.5rem;
    border-radius: var(--border-radius-md);
    margin-bottom: 1.5rem;
}

.project-details-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.project-details-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #ddd;
}

.project-details-list li:last-child {
    border-bottom: none;
}

.cta-phone {
    /* text-align: center; */
    margin-top: 1rem;
    font-size: 1.1rem;
}

/* ==========================================================================
   Page Header
   ========================================================================== */

.page-header {
    background-color: #f5f5f5;
    padding: 3rem 0;
    margin-bottom: 3rem;
    text-align: center;
}

.page-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.page-subtitle {
    font-size: 1.25rem;
    color: var(--secondary-gray);
    font-weight: 400;
    margin-bottom: 1rem;
}

.page-description {
    font-size: 1.1rem;
    color: var(--secondary-gray);
}

/* ==========================================================================
   CTA Sections
   ========================================================================== */

.projects-cta {
    background-color: var(--primary-green);
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    color: var(--white);
}

.projects-cta h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

/* ==========================================================================
   Pagination
   ========================================================================== */

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin: 2rem 0;
}

.pagination a,
.pagination span {
    padding: 0.5rem 1rem;
    border: 1px solid var(--secondary-gray);
    text-decoration: none;
    color: var(--primary-black);
    border-radius: var(--border-radius-sm);
    transition: all var(--transition-speed);
}

.pagination a:hover,
.pagination a.active {
    background-color: var(--primary-green);
    color: var(--white);
    border-color: var(--primary-green);
}

.pagination .dots {
    border: none;
}

/* ==========================================================================
   Tablet Styles (768px - 1024px)
   ========================================================================== */

@media (min-width: 768px) {
    .header-phone {
        display: flex;
    }

    .menu-toggle {
        display: none;
    }

    .main-navigation {
        display: flex;
    }

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

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }

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

    .project-layout {
        grid-template-columns: 2fr 1fr;
    }

    .cta-buttons {
        flex-direction: row;
        justify-content: center;
    }
}

/* ==========================================================================
   Desktop Styles (1025px+)
   ========================================================================== */

@media (min-width: 1025px) {
    .footer-widgets {
        grid-template-columns: repeat(4, 1fr);
    }

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

    /* Desktop-only transitions */
    .project-card,
    .filter-btn,
    .btn,
    .social-link {
        transition: all var(--transition-speed) var(--transition-timing);
    }
}

/* ==========================================================================
   Service Cards
   ========================================================================== */

.service-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: all var(--transition-speed);
}

.service-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.service-title {
    margin-bottom: 1rem;
}

.service-description {
    color: var(--secondary-gray);
    margin-bottom: 1.5rem;
}

/* ==========================================================================
   Utility & Helper Classes
   ========================================================================== */

.section {
    padding: var(--spacing-xl) 0;
}

.no-results {
    text-align: center;
    padding: 4rem 2rem;
}

.social-share {
    margin: 2rem 0;
    padding: 1.5rem;
    background-color: #f9f9f9;
    border-radius: var(--border-radius-md);
}

.social-share h4 {
    margin-bottom: 1rem;
}

.social-share a {
    display: inline-block;
    margin-right: 1rem;
    padding: 0.5rem 1rem;
    background-color: var(--primary-green);
    color: var(--white);
    border-radius: var(--border-radius-sm);
    text-decoration: none;
}

.social-share a:hover {
    background-color: var(--primary-black);
}

/* ==========================================================================
   Phase 3: Contact Page Styles
   ========================================================================== */

/* Contact Hero Section */
.contact-hero {
    background: linear-gradient(135deg, var(--primary-green) 0%, #0a4d29 100%);
    padding: 4rem 0;
    text-align: center;
    color: var(--white);
    margin-bottom: 0;
}

.contact-hero .page-title {
    color: var(--white);
    font-size: 3rem;
}

.contact-hero .page-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.35rem;
}

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

.contact-info-item {
    margin-bottom: 2rem;
}

.contact-info-item h3 {
    color: var(--primary-green);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.contact-phone,
.contact-email {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-green);
}

.contact-form {
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #ddd;
    border-radius: var(--border-radius-sm);
    font-size: 1rem;
    transition: border-color var(--transition-speed);
}

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

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #d32f2f;
}

.error-message {
    color: #d32f2f;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links .social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: var(--primary-green);
    color: var(--white);
    text-decoration: none;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(14, 107, 56, 0.2);
}

.social-links .social-link:hover {
    background-color: #0a4d28;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(14, 107, 56, 0.3);
}

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

/* Alert Messages */
.alert {
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius-sm);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

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

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

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.feature-item {
    text-align: center;
    padding: 1.5rem;
}

.feature-item h4 {
    color: var(--primary-green);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.feature-item p {
    color: var(--secondary-gray);
    font-size: 0.95rem;
}

/* Contact Page Sections */
.why-contact,
.map-section {
    margin-top: 3rem;
}

.service-area-note {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius-md);
    border-left: 4px solid var(--primary-green);
    margin-top: 1.5rem;
}

.service-area-note p {
    margin: 0;
    color: var(--secondary-gray);
}

.form-note {
    color: var(--secondary-gray);
    font-size: 0.875rem;
    margin-top: 1rem;
}

/* ==========================================================================
   Phase 3: Services Page Styles
   ========================================================================== */

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

.service-block {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem;
    background-color: var(--white);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    margin-bottom: 2rem;
}

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

.service-features li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.5rem;
}

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

.service-projects {
    margin-top: 1rem;
}

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

.project-preview-item img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-sm);
}

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

.process-step {
    text-align: center;
    padding: 2rem;
    background-color: var(--white);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
}

.step-number {
    display: inline-block;
    width: 60px;
    height: 60px;
    line-height: 60px;
    background-color: var(--primary-green);
    color: var(--white);
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

/* ==========================================================================
   Phase 3: Individual Service Page Styles
   ========================================================================== */

.service-hero {
    position: relative;
    background-color: var(--primary-green);
    color: var(--white);
    padding: 4rem 0;
}

.service-hero .hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

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

.service-hero .hero-overlay {
    position: relative;
    z-index: 1;
}

.service-hero h1 {
    color: var(--white);
}

.service-benefits,
.service-faqs {
    margin: 3rem 0;
}

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

.benefit-item {
    padding: 1.5rem;
    background-color: var(--white);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
}

.benefit-item h4 {
    color: var(--primary-green);
    margin-bottom: 0.5rem;
}

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

.process-item {
    display: flex;
    align-items: start;
    gap: 1.5rem;
    padding: 1.5rem;
    background-color: var(--white);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
}

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

.faqs-list {
    margin-top: 2rem;
}

.faq-item {
    padding: 1.5rem;
    background-color: var(--white);
    border-radius: var(--border-radius-md);
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
}

.faq-item h4 {
    color: var(--primary-green);
    margin-bottom: 0.5rem;
}

/* ==========================================================================
   Phase 3: Detailed Service Page Styles
   ========================================================================== */

/* Hero Section */
.service-hero-detailed {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-green) 0%, #0a4d29 100%);
    overflow: hidden;
}
.service-hero-detailed .btn-secondary-outline {
    color: #fff;
    border: 1px solid #fff;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><path d="M0 0 L50 100 L100 0 Z" fill="rgba(255,255,255,0.03)"/></svg>');
    opacity: 0.1;
}

.hero-overlay-detailed {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 4rem 0;
}

.hero-content-detailed {
    text-align: center;
    color: var(--white);
}

.service-icon-large {
    font-size: 4rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
}

.hero-title {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
    font-weight: 400;
}

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

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    color: #fff;
    border: white;
    border: 1px solid white;
}

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

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

/* Service Container */
.service-container {
    padding: 1rem 20px;
}

/* Section Styles */
.section {
    margin: 4rem 0;
}

.section-gray {
    background-color: #f9f9f9;
    padding: 3rem;
    border-radius: 12px;
    margin: 4rem 0;
}

.section-title {
    font-size: 2.25rem;
    color: var(--primary-black);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--secondary-gray);
    margin-bottom: 2rem;
}

/* Service Introduction */
.intro-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.intro-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--secondary-gray);
}

.intro-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-item strong {
    color: var(--primary-green);
    font-size: 1.1rem;
}

.stat-item span {
    color: var(--secondary-gray);
    font-size: 0.95rem;
}

.intro-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

/* Benefits Grid */
.benefits-grid-detailed {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2.5rem;
}

.benefit-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.benefit-icon {
    width: 50px;
    height: 50px;
    /* background: var(--primary-green); */
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.benefit-card h3 {
    color: var(--primary-black);
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

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

/* Features Section */
.features-columns {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.features-list {
    list-style: none;
    padding: 0;
}

.features-list li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    border-bottom: 1px solid #eee;
    color: var(--secondary-gray);
    font-size: 1.05rem;
}

.features-list li:last-child {
    border-bottom: none;
}

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

/* Process Timeline */
.process-timeline-detailed {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2.5rem;
}

.process-step-detailed {
    display: flex;
    gap: 2rem;
    padding: 2rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease;
}

.process-step-detailed:hover {
    transform: translateX(8px);
}

.step-number {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-green) 0%, #0a4d29 100%);
    color: var(--white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(14, 107, 56, 0.3);
}

.step-content h3 {
    color: var(--primary-black);
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
}

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

/* Projects Grid */
.projects-grid-detailed {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2.5rem;
}

.project-card-detailed {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card-detailed:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.project-image {
    position: relative;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-card-detailed:hover .project-image img {
    transform: scale(1.05);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(14, 107, 56, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card-detailed:hover .project-overlay {
    opacity: 1;
}

.view-btn {
    color: var(--white);
    font-weight: 600;
    font-size: 1.1rem;
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--white);
    border-radius: 8px;
}

.project-info {
    padding: 1.5rem;
}

.project-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.project-info h3 a {
    color: var(--primary-black);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* FAQs Accordion */
.faqs-accordion {
    margin-top: 2.5rem;
}

.faq-item-detailed {
    background: var(--white);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-question {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #f9f9f9;
}

.faq-question h3 {
    color: var(--primary-black);
    font-size: 1.15rem;
    font-weight: 600;
    margin: 0;
}

.faq-toggle {
    font-size: 2rem;
    color: var(--primary-green);
    font-weight: 300;
    transition: transform 0.3s ease;
}

.faq-item-detailed.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item-detailed.active .faq-answer {
    max-height: 500px;
    padding: 0 2rem 1.5rem 2rem;
}

.faq-answer p {
    color: var(--secondary-gray);
    line-height: 1.7;
    margin: 0;
}

/* Trust Signals */
.trust-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.trust-item {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.trust-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.trust-item h3 {
    color: var(--primary-black);
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.trust-item p {
    color: var(--secondary-gray);
    font-size: 0.95rem;
}

/* Final CTA Section */
.section-cta {
    background: linear-gradient(135deg, var(--primary-green) 0%, #0a4d29 100%);
    border-radius: 12px;
    padding: 4rem 2rem;
    text-align: center;
    color: var(--white);
    margin: 4rem 0;
}

.cta-content-detailed h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content-detailed p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.95);
}

.cta-buttons-detailed {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.btn-white-outline {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

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

.phone-icon {
    margin-right: 0.5rem;
}

.cta-note {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    margin-top: 1rem;
}

.link-primary {
    color: var(--primary-green);
    text-decoration: underline;
    font-weight: 600;
}

.link-primary:hover {
    text-decoration: none;
}

/* Responsive Styles for Detailed Service Pages */
@media (min-width: 768px) {
    .intro-grid {
        grid-template-columns: 1fr 1fr;
    }

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

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

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

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

@media (min-width: 1025px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .hero-subtitle {
        font-size: 1.75rem;
    }

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

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

    .trust-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ==========================================================================
   Phase 3: About Page Styles
   ========================================================================== */

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

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

.value-item {
    padding: 1.5rem;
    background-color: var(--white);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
}

.value-item h3 {
    color: var(--primary-green);
    margin-bottom: 0.5rem;
}

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

.credential-item {
    text-align: center;
    padding: 2rem;
    background-color: var(--white);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
}

.credential-number {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-green);
    margin: 1rem 0;
}

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

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: bold;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.stat-label {
    display: block;
    font-size: 1.1rem;
}

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

.areas-list ul {
    list-style: none;
    padding: 0;
}

.areas-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #ddd;
}

.areas-list li:last-child {
    border-bottom: none;
}

/* ==========================================================================
   Phase 3: Error & Search Pages
   ========================================================================== */

.error-404-page,
.search-results {
    padding: 3rem 0;
}

.error-404-content {
    text-align: center;
    padding: 3rem 0;
}

.error-404-title {
    font-size: 8rem;
    color: var(--primary-green);
    margin-bottom: 0;
}

.error-404-subtitle {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.error-404-search {
    max-width: 600px;
    margin: 3rem auto;
}

.error-404-links {
    margin: 3rem 0;
}

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

.link-item h4 {
    color: var(--primary-green);
}

.search-result-item {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 2rem;
    background-color: var(--white);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    margin-bottom: 2rem;
}

.result-type {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: var(--primary-green);
    color: var(--white);
    border-radius: var(--border-radius-sm);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.result-title a {
    color: var(--primary-black);
    text-decoration: none;
}

.result-title a:hover {
    color: var(--primary-green);
}

.result-meta {
    color: var(--secondary-gray);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

/* ==========================================================================
   Phase 3: Tablet Responsive (768px - 1024px)
   ========================================================================== */

@media (min-width: 768px) {
    .contact-layout {
        grid-template-columns: 1fr 1.5fr;
    }

    .service-block {
        grid-template-columns: 1.5fr 1fr;
    }

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

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

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

    .story-content {
        grid-template-columns: 1fr 1fr;
    }

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

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

    .search-result-item {
        grid-template-columns: 200px 1fr;
    }

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

/* ==========================================================================
   Phase 3: Desktop Responsive (1025px+)
   ========================================================================== */

@media (min-width: 1025px) {
    .benefits-grid,
    .values-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .credentials-grid,
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }

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

    .process-step {
        padding: 1.5rem 1rem;
    }

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

    .links-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ==========================================================================
   MODERN HOMEPAGE REDESIGN - Phase 4
   Enhanced Typography, Spacing, and Visual Appeal
   ========================================================================== */

/* Enhanced Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border: 2px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-large {
    padding: 1.125rem 2rem;
    font-size: 1.0625rem;
}

.btn svg {
    transition: transform 0.3s ease;
}

.btn:hover svg {
    transform: translateX(4px);
}

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

.btn-white:hover {
    background-color: transparent;
    color: white;
    border-color: white;
}

.btn-outline-white {
    background-color: transparent;
    color: white;
    border-color: white;
}

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

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-label {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background-color: rgba(14, 107, 56, 0.1);
    color: var(--primary-green);
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-black);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-description {
    font-size: 1.125rem;
    color: var(--secondary-gray);
    max-width: 700px;
    margin: 0 auto 20px auto;
    line-height: 1.7;
}

/* Modern Hero Section */
.modern-hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding: 6rem 0 4rem;
    background: #0E6B38;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(14, 107, 56, 0.45) 0%, rgba(10, 77, 40, 0.24) 100%);
    z-index: 1;
}

.modern-hero .container {
    position: relative;
    z-index: 2;
}

.hero-content-wrapper {
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background-color: white;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
}

.badge-icon {
    font-size: 1.25rem;
}

.badge-text {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-green);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--primary-black);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--primary-green);
    margin-bottom: 1.25rem;
    line-height: 1.4;
}

.hero-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    max-width: 650px;
}

.hero-cta-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.trust-badge-icon {
    font-size: 2.5rem;
    opacity: 0.9;
}

.trust-badge-content {
    display: flex;
    flex-direction: column;
}

.trust-badge-value {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-black);
    line-height: 1;
}

.trust-badge-label {
    font-size: 0.875rem;
    color: var(--secondary-gray);
    margin-top: 0.25rem;
}

/* Modern Services Section */
.modern-services-section {
    padding: 6rem 0;
    background-color: white;
}

.services-modern-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.modern-service-card {
    background: white;
    border: 1px solid #e8e8e8;
    border-radius: 16px;
    padding: 2.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.modern-service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-green);
}

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

.service-card-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.service-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-black);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.service-card-description {
    color: var(--secondary-gray);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.service-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-green);
    font-weight: 600;
    text-decoration: none;
    transition: gap 0.3s ease;
}

.service-card-link:hover {
    gap: 0.75rem;
}

.service-card-link svg {
    transition: transform 0.3s ease;
}

.service-card-link:hover svg {
    transform: translateX(4px);
}

/* Modern Projects Section */
.modern-projects-section {
    padding: 6rem 0;
    background-color: #f9fafb;
}

.modern-projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.modern-project-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.modern-project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

.project-card-image-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.project-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.modern-project-card:hover .project-card-image img {
    transform: scale(1.08);
}

.project-card-overlay-modern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(14, 107, 56, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modern-project-card:hover .project-card-overlay-modern {
    opacity: 1;
}

.view-project-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    color: white;
    font-weight: 600;
    transform: translateY(10px);
    transition: transform 0.3s ease;
}

.modern-project-card:hover .view-project-btn {
    transform: translateY(0);
}

.modern-project-card-content {
    padding: 2rem;
}

.modern-project-card-title {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.modern-project-card-title a {
    color: var(--primary-black);
    text-decoration: none;
    transition: color 0.3s ease;
}

.modern-project-card-title a:hover {
    color: var(--primary-green);
}

.section-cta {
    text-align: center;
    margin-top: 3rem;
}

/* Modern Why Choose Section */
.modern-why-choose-section {
    padding: 6rem 0;
    background: white;
}

.modern-features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

.modern-feature-card {
    text-align: center;
    padding: 2.5rem;
    background: #f9fafb;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.modern-feature-card:hover {
    background: white;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.feature-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(14, 107, 56, 0.15);
}

.feature-card-title {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--primary-black);
    margin-bottom: 1rem;
}

.feature-card-description {
    color: var(--secondary-gray);
    line-height: 1.7;
    font-size: 1rem;
}

/* Modern CTA Section */
.modern-cta-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #0E6B38 0%, #0a5027 100%);
    position: relative;
    overflow: hidden;
}

.modern-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1), transparent);
}

.modern-cta-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.cta-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.cta-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: white;
    font-size: 1rem;
    font-weight: 500;
}

.cta-feature svg {
    flex-shrink: 0;
}

.cta-buttons-modern {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.cta-contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-info-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.contact-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.contact-value {
    color: white;
    font-size: 1rem;
    text-decoration: none;
}

.contact-value:hover {
    color: rgba(255, 255, 255, 0.8);
}

/* ==========================================================================
   RESPONSIVE - Tablet (768px - 1024px)
   ========================================================================== */

@media (min-width: 768px) {
    /* Hero Section */
    .hero-title {
        font-size: 4rem;
    }

    .hero-cta-wrapper {
        flex-wrap: nowrap;
    }

    .hero-trust-badges {
        gap: 3rem;
    }

    /* Services Grid */
    .services-modern-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }

    /* Projects Grid */
    .modern-projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }

    /* Features Grid */
    .modern-features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }

    /* CTA Section */
    .modern-cta-content {
        grid-template-columns: 1.2fr 1fr;
        gap: 4rem;
    }

    .cta-buttons-modern {
        flex-direction: row;
    }
}

/* ==========================================================================
   RESPONSIVE - Desktop (1025px+)
   ========================================================================== */

@media (min-width: 1025px) {
    /* Typography */
    .section-title {
        font-size: 3rem;
    }

    /* Hero Section */
    .modern-hero {
        min-height: 95vh;
        padding: 8rem 0 6rem;
    }

    .hero-title {
        font-size: 4.5rem;
    }

    .hero-subtitle {
        font-size: 1.75rem;
    }

    .hero-description {
        font-size: 1.25rem;
    }

    /* Services Grid */
    .services-modern-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
    }

    /* Projects Grid */
    .modern-projects-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Features Grid */
    .modern-features-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* CTA Section */
    .cta-title {
        font-size: 3rem;
    }

    .cta-buttons-modern {
        flex-direction: column;
    }
}

/* ==========================================================================
   RESPONSIVE - Mobile Optimizations
   ========================================================================== */

@media (max-width: 767px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-header {
        margin-bottom: 3rem;
    }

    .modern-hero {
        min-height: auto;
        padding: 4rem 0 3rem;
    }

    .modern-services-section,
    .modern-projects-section,
    .modern-why-choose-section,
    .modern-cta-section {
        padding: 4rem 0;
    }

    .hero-trust-badges {
        flex-direction: column;
        gap: 1.5rem;
    }

    .btn-large {
        width: 100%;
        justify-content: center;
    }
}

/* ==========================================================================
   HOMEPAGE ADDITIONS - Phase 5
   Header Improvements, New Sections, Footer & Back to Top
   ========================================================================== */

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

.site-header {
    background-color: var(--white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.site-header .container {
    padding-top: 0;
    padding-bottom: 0;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    gap: 2rem;
}

.site-branding {
    flex-shrink: 0;
}
.site-branding .custom-logo {
    max-width: 200px;
}
.site-logo {
    max-height: 75px;
    width: auto;
    transition: transform 0.3s ease;
}

.site-logo:hover {
    transform: scale(1.05);
}

.main-navigation {
    display: none; /* Hidden on mobile */
}

.main-navigation .primary-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2.5rem;
}

.main-navigation .primary-menu a {
    color: var(--primary-black);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

/* .main-navigation .primary-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-green);
    transition: width 0.3s ease;
} */

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

/* .main-navigation .primary-menu a:hover::after,
.main-navigation .primary-menu .current-menu-item a::after {
    width: 100%;
} */

.header-cta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-phone {
    display: none; /* Hidden on mobile */
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-green);
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.header-phone:hover {
    opacity: 0.8;
}

.btn-header {
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
}

.menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    width: 40px;
    height: 40px;
}

.menu-toggle-icon {
    width: 25px;
    height: 2px;
    background-color: var(--primary-black);
    transition: all 0.3s ease;
    position: relative;
}

/* .menu-toggle-icon::before,
.menu-toggle-icon::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 2px;
    background-color: var(--primary-black);
    transition: all 0.3s ease;
} */

/* .menu-toggle-icon::before {
    top: -7px;
} */

/* .menu-toggle-icon::after {
    bottom: -7px;
} */

/* ==========================================================================
   ABOUT US SECTION
   ========================================================================== */

.modern-about-section {
    padding: 6rem 0;
    background-color: white;
}

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

.about-image-grid {
    position: relative;
}

.about-image-main {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.about-image-main img {
    width: 100%;
    height: auto;
    display: block;
}

.about-stats-overlay {
    position: absolute;
    bottom: -30px;
    right: 20px;
    display: flex;
    gap: 1rem;
    z-index: 2;
}

.stat-box {
    background: linear-gradient(135deg, #0E6B38 0%, #0a5027 100%);
    padding: 1.5rem 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(14, 107, 56, 0.3);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: white;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.about-intro {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--secondary-gray);
    margin-bottom: 2rem;
}

.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.highlight-item {
    display: flex;
    gap: 1rem;
    align-items: start;
}

.highlight-item svg {
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.highlight-content h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary-black);
    margin-bottom: 0.5rem;
}

.highlight-content p {
    color: var(--secondary-gray);
    line-height: 1.6;
    margin: 0;
}

/* ==========================================================================
   VISION & MISSION SECTION
   ========================================================================== */

.vision-mission-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8f0f5 100%);
}

.vision-mission-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.vm-card {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.vm-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

.vm-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: rgba(14, 107, 56, 0.1);
    border-radius: 50%;
    margin-bottom: 2rem;
}

.vm-card h3 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary-black);
    margin-bottom: 1.25rem;
}

.vm-card p {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--secondary-gray);
    margin: 0;
}

.core-values {
    text-align: center;
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.values-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-black);
    margin-bottom: 2rem;
}

.values-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.value-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.value-icon {
    font-size: 2.5rem;
}

.value-text {
    font-family: var(--font-heading);
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--primary-black);
}

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

.modern-testimonials-section {
    padding: 6rem 0;
    background-color: white;
}

.modern-testimonials-section {
    margin: 4rem 0;
    padding: 4rem 0;
    background: #f9fafb;
}

.testimonials-slider-wrapper {
    position: relative;
    margin-top: 3rem;
}

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

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1025px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.testimonial-card {
    background: white;
    border: 1px solid #e8e8e8;
    border-radius: 16px;
    padding: 1.75rem;
    transition: all 0.3s ease;
    position: relative;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-green), #0a5027);
    border-radius: 16px 16px 0 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-green);
}

.testimonial-card:hover::before {
    opacity: 1;
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

/* Testimonial Slider Navigation */
.testimonials-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.testimonial-nav-btn {
    background: var(--primary-green);
    color: white;
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(14, 107, 56, 0.2);
}

.testimonial-nav-btn:hover:not(:disabled) {
    background: #0a4d28;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(14, 107, 56, 0.3);
}

.testimonial-nav-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    opacity: 0.5;
}

.testimonial-nav-btn svg {
    width: 24px;
    height: 24px;
}

/* Testimonial Dots */
.testimonials-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #d1d5db;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.testimonial-dot.active {
    background: var(--primary-green);
    transform: scale(1.3);
}

.testimonial-dot:hover {
    background: var(--primary-green);
    opacity: 0.7;
}

.quote-icon {
    font-size: 4rem;
    color: rgba(14, 107, 56, 0.15);
    line-height: 1;
    font-family: Georgia, serif;
    margin-bottom: 0.5rem;
}

.testimonial-text {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--secondary-gray);
}

.testimonial-text p:last-child {
    margin-bottom: 0;
}

.testimonial-footer {
    /* display: flex; */
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

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

.client-photo,
.client-photo-placeholder {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.client-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.client-photo-placeholder {
    background-color: rgba(14, 107, 56, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.client-name {
    font-family: var(--font-heading);
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--primary-black);
    margin-bottom: 0.25rem;
}

.client-meta {
    font-size: 0.875rem;
    color: var(--secondary-gray);
}

.testimonial-rating {
    display: flex;
    gap: 0.25rem;
}

.star {
    font-size: 1.25rem;
    color: #FFB800;
}

.star-empty {
    color: #E0E0E0;
}

.no-testimonials {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--secondary-gray);
}

/* ==========================================================================
   IMPROVED FOOTER STYLES
   ========================================================================== */

.site-footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #231F20 100%);
    color: var(--white);
    padding: 4rem 0 2rem;
    margin-top: 0;
}

.footer-widgets {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-widget {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    max-width: 180px;
    margin-bottom: 1.5rem;
}

.footer-tagline {
    color: var(--primary-green);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.0625rem;
    margin-bottom: 1rem;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-credentials {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-credentials p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0.5rem;
}

.footer-title {
    color: white;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer-menu,
.footer-services {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-menu li,
.footer-services li {
    margin-bottom: 0.75rem;
}

.footer-menu a,
.footer-services a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-menu a:hover,
.footer-services a:hover {
    color: var(--primary-green);
    padding-left: 8px;
}

.footer-contact p {
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
}

.footer-contact a {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.3s ease;
}

.footer-contact a:hover {
    opacity: 0.8;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.125rem;
}

.social-link:hover {
    background-color: var(--primary-green);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(14, 107, 56, 0.4);
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding-top: 2rem;
    text-align: center;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* ==========================================================================
   BACK TO TOP BUTTON
   ========================================================================== */

#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #0072BC 0%, #005a94 100%);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(0, 114, 188, 0.3);
}

#back-to-top.show {
    opacity: 1;
    visibility: visible;
}

#back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 114, 188, 0.4);
}

#back-to-top svg {
    width: 24px;
    height: 24px;
}

/* ==========================================================================
   RESPONSIVE - Tablet (768px - 1024px)
   ========================================================================== */

@media (min-width: 768px) {
    /* Header */
    .header-phone {
        display: flex;
    }

    .main-navigation {
        display: block;
    }

    .menu-toggle {
        display: none;
    }

    /* About Section */
    .about-content-wrapper {
        grid-template-columns: 1fr 1fr;
    }

    .about-stats-overlay {
        flex-direction: row;
        bottom: -25px;
    }

    /* Vision & Mission */
    .vision-mission-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Testimonials */
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

/* ==========================================================================
   RESPONSIVE - Desktop (1025px+)
   ========================================================================== */

@media (min-width: 1025px) {
    /* Header */
    .header-container {
        padding: 1.25rem 0;
    }

    .main-navigation .primary-menu {
        gap: 1rem;
    }

    /* About Section */
    .about-stats-overlay {
        bottom: -30px;
        right: 40px;
    }

    /* Testimonials */
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Footer */
    .footer-widgets {
        grid-template-columns: 1.5fr 1fr 1.5fr 1.5fr;
        gap: 2rem;
    }
}

/* ==========================================================================
   RESPONSIVE - Mobile Optimizations
   ========================================================================== */

@media (max-width: 767px) {
    .modern-about-section,
    .vision-mission-section,
    .modern-testimonials-section {
        padding: 4rem 0;
    }

    .about-stats-overlay {
        position: static;
        justify-content: center;
        margin-top: 1.5rem;
    }

    .stat-box {
        padding: 1rem 1.5rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .vm-card {
        padding: 2rem;
    }

    .testimonial-card {
        padding: 2rem;
    }

    .testimonial-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    #back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

/* ==========================================================================
   FINAL IMPROVEMENTS - Header Navigation & Footer
   ========================================================================== */

/* ==========================================================================
   HEADER NAVIGATION VISIBILITY FIX
   ========================================================================== */

/* Ensure navigation is visible on tablet and desktop */
@media (min-width: 768px) {
    .main-navigation {
        display: block !important;
    }

    .menu-toggle {
        display: none !important;
    }

    .header-phone {
        display: flex !important;
    }
}

/* Make sure primary menu is displayed */
.main-navigation .primary-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2.5rem;
    align-items: center;
}

.main-navigation .primary-menu li {
    position: relative;
}

.main-navigation .primary-menu a {
    color: var(--primary-black);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
    display: block;
}

.main-navigation .primary-menu a:hover,
.main-navigation .primary-menu .current-menu-item > a {
    color: var(--primary-green);
}

/* Mobile navigation styles */
@media (max-width: 767px) {
    .main-navigation {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        z-index: 999;
    }

    .main-navigation.active {
        max-height: 500px;
        display: block !important;
    }

    .main-navigation .primary-menu {
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
    }

    .main-navigation .primary-menu li {
        width: 100%;
    }

    .main-navigation .primary-menu a {
        padding: 1rem 2rem;
        border-bottom: 1px solid #f0f0f0;
    }
}

/* ==========================================================================
   IMPROVED FOOTER STYLES WITH BETTER COLORS
   ========================================================================== */

.site-footer {
    /* background: #1a1d23; */
    background: #000;
    color: #e0e0e0;
    padding: 4rem 0 0;
    margin-top: 0;
    position: relative;
    overflow: hidden;
}

/* Add subtle pattern overlay */
.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(30deg, rgba(14, 107, 56, 0.05) 12%, transparent 12.5%, transparent 87%, rgba(14, 107, 56, 0.05) 87.5%, rgba(14, 107, 56, 0.05)),
        linear-gradient(150deg, rgba(14, 107, 56, 0.05) 12%, transparent 12.5%, transparent 87%, rgba(14, 107, 56, 0.05) 87.5%, rgba(14, 107, 56, 0.05)),
        linear-gradient(30deg, rgba(14, 107, 56, 0.05) 12%, transparent 12.5%, transparent 87%, rgba(14, 107, 56, 0.05) 87.5%, rgba(14, 107, 56, 0.05)),
        linear-gradient(150deg, rgba(14, 107, 56, 0.05) 12%, transparent 12.5%, transparent 87%, rgba(14, 107, 56, 0.05) 87.5%, rgba(14, 107, 56, 0.05));
    background-size: 80px 140px;
    background-position: 0 0, 0 0, 40px 70px, 40px 70px;
    pointer-events: none;
}

.site-footer .container {
    position: relative;
    z-index: 1;
}

.footer-container {
    width: 100%;
}

.footer-widgets {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 0;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    max-width: 180px;
    margin-bottom: 1.5rem;
    filter: brightness(0) invert(1);
}

.footer-tagline {
    color: #0E6B38;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.0625rem;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.footer-description {
    color: #b8bcc4;
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-credentials {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-credentials p {
    font-size: 0.875rem;
    color: #8a8d93;
    margin-bottom: 0.5rem;
}

.footer-credentials strong {
    color: #0E6B38;
    font-weight: 600;
}

.footer-title {
    color: white;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #0E6B38, transparent);
    border-radius: 2px;
}

.footer-menu,
.footer-services {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-menu li,
.footer-services li {
    margin-bottom: 0.75rem;
}

.footer-menu a,
.footer-services a {
    color: #b8bcc4;
    text-decoration: none;
    font-size: 0.9375rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    position: relative;
    padding-left: 0;
}

.footer-menu a::before,
.footer-services a::before {
    content: '→';
    opacity: 0;
    margin-right: 0;
    transition: all 0.3s ease;
    color: #0E6B38;
}

.footer-menu a:hover,
.footer-services a:hover {
    color: #0E6B38;
    padding-left: 0;
}

.footer-menu a:hover::before,
.footer-services a:hover::before {
    opacity: 1;
    margin-right: 8px;
}

.footer-contact p {
    margin-bottom: 1.25rem;
    color: #b8bcc4;
    font-size: 0.9375rem;
    line-height: 1.8;
}

.footer-contact strong {
    color: white;
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
}

.footer-contact a {
    color: #0E6B38;
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.3s ease;
    display: inline-block;
}

.footer-contact a:hover {
    opacity: 0.8;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(14, 107, 56, 0.15);
    color: #0E6B38;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.125rem;
    font-weight: 700;
}

.social-link:hover {
    background: #0E6B38;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(14, 107, 56, 0.4);
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem 0;
    text-align: center;
    font-size: 0.875rem;
    color: #8a8d93;
    background: rgba(0, 0, 0, 0.2);
    margin: 0 -1rem;
    padding-left: 1rem;
    padding-right: 1rem;
}

.footer-bottom .copyright {
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    align-items: center;
}

.footer-bottom-links .separator {
    color: rgba(255, 255, 255, 0.2);
}

.footer-bottom-links a {
    color: #8a8d93;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: #0E6B38;
}

/* ==========================================================================
   RESPONSIVE - Tablet (768px - 1024px)
   ========================================================================== */

@media (min-width: 768px) {
    .footer-widgets {
        grid-template-columns: repeat(2, 1fr);
        gap: 4rem;
    }

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
        margin: 0;
        padding: 2rem 0;
        background: transparent;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
}

/* ==========================================================================
   RESPONSIVE - Desktop (1025px+)
   ========================================================================== */

@media (min-width: 1025px) {
    .footer-widgets {
        grid-template-columns: 1.5fr 1fr 1.5fr 1.5fr;
        gap: 2rem;
    }

    .main-navigation .primary-menu {
        gap: 1rem;
    }
}

/* ==========================================================================
   RESPONSIVE - Mobile (max-width: 767px)
   ========================================================================== */

@media (max-width: 767px) {
    .site-footer {
        padding: 3rem 0 0;
    }

    .footer-widgets {
        gap: 2.5rem;
        padding-bottom: 2rem;
    }

    .footer-bottom {
        padding: 1.5rem 1rem;
    }
}

/* ==========================================================================
   HEADER IMPROVEMENTS
   ========================================================================== */

.site-header {
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    gap: 2rem;
}

.site-logo {
    max-height: 75px;
    width: auto;
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-phone {
    display: none;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-green);
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.3s ease;
    font-size: 0.9375rem;
}

.header-phone svg {
    flex-shrink: 0;
}

.header-phone:hover {
    opacity: 0.8;
}

.btn-header {
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
}

/* Mobile menu toggle */
.menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle .menu-toggle-icon {
    width: 25px;
    height: 2px;
    background: var(--primary-black);
    transition: all 0.3s ease;
}

/* Active state for mobile menu */
.menu-toggle.active .menu-toggle-icon:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active .menu-toggle-icon:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .menu-toggle-icon:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ==========================================================================
   HOMEPAGE FINAL UPDATES
   Hero Background, Improved Sections, Footer Fix
   ========================================================================== */

/* ==========================================================================
   HERO SECTION WITH BACKGROUND IMAGE
   ========================================================================== */

.modern-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 0 6rem;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(35, 31, 32, 0.15) 0%, rgba(14, 107, 56, 0.25) 100%);
    z-index: 1;
}

.modern-hero .container {
    position: relative;
    z-index: 2;
}

.hero-content-wrapper {
    max-width: 700px;
}

.hero-badge {
    background-color: rgba(255, 255, 255, 0.95);
}

.hero-title,
.hero-subtitle,
.hero-description {
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.95);
}

.hero-description {
    color: rgba(255, 255, 255, 0.9);
}

.hero-trust-badges {
    border-top-color: rgba(255, 255, 255, 0.2);
}

.trust-badge-value {
    color: white;
}

.trust-badge-label {
    color: rgba(255, 255, 255, 0.85);
}

/* ==========================================================================
   IMPROVED VISION & MISSION SECTION
   ========================================================================== */

.vision-mission-section {
    padding: 6rem 0;
    background: white;
    position: relative;
}

.vision-mission-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    margin-bottom: 4rem;
    position: relative;
}

.vm-card {
    background: white;
    padding: 4rem 3rem;
    border-radius: 0;
    box-shadow: none;
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid #f0f0f0;
}

.vision-card {
    background: linear-gradient(135deg, #f8fffe 0%, #ffffff 100%);
    border-left: 6px solid #0E6B38;
}

.mission-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fffe 100%);
    border-right: 6px solid #0E6B38;
}

.vm-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(14, 107, 56, 0.12);
    border-color: #0E6B38;
}

.vm-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(14, 107, 56, 0.1), rgba(14, 107, 56, 0.05));
    border-radius: 20px;
    margin-bottom: 2.5rem;
    box-shadow: 0 4px 12px rgba(14, 107, 56, 0.1);
}

.vm-card h3 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-black);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.vm-card h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 4px;
    background: #0E6B38;
    border-radius: 2px;
}

.vm-card p {
    font-size: 1.125rem;
    line-height: 1.9;
    color: var(--secondary-gray);
    margin: 0;
}

/* ==========================================================================
   REDESIGNED CORE VALUES
   ========================================================================== */

.core-values {
    text-align: center;
    background: linear-gradient(135deg, #0E6B38 0%, #0a5027 100%);
    padding: 4rem 3rem;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(14, 107, 56, 0.25);
    position: relative;
    overflow: hidden;
}

.core-values::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%);
    pointer-events: none;
}

.values-title {
    font-size: 2rem;
    font-weight: 800;
    color: white;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.values-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2.5rem;
    position: relative;
    z-index: 1;
}

.value-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.value-item:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.value-icon {
    font-size: 3.5rem;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
    transition: transform 0.3s ease;
}

.value-item:hover .value-icon {
    transform: scale(1.15) rotate(5deg);
}

.value-text {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==========================================================================
   FOOTER - REMOVE PATTERN, SOLID COLOR
   ========================================================================== */

.site-footer {
    background: #000 !important;
    background-image: none !important;
}

.site-footer::before {
    display: none !important;
}

/* ==========================================================================
   SECTION ORDERING ADJUSTMENTS
   ========================================================================== */

/* About section comes right after hero */
.modern-about-section {
    padding: 6rem 0;
    background-color: #f9fafb;
}

/* Vision/Mission right after About */
.vision-mission-section {
    padding: 6rem 0;
}

/* Services after Vision/Mission */
.modern-services-section {
    padding: 6rem 0;
    background-color: #f9fafb;
}

/* Projects after Services */
.modern-projects-section {
    padding: 6rem 0;
    background-color: white;
}

/* Testimonials section styling enhancement */
.modern-testimonials-section {
    padding: 6rem 0;
    background-color: #f9fafb;
}

/* Why Choose Us */
.modern-why-choose-section {
    padding: 6rem 0;
    background: white;
}

/* Final CTA */
.modern-cta-section {
    padding: 6rem 0;
}

/* ==========================================================================
   RESPONSIVE - Tablet (768px - 1024px)
   ========================================================================== */

@media (min-width: 768px) {
    .vision-mission-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .vision-card {
        border-left: 6px solid #0E6B38;
        border-right: none;
    }

    .mission-card {
        border-right: 6px solid #0E6B38;
        border-left: none;
    }

    .values-list {
        grid-template-columns: repeat(5, 1fr);
        gap: 2rem;
    }

    .value-item {
        padding: 2.5rem 1.5rem;
    }
}

/* ==========================================================================
   RESPONSIVE - Desktop (1025px+)
   ========================================================================== */

@media (min-width: 1025px) {
    .modern-hero {
        min-height: 100vh;
        padding: 10rem 0 8rem;
    }

    .hero-content-wrapper {
        max-width: 750px;
    }

    .vm-card {
        padding: 5rem 4rem;
    }

    .core-values {
        padding: 5rem 4rem;
    }
}

/* ==========================================================================
   RESPONSIVE - Mobile (max-width: 767px)
   ========================================================================== */

@media (max-width: 767px) {
    .modern-hero {
        min-height: auto;
        padding: 6rem 0 4rem;
    }

    .vm-card {
        padding: 3rem 2rem;
    }

    .vm-card h3 {
        font-size: 1.5rem;
    }

    .core-values {
        padding: 3rem 2rem;
    }

    .values-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .value-item {
        padding: 1.5rem 1rem;
    }

    .value-icon {
        font-size: 2.5rem;
    }

    .value-text {
        font-size: 0.9375rem;
    }
}

/* ==========================================================================
   Terms & Conditions Page Styles
   ========================================================================== */

.terms-page .page-hero {
    background: linear-gradient(135deg, var(--primary-green) 0%, #0a4d29 100%);
    color: var(--white);
    padding: 3rem 0;
    text-align: center;
}

.terms-page .page-title {
    color: var(--white);
}

.terms-page .page-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

.terms-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 3rem 0;
}

.terms-sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
}

.terms-toc {
    background: #f9f9f9;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.terms-toc h3 {
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.terms-toc ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.terms-toc li {
    margin-bottom: 0.75rem;
}

.terms-toc a {
    color: var(--secondary-gray);
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    padding: 0.5rem 0;
    border-left: 3px solid transparent;
    padding-left: 1rem;
}

.terms-toc a:hover {
    color: var(--primary-green);
    border-left-color: var(--primary-green);
    padding-left: 1.5rem;
}

.terms-updated {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    border: 2px solid var(--primary-green);
    text-align: center;
    font-size: 0.9rem;
}

.terms-main {
    max-width: 800px;
    margin: 30px 0;
}

.terms-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

.terms-section:last-child {
    border-bottom: none;
}

.terms-section h2 {
    color: var(--primary-green);
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

.terms-section h3 {
    color: var(--primary-black);
    font-size: 1.25rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.terms-section p {
    line-height: 1.8;
    margin-bottom: 1rem;
    color: var(--secondary-gray);
}

.terms-section ul {
    margin: 1rem 0 1rem 2rem;
    line-height: 1.8;
}

.terms-section li {
    margin-bottom: 0.5rem;
    color: var(--secondary-gray);
}

.contact-details-box {
    background: #f9f9f9;
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-green);
    margin: 1.5rem 0;
}

.contact-details-box p {
    margin-bottom: 0.75rem;
}

.contact-details-box a {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
}

.contact-details-box a:hover {
    text-decoration: underline;
}

.terms-acknowledgment {
    background: var(--primary-green);
    color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    margin-top: 3rem;
    text-align: center;
}

.terms-acknowledgment p {
    color: var(--white);
    margin: 0;
    font-size: 1.05rem;
}

/* Responsive Terms Page */
@media (min-width: 1025px) {
    .terms-content {
        grid-template-columns: 280px 1fr;
    }
}

/* ==========================================================================
   Custom Content Sections (Service Pages)
   ========================================================================== */

.custom-content-section {
    margin: 4rem 0;
}

.custom-content {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
    color: var(--secondary-gray);
}

.custom-content p {
    margin-bottom: 1.25rem;
}

.custom-content h2,
.custom-content h3 {
    color: var(--primary-black);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.custom-content ul,
.custom-content ol {
    margin: 1.5rem 0 1.5rem 2rem;
}

.custom-content li {
    margin-bottom: 0.75rem;
}

.custom-content strong {
    color: var(--primary-black);
    font-weight: 600;
}

.custom-content a {
    color: var(--primary-green);
    text-decoration: underline;
}

.custom-content a:hover {
    text-decoration: none;
}
n   Project Filter Buttonsnn    display: flex;n    gap: 0.75rem;n    margin: 2.5rem 0;nn    padding: 0.75rem 1.5rem;n    border: 2px solid var(--primary-green);n    font-weight: 600;n    border-radius: 50px;n    transition: all 0.3s ease;n}n.filter-btn:hover {n    transform: translateY(-2px);nn    background: var(--primary-green);n    box-shadow: 0 4px 12px rgba(14, 107, 56, 0.3);nn    transition: all 0.3s ease;nn    display: none;nn   Testimonial Slidernn    position: relative;n}n.testimonials-grid {n    grid-template-columns: 1fr;n}n@media (min-width: 768px) {n        grid-template-columns: repeat(2, 1fr);n}n@media (min-width: 1025px) {n        grid-template-columns: repeat(3, 1fr);n}n.testimonial-card {n    border-radius: 16px;n    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);n    display: flex;n    height: 100%;nn    transform: translateY(-4px);n}n.testimonial-content {n    margin-bottom: 1.5rem;nn    font-size: 3rem;n    opacity: 0.2;n    margin-bottom: 0.5rem;nn    font-size: 0.95rem;n    color: var(--secondary-gray);nn    margin: 0;nn    margin-top: auto;nn    display: flex;n    gap: 1rem;nn.client-photo-placeholder {n    height: 50px;n    overflow: hidden;n}n.client-photo img {n    height: 100%;n}n.client-photo-placeholder {n    display: flex;n    justify-content: center;nn    flex: 1;nn    font-weight: 600;n    margin-bottom: 0.25rem;nn    font-size: 0.85rem;n    margin-bottom: 0.5rem;nn    margin-top: 0.5rem;nn    display: flex;n}n.star {n    font-size: 1.1rem;nn    color: #FFB800;nn.testimonials-nav {n    top: 50%;n    width: calc(100% + 4rem);n    display: flex;n    pointer-events: none;n}n.testimonial-nav-btn {n    border: 2px solid var(--primary-green);n    height: 50px;n    display: flex;n    justify-content: center;n    transition: all 0.3s ease;n    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);nn    background: var(--primary-green);n}n.testimonial-nav-btn:hover svg {n}n.testimonial-nav-btn svg {n    height: 24px;n    transition: color 0.3s ease;nn    opacity: 0.3;n    pointer-events: none;nn    .testimonials-slider-wrapper {n    }n    .testimonials-nav {n    }n

/* ==========================================================================
   Project Filter Buttons
   ========================================================================== */

.project-filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin: 2.5rem 0;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    background: white;
    border: 2px solid var(--primary-green);
    color: var(--primary-green);
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-heading);
}

.filter-btn:hover {
    background: rgba(14, 107, 56, 0.1);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: var(--primary-green);
    color: white;
    box-shadow: 0 4px 12px rgba(14, 107, 56, 0.3);
}

.modern-project-card {
    transition: all 0.3s ease;
}

.modern-project-card.hidden {
    display: none;
}

/* ==========================================================================
   Testimonial Slider Styles
   ========================================================================== */

.testimonials-slider-wrapper {
    position: relative;
    padding: 0 3rem;
}

.testimonial-card {
    background: white;
    border-radius: 16px;
    padding: 1.75rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.testimonial-content {
    flex: 1;
    margin-bottom: 1.5rem;
}

.quote-icon {
    font-size: 3rem;
    color: var(--primary-green);
    opacity: 0.2;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.testimonial-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--secondary-gray);
}

.testimonial-text p {
    margin: 0;
}

.testimonial-footer {
    margin-top: auto;
}

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

.client-photo,
.client-photo-placeholder {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.client-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.client-photo-placeholder {
    background: rgba(14, 107, 56, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.client-info {
    flex: 1;
}

.client-name {
    font-weight: 600;
    color: var(--primary-black);
    margin-bottom: 0.25rem;
}

.client-meta {
    font-size: 0.85rem;
    color: var(--secondary-gray);
    margin-bottom: 0.5rem;
}

.testimonial-rating-wrapper {
    margin-top: 0.5rem;
}

.star-rating {
    display: flex;
    gap: 0.25rem;
}

.star {
    color: #ddd;
    font-size: 1.1rem;
}

.star.filled {
    color: #FFB800;
}

/* Slider Navigation Buttons */
.testimonials-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: calc(100% + 4rem);
    left: -2rem;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10;
}

.testimonial-nav-btn {
    background: white;
    border: 2px solid var(--primary-green);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.testimonial-nav-btn:hover {
    background: var(--primary-green);
    transform: scale(1.1);
}

.testimonial-nav-btn:hover svg {
    color: white;
}

.testimonial-nav-btn svg {
    width: 24px;
    height: 24px;
    color: var(--primary-green);
    transition: color 0.3s ease;
}

.testimonial-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

@media (max-width: 767px) {
    .testimonials-slider-wrapper {
        padding: 0;
    }
    
    .testimonials-nav {
        display: none;
    }
}

/* Improved testimonial grid for slider */
.testimonials-slider-wrapper .testimonials-grid {
    display: block;
}

.testimonials-slider-wrapper .testimonial-card {
    display: none;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .testimonials-slider-wrapper .testimonials-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (min-width: 1025px) {
    .testimonials-slider-wrapper .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
