:root {
    --primary: #2DD881;
    --blue: #0066CC;
    --blue-dark: #004C99;
    --white: #FFFFFF;
    --light-gray: #F5F7FA;
    --gray: #E8ECEF;
    --text-dark: #1F2937;
    --text-light: #6B7280;
}

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

body {
    font-family: 'Outfit', sans-serif;
    background: #FAFAFA;
    color: var(--text-dark);
    line-height: 1.6;
}

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

/* Navigation */
nav {
    padding: 1.2rem 0;
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--gray);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

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

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

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

.company-name {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}

.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s;
}
.nav-links a:hover, .nav-links a.active { color: var(--blue); }

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #0066CC 0%, #004C99 100%);
    position: relative;
    overflow: hidden;
    padding: 6rem 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(45, 216, 129, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.4;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

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

.hero h1 .highlight {
    color: var(--primary);
}

.hero p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 700px;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Outfit', sans-serif;
    text-decoration: none;
    display: inline-block;
}

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

.btn-primary:hover {
    background: var(--blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

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

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Section Styles */
section { padding: 4rem 0; scroll-margin-top: 80px; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { font-size: 2.5rem; font-weight: 800; margin-bottom: 1rem; }
.section-header p { font-size: 1.1rem; color: var(--text-light); }

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

.service-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    cursor: pointer;
}
.service-card:hover {
    box-shadow: 0 8px 20px rgba(0, 102, 204, 0.15);
    transform: translateY(-5px);
}

.service-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
}
.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-content {
    padding: 1.5rem;
}
.service-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
}
.service-content p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.service-features {
    list-style: none;
    padding: 0;
}
.service-features li {
    padding: 0.3rem 0;
    padding-left: 1.2rem;
    position: relative;
    font-size: 0.9rem;
    color: var(--text-light);
}
.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

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

.portfolio-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
}
.portfolio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 102, 204, 0.15);
}

.portfolio-image {
    width: 100%;
    height: 200px;
}
.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.portfolio-content {
    padding: 1.5rem;
}
.portfolio-tag {
    display: inline-block;
    background: var(--light-gray);
    color: var(--blue);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}
.portfolio-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}
.portfolio-content p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* About Section */
.about-subsection {
    margin: 4rem 0;
}

.about-subsection h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.industry-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid var(--gray);
    text-align: center;
    transition: all 0.3s;
}

.industry-card:hover {
    border-color: var(--blue);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.1);
}

.industry-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #E0F2FE 0%, #BAE6FD 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 1.5rem;
}

.industry-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
}

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

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

.cert-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    border: 2px solid var(--gray);
    text-align: center;
    transition: all 0.3s;
}

.cert-card:hover {
    border-color: var(--primary);
    transform: scale(1.05);
}

.cert-badge {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #E0F2FE 0%, #BAE6FD 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin: 0 auto 1rem;
}

.cert-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.cert-card p {
    font-size: 0.85rem;
    color: var(--text-light);
}

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

.testimonial-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 10px;
    border: 1px solid var(--gray);
    transition: all 0.3s;
}

.testimonial-card:hover {
    border-color: var(--blue);
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.1);
}

.quote-icon {
    font-size: 3rem;
    color: var(--blue);
    opacity: 0.2;
    line-height: 1;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray);
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #E0F2FE 0%, #BAE6FD 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--blue);
}

.author-info h5 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.2rem;
}

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

.stars {
    color: #FFC107;
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

.client-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    padding: 2rem;
    background: var(--white);
    border-radius: 10px;
}

.client-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: var(--light-gray);
    border-radius: 8px;
    font-weight: 700;
    color: var(--text-light);
    transition: all 0.3s;
    min-height: 80px;
}

.client-logo:hover {
    background: var(--white);
    border: 1px solid var(--blue);
    color: var(--blue);
}

/* Forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.form-group { margin-bottom: 1.5rem; }
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.9rem;
    border: 1px solid var(--gray);
    border-radius: 6px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}
.form-group textarea { resize: vertical; min-height: 100px; }

/* Contact Info */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}
.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.contact-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #E0F2FE, #BAE6FD);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

/* Footer */
footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 3rem 0 1.5rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}
.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}
.footer-section a {
    color: #9CA3AF;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}
.footer-section a:hover { color: var(--primary); }
.footer-section p {
    color: #9CA3AF;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}
.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #9CA3AF;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 968px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        gap: 0;
    }
    .nav-links.active { display: flex; }
    .nav-links a {
        padding: 1rem;
        border-bottom: 1px solid var(--gray);
    }
    .mobile-menu-btn { display: block; }
    .logo-img { height: 45px; }
    .company-name { font-size: 1rem; }
    .hero h1 { font-size: 2.5rem; }
    .hero p { font-size: 1.1rem; }
    .cta-buttons {
        flex-direction: column;
    }
    .cta-buttons .btn {
        width: 100%;
        text-align: center;
    }
    .services-grid,
    .portfolio-grid,
    .contact-grid,
    .form-grid,
    .industries-grid,
    .cert-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}
