:root {
    --primary-color: var(--color-primary, #2563eb);
    --primary-dark: var(--color-secondary, #1d4ed8);
    --secondary-color: var(--color-secondary, #1e293b);
    --text-color: var(--color-off-black, #334155);
    --text-light: var(--color-tertiary, #64748b);
    --bg-color: #ffffff;
    --bg-alt: var(--color-off-white, #f8fafc);
    --border-color: #e2e8f0;
    --accent-color: var(--color-accent, #f59e0b);
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.1);
    --radius: var(--border-radius, 8px);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif);
    font-size: var(--font-size-body, 16px);
    font-weight: var(--font-secondary-weight, 400);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary, inherit);
    font-weight: var(--font-primary-weight, 700);
    color: var(--secondary-color);
    line-height: 1.3;
}

h1 { font-size: var(--font-size-h1, 2.5rem); }
h2 { font-size: var(--font-size-h2, 2rem); }
h3 { font-size: var(--font-size-h3, 1.5rem); }
h4 { font-size: var(--font-size-h4, 1.25rem); }
h5 { font-size: var(--font-size-h5, 1.125rem); }
h6 { font-size: var(--font-size-h6, 1rem); }

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

.btn {
    display: inline-block;
    padding: var(--padding-top, 12px) var(--padding-right, 24px) var(--padding-bottom, 12px) var(--padding-left, 24px);
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: var(--border-width, 2px) var(--border-style, solid) transparent;
}

.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);
    color: white;
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
}

.header {
    background-color: var(--bg-color);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    padding-bottom: 16px;
}

.logo {
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.logo img {
    max-height: 50px;
    width: auto;
}

.logo h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
    line-height: 1;
}

.logo .tagline {
    font-size: 12px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 8px;
    align-items: center;
}

.nav a {
    padding: 8px 16px;
    color: var(--text-color);
    font-weight: 500;
}

.nav a:hover {
    color: var(--primary-color);
}

.nav .btn {
    padding: 8px 16px;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--secondary-color);
    border-radius: 2px;
    transition: var(--transition);
}

.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 100px 0;
    text-align: center;
}

.hero h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    color: white;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero p {
    font-size: 20px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 40px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero .btn-outline {
    border-color: white;
    color: white;
}

.hero .btn-outline:hover {
    background-color: white;
    color: var(--primary-color);
}

.section-intro {
    text-align: center;
    max-width: 600px;
    margin: -30px auto 50px;
    color: var(--text-light);
    font-size: 18px;
}

.services {
    padding: 80px 0;
    background-color: var(--bg-alt);
}

.services h2 {
    text-align: center;
    margin-bottom: 50px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--bg-color);
    padding: 40px 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
}

.service-card > p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.service-features {
    list-style: none;
    text-align: left;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.service-features li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    color: var(--text-color);
    font-size: 14px;
}

.service-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0.2;
}

.service-features li::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
}

.about {
    padding: 80px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-text h2 {
    text-align: left;
    margin-bottom: 30px;
}

.about-text p {
    text-align: left;
    max-width: none;
    margin-bottom: 20px;
    color: var(--text-light);
    font-size: 18px;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 14px;
    color: var(--text-light);
    margin-top: 8px;
}

.about-values {
    background: var(--bg-alt);
    padding: 30px;
    border-radius: var(--radius);
}

.about-values h3 {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-color);
}

.value-item {
    margin-bottom: 20px;
}

.value-item:last-child {
    margin-bottom: 0;
}

.value-item strong {
    display: block;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.value-item p {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
}

.contact {
    padding: 80px 0;
    background-color: var(--bg-alt);
}

.contact h2 {
    text-align: center;
    margin-bottom: 20px;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info h3 {
    margin-bottom: 20px;
}

.contact-info address {
    font-style: normal;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 25px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: var(--text-light);
}

.contact-method svg {
    color: var(--primary-color);
    flex-shrink: 0;
}

.contact-method a {
    color: var(--text-color);
}

.contact-method a:hover {
    color: var(--primary-color);
}

.contact-form {
    background: var(--bg-color);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--secondary-color);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 16px;
    font-family: inherit;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn {
    width: 100%;
}

.footer {
    background-color: var(--secondary-color);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    margin-top: 15px;
    font-size: 14px;
    line-height: 1.7;
}

.footer-logo {
    max-height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-logo-text .logo-main {
    display: block;
    font-size: 24px;
    font-weight: 700;
}

.footer-logo-text .logo-sub {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.7;
}

.footer-links h4,
.footer-contact h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 16px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
}

.footer-contact address {
    font-style: normal;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.8;
}

.footer-contact p {
    margin-top: 15px;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    margin-bottom: 5px;
}

@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--bg-color);
        box-shadow: var(--shadow-lg);
        padding: 20px;
    }

    .nav.active {
        display: block;
    }

    .nav ul {
        flex-direction: column;
        gap: 10px;
    }

    .nav li {
        width: 100%;
    }

    .nav a,
    .nav .btn {
        display: block;
        width: 100%;
        text-align: center;
    }

    .hero {
        padding: 60px 0;
    }

    .hero p {
        font-size: 16px;
    }

    .services,
    .about,
    .contact {
        padding: 60px 0;
    }
    
    .about-stats {
        flex-wrap: wrap;
        gap: 30px;
    }
    
    .stat {
        flex: 1;
        min-width: 100px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand {
        text-align: center;
    }
}
