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

:root {
    --primary-color: #3B82F6;
    --primary-light: #60A5FA;
    --secondary-color: #F1F5F9;
    --bg-white: #FFFFFF;
    --text-dark: #1E293B;
    --text-gray: #64748B;
    --border-color: #E2E8F0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--bg-white);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

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

.logo p {
    color: var(--text-gray);
    font-size: 0.7rem;
    letter-spacing: 0.5px;
}

.nav-links {
    display: none;
    flex-direction: column;
    list-style: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

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

.nav-links li {
    margin: 10px 0;
}

.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.menu-toggle {
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.hero {
    margin-top: 70px;
    position: relative;
}

.carousel {
    position: relative;
    height: 80vh;
    overflow: hidden;
}

.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.carousel-item.active {
    opacity: 1;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(59, 130, 246, 0.2);
}

.carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
    animation: fadeIn 1s ease-out;
}

.carousel-caption h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: var(--text-dark);
    font-weight: 700;
}

.carousel-caption p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: var(--text-gray);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(59, 130, 246, 0.4);
}

.carousel-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid white;
}

.indicator.active {
    background: var(--primary-color);
    transform: scale(1.3);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -40%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.about {
    padding: 80px 0;
    background: var(--bg-white);
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 50px;
    color: var(--text-dark);
    font-weight: 700;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--primary-color);
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
}

.about-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(59, 130, 246, 0.1);
}

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

.about-text p {
    margin-bottom: 15px;
    color: var(--text-gray);
}

.about-features {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--secondary-color);
    padding: 10px 20px;
    border-radius: 20px;
    color: var(--primary-color);
    font-weight: 500;
}

.feature-icon {
    font-size: 0.9rem;
}

.services {
    padding: 80px 0;
    background: var(--secondary-color);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

.service-card {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.15);
    border-color: var(--primary-color);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-gray);
}

.cases {
    padding: 80px 0;
    background: var(--bg-white);
    position: relative;
}

.cases-slider {
    overflow: hidden;
    margin: 0 50px;
}

.cases-track {
    display: flex;
    gap: 25px;
    transition: transform 0.5s ease;
}

.case-card {
    min-width: 100%;
    background: var(--secondary-color);
    border-radius: 15px;
    overflow: hidden;
    text-align: center;
}

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

.case-info {
    padding: 20px;
}

.case-info h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.case-info p {
    color: var(--text-gray);
    font-style: italic;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

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

.slider-btn.prev {
    left: 0;
}

.slider-btn.next {
    right: 0;
}

.news {
    padding: 80px 0;
    background: var(--secondary-color);
}

.news-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.news-card {
    background: var(--bg-white);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
}

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

.news-content {
    padding: 20px;
}

.news-date {
    color: var(--primary-color);
    font-size: 0.8rem;
    margin-bottom: 10px;
    display: block;
}

.news-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.news-content p {
    color: var(--text-gray);
    margin-bottom: 15px;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.read-more:hover {
    text-decoration: underline;
}

.faq {
    padding: 80px 0;
    background: var(--bg-white);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 0;
}

.faq-question {
    width: 100%;
    padding: 20px 0;
    background: none;
    border: none;
    color: var(--text-dark);
    font-size: 1.1rem;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-question::after {
    content: '+';
    color: var(--primary-color);
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-question.active::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding: 0 0 20px;
    color: var(--text-gray);
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.contact {
    padding: 80px 0;
    background: var(--secondary-color);
}

.contact-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contact-form {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(59, 130, 246, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-white);
    color: var(--text-dark);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
}

.contact-info {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(59, 130, 246, 0.1);
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.info-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.info-item h4 {
    color: var(--text-dark);
    margin-bottom: 5px;
}

.info-item p {
    color: var(--text-gray);
}

.footer {
    background: var(--text-dark);
    padding: 50px 0 20px;
    color: white;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.footer-logo h2 {
    color: var(--primary-light);
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-links h4,
.footer-friend-links h4 {
    color: white;
    margin-bottom: 15px;
}

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

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

.footer-links a,
.footer-friend-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
        flex-direction: row;
        position: static;
        background: none;
        box-shadow: none;
        padding: 0;
        gap: 30px;
    }

    .menu-toggle {
        display: none;
    }

    .carousel-caption h2 {
        font-size: 3rem;
    }

    .about-content {
        flex-direction: row;
        align-items: center;
        gap: 50px;
    }

    .about-image {
        flex: 1;
    }

    .about-text {
        flex: 1;
    }

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

    .case-card {
        min-width: calc(50% - 12.5px);
    }

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

    .contact-content {
        flex-direction: row;
        gap: 50px;
    }

    .contact-form {
        flex: 1;
    }

    .contact-info {
        flex: 1;
    }

    .footer-content {
        flex-direction: row;
        justify-content: space-around;
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .case-card {
        min-width: calc(25% - 18.75px);
    }

    .news-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .cases-slider {
        margin: 0 80px;
    }
}