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

:root {
    --primary-color: #d23838;
    --primary-light: #db5f5f;
    --text-dark: #1d2023;
    --text-medium: #50555c;
    --text-light: #ffffff;
    --bg-light: #f8f9fa;
    --bg-dark: #1d2023;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text-medium);
    overflow-x: hidden;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.9);
}

.nav-container {
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    width: 80px;
    height: 80px;
}

.logo-text {
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
}

.logo-subtitle {
    font-size: 1rem;
    color: var(--primary-color);
    font-weight: 500;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

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

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

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

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

.mobile-menu-btn.scrolled {
    color: var(--text-dark);
}

.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.4) 100%),
    url('../images/hero.png') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
    position: relative;
    padding: 100px 20px;
}

.hero-content {
    max-width: 800px;
}

.hero-badge {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 8px 20px;
    border-radius: 0;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 20px;
    animation: fadeInDown 0.8s ease;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    animation: fadeInUp 0.8s ease 0.2s both;
}

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

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 0;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 15px rgba(210, 56, 56, 0.4);
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(210, 56, 56, 0.5);
}

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

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

.features-bar {
    background: #ffffff;
    padding: 10px;
    position: relative;
    z-index: 10;
}

.features-container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.feature-item {
    text-align: center;
    padding: 40px 30px;
    border-radius: 0;
    transition: var(--transition);
}

.feature-item:nth-child(1){
    background:var(--bg-dark)
}

.feature-item:nth-child(3) {
    background: #F2F2F2;
}

.feature-item:nth-child(3) h3 {
    color: var(--text-dark);
}

.feature-item:nth-child(3) p{
    color: var(--text-dark);
}

.feature-item:nth-child(2) {
    background: var(--primary-color);
}

.feature-icon {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 10;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    border: 3px solid white;
}

.feature-item h3 {
    font-size: 1.8rem;
    color: white;
    margin-bottom: 10px;
    font-weight: 700;
}

.feature-item p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.15rem;
    margin-bottom: 20px;
}

section {
    padding: 100px 0;
}

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

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 500;
    margin-top: 20px;
}

.about {
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 0;
}

.about-text h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 700;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--text-medium);
}

.about-text strong {
    color: var(--text-dark);
    font-weight: 500;
}

.experience-badge {
    display: none;
}

.experience-badge .number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.9rem;
    color: var(--text-medium);
    line-height: 1.3;
}

.services {
    background: url('../images/service-bg.png') center/cover no-repeat;
}

.services .section-header h2 {
    color: white;
}

.services .section-header p {
    color: rgba(255, 255, 255, 0.8);
}

.services .section-header h2::after {
    display: none;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background:var(--bg-dark);
    border-radius: 2px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    background: var(--bg-dark);
}

.service-image {
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-content {
    padding: 25px;
}

.service-content h3 {
    font-size: 1.3rem;
    color: white;
    margin-bottom: 10px;
}

.service-content p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
}

.why-us {
    background:#E8EAEC;
    color: var(--text-dark);
}

.why-us-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.why-us-image img {
    width: 100%;
    border-radius: 2px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.why-us-text .badge {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 6px 16px;
    border-radius: 2px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 15px;
}

.why-us-text h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 30px;
    line-height: 1.3;
}

.why-us-item {
    margin-bottom: 25px;
}

.why-us-item h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.why-us-item p {
    font-size: 1rem;
    color: var(--text-medium);
    line-height: 1.8;
}

.team {
    background: white;
}

.team .section-header {
    text-align: center;
}

.team .section-header h2::after {
    display: none;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.team-card {
    text-align: center;
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    transition: var(--transition);
}

.team-image {
    width: 100%;
    aspect-ratio: 3 / 4;
    margin: 0 auto 15px;
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
    border: none;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card h3 {
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 5px;
    font-weight: 700;
}

.team-card p {
    display: none;
}

.cta {
    min-height: 380px;
    background: url("../images/cta-bg.png") center/cover no-repeat;
    color: white;
    text-align: center;
    padding: 80px 0;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.cta .btn:hover {
    background: var(--text-dark);
    color: white;
}

.contact {
    background: white;
}

.contact .section-header h2::after {
    display: none;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.contact-card {
    background: #f5f5f5;
    padding: 30px 20px;
    border-radius: 0;
    text-align: center;
    border: 1px solid #ddd;
    transition: var(--transition);
}


.contact-card h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-weight: 700;
}

.contact-card p {
    font-size: 1.1rem;
    color: var(--text-medium);
}

.contact-card a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
}

footer {
    background: var(--text-dark);
    color: white;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.footer-brand p {
    opacity: 0.8;
    line-height: 1.8;
}

.footer-links h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

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

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    opacity: 0.7;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1024px) {
    .features-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid,
    .team-grid,
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-dark);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }

    .nav-links a {
        color: white;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

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

    .features-container {
        grid-template-columns: 1fr;
    }

    .about-content,
    .why-us-content-wrapper {
        grid-template-columns: 1fr;
    }

    .services-grid,
    .team-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    section {
        padding: 60px 0;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .about-image::before {
        display: none;
    }
}

html {
    scroll-behavior: smooth;
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}