/* 基础重置和高级设计系统 */
:root {
    /* 主色调 - 专业深蓝 */
    --primary-50: #f0f7ff;
    --primary-100: #e0f0ff;
    --primary-200: #bae0ff;
    --primary-300: #7cc4ff;
    --primary-400: #36a6ff;
    --primary-500: #0d8bf2;
    --primary-600: #006ed6;
    --primary-700: #0057ac;
    --primary-800: #004a8a;
    --primary-900: #003e72;

    /* 次要色 - 活力青色 */
    --secondary-50: #f0fdf9;
    --secondary-100: #cdfbf0;
    --secondary-200: #9bf5e0;
    --secondary-300: #61e8cc;
    --secondary-400: #2fd4b6;
    --secondary-500: #16bd9e;
    --secondary-600: #0d9981;
    --secondary-700: #0f7a69;
    --secondary-800: #116155;
    --secondary-900: #135047;

    /* 强调色 - 优雅紫色 */
    --accent-50: #f9f5ff;
    --accent-100: #f1e9ff;
    --accent-200: #e4d4ff;
    --accent-300: #d0b3ff;
    --accent-400: #b583ff;
    --accent-500: #9a5cff;
    --accent-600: #8b3dff;
    --accent-700: #7a2ae6;
    --accent-800: #6723bf;
    --accent-900: #551d99;

    /* 中性色 - 高级灰阶 */
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;

    /* 语义色 */
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    --info: #3b82f6;

    /* 功能变量 */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);

    --radius-sm: 0.375rem;
    --radius: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-full: 9999px;

    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);

    /* 字体系统 - 使用本地系统字体 */
    --font-heading: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
    --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
    --font-mono: "SF Mono", Monaco, "Cascadia Mono", "Segoe UI Mono", "Roboto Mono", monospace;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.7;
    color: var(--gray-700);
    background-color: white;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

section {
    padding: 100px 0;
}

/* 标题系统 - 更现代的字体和层次 */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-800) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3.5rem;
    position: relative;
    font-weight: 700;
}

h2:after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-400), var(--secondary-600));
    border-radius: 2px;
}

h3 {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--gray-800);
}

h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-800);
}

p {
    margin-bottom: 1.5rem;
    color: var(--gray-600);
    font-size: 1.125rem;
    line-height: 1.8;
    font-weight: 400;
}

.lead {
    font-size: 1.15rem;
    color: var(--gray-700);
    font-weight: 400;
}

/* 按钮系统 - 现代设计 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    padding: 0.875rem 2rem;
    border-radius: var(--radius);
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.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 var(--transition);
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-500), var(--primary-700));
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--primary-600), var(--primary-800));
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary-500), var(--secondary-700));
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--secondary-600), var(--secondary-800));
}

.btn-outline {
    background: transparent;
    color: var(--primary-600);
    border: 2px solid var(--primary-300);
}

.btn-outline:hover {
    background: var(--primary-50);
    border-color: var(--primary-500);
    transform: translateY(-2px);
}

/* 导航栏 - 现代简洁设计 */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: all var(--transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-img {
    height: 42px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-800) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--gray-700);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all var(--transition-fast);
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a:hover {
    color: var(--primary-600);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-500), var(--primary-700));
    transition: width var(--transition);
    border-radius: 1px;
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--gray-700);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--radius-sm);
    z-index: 1002;
}

.mobile-menu-btn:hover {
    background: var(--gray-100);
}

/* 轮播横幅 - 现代设计 */
.hero-carousel {
    margin-top: 80px;
    position: relative;
    overflow: hidden;
    height: 700px;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
    color: white;
}

.carousel-slide.active {
    opacity: 1;
}

.slide-content {
    z-index: 2;
    padding: 0 32px;
    max-width: 900px;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.slide-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(13, 139, 242, 0.85) 0%, rgba(0, 78, 114, 0.85) 100%);
}

.carousel-slide h1 {
    color: white;
    -webkit-text-fill-color: white;
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.carousel-slide p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.8;
    font-weight: 400;
}

.carousel-btns {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
}

.carousel-indicators {
    position: absolute;
    bottom: 2.5rem;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    z-index: 3;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.carousel-indicator.active {
    background: white;
    transform: scale(1.2);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    z-index: 3;
}

.carousel-prev, .carousel-next {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: white;
    width: 56px;
    height: 56px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 1.25rem;
}

.carousel-prev:hover, .carousel-next:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

/* 关于我们 */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    padding-right: 2rem;
}

.about-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform var(--transition);
}

.about-image:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform var(--transition-slow);
}

.about-image:hover img {
    transform: scale(1.05);
}

/* 服务 - 现代卡片设计 */
.services {
    background: linear-gradient(180deg, var(--gray-50) 0%, white 100%);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(13, 139, 242, 0.05) 0%, transparent 50%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.service-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2.5rem 1.5rem;
    box-shadow: var(--shadow);
    transition: all var(--transition);
    text-align: center;
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-400), var(--secondary-400));
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-200);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary-500), var(--primary-700));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.375rem;
}

.service-card p {
    font-size: 1rem;
    color: var(--gray-600);
    line-height: 1.7;
}

/* 项目案例 */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all var(--transition);
    background: white;
    border: 1px solid var(--gray-200);
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.project-image {
    height: 240px;
    overflow: hidden;
    position: relative;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-info {
    padding: 2rem;
}

.project-info h3 {
    margin-bottom: 0.75rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.tech-tag {
    background: var(--primary-50);
    color: var(--primary-700);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
}

/* 客户栏 - 现代滚动设计 */
.clients {
    background: linear-gradient(180deg, white 0%, var(--gray-50) 100%);
    padding: 5rem 0;
    overflow: hidden;
}

.clients-header {
    text-align: center;
    margin-bottom: 3rem;
}

.clients-container {
    position: relative;
    overflow: hidden;
    padding: 2rem 0;
}

.clients-track {
    display: flex;
    animation: scrollClients 40s linear infinite;
    width: max-content;
}

.clients-track:hover {
    animation-play-state: paused;
}

.client-item {
    flex: 0 0 280px;
    margin: 0 1.5rem;
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all var(--transition);
    border: 1px solid var(--gray-200);
}

.client-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-200);
}

.client-logo {
    width: 140px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.client-logo img {
    max-width: 100%;
    max-height: 100%;
    /*filter: grayscale(100%);
    opacity: 0.7;*/
    transition: all var(--transition);
}

.client-item:hover .client-logo img {
    filter: grayscale(0%);
    opacity: 1;
}

.client-name {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-top: 0.5rem;
}

.client-industry {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-top: 0.25rem;
    font-weight: 400;
}

/* 合作伙伴栏 - 网格布局 */
.partners {
    background: white;
    padding: 5rem 0;
}

.partners-header {
    text-align: center;
    margin-bottom: 3rem;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 2rem;
    align-items: center;
    justify-items: center;
}

.partner-item {
    width: 160px;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: all var(--transition);
    border: 1px solid var(--gray-200);
}

.partner-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-200);
}

.partner-item img {
    max-width: 100%;
    max-height: 100%;
    /*filter: grayscale(100%);
    opacity: 0.6;*/
    transition: all var(--transition);
}

.partner-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* 滚动动画 */
@keyframes scrollClients {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* 团队 */
.team {
    background: linear-gradient(180deg, var(--gray-50) 0%, white 100%);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.team-member {
    text-align: center;
    background: white;
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow);
    transition: all var(--transition);
    border: 1px solid var(--gray-200);
}

.team-member:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.member-img {
    width: 160px;
    height: 160px;
    border-radius: var(--radius-full);
    overflow: hidden;
    margin: 0 auto 1.5rem;
    border: 4px solid white;
    box-shadow: var(--shadow);
}

.member-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}

.team-member:hover .member-img img {
    transform: scale(1.1);
}

.team-member h3 {
    margin-bottom: 0.5rem;
}

.team-member > p:first-of-type {
    color: var(--primary-600);
    font-weight: 500;
    font-size: 1rem;
    margin-bottom: 1rem;
}

/* 联系我们 */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
}

.contact-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary-500), var(--primary-700));
    color: white;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-details h4 {
    margin-bottom: 0.5rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all var(--transition-fast);
    background: white;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-500);
    box-shadow: 0 0 0 3px rgba(13, 139, 242, 0.1);
}

.contact-form textarea {
    height: 180px;
    resize: vertical;
}

/* 页脚 - 现代设计 */
footer {
    background: var(--gray-900);
    color: white;
    padding: 5rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-about {
    display: flex;
    flex-direction: column;
}

.footer-logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.footer-logo-img {
    height: 40px;
    width: auto;
}

.footer-logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
}

.footer-logo-text span {
    background: linear-gradient(135deg, var(--primary-300) 0%, var(--secondary-300) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-about p {
    color: var(--gray-400);
    font-size: 1rem;
    line-height: 1.7;
}

.footer-links h4,
.footer-newsletter h4 {
    margin-bottom: 1.5rem;
    position: relative;
    color: white;
    font-size: 1.125rem;
}

.footer-links h4:after,
.footer-newsletter h4:after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-400), var(--secondary-400));
    border-radius: 2px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--gray-400);
    text-decoration: none;
    transition: all var(--transition-fast);
    font-size: 1rem;
}

.footer-links a:hover {
    color: var(--primary-300);
    padding-left: 0.5rem;
}

.footer-newsletter p {
    color: var(--gray-400);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.footer-newsletter form {
    display: flex;
    margin-top: 1rem;
}

.footer-newsletter input {
    flex: 1;
    padding: 0.875rem 1rem;
    border: none;
    border-radius: var(--radius) 0 0 var(--radius);
    font-family: var(--font-body);
    font-size: 1rem;
    background: var(--gray-800);
    color: white;
}

.footer-newsletter .contact-icon {
    width: 32px;
    height: 32px;
}

.footer-newsletter input:focus {
    outline: none;
    background: var(--gray-700);
}

.footer-newsletter button {
    background: linear-gradient(135deg, var(--primary-500), var(--primary-700));
    color: white;
    border: none;
    padding: 0 1.5rem;
    border-radius: 0 var(--radius) var(--radius) 0;
    cursor: pointer;
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.footer-newsletter button:hover {
    background: linear-gradient(135deg, var(--primary-600), var(--primary-800));
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-800);
    color: var(--gray-500);
    font-size: 0.875rem;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .partners-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }

    .client-item {
        flex: 0 0 250px;
    }

    .hero-carousel {
        height: 600px;
    }

    .carousel-slide h1 {
        font-size: 3rem;
    }
}

@media (max-width: 992px) {
    h1 {
        font-size: 2.75rem;
    }

    h2 {
        font-size: 2.25rem;
    }

    .container {
        padding: 0 24px;
    }

    section {
        padding: 80px 0;
    }

    .carousel-slide h1 {
        font-size: 2.5rem;
    }

    .carousel-slide p {
        font-size: 1.125rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-text {
        padding-right: 0;
    }

    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .client-item {
        flex: 0 0 220px;
        margin: 0 1rem;
    }

    .hero-carousel {
        height: 500px;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        transition: transform var(--transition);
        z-index: 999;
        border-top: 1px solid var(--gray-200);
    }

    .nav-links.active {
        transform: translateY(0);
    }

    .nav-links li {
        margin: 0.5rem 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .client-item {
        flex: 0 0 200px;
        margin: 0 0.75rem;
    }

    .hero-carousel {
        height: 450px;
    }

    .carousel-slide h1 {
        font-size: 2.25rem;
    }

    .carousel-slide p {
        font-size: 1rem;
    }

    .carousel-nav {
        display: none;
    }

    .carousel-btns {
        flex-direction: column;
        gap: 1rem;
    }

    .carousel-btns .btn {
        width: 100%;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2.25rem;
    }

    h2 {
        font-size: 1.875rem;
    }

    .container {
        padding: 0 20px;
    }

    .partners-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .partner-item {
        width: 200px;
        height: 100px;
    }

    .client-item {
        flex: 0 0 180px;
        padding: 1.5rem 1rem;
    }

    .clients-track {
        animation: scrollClients 30s linear infinite;
    }

    .hero-carousel {
        height: 400px;
    }

    .carousel-slide h1 {
        font-size: 1.875rem;
    }

    .carousel-indicators {
        bottom: 1.5rem;
    }

    .logo-text {
        font-size: 1.25rem;
    }

    .logo-img {
        height: 36px;
    }

    .footer-newsletter form {
        flex-direction: column;
    }

    .footer-newsletter input {
        border-radius: var(--radius);
        margin-bottom: 0.75rem;
    }

    .footer-newsletter button {
        border-radius: var(--radius);
        padding: 0.875rem;
    }
}
