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

:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --accent-color: #f59e0b;
    --accent-dark: #d97706;
    --text-dark: #111827;
    --text-gray: #6b7280;
    --text-light: #9ca3af;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    font-size: 16px;
}

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

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    min-height: 80px;
}

.logo img {
    height: 100px;
    width: auto;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

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

.nav-list a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 15px;
    transition: all 0.2s ease;
    position: relative;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.2s ease;
}

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

.nav-list a:hover::after {
    width: 100%;
}

.header-phone {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 12px 24px;
    border-radius: 50px;
    box-shadow: var(--shadow-md);
    transition: all 0.2s ease;
}

.header-phone:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.phone-link {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.phone-link svg {
    width: 18px;
    height: 18px;
}

/* Hero Section */
.hero {
    position: relative;
    color: white;
    padding: 180px 0 100px;
    text-align: center;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
        rgba(37, 99, 235, 0.85) 0%,
        rgba(29, 78, 216, 0.85) 100%);
    z-index: 2;
}

.hero .container {
    position: relative;
    z-index: 3;
}

.hero-content {
    position: relative;
    z-index: 3;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 24px;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Modern Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    min-width: 200px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-dark) 100%);
    color: white;
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* Services Section */
.services {
    padding: 100px 0;
    background: var(--bg-light);
}

.services h2 {
    text-align: center;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 80px;
    color: var(--text-dark);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.service-card {
    background: var(--bg-white);
    padding: 0;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: white;
    transition: all 0.3s ease;
}

.service-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
}

.service-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
    display: block;
}

.service-card:hover .service-photo {
    transform: scale(1.05);
}

.service-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 24px 32px 16px;
    color: white;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
    color: var(--text-dark);
    font-size: 1.5rem;
    margin: 32px 32px 16px;
    font-weight: 600;
}

.service-card p {
    color: var(--text-gray);
    line-height: 1.7;
    font-size: 15px;
    margin: 0 32px;
    padding-bottom: 32px;
}

/* About Section */
.about {
    padding: 100px 0;
    background: var(--bg-white);
}

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

.about-text h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 32px;
    color: var(--text-dark);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.about-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 0;
}

.about-image {
    position: relative;
}

.about-photo {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.features-title {
    text-align: center;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 80px;
    color: var(--text-dark);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 48px;
}

.feature {
    text-align: center;
    padding: 32px 24px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.feature:hover {
    transform: translateY(-4px);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: white;
    transition: all 0.3s ease;
}

.feature:hover .feature-icon {
    transform: scale(1.15);
}

.feature h3 {
    color: var(--text-dark);
    font-size: 1.25rem;
    margin-bottom: 16px;
    font-weight: 600;
}

.feature p {
    color: var(--text-gray);
    line-height: 1.7;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: var(--bg-light);
}

.contact h2 {
    text-align: center;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 80px;
    color: var(--text-dark);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-info,
.contact-form {
    background: var(--bg-white);
    padding: 48px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.contact-info h3,
.contact-form h3 {
    color: var(--text-dark);
    margin-bottom: 32px;
    font-size: 1.5rem;
    font-weight: 600;
}

.contact-item {
    margin-bottom: 20px;
    font-size: 16px;
    color: var(--text-gray);
}

.contact-item strong {
    color: var(--text-dark);
    font-weight: 600;
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.contact-item a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Modern Form */
.form-group {
    margin-bottom: 24px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 16px;
    font-family: inherit;
    background: var(--bg-white);
    transition: all 0.2s ease;
    color: var(--text-dark);
}

.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-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
}

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

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

.footer-info h3 {
    margin-bottom: 16px;
    color: var(--accent-color);
    font-weight: 600;
    font-size: 1.25rem;
}

.footer-info p {
    color: var(--text-light);
    line-height: 1.6;
}

.footer-contact p {
    margin-bottom: 8px;
    color: var(--text-light);
}

.footer-contact a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.footer-contact a:hover {
    color: var(--accent-dark);
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 30px;
    text-align: center;
    color: var(--text-light);
    font-size: 14px;
}

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

/* Animation Classes */
.fade-in-up {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.fade-in-left {
    opacity: 0;
    animation: fadeInLeft 0.8s ease forwards;
}

.fade-in-right {
    opacity: 0;
    animation: fadeInRight 0.8s ease forwards;
}

.fade-in {
    opacity: 0;
    animation: fadeIn 0.6s ease forwards;
}

.slide-in-down {
    opacity: 0;
    animation: slideInDown 0.6s ease forwards;
}

/* Staggered Animations */
.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6) { animation-delay: 0.6s; }

.feature:nth-child(1) { animation-delay: 0.2s; }
.feature:nth-child(2) { animation-delay: 0.4s; }
.feature:nth-child(3) { animation-delay: 0.6s; }

/* Apply animations to elements */
.hero-content {
    animation: fadeInUp 1s ease forwards;
}

.services h2,
.about-text h2,
.features-title,
.contact h2 {
    animation: slideInDown 0.8s ease forwards;
}

.service-card,
.feature {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

.about-text {
    animation: fadeInLeft 0.8s ease forwards;
    opacity: 0;
}

.about-image {
    animation: fadeInRight 0.8s ease forwards;
    animation-delay: 0.3s;
    opacity: 0;
}

.contact-info {
    animation: fadeInLeft 0.8s ease forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

.contact-form {
    animation: fadeInRight 0.8s ease forwards;
    animation-delay: 0.4s;
    opacity: 0;
}

/* Mobile Navigation */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-dark);
}

.mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
}

.mobile-nav .nav-list {
    flex-direction: column;
    padding: 20px;
    gap: 16px;
}

.mobile-nav.active {
    display: block;
}

.mobile-phone-link {
    color: var(--primary-color) !important;
    font-weight: 600;
    text-decoration: none;
    padding: 8px 16px;
    background: var(--bg-light);
    border-radius: 8px;
    display: inline-block;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .header .container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 12px 16px;
        min-height: 60px;
    }

    .nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
        order: 2;
    }

    .header-phone {
        display: none;
    }

    .logo {
        order: 1;
    }

    .logo img {
        height: 80px;
    }

    .hero {
        padding: 140px 0 80px;
        min-height: 500px;
    }

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

    .btn {
        min-width: auto;
        width: 100%;
        max-width: 320px;
    }

    .services,
    .about,
    .contact {
        padding: 80px 0;
    }

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

    .service-card h3 {
        margin: 24px 24px 16px;
    }

    .service-card p {
        margin: 0 24px;
        padding-bottom: 24px;
    }

    .service-icon {
        margin: 24px 24px 16px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-photo {
        height: 300px;
    }

    .about-features {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .contact-info,
    .contact-form {
        padding: 32px 24px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .services h2,
    .about h2,
    .contact h2 {
        font-size: 1.875rem;
    }

    .service-card,
    .contact-info,
    .contact-form {
        padding: 24px 20px;
    }
}