:root {
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-gray: #f1f3f5;
    --text-dark: #1a1a1a;
    --text-body: #4a4a4a;
    --text-muted: #6c757d;
    --accent-green: #5cb85c;
    --accent-green-dark: #4cae4c;
    --accent-green-light: rgba(92, 184, 92, 0.1);
    --border-color: #e9ecef;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    background: var(--bg-white);
    color: var(--text-body);
    line-height: 1.7;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Hero Section */
.hero {
    padding: 140px 0 100px;
    background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg-white) 100%);
    position: relative;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--accent-green);
    line-height: 1.2;
    margin-bottom: 24px;
}

.hero-text h1 span {
    color: var(--text-dark);
}

.hero-text p {
    font-size: 1.1rem;
    color: var(--text-body);
    margin-bottom: 32px;
    line-height: 1.8;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text-body);
}

.hero-feature-icon {
    width: 24px;
    height: 24px;
    background: var(--accent-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent-green);
    color: white;
    padding: 14px 28px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.hero-cta:hover {
    background: var(--accent-green-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.hero-visual {
    position: relative;
}

.hero-image {
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-alt {
    background: var(--bg-light);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 48px;
}

.section-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent-green);
    margin-bottom: 12px;
    font-weight: 600;
}

.section-header h2 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 16px;
    font-weight: 700;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 32px;
    transition: all 0.3s ease;
    position: relative;
}

.service-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--accent-green);
    background: var(--accent-green-light);
    padding: 4px 8px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-green);
}

.service-icon {
    width: 48px;
    height: 48px;
    background: var(--accent-green-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--accent-green);
}

.service-card h3 {
    font-size: 1.15rem;
    color: var(--text-dark);
    margin-bottom: 12px;
    font-weight: 600;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.service-list {
    list-style: none;
}

.service-list li {
    padding: 6px 0;
    color: var(--text-body);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-list li::before {
    content: '→';
    color: var(--accent-green);
    font-weight: 600;
}

/* CTA Banner */
.cta-banner {
    background: linear-gradient(135deg, var(--accent-green) 0%, var(--accent-green-dark) 100%);
    padding: 60px 40px;
    border-radius: 16px;
    margin-top: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.cta-banner-content h3 {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 8px;
    font-weight: 700;
}

.cta-banner-content p {
    color: rgba(255,255,255,0.9);
    font-size: 1rem;
    margin: 0;
}

.cta-banner-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    color: var(--accent-green);
    padding: 14px 28px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cta-banner-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Consulting Section - Redesigned */
.consulting-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.consulting-main {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 20px;
}

.consulting-intro h2 {
    font-size: 2rem;
    color: var(--accent-green);
    margin-bottom: 16px;
    font-weight: 700;
}

.consulting-intro > p {
    color: var(--text-body);
    font-size: 1rem;
    line-height: 1.8;
}

.consulting-process {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 32px;
}

.consulting-process h3 {
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 24px;
    font-weight: 600;
}

.process-timeline {
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
}

.timeline-item {
    display: flex;
    gap: 20px;
    padding-bottom: 24px;
    position: relative;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-dot {
    width: 32px;
    height: 32px;
    background: var(--accent-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    color: white;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.timeline-content h4 {
    font-size: 0.9rem;
    color: var(--text-dark);
    margin-bottom: 4px;
    font-weight: 600;
}

.timeline-content p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
}

.consulting-services {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    grid-column: 1 / -1;
}

.consulting-service-card {
    display: flex;
    gap: 16px;
    padding: 24px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.consulting-service-card:hover {
    border-color: var(--accent-green);
    box-shadow: var(--shadow-sm);
}

.consulting-service-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: var(--accent-green);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.consulting-service-icon svg {
    width: 22px;
    height: 22px;
    stroke: white;
}

.consulting-service-card h4 {
    font-size: 0.95rem;
    color: var(--text-dark);
    margin-bottom: 6px;
    font-weight: 600;
}

.consulting-service-card p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.6;
}

/* Products Section */
.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.product-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.product-image {
    height: 280px;
    background: var(--bg-gray);
    position: relative;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top left;
}

.product-content {
    padding: 28px;
}

.product-badge {
    display: inline-block;
    background: var(--accent-green-light);
    color: var(--accent-green);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.product-content h3 {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 10px;
    font-weight: 600;
}

.product-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.product-tag {
    background: var(--bg-gray);
    color: var(--text-body);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
}

/* Tech Marquee */
.tech-section {
    padding: 60px 0;
    background: var(--bg-white);
    overflow: hidden;
}

.tech-section .section-header {
    margin-bottom: 40px;
}

.tech-marquee-wrapper {
    position: relative;
}

.tech-marquee-wrapper::before,
.tech-marquee-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.tech-marquee-wrapper::before {
    left: 0;
    background: linear-gradient(90deg, var(--bg-white) 0%, transparent 100%);
}

.tech-marquee-wrapper::after {
    right: 0;
    background: linear-gradient(270deg, var(--bg-white) 0%, transparent 100%);
}

.tech-marquee {
    display: flex;
    gap: 48px;
    animation: marquee 30s linear infinite;
}

.tech-marquee:hover {
    animation-play-state: paused;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.tech-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.tech-item:hover {
    border-color: var(--accent-green);
    background: var(--bg-white);
}

.tech-item img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.tech-item span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
}

/* Standards Grid */
.standards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.standard-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 24px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.standard-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--accent-green);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.standard-card:hover {
    border-color: var(--accent-green);
}

.standard-card:hover::before {
    transform: scaleY(1);
}

.standard-icon {
    width: 40px;
    height: 40px;
    background: var(--accent-green-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.standard-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--accent-green);
}

.standard-card h4 {
    font-size: 0.95rem;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-weight: 600;
}

.standard-card p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.6;
}

.standard-card.highlight {
    background: linear-gradient(135deg, rgba(92, 184, 92, 0.05) 0%, rgba(92, 184, 92, 0.02) 100%);
    border-color: var(--accent-green);
}

.standard-card.highlight::before {
    transform: scaleY(1);
}

.standard-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--accent-green);
    background: var(--accent-green-light);
    padding: 4px 8px;
    border-radius: 4px;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Contact Section */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.contact-info h2 {
    font-size: 2rem;
    color: var(--accent-green);
    margin-bottom: 16px;
    font-weight: 700;
}

.contact-info > p {
    color: var(--text-body);
    margin-bottom: 32px;
    font-size: 1rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-item-icon {
    width: 44px;
    height: 44px;
    background: var(--accent-green-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-item-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--accent-green);
}

.contact-item-text span {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.contact-item-text strong {
    font-weight: 600;
    color: var(--text-dark);
}

.contact-form-wrapper {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 36px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-body);
}

.form-group input,
.form-group textarea,
.form-group select {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 12px 16px;
    color: var(--text-dark);
    font-size: 0.95rem;
    font-family: 'Open Sans', sans-serif;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-green);
    background: var(--bg-white);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-submit {
    background: var(--accent-green);
    color: white;
    padding: 14px 28px;
    border: none;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: 'Open Sans', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 8px;
}

.form-submit:hover {
    background: var(--accent-green-dark);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-content,
    .consulting-main,
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .consulting-services {
        grid-template-columns: 1fr;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .standards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-banner {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }

    .hero {
        padding: 120px 0 80px;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .standards-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Form Modal */
.ai-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.ai-modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.ai-modal {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    box-shadow: var(--shadow-lg);
    transform: scale(0.9);
    transition: transform 0.3s ease;
    position: relative;
}

.ai-modal-overlay.show .ai-modal {
    transform: scale(1);
}

.ai-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-muted);
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.ai-modal-close:hover {
    background: var(--bg-light);
    color: var(--text-dark);
}

.ai-modal-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 32px;
}

.ai-modal-icon.success {
    background: var(--accent-green-light);
    color: var(--accent-green);
}

.ai-modal-icon.error {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.ai-modal-message {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

@media (max-width: 768px) {
    .ai-modal {
        padding: 32px 24px;
    }
    
    .ai-modal-message {
        font-size: 1rem;
    }
}

/* Loading Overlay */
.ai-loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.ai-loading-overlay.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.ai-loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top-color: var(--accent-green);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}


