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

:root {
    --primary-color: #2c5530;
    --secondary-color: #4a7c59;
    --accent-color: #7fb069;
    --text-dark: #2d3748;
    --text-light: #718096;
    --white: #ffffff;
    --light-gray: #f7fafc;
    --border-color: #e2e8f0;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --gradient: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    --navbar-blur: blur(5px);
    --navbar-overlay: rgba(255, 255, 255, 0.1);
    background: url('../images/greeny.jpeg') center/cover no-repeat !important;
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--navbar-overlay);
    backdrop-filter: var(--navbar-blur);
    z-index: -1;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    position: relative;
    z-index: 1;
}

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

.nav-logo i {
    font-size: 2rem;
    margin-right: 10px;
}

.nav-logo .logo-img {
    height: 60px;
    width: 60px;
    margin-right: 10px;
    object-fit: contain;
}

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

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    height: calc(100vh - 70px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: var(--white);
    margin-top: 70px;
}

.hero-image-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/hero-bg.jpg') center/cover no-repeat;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(53, 52, 52, 0.5);
    z-index: -1;
}

.hero-container {
    background: rgba(5, 6, 4, 0.15);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(1.2px);
    -webkit-backdrop-filter: blur(1.2px);
    border: 1px solid rgba(169, 193, 169, 0.37);
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
    max-width: 800px;
    max-height: 400px;
    height: 100%;
    width: 100%;
    margin: 0 auto;
    padding: 3rem 2rem;
    
   
    
    
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-title .highlight {
    display: block;
    color: var(--accent-color);
    font-size: 2rem;
    margin-top: 0.5rem;
}

.highlight {
    background: linear-gradient(40deg, #7fb069, #a8d5ba);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Home hero gold highlight (scoped via extra class) */
.highlight-gold {
    background: linear-gradient(45deg, #d4af37 0%, #ffd700 50%, #ffec8b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Preserve original hero highlight layout/size for gold variant */
.hero-title .highlight-gold {
    display: block;
    font-size: 2rem;
    margin-top: 0.5rem;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}

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

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    margin-top: 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

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

.btn-primary:hover {
    background: var(--light-gray);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Hero Video Section */
.hero-video {
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.hero-video-player {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.video-container:hover .video-overlay {
    opacity: 1;
}

.play-button {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 2rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.play-button:hover {
    background: var(--white);
    transform: scale(1.1);
}

.play-button i {
    margin-left: 4px; /* Slight offset to center the play icon visually */
}

/* Features Section */
.features {
    padding: 56px 0;
    background: var(--light-gray);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    max-width: 100%;
    width: 100%;
}

.feature-card {
    background: var(--white);
    padding: 1rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-width: 0;
    width: 100%;
}

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

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.8rem;
}

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

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.4;
    font-size: 0.9rem;
}

/* Stats Section */
.stats {
    padding: 40px 0;
    background: var(--primary-color);
    color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}


.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Services Preview */
.services-preview {
    padding: 56px 0;
    width: 100%;
}

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

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 100%;
    width: 100%;
}

.service-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    height: 200px !important; /* EXTREMELY REDUCED HEIGHT FOR TESTING */
    cursor: pointer;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 15px 40px rgba(44, 85, 48, 0.2),
        0 25px 60px rgba(0, 0, 0, 0.15),
        0 5px 15px rgba(44, 85, 48, 0.3);
    height: 250px !important; /* EXTREMELY REDUCED HOVER HEIGHT FOR TESTING */
    z-index: 10;
    border-bottom: 4px solid var(--primary-color);
}


.service-image {
    height: 260px;
    position: relative;
    overflow: hidden;
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    z-index: 1;
}

.service-card:hover .service-overlay {
    background: rgba(0, 0, 0, 0.5);
}

.service-card:hover .service-img {
    transform: scale(1.1);
}

.service-content {
    padding: 2.5rem;
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-card:hover .service-content {
    padding-bottom: 3rem;
}

.service-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-title {
    color: var(--primary-color);
    text-shadow: 0 2px 4px rgba(44, 85, 48, 0.2);
}

.service-details {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.service-card:hover .service-details {
    opacity: 1;
    max-height: 400px;
    overflow: visible;
    margin-bottom: 2rem;
}

.service-details p {
    color: var(--text-dark);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

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

.service-states {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--border-color);
    opacity: 1;
    max-height: none;
    overflow: visible;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-card:hover .service-states {
    opacity: 1;
    max-height: none;
    overflow: visible;
    margin-top: 2.5rem;
    padding-top: 2rem;
}

.service-states strong {
    display: block;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.service-states span {
    display: inline-block;
    background: var(--light-gray);
    color: var(--text-dark);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-right: 0.5rem;
    margin-bottom: 0.3rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.service-states span:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

/* CTA Section */
.cta {
    padding: 56px 0;
    background: var(--gradient);
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 60px 0 20px;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-logo-img {
    height: 50px;
    width: auto;
    margin-right: 12px;
    object-fit: contain;
}

.footer-section p {
    margin-bottom: 1.5rem;
    opacity: 0.8;
    line-height: 1.6;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    transition: background 0.3s ease;
}

.social-links a:hover {
    background: var(--accent-color);
}

.footer-section h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

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

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

.footer-section ul li a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-section ul li a:hover {
    opacity: 1;
}

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

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

.contact-item p {
    color: var(--accent-color);
    width: 20px;
}

.footer-bottom {
    border-top: 1px solid #4a5568;
    padding-top: 2rem;
    text-align: center;
    opacity: 0.8;
}

.infora-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.infora-link:hover {
    color: var(--white);
    text-shadow: 0 0 8px var(--accent-color);
}

.infora-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.infora-link:hover::after {
    width: 100%;
}

/* About Page Styles */
.about-image {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.office-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: center;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

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

.highlight-banner {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 1rem 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 4px 15px rgba(44, 85, 48, 0.2);
    position: relative;
    overflow: hidden;
}

.highlight-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.highlight-banner:hover::before {
    left: 100%;
}

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

.highlight-text {
    font-size: 1.1rem;
    font-weight: 500;
}

.highlight-text strong {
    font-weight: 700;
    font-size: 1.2rem;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

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

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-control.textarea {
    resize: vertical;
    min-height: 120px;
}

/* Card Styles */
.card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.card-header {
    padding: 1.5rem;
    background: var(--light-gray);
    border-bottom: 1px solid var(--border-color);
}

.card-body {
    padding: 2rem;
}

.card-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

/* Page Header */
.page-header {
    background: var(--gradient);
    color: var(--white);
    padding: 100px 0 50px;
    text-align: center;
}

/* Unified masthead for non-index pages */
.masthead {
    position: relative;
    min-height: 480px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: url('../images/greeny.jpeg') center/cover no-repeat;
    padding-top: 70px; /* account for fixed navbar */
}

.masthead::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(44, 85, 48, 0.35);
    z-index: 0;
}

.masthead .navbar {
    background: transparent !important;
    box-shadow: none;
}

.masthead .navbar::before {
    background: transparent;
    backdrop-filter: none;
}

.masthead-inner {
    position: relative;
    z-index: 1;
    padding: 140px 0 80px;
    color: var(--white);
}

.masthead-inner .page-title,
.masthead-inner .page-subtitle {
    color: var(--white);
}

.masthead-overlay { /* kept for structure; overlay handled by ::after */
    display: none;
}

/* When body has masthead, remove extra top offset from following content */
.has-masthead .content-section:first-of-type {
    /* no change needed but reserved for future spacing tweaks */
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Content Section */
.content-section {
    padding: 56px 0;
}

/* Desktop Specific Styles */
@media (min-width: 769px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem !important;
        max-width: 100% !important;
        margin: 0 !important;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
    }

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

    .hamburger {
        display: flex;
    }

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

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-container {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
        border-radius: 15px;
        max-width: 90%;
    }

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

    .video-container {
        max-width: 350px;
    }

    .play-button {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .features-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.8rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 500px;
        margin: 0 auto;
    }

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

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
    }

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

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

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-container {
        padding: 1.5rem 1rem;
        margin: 0 0.5rem;
        border-radius: 12px;
        max-width: 95%;
    }

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

    .hero-title .highlight {
        font-size: 1.2rem;
    }

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

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
    }
}

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

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

    .stat-number {
        font-size: 2rem;
    }
    
    /* Service Areas Small Mobile */
    .areas-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.6rem;
    }
    
    .areas-subtitle {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .area-item span {
        font-size: 0.8rem;
    }
    
    /* Mission Section Small Mobile */
    .mission {
        padding: 40px 0;
    }
    
    .mission-box {
        padding: 2rem 1.5rem;
        margin: 0 0.5rem;
        border-radius: 16px;
    }
    
    .mission-title {
        font-size: 1.8rem;
    }
    
    .mission-text {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    /* Service Cards Small Mobile */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .service-card {
        height: 200px !important; /* FORCE SMALL MOBILE HEIGHT */
        margin: 0;
    }
    
    .service-card:hover {
        height: 250px !important; /* FORCE SMALL MOBILE HOVER HEIGHT */
        box-shadow: 
            0 10px 25px rgba(44, 85, 48, 0.18),
            0 15px 35px rgba(0, 0, 0, 0.1),
            0 3px 10px rgba(44, 85, 48, 0.2);
        border-bottom: 2px solid var(--primary-color);
    }
    
    .service-image {
        height: 200px;
    }
    
    .service-content {
        padding: 2rem 1.5rem;
        padding-bottom: 2.5rem;
        text-align: center;
        height: calc(100% - 200px);
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }
    
    .service-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
        flex-shrink: 0;
    }
    
    .service-details {
        font-size: 0.9rem;
        line-height: 1.5;
        text-align: left;
        flex: 1;
    }
    
    .service-card:hover .service-details {
        max-height: 300px;
    }
    
    .service-states {
        margin-top: 2rem;
        padding-top: 1.5rem;
        margin-bottom:1.5rem !important;
        opacity: 1;
        max-height: none;
        overflow: visible;
        flex-shrink: 0;
    }
    
    .service-states strong {
        font-size: 0.85rem;
        margin-bottom: 0.4rem;
    }
    
    .service-states span {
        font-size: 0.8rem;
        padding: 0.3rem 0.6rem;
        margin-right: 0.4rem;
        margin-bottom: 0.3rem;
    }
    
    .service-card:hover .service-states {
        opacity: 1;
        max-height: none;
        overflow: visible;
        margin-top: 2.5rem;
        margin-bottom: 1.5rem;
        padding-top: 1.8rem;
    }

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.mt-4 {
    margin-top: 2rem;
}

.d-flex {
    display: flex;
}

.align-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.gap-1 {
    gap: 0.5rem;
}

.gap-2 {
    gap: 1rem;
}

/* Floating Buttons */
.floating-buttons {
    position: fixed;
    bottom: 20px;
    left: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.scroll-top-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    left: auto;
}

.whatsapp-btn,
.scroll-top-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    font-size: 24px;
}

.whatsapp-btn {
    background: #25d366;
    color: white;
}

.whatsapp-btn:hover {
    background: #20b954;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
}

.scroll-top-btn {
    background: var(--primary-color);
    color: white;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.scroll-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(44, 85, 48, 0.4);
}

/* Our Mission Section */
.mission {
    padding: 70px 0;
    background: linear-gradient(135deg, 
        rgba(44, 85, 48, 0.1) 0%, 
        rgba(127, 176, 105, 0.05) 25%,
        rgba(168, 213, 186, 0.1) 50%,
        rgba(74, 124, 89, 0.08) 75%,
        rgba(44, 85, 48, 0.12) 100%);
    position: relative;
    overflow: hidden;
}

.mission::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(127, 176, 105, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(168, 213, 186, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(44, 85, 48, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

.mission-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
}

.mission-box {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 24px;
    padding: 2rem 2rem;
    max-width: 900px;
    text-align: center;
    position: relative;
    box-shadow: 
        0 8px 32px rgba(44, 85, 48, 0.15),
        0 20px 60px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    transform-style: preserve-3d;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.mission-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.4) 0%, 
        rgba(255, 255, 255, 0.1) 100%);
    border-radius: 24px;
    pointer-events: none;
    z-index: -1;
}

.mission-box::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, 
        rgba(127, 176, 105, 0.6), 
        rgba(168, 213, 186, 0.4), 
        rgba(44, 85, 48, 0.5));
    border-radius: 26px;
    z-index: -2;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.mission-box:hover {
    transform: translateY(-8px) rotateX(2deg);
    box-shadow: 
        0 12px 40px rgba(44, 85, 48, 0.2),
        0 25px 80px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.mission-box:hover::after {
    opacity: 1;
}
.mission-title {
    font-size: 2.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.mission-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 2rem;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
    font-weight: 400;
}
/* Service Areas Section */
.service-areas {
    padding: 40px 0;
    background: linear-gradient(135deg, #f8fffe 0%, #f0f9ff 100%);
    position: relative;
    overflow: hidden;
}

.service-areas .section-title {
    margin-bottom: 0.5rem;
}

.service-areas::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--border-color) 50%, transparent 100%);
}

.areas-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1rem;
    margin-top: -0.5rem;
    margin-bottom: 0.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.state-card {
    background: var(--white);
    border-radius: 130px 20px 130px 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    position: relative;
}

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

.state-header {
    background: transparent;
    color: var(--text-dark);
    padding: 1rem;
    text-align: center;
    position: relative;
    border-bottom: 2px solid var(--primary-color);
}

.state-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.8rem;
}

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

.state-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
    color: var(--text-dark);
}

.areas-list {
    padding: 1rem;
}

.card-cta {
    padding: 1rem;
    border-top: 1px solid var(--border-color);
    background: var(--light-bg);
    text-align: center;
}

.card-cta-text {
    font-size: 0.85rem;
    color: var(--text-light);
    margin: 0 0 0.8rem 0;
    line-height: 1.3;
}

.card-cta .btn {
    font-size: 0.85rem;
    padding: 0.5rem 1.2rem;
}

.area-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    border: none;
    cursor: default;
    position: static;
    overflow: visible;
}

.area-item:last-child {
    border-bottom: none;
}

.area-item:hover {
    background: var(--light-bg);
    margin: 0 -1rem;
    padding: 0.6rem 1rem;
    border-radius: 8px;
}

.area-item i {
    color: var(--primary-color);
    font-size: 1rem;
    width: 16px;
}

.area-item span {
    font-size: 0.9rem;
    color: var(--text-dark);
    line-height: 1.3;
}

.service-cta {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
}

.cta-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.cta-text {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin: 0;
    font-weight: 500;
}

/* Mobile responsiveness for floating buttons */
@media (max-width: 768px) {
    .floating-buttons {
        bottom: 15px;
        left: 15px;
    }
    
    .scroll-top-btn {
        bottom: 15px;
        right: 15px;
    }
    
    .whatsapp-btn,
    .scroll-top-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    /* Mission Section Mobile */
    .mission {
        padding: 60px 0;
    }
    
    .mission-box {
        padding: 2.5rem 2rem;
        margin: 0 1rem;
    }
    
    .mission-title {
        font-size: 2.2rem;
    }
    
    .mission-text {
        font-size: 1.1rem;
        line-height: 1.7;
    }
    
    .mission-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1.5rem;
    }
    
    .mission-icon i {
        font-size: 2rem;
    }
    
    /* Service Cards Mobile */
    .service-card {
        height: 200px !important; /* FORCE MOBILE HEIGHT */
    }
    
    .service-card:hover {
        height: 250px !important; /* FORCE MOBILE HOVER HEIGHT */
        box-shadow: 
            0 12px 30px rgba(44, 85, 48, 0.2),
            0 20px 40px rgba(0, 0, 0, 0.12),
            0 4px 12px rgba(44, 85, 48, 0.25);
        border-bottom: 3px solid var(--primary-color);
    }
    
    .service-image {
        height: 160px;
    }
    
    .service-content {
        padding: 1.5rem;
        padding-bottom: 2rem;
        text-align: center;
        height: calc(100% - 160px);
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }
    
    .service-title {
        font-size: 1.3rem;
        margin-bottom: 1rem;
        flex-shrink: 0;
    }
    
    .service-details {
        font-size: 0.9rem;
        line-height: 1.5;
        text-align: left;
    }
    
    .service-card:hover .service-details {
        max-height: 250px;
    }
    
    .service-states {
        margin-top: 1rem;
        padding-top: 0.8rem;
        margin-bottom: 1.5rem;
        opacity: 1;
        max-height: none;
        overflow: visible;
        flex-shrink: 0;
    }
    
    .service-states strong {
        font-size: 0.9rem;
        margin-bottom: 0.4rem;
    }
    
    .service-states span {
        font-size: 0.8rem;
        padding: 0.25rem 0.6rem;
        margin-right: 0.4rem;
        margin-bottom: 0.25rem;
    }
    
    .service-card:hover .service-states {
        opacity: 1;
        max-height: none;
        overflow: visible;
        margin-top: 1.5rem;
        margin-bottom: 1.5rem;
        padding-top: 1rem;
    }
    
    /* Service Areas Mobile */
    .service-areas {
        padding: 40px 0;
    }
    
    .states-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .state-header {
        padding: 1.2rem;
    }
    
    .state-icon {
        width: 50px;
        height: 50px;
    }
    
    .state-icon i {
        font-size: 1.5rem;
    }
    
    .state-title {
        font-size: 1.3rem;
    }
    
    .areas-list {
        padding: 1.2rem;
    }
    
    .card-cta {
        padding: 1.2rem;
    }
    
    .card-cta-text {
        font-size: 0.85rem;
    }
    
    .card-cta .btn {
        font-size: 0.85rem;
        padding: 0.5rem 1.2rem;
    }
    
    .service-cta {
        padding: 1.5rem;
    }
    
    .cta-content {
        gap: 1rem;
    }
    
    .cta-text {
        font-size: 1rem;
    }
}

/* Partners Section - Basic styles only (detailed styles in index.html inline) */
.partners-section {
    padding: 2rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    overflow: hidden;
}

.partners-section .section-title {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    font-size: 1.8rem;
    font-weight: 600;
}

/* Very small screens - single column for features and services */
@media (max-width: 480px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
        max-width: 350px;
        margin: 0 auto;
    }
    
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.5rem;
    }
}

/* FORCE DESKTOP SERVICE CARD HEIGHT - HIGHEST PRIORITY */
.services-preview .service-card {
    height: 280px !important;
    max-height: 280px !important;
    min-height: 280px !important;
}

.services-preview .service-card:hover {
    height: 380px !important;
    max-height: 380px !important;
    min-height: 380px !important;
}

/* Desktop view - reduced service card height (must be after mobile queries) */
@media (min-width: 1024px) {
    .services-preview .service-card {
        height: 320px !important;
    }
    
    .services-preview .service-card:hover {
        height: 420px !important;
    }
}

/* Alternative approach - try different breakpoint and more specific selectors */
@media screen and (min-width: 1200px) {
    .services-preview .services-grid .service-card {
        height: 300px !important;
        max-height: 300px !important;
    }
    
    .services-preview .services-grid .service-card:hover {
        height: 400px !important;
        max-height: 400px !important;
    }
}
