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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

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

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

/* Color Variables */
:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary-color: #64748b;
    --accent-color: #06b6d4;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --border-color: #e2e8f0;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --success-color: #10b981;
    --warning-color: #f59e0b;
}

/* Header and Navigation */
header {
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.nav-brand h1 {
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 700;
}

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

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

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

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.hero h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

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

/* Page Hero */
.page-hero {
    background-color: var(--bg-light);
    padding: 3rem 0;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.page-hero h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.page-hero p {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    text-align: center;
}

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

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

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

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

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

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

/* Sections */
section {
    padding: 4rem 0;
}

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

/* Grid Layouts */
.services-grid,
.advantages-grid,
.mission-grid,
.expertise-grid,
.service-grid,
.industry-grid,
.business-grid,
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.advantages-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.mission-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.industry-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* Cards */
.service-card,
.advantage-item,
.mission-item,
.expertise-item,
.service-item,
.industry-item,
.business-item,
.faq-item {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.service-card:hover,
.advantage-item:hover,
.mission-item:hover,
.expertise-item:hover,
.service-item:hover,
.industry-item:hover,
.business-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-card h4,
.advantage-item h4,
.mission-item h3,
.expertise-item h4,
.service-item h4,
.industry-item h4,
.business-item h4,
.faq-item h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.service-item ul,
.expertise-item ul {
    margin-top: 1rem;
    padding-left: 1.2rem;
}

.service-item li,
.expertise-item li {
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

/* About Page Specific */
.company-overview {
    background-color: var(--bg-light);
}

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

.about-preview p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2rem;
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Advantages List */
.advantages-list {
    max-width: 800px;
    margin: 0 auto;
}

.advantages-list .advantage-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.advantage-icon {
    font-size: 2rem;
    background-color: var(--primary-color);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.advantage-content h4 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

/* Service Categories */
.service-category {
    margin-bottom: 4rem;
    background-color: var(--bg-light);
    padding: 3rem 0;
    border-radius: 1rem;
}

.service-category h3 {
    margin-bottom: 2rem;
}

/* Process Steps */
.process-steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    flex-wrap: wrap;
}

.process-step {
    flex: 1;
    text-align: center;
    min-width: 200px;
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    margin: 0 auto 1rem;
}

.process-step h4 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: var(--bg-light);
    border-radius: 0.5rem;
}

.contact-icon {
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-details h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: var(--text-light);
}

/* Forms */
.contact-form {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 1rem;
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-note {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Privacy and Terms Pages */
.privacy-content,
.terms-content {
    max-width: 800px;
    margin: 0 auto;
}

.privacy-text,
.terms-text {
    line-height: 1.8;
}

.privacy-text h3,
.terms-text h3 {
    color: var(--primary-color);
    margin: 2rem 0 1rem;
    text-align: left;
    font-size: 1.5rem;
}

.privacy-text h4,
.terms-text h4 {
    color: var(--text-dark);
    margin: 1.5rem 0 0.5rem;
    font-size: 1.2rem;
}

.privacy-text ul,
.terms-text ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.privacy-text li,
.terms-text li {
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.policy-footer,
.terms-footer {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 1rem;
    margin-top: 3rem;
    text-align: center;
}

/* CTA Sections */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
    border-radius: 1rem;
    margin: 2rem 0;
}

.cta-section h3 {
    color: white;
    margin-bottom: 1rem;
}

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

/* Footer */
footer {
    background-color: var(--text-dark);
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section h4 {
    margin-bottom: 1rem;
    color: white;
}

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

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

.footer-section a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    text-align: center;
    color: #9ca3af;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        gap: 1rem;
    }

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

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

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

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

    .process-steps {
        flex-direction: column;
    }

    .advantages-list .advantage-item {
        flex-direction: column;
        text-align: center;
    }

    .advantage-icon {
        align-self: center;
    }

    section {
        padding: 2rem 0;
    }

    section h3 {
        font-size: 1.75rem;
    }
}

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

    .nav-menu {
        flex-direction: column;
        gap: 0.5rem;
    }

    nav {
        flex-direction: column;
        text-align: center;
    }

    .hero {
        padding: 2rem 0;
    }

    .page-hero {
        padding: 2rem 0;
    }

    .page-hero h2 {
        font-size: 2rem;
    }

    .services-grid,
    .advantages-grid,
    .mission-grid,
    .expertise-grid,
    .service-grid,
    .industry-grid,
    .business-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

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

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

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

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

.service-card,
.advantage-item,
.mission-item,
.expertise-item,
.service-item,
.industry-item,
.business-item,
.faq-item {
    animation: fadeInUp 0.6s ease-out;
}