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

:root {
    --primary-green: #407b5d;
    --primary-green-hover: #2d5a43;
    --dark-bg: #111827;
    --darker-bg: #0b111e;
    --card-dark: #1f2937;
    --light-bg: #f8fafc;
    --text-dark: #334155;
    --text-light: #f8fafc;
    --text-muted: #94a3b8;
    --accent-gold: #fbbf24;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

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

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--light-bg);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--dark-bg);
}

.dark-section h2, .dark-section h3, .dark-section h4 {
    color: var(--text-light);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: 0.3s;
}

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

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

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

.btn-outline:hover {
    background: white;
    color: var(--dark-bg);
}

.btn-outline-dark {
    background: transparent;
    color: var(--dark-bg);
    border: 1px solid #e2e8f0;
}

.btn-outline-dark:hover {
    border-color: var(--dark-bg);
}
/* Header & Nav */
header {
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000; 
    padding: 1.5rem 5%;
    display: flex;
    /* Removed justify-content: space-between here so the nav-container can fill the space */
    align-items: center;
    color: white;
    background-color: transparent;
    transition: all 0.4s ease-in-out; 
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto; /* Keeps the logo from shrinking */
}

.logo-icon {
    background: var(--primary-green);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.nav-container {
    display: flex;
    align-items: center;
    flex: 1; /* Forces the container to stretch across the remaining space */
}

.nav-container nav {
    margin: 0 auto; /* Automatically pushes the nav links to the exact center */
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a:hover {
    color: var(--primary-green);
}
  .menu-toggle {
    display: none; 
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1001; 
    margin-left: auto; 
}

/* Sticky Scrolled State */
header.header-scrolled {
    background-color: white;
    color: var(--dark-bg); 
    padding: 1rem 5%; 
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); 
}

header.header-scrolled .logo {
    color: var(--dark-bg);
}

header.header-scrolled .nav-links a {
    color: var(--text-dark);
}

header.header-scrolled .nav-links a:hover {
    color: var(--primary-green);
}

header.header-scrolled .btn-primary {
    box-shadow: 0 2px 4px rgba(64, 123, 93, 0.2); 
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(17, 24, 39, 0.85), rgba(17, 24, 39, 0.95)), url('assets/home-banner.png') center/cover;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8rem 5% 4rem;
    color: white;
}

.hero-content {
    max-width: 600px;
    margin-bottom: 4rem;
}

.hero-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255,255,255,0.2);
}

.hero h1 {
    color: white;
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero h1 span {
    color: var(--accent-gold);
}

.hero p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-icon {
    background: rgba(255, 255, 255, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold);
}

.stat-info h4 {
    color: white;
    font-family: var(--font-body);
    font-size: 1.2rem;
    margin-bottom: 0.2rem;
}

.stat-info p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin: 0;
}

/* Sections padding */
section {
    padding: 6rem 5%;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
    border: 1px solid #f1f5f9;
}

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

.service-icon {
    width: 50px;
    height: 50px;
    background: #ecfdf5;
    color: var(--primary-green);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

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

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.learn-more {
    color: var(--primary-green);
    font-weight: 500;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

/* Trust Section */
.dark-section {
    background: var(--dark-bg);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.trust-card {
    background: var(--card-dark);
    padding: 2rem;
    border-radius: 12px;
}

.trust-card .service-icon {
    background: rgba(64, 123, 93, 0.1);
}

.trust-card h3 {
    color: white;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.trust-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

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

.testi-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.stars {
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

.testi-card p {
    color: var(--text-dark);
    font-style: italic;
    margin-bottom: 1.5rem;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-avatar {
    width: 40px;
    height: 40px;
    background: #e2e8f0;
    border-radius: 50%;
}

.user-details h4 {
    font-family: var(--font-body);
    font-size: 0.95rem;
    margin: 0;
}

.user-details span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* CTA Banner */
.cta-banner {
    background: var(--primary-green) url('assets/pattern.png') center/cover;
    border-radius: 24px;
    padding: 4rem 2rem;
    text-align: center;
    color: white;
    margin: 0 5%;
    position: relative;
    top: 50px;
}

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

.cta-banner p {
    margin-bottom: 2rem;
    opacity: 0.9;
}

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

/* Footer */
footer {
    background: var(--darker-bg);
    color: white;
    padding: 100px 5% 2rem;
}

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

.footer-col p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
}

.footer-col h4 {
    color: white;
    font-family: var(--font-body);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-col ul li a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Responsive Media Queries */
@media (max-width: 992px) {
    .hero h1 { font-size: 3rem; }
    .hero-stats { flex-wrap: wrap; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    /* Hamburger Menu Visible */
    .menu-toggle {
        display: block;
    }

    /* Mobile Dropdown Menu Container */
    .nav-container {
        position: absolute;
        top: 100%; 
        left: 0;
        width: 100%;
        background: var(--dark-bg); 
        flex-direction: column;
        padding: 0 5%;
        gap: 1.5rem;
        
        /* Animation */
        max-height: 0;
        overflow: hidden;
        transition: all 0.4s ease-in-out;
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    }

    /* Open Menu State */
    .nav-container.active {
        padding: 2rem 5%;
        max-height: 400px; 
    }

    /* Keep background white if menu opened while scrolled */
    header.header-scrolled .nav-container {
        background: white;
    }

    /* Layout Links Vertically */
    .nav-links {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 1.5rem;
        text-align: center;
    }

    .header-cta {
        width: 100%;
        text-align: center;
        margin-top: 1rem;
    }

    .header-cta .btn {
        width: 100%;
        display: block;
    }

    /* Other Mobile Tweaks */
    .hero h1 { font-size: 2.5rem; }
    .hero-buttons { flex-direction: column; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem;}
    .cta-banner { padding: 3rem 1rem; }
    .cta-buttons { flex-direction: column; }
}


/* =========================================
   ABOUT PAGE SPECIFIC STYLES 
   ========================================= */

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid #f1f5f9;
}

.value-icon {
    width: 60px;
    height: 60px;
    background: #ecfdf5;
    color: var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1.5rem;
}

.value-card h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.value-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Timeline Layout */
.timeline-item {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid #e2e8f0;
}

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

.timeline-year {
    background: #ecfdf5;
    color: var(--primary-green);
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    flex-shrink: 0;
    min-width: 100px;
    text-align: center;
}

.timeline-content p {
    margin: 0;
    color: var(--text-dark);
    font-weight: 500;
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.team-card {
    background: var(--card-dark);
    padding: 3rem 2rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s;
}

.team-card:hover {
    transform: translateY(-5px);
}

.team-avatar {
    width: 80px;
    height: 80px;
    background: rgba(64, 123, 93, 0.2);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-green);
    border: 2px solid rgba(64, 123, 93, 0.5);
}

.team-card h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 0.2rem;
}

.team-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

/* Responsive Fixes for About Page */
@media (max-width: 768px) {
    .story-wrapper {
        grid-template-columns: 1fr !important;
        gap: 3rem !important;
    }
    
    .experience-badge {
        bottom: -15px !important;
        left: -10px !important;
        padding: 1rem 1.5rem !important;
    }
    
    .timeline-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

/* =========================================
   SERVICES PAGE SPECIFIC STYLES 
   ========================================= */

/* Filter Nav Bar */
.service-nav-bar {
    background: white;
    padding: 1.5rem 5%;
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 70px; /* Adjust if your header height is different */
    z-index: 99;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.nav-pills {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    scrollbar-width: none; /* Firefox */
}
.nav-pills::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Edge */
}

.pill-btn {
    white-space: nowrap;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    border: 1px solid #e2e8f0;
    background: white;
    color: var(--text-dark);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pill-btn:hover {
    border-color: var(--primary-green);
    color: var(--primary-green);
}

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

/* Category Sections */
.service-category {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
    transition: opacity 0.4s ease-in-out;
}

.service-category:first-child {
    border-top: none;
    margin-top: 0;
    padding-top: 0;
}

.category-header {
    margin-bottom: 2.5rem;
}

.category-header h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.category-header p {
    color: var(--text-muted);
}

/* Detailed Grid (Matches Home Page Cards) */
.detailed-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

/* Custom Icon Colors mapped from the image */
.icon-purple {
    background: #f3e8ff !important;
    color: #9333ea !important;
}

.icon-green {
    background: #dcfce7 !important;
    color: #16a34a !important;
}

.icon-yellow {
    background: #fef08a !important;
    color: #ca8a04 !important;
}

.icon-grey {
    background: #f1f5f9 !important;
    color: #475569 !important;
}

.icon-teal {
    background: #ccfbf1 !important;
    color: #0d9488 !important;
}

.icon-blue {
    background: #e0f2fe !important;
    color: #0284c7 !important;
}

.icon-pink {
    background: #fae8ff !important;
    color: #c026d3 !important;
}

/* =========================================
   ODOO SERVICES SECTION STYLES
   ========================================= */

/* Special Odoo Navigation Pill */
.pill-btn.odoo-btn {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.pill-btn.odoo-btn.active {
    background: #34d399; /* Distinctive lighter green for Odoo tab */
    border-color: #34d399;
}

/* Dark Gradient Odoo Banner */
.odoo-banner {
    background: linear-gradient(135deg, #111827 0%, #2d5a43 100%);
    color: white;
    padding: 3.5rem 4rem;
    border-radius: 20px;
    margin-bottom: 3rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.odoo-badge {
    display: inline-block;
    padding: 0.3rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: #fbbf24;
}

.odoo-banner h2 {
    color: white;
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.odoo-banner p {
    color: rgba(255,255,255,0.8);
    font-size: 1.1rem;
    max-width: 700px;
    margin-bottom: 2rem;
}

/* Odoo Cards Grid */
.odoo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.odoo-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
}

.odoo-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.odoo-card-header {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.odoo-titles h3 {
    margin: 0;
    font-size: 1.3rem;
    color: var(--dark-bg);
}

.odoo-subtitle {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 0.3rem;
}

/* Odoo Card Checklists */
.check-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    font-size: 0.9rem;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
}

.check-list li i {
    margin-top: 0.2rem;
    font-size: 1rem;
}

/* Custom Card Border Colors & Icon Texts */
.border-purple { border-top: 4px solid #8b5cf6; }
.text-purple { color: #8b5cf6; }

.border-grey { border-top: 4px solid #475569; }
.text-grey { color: #475569; }

.border-orange { border-top: 4px solid #f97316; }
.icon-orange { background: #ffedd5 !important; color: #f97316 !important; }
.text-orange { color: #f97316; }

.border-blue { border-top: 4px solid #3b82f6; }
.text-blue { color: #3b82f6; }

.border-red { border-top: 4px solid #ef4444; }
.icon-red { background: #fee2e2 !important; color: #ef4444 !important; }
.text-red { color: #ef4444; }

/* Mini CTA Block */
.odoo-mini-cta {
    background: white;
    border: 1px solid #e2e8f0;
    padding: 2rem 3rem;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

/* Responsive Fixes */
@media (max-width: 768px) {
    .odoo-banner {
        padding: 2.5rem 2rem;
    }
    .odoo-banner h2 {
        font-size: 2rem;
    }
    .odoo-mini-cta {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        padding: 2rem;
    }
}

/* =========================================
   CONTACT PAGE SPECIFIC STYLES
   ========================================= */

/* Main Layout Grid */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: start;
}

/* Info Icons */
.info-icon {
    width: 45px;
    height: 45px;
    background: #ecfdf5;
    color: var(--primary-green);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* Dark FAQ Card */
.faq-card {
    background: var(--dark-bg);
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

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

.faq-list li {
    color: var(--text-light);
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.95rem;
}

.faq-list li:last-child {
    margin-bottom: 0;
}

.faq-list li i {
    color: var(--accent-gold);
    font-size: 1.1rem;
}

/* Contact Form Card */
.form-card {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #f1f5f9;
}

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

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

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--dark-bg);
    margin-bottom: 0.5rem;
}

.form-control {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-dark);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: transparent;
}

.form-control::placeholder {
    color: #94a3b8;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(64, 123, 93, 0.1);
}

textarea.form-control {
    resize: vertical;
}

.btn-full {
    width: 100%;
    border-radius: 8px;
    padding: 1rem;
    font-size: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Responsive Fixes for Contact Page */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .form-card {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}