/* ==========================================================================
   Eco Biodigesters - Modern Sanitation & Waste Management
   Designed to match ecosepticventures.com
   Font: 'Outfit', sans-serif | Primary: #00a651 | Secondary: #fdb813
   ========================================================================== */

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

/* CSS Variables */
:root {
    --primary-color: #00a651; /* Vibrant green */
    --primary-dark: #008240;
    --secondary-color: #fdb813; /* Warm yellow/gold accent */
    --secondary-dark: #e5a300;
    --text-dark: #1a1a1a;
    --text-light: #555555;
    --text-muted: #777777;
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-dark: #111111;
    --border-color: #eeeeee;
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--text-light);
    line-height: 1.6;
    background-color: var(--bg-white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.25;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

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

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

.bg-light {
    background-color: var(--bg-light);
}

.text-green {
    color: var(--primary-color);
}

.text-yellow {
    color: var(--secondary-color);
}

/* Typography Utility */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title span {
    color: var(--primary-color);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.section-header p {
    font-size: 1.1rem;
    max-width: 650px;
    margin: 0 auto 3rem;
    color: var(--text-light);
}

/* Buttons (Pill shaped as on ecosepticventures) */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 166, 81, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 166, 81, 0.4);
    color: white;
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--text-dark);
    box-shadow: 0 4px 15px rgba(253, 184, 19, 0.3);
}

.btn-secondary:hover {
    background-color: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(253, 184, 19, 0.4);
    color: var(--text-dark);
}

.btn-outline-white {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.85);
}

.btn-outline-white:hover {
    background: white;
    color: var(--text-dark);
    transform: translateY(-2px);
}

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

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

.btn-whatsapp {
    background-color: #25d366;
    color: white;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

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

.btn-lg {
    padding: 15px 35px;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.9rem;
}

/* ==========================================================================
   Navigation (Clean sticky bar with blur)
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    padding: 12px 0;
}

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

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

.logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-links a:not(.btn) {
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
    font-size: 0.95rem;
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-links a:not(.btn):hover::after,
.nav-links a:not(.btn).active::after {
    width: 100%;
}

.nav-links a:not(.btn):hover,
.nav-links a:not(.btn).active {
    color: var(--primary-color);
}

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

.mobile-menu-btn {
    display: none;
    font-size: 1.6rem;
    color: var(--text-dark);
    cursor: pointer;
    background: none;
    border: none;
    padding: 6px;
}

/* ==========================================================================
   Hero Section (4-Image Grid & Dark Gradient Overlay)
   ========================================================================== */
.portfolio-hero {
    min-height: 720px;
    position: relative;
    display: flex;
    align-items: center;
    padding-top: 100px;
    padding-bottom: 60px;
    overflow: hidden;
    background: #0f1c13;
}

.hero-bg-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
}

.hero-bg-img {
    overflow: hidden;
}

.hero-bg-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
    filter: brightness(0.9);
    transition: opacity 0.5s ease;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 25, 15, 0.85) 0%, rgba(0, 166, 81, 0.4) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 920px;
    text-align: center;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 8px 22px;
    border-radius: 50px;
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero h1 {
    font-size: 3.6rem;
    margin-bottom: 20px;
    color: white;
    letter-spacing: -0.5px;
    line-height: 1.15;
}

.text-highlight {
    color: var(--secondary-color);
    position: relative;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 35px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 45px;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 35px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    padding: 20px 45px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: inline-flex;
}

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

.stat-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--secondary-color);
    line-height: 1;
}

.stat-label {
    display: block;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
    font-weight: 500;
    margin-top: 5px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.25);
}

/* ==========================================================================
   Quick Benefits Bar
   ========================================================================== */
.benefits-bar {
    background: var(--primary-color);
    padding: 20px 0;
}

.benefits-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
}

.benefit-item i {
    font-size: 1.3rem;
    color: var(--secondary-color);
}

/* ==========================================================================
   Sections General
   ========================================================================== */
.section {
    padding: 90px 0;
}

/* ==========================================================================
   Services Grid
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.service-card {
    background: var(--bg-white);
    padding: 35px 25px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: 1px solid var(--border-color);
}

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

.service-card:hover::before {
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.service-card:hover h3,
.service-card:hover p {
    color: white;
}

.service-icon {
    font-size: 2.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    color: var(--secondary-color);
    transform: scale(1.1);
}

.service-card h3 {
    margin-bottom: 12px;
    font-size: 1.25rem;
    transition: var(--transition);
}

.service-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    transition: var(--transition);
}

/* ==========================================================================
   Project Sections & Sliders (Exact ecosepticventures horizontal tracks)
   ========================================================================== */
.project-section {
    margin-bottom: 50px;
    background: var(--bg-white);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
}

.project-header h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.project-header h3 i {
    color: var(--primary-color);
    font-size: 1.3rem;
}

.project-header p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-top: 5px;
}

.slider-nav {
    display: flex;
    gap: 10px;
}

.slider-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    background: var(--bg-white);
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    transition: var(--transition);
}

.slider-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: scale(1.08);
}

.slider-track {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 10px;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) transparent;
}

.slider-track::-webkit-scrollbar {
    height: 6px;
}

.slider-track::-webkit-scrollbar-track {
    background: transparent;
}

.slider-track::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 3px;
}

.slide {
    flex: 0 0 300px;
    scroll-snap-align: start;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.slide img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

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

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px 15px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    font-weight: 600;
    font-size: 0.85rem;
    line-height: 1.4;
}

/* ==========================================================================
   Mid-Page CTA Banner
   ========================================================================== */
.cta-banner {
    background: var(--bg-dark);
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 166, 81, 0.25) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-banner h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.cta-banner p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 30px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================================================
   Why Choose Us Section
   ========================================================================== */
.why-us-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.why-card {
    background: var(--bg-white);
    padding: 35px 25px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    border-bottom: 3px solid transparent;
}

.why-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-bottom-color: var(--primary-color);
}

.why-icon {
    width: 65px;
    height: 65px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.6rem;
    color: white;
    box-shadow: 0 8px 20px rgba(0, 166, 81, 0.25);
}

.why-card h3 {
    margin-bottom: 10px;
    font-size: 1.25rem;
}

.why-card p {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ==========================================================================
   Comparison Table
   ========================================================================== */
.table-responsive {
    overflow-x: auto;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    margin-top: 30px;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    background: white;
}

.comparison-table th {
    background: #111111;
    color: white;
    padding: 18px 24px;
    font-size: 1.05rem;
    font-weight: 700;
}

.comparison-table th.highlight-col {
    background: var(--primary-color);
    color: white;
}

.comparison-table td {
    padding: 16px 24px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-dark);
    font-size: 0.95rem;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table tr:hover {
    background-color: #f9fbf9;
}

.comparison-table td.highlight-col {
    background-color: rgba(0, 166, 81, 0.05);
    font-weight: 600;
    color: #007739;
}

.table-check {
    color: var(--primary-color);
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
}

.table-cross {
    color: #e63946;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ==========================================================================
   Testimonials Section
   ========================================================================== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    position: relative;
    border: 1px solid var(--border-color);
}

.quote-mark {
    font-size: 2rem;
    color: rgba(0, 166, 81, 0.25);
    margin-bottom: 15px;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    color: var(--text-dark);
    line-height: 1.7;
}

.client-info h4 {
    color: var(--primary-color);
    margin-bottom: 3px;
    font-size: 1.05rem;
}

.client-info span {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ==========================================================================
   CTA Section (Golden yellow highlight bar)
   ========================================================================== */
.cta-section {
    padding: 80px 0;
    background: var(--secondary-color);
    color: var(--text-dark);
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    font-weight: 500;
    color: #2b2b2b;
}

/* ==========================================================================
   Inner Page Header & Breadcrumbs
   ========================================================================== */
.page-header {
    background: #0f1c13;
    color: white;
    padding: 130px 0 60px;
    position: relative;
    overflow: hidden;
    border-bottom: 3px solid var(--primary-color);
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(0, 166, 81, 0.3), transparent 70%);
    pointer-events: none;
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 15px;
}

.breadcrumbs a {
    color: var(--secondary-color);
    text-decoration: none;
}

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

.breadcrumbs i {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
}

.breadcrumbs span {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
}

.page-header h1 {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 15px;
    color: white;
}

.page-header p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 720px;
    line-height: 1.6;
}

/* ==========================================================================
   Portfolio Navigation Pills
   ========================================================================== */
.portfolio-nav-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 40px;
}

.portfolio-pill {
    padding: 10px 22px;
    border-radius: 30px;
    background: var(--bg-white);
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid var(--border-color);
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.portfolio-pill i {
    color: var(--primary-color);
}

.portfolio-pill:hover,
.portfolio-pill.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 166, 81, 0.3);
}

.portfolio-pill:hover i,
.portfolio-pill.active i {
    color: var(--secondary-color);
}

/* ==========================================================================
   Service Detail Cards (services.html)
   ========================================================================== */
.service-detail-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 45px;
    align-items: center;
    background: var(--bg-white);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 45px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.service-detail-card:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(0, 166, 81, 0.3);
}

.service-detail-card.reverse {
    direction: rtl;
}

.service-detail-card.reverse .service-detail-content,
.service-detail-card.reverse .service-detail-media {
    direction: ltr;
}

.service-detail-media {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 380px;
    box-shadow: var(--shadow-md);
}

.service-detail-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-detail-card:hover .service-detail-media img {
    transform: scale(1.05);
}

.service-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 166, 81, 0.1);
    color: var(--primary-color);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-detail-content h3 {
    font-size: 1.85rem;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-weight: 700;
}

.service-detail-content p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
}

.feature-checklist {
    list-style: none;
    margin-bottom: 25px;
}

.feature-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.feature-checklist li i {
    color: var(--primary-color);
    margin-top: 4px;
    font-size: 1.1rem;
}

/* ==========================================================================
   Process Steps
   ========================================================================== */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.process-step {
    background: var(--bg-white);
    padding: 35px 25px 25px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.process-step:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 25px;
    background: var(--secondary-color);
    color: var(--text-dark);
    font-weight: 800;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    box-shadow: var(--shadow-sm);
}

.step-icon {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin: 10px 0 15px;
}

.process-step h4 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.process-step p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ==========================================================================
   Contact Cards & Form (WhatsApp submit)
   ========================================================================== */
.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.contact-info-card {
    background: var(--bg-white);
    padding: 30px 25px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.contact-info-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(0, 166, 81, 0.1);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 18px;
    transition: var(--transition);
}

.contact-info-card:hover .contact-info-icon {
    background: var(--primary-color);
    color: white;
}

.contact-info-card h4 {
    font-size: 1.15rem;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.contact-info-card p,
.contact-info-card a {
    color: var(--text-light);
    font-size: 0.95rem;
}

.contact-info-card a:hover {
    color: var(--primary-color);
    font-weight: 600;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch;
}

.contact-form-container {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background-color: #fafafa;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(0, 166, 81, 0.12);
}

.map-container {
    height: 100%;
    min-height: 420px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

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

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */
.faq-container {
    max-width: 820px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-white);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    margin-bottom: 15px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.faq-question {
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1.05rem;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-icon {
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 25px;
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    max-height: 450px;
    padding: 0 25px 20px;
}

/* ==========================================================================
   Mini CTA Bar
   ========================================================================== */
.mini-cta-bar {
    background: #0d1e13;
    color: white;
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mini-cta-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.mini-cta-content h3 {
    font-size: 1.6rem;
    color: white;
    margin-bottom: 5px;
}

.mini-cta-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background: var(--bg-dark);
    color: #aaaaaa;
    padding: 80px 0 25px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.2fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 20px;
}

.footer-logo-img {
    height: 65px;
    width: auto;
    object-fit: contain;
}

.footer-desc {
    margin-bottom: 25px;
    max-width: 420px;
    line-height: 1.7;
    font-size: 0.95rem;
}

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

.social-links a {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    transition: var(--transition);
    font-size: 1.1rem;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
    color: white;
}

.footer h3 {
    color: white;
    font-size: 1.25rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background: var(--primary-color);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-links a {
    color: #aaaaaa;
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.footer-contact li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    font-size: 0.95rem;
}

.footer-contact i {
    color: var(--secondary-color);
    margin-top: 4px;
    font-size: 1.1rem;
}

.footer-contact a {
    color: #ffffff;
    font-weight: 600;
}

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

/* ==========================================================================
   Lightbox Modal
   ========================================================================== */
.lightbox-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.92);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.lightbox-modal.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 900px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 75vh;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.8);
    object-fit: contain;
}

.lightbox-caption {
    color: #ffffff;
    margin-top: 15px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    max-width: 800px;
}

.lightbox-close {
    position: absolute;
    top: -45px;
    right: 0;
    color: #ffffff;
    font-size: 2.2rem;
    cursor: pointer;
    background: none;
    border: none;
    line-height: 1;
    transition: var(--transition);
}

.lightbox-close:hover {
    color: var(--secondary-color);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: #ffffff;
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 1.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--primary-color);
    color: #ffffff;
}

.lightbox-prev {
    left: -65px;
}

.lightbox-next {
    right: -65px;
}

/* ==========================================================================
   Floating Action Button (WhatsApp)
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.45);
    z-index: 1000;
    transition: var(--transition);
}

.whatsapp-float:hover {
    background-color: #1ebe57;
    transform: translateY(-5px) scale(1.06);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.55);
    color: white;
}

/* ==========================================================================
   Animations
   ========================================================================== */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-in-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scale-in {
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate {
    opacity: 1 !important;
    transform: translate(0) scale(1) !important;
}

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }
.delay-4 { transition-delay: 0.6s; }

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.9rem;
    }

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

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

    .hero-stats {
        gap: 20px;
        padding: 15px 30px;
    }

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

    .service-detail-card {
        gap: 30px;
        padding: 30px;
    }

    .slide {
        flex: 0 0 260px;
    }

    .slide img {
        height: 190px;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 10px 0;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: var(--transition);
        padding: 40px 20px;
        gap: 22px;
        box-shadow: var(--shadow-md);
    }

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

    .mobile-menu-btn {
        display: block;
    }

    .hero h1 {
        font-size: 2.3rem;
    }

    .hero p {
        font-size: 1.05rem;
    }

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

    .hero-stats {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
        display: flex;
    }

    .stat-divider {
        width: 50px;
        height: 1px;
    }

    .benefits-grid {
        justify-content: center;
        gap: 15px;
    }

    .benefit-item {
        font-size: 0.88rem;
    }

    .service-detail-card {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 25px;
    }

    .service-detail-card.reverse {
        direction: ltr;
    }

    .service-detail-media {
        height: 260px;
    }

    .page-header {
        padding: 110px 0 50px;
    }

    .page-header h1 {
        font-size: 2.2rem;
    }

    .mini-cta-content {
        flex-direction: column;
        text-align: center;
    }

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

    .contact-cards-grid {
        grid-template-columns: 1fr 1fr;
    }

    .why-us-grid {
        grid-template-columns: 1fr;
    }

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

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

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 52px;
        height: 52px;
        font-size: 1.7rem;
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 1.8rem;
    }

    .page-header p {
        font-size: 1rem;
    }

    .hero h1 {
        font-size: 1.85rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .benefits-grid {
        flex-direction: column;
        align-items: center;
    }

    .logo-img {
        height: 48px;
    }

    .slide {
        flex: 0 0 230px;
    }

    .slide img {
        height: 165px;
    }

    .contact-cards-grid {
        grid-template-columns: 1fr;
    }

    .service-detail-content h3 {
        font-size: 1.4rem;
    }

    .section {
        padding: 60px 0;
    }

    .portfolio-nav-pills {
        flex-direction: column;
        align-items: stretch;
    }

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